|
OpenCPN Partial API docs
|
Floating toolbar dialog for OpenCPN. More...
#include <toolbar.h>
Public Member Functions | |
| ocpnFloatingToolbarDialog (wxWindow *parent, wxPoint position, long orient, float size_factor) | |
| void | OnClose (wxCloseEvent &event) |
| void | OnWindowCreate (wxWindowCreateEvent &event) |
| void | OnToolLeftClick (wxCommandEvent &event) |
| virtual void | OnKeyDown (wxKeyEvent &event) |
| virtual void | OnKeyUp (wxKeyEvent &event) |
| void | OldMouseEvent (wxMouseEvent &event) |
| bool | MouseEvent (wxMouseEvent &event) |
| void | FadeTimerEvent (wxTimerEvent &event) |
| bool | IsToolbarShown () |
| float | GetScaleFactor () |
| void | DestroyTimerEvent (wxTimerEvent &event) |
| void | DrawDC (ocpnDC &dc, double displayScale) |
| void | DrawGL (ocpnDC &gldc, double displayScale) |
| void | RefreshFadeTimer () |
| void | EnableSubmerge (bool enable) |
| void | Realize () |
| ocpnToolBarSimple * | GetToolbar () |
| ocpnToolBarSimple * | CreateNewToolbar () |
| void | SetToolbarHideMethod (int n_method) |
| void | SetToolConfigString (wxString string) |
| wxString | GetToolConfigString () |
| float | GetSizeFactor () |
| void | CreateConfigMenu () |
| bool | _toolbarConfigMenuUtil (ToolbarItemContainer *tic) |
| void | RefreshToolbar () |
| void | Submerge () |
| void | Surface () |
| void | HideTooltip () |
| void | ShowTooltips () |
| void | EnableTooltips () |
| void | DisableTooltips () |
| void | UpdateRecoveryWindow (bool b_toolbarEnable) |
| void | EnableTool (int toolid, bool enable) |
| void | SetToolShortHelp (int toolid, const wxString &helpString) |
| void | DestroyToolBar () |
| void | ToggleOrientation () |
| void | MoveDialogInScreenCoords (wxPoint posn, wxPoint posn_old) |
| void | SetDefaultPosition () |
| void | LockPosition (bool lock) |
| virtual void | SetColorScheme (ColorScheme cs) |
| ColorScheme | GetColorScheme () |
| bool | CheckSurfaceRequest (wxMouseEvent &event) |
| void | GetFrameRelativePosition (int *x, int *y) |
| void | RestoreRelativePosition (int x, int y) |
| void | SetGeometry (bool bAvoid, wxRect rectAvoid) |
| void | SetMinX (int offset) |
| void | SetMinY (int offset) |
| long | GetOrient () |
| wxSize | GetToolSize () |
| wxRect | GetToolbarRect () |
| wxSize | GetToolbarSize () |
| wxPoint | GetToolbarPosition () |
| void | SetAutoHideTimer (int time) |
| void | SetAutoHide (bool hide) |
| size_t | GetToolCount () |
| void | SetToolShowMask (wxString mask) |
| wxString | GetToolShowMask (void) |
| void | SetToolShowCount (int count) |
| int | GetToolShowCount (void) |
| bool | CheckAndAddPlugInTool (ocpnToolBarSimple *tb) |
| bool | AddDefaultPositionPlugInTools (ocpnToolBarSimple *tb) |
| int | GetDockX () |
| int | GetDockY () |
| void | SetDockX (int x) |
| void | SetDockY (int y) |
| void | SetYAuxOffset (int offset) |
| void | SetCanToggleOrientation (bool enable) |
| bool | GetCanToggleOrientation () |
| void | SetBackGroundColorString (wxString colorRef) |
| void | SetULDockPosition (wxPoint position) |
| void | AddToolItem (ToolbarItemContainer *item) |
| int | RebuildToolbar () |
| void | EnableRolloverBitmaps (bool bEnable) |
| bool | GetEnableRolloverBitmaps () |
Public Attributes | |
| bool | toolbarConfigChanged |
| wxMenu * | m_FloatingToolbarConfigMenu |
| wxString | m_tblastAISiconName |
| wxToolBarToolBase * | m_pTBAISTool |
| bool | m_toolbar_scale_tools_shown |
| ArrayOfToolbarItemContainer | m_Items |
Protected Attributes | |
| ocpnToolBarSimple * | m_ptoolbar |
| ocpnFloatingToolbarDialog::ocpnFloatingToolbarDialog | ( | wxWindow * | parent, |
| wxPoint | position, | ||
| long | orient, | ||
| float | size_factor ) |
Definition at line 165 of file toolbar.cpp.
| ocpnFloatingToolbarDialog::~ocpnFloatingToolbarDialog | ( | ) |
Definition at line 220 of file toolbar.cpp.
| bool ocpnFloatingToolbarDialog::_toolbarConfigMenuUtil | ( | ToolbarItemContainer * | tic | ) |
Definition at line 324 of file toolbar.cpp.
| void ocpnFloatingToolbarDialog::AddToolItem | ( | ToolbarItemContainer * | item | ) |
Definition at line 245 of file toolbar.cpp.
| bool ocpnFloatingToolbarDialog::CheckAndAddPlugInTool | ( | ocpnToolBarSimple * | tb | ) |
Definition at line 742 of file toolbar.cpp.
| void ocpnFloatingToolbarDialog::CreateConfigMenu | ( | ) |
Definition at line 319 of file toolbar.cpp.
| ocpnToolBarSimple * ocpnFloatingToolbarDialog::CreateNewToolbar | ( | ) |
Definition at line 704 of file toolbar.cpp.
| void ocpnFloatingToolbarDialog::DestroyToolBar | ( | ) |
Definition at line 720 of file toolbar.cpp.
|
inline |
| void ocpnFloatingToolbarDialog::DrawDC | ( | ocpnDC & | dc, |
| double | displayScale ) |
Definition at line 556 of file toolbar.cpp.
| void ocpnFloatingToolbarDialog::DrawGL | ( | ocpnDC & | gldc, |
| double | displayScale ) |
Definition at line 566 of file toolbar.cpp.
| void ocpnFloatingToolbarDialog::EnableRolloverBitmaps | ( | bool | bEnable | ) |
Definition at line 796 of file toolbar.cpp.
|
inline |
| void ocpnFloatingToolbarDialog::EnableTool | ( | int | toolid, |
| bool | enable ) |
Definition at line 358 of file toolbar.cpp.
| void ocpnFloatingToolbarDialog::FadeTimerEvent | ( | wxTimerEvent & | event | ) |
Definition at line 226 of file toolbar.cpp.
|
inline |
|
inline |
|
inline |
|
inline |
| ocpnToolBarSimple * ocpnFloatingToolbarDialog::GetToolbar | ( | ) |
Definition at line 696 of file toolbar.cpp.
| wxPoint ocpnFloatingToolbarDialog::GetToolbarPosition | ( | ) |
Definition at line 507 of file toolbar.cpp.
| wxRect ocpnFloatingToolbarDialog::GetToolbarRect | ( | ) |
Definition at line 498 of file toolbar.cpp.
| wxSize ocpnFloatingToolbarDialog::GetToolbarSize | ( | ) |
Definition at line 503 of file toolbar.cpp.
|
inline |
| size_t ocpnFloatingToolbarDialog::GetToolCount | ( | ) |
Definition at line 287 of file toolbar.cpp.
| int ocpnFloatingToolbarDialog::GetToolShowCount | ( | void | ) |
Definition at line 303 of file toolbar.cpp.
|
inline |
| wxSize ocpnFloatingToolbarDialog::GetToolSize | ( | ) |
Definition at line 372 of file toolbar.cpp.
| void ocpnFloatingToolbarDialog::HideTooltip | ( | ) |
Definition at line 484 of file toolbar.cpp.
|
inline |
| bool ocpnFloatingToolbarDialog::MouseEvent | ( | wxMouseEvent & | event | ) |
Definition at line 511 of file toolbar.cpp.
|
virtual |
Definition at line 315 of file toolbar.cpp.
|
virtual |
Definition at line 317 of file toolbar.cpp.
| void ocpnFloatingToolbarDialog::OnToolLeftClick | ( | wxCommandEvent & | event | ) |
Definition at line 686 of file toolbar.cpp.
| void ocpnFloatingToolbarDialog::Realize | ( | ) |
Definition at line 548 of file toolbar.cpp.
| int ocpnFloatingToolbarDialog::RebuildToolbar | ( | ) |
Definition at line 249 of file toolbar.cpp.
| void ocpnFloatingToolbarDialog::RefreshFadeTimer | ( | ) |
Definition at line 538 of file toolbar.cpp.
| void ocpnFloatingToolbarDialog::RefreshToolbar | ( | ) |
Definition at line 521 of file toolbar.cpp.
|
inline |
| void ocpnFloatingToolbarDialog::SetAutoHideTimer | ( | int | time | ) |
Definition at line 530 of file toolbar.cpp.
| void ocpnFloatingToolbarDialog::SetBackGroundColorString | ( | wxString | colorRef | ) |
Definition at line 310 of file toolbar.cpp.
|
inline |
|
virtual |
Definition at line 362 of file toolbar.cpp.
| void ocpnFloatingToolbarDialog::SetDefaultPosition | ( | ) |
Definition at line 433 of file toolbar.cpp.
| void ocpnFloatingToolbarDialog::SetGeometry | ( | bool | bAvoid, |
| wxRect | rectAvoid ) |
Definition at line 387 of file toolbar.cpp.
|
inline |
|
inline |
|
inline |
|
inline |
| void ocpnFloatingToolbarDialog::SetToolShortHelp | ( | int | toolid, |
| const wxString & | helpString ) |
Definition at line 544 of file toolbar.cpp.
| void ocpnFloatingToolbarDialog::SetToolShowCount | ( | int | count | ) |
Definition at line 296 of file toolbar.cpp.
| void ocpnFloatingToolbarDialog::SetToolShowMask | ( | wxString | mask | ) |
Definition at line 294 of file toolbar.cpp.
| void ocpnFloatingToolbarDialog::SetULDockPosition | ( | wxPoint | position | ) |
Definition at line 282 of file toolbar.cpp.
|
inline |
| void ocpnFloatingToolbarDialog::ShowTooltips | ( | ) |
Definition at line 490 of file toolbar.cpp.
| void ocpnFloatingToolbarDialog::Submerge | ( | ) |
Definition at line 478 of file toolbar.cpp.
| void ocpnFloatingToolbarDialog::ToggleOrientation | ( | ) |
Definition at line 496 of file toolbar.cpp.
| wxMenu* ocpnFloatingToolbarDialog::m_FloatingToolbarConfigMenu |
| ArrayOfToolbarItemContainer ocpnFloatingToolbarDialog::m_Items |
| wxToolBarToolBase* ocpnFloatingToolbarDialog::m_pTBAISTool |
|
protected |
| bool ocpnFloatingToolbarDialog::m_toolbar_scale_tools_shown |