|
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 | SetToolShowCount (int count) |
| int | GetToolShowCount () |
| 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 154 of file toolbar.cpp.
| ocpnFloatingToolbarDialog::~ocpnFloatingToolbarDialog | ( | ) |
Definition at line 209 of file toolbar.cpp.
| bool ocpnFloatingToolbarDialog::_toolbarConfigMenuUtil | ( | ToolbarItemContainer * | tic | ) |
Definition at line 313 of file toolbar.cpp.
| void ocpnFloatingToolbarDialog::AddToolItem | ( | ToolbarItemContainer * | item | ) |
Definition at line 234 of file toolbar.cpp.
| bool ocpnFloatingToolbarDialog::CheckAndAddPlugInTool | ( | ocpnToolBarSimple * | tb | ) |
Definition at line 724 of file toolbar.cpp.
| void ocpnFloatingToolbarDialog::CreateConfigMenu | ( | ) |
Definition at line 308 of file toolbar.cpp.
| ocpnToolBarSimple * ocpnFloatingToolbarDialog::CreateNewToolbar | ( | ) |
Definition at line 693 of file toolbar.cpp.
| void ocpnFloatingToolbarDialog::DestroyToolBar | ( | ) |
Definition at line 709 of file toolbar.cpp.
|
inline |
| void ocpnFloatingToolbarDialog::DrawDC | ( | ocpnDC & | dc, |
| double | displayScale | ||
| ) |
Definition at line 545 of file toolbar.cpp.
| void ocpnFloatingToolbarDialog::DrawGL | ( | ocpnDC & | gldc, |
| double | displayScale | ||
| ) |
Definition at line 555 of file toolbar.cpp.
| void ocpnFloatingToolbarDialog::EnableRolloverBitmaps | ( | bool | bEnable | ) |
Definition at line 778 of file toolbar.cpp.
|
inline |
| void ocpnFloatingToolbarDialog::EnableTool | ( | int | toolid, |
| bool | enable | ||
| ) |
Definition at line 347 of file toolbar.cpp.
| void ocpnFloatingToolbarDialog::FadeTimerEvent | ( | wxTimerEvent & | event | ) |
Definition at line 215 of file toolbar.cpp.
|
inline |
|
inline |
|
inline |
|
inline |
| ocpnToolBarSimple * ocpnFloatingToolbarDialog::GetToolbar | ( | ) |
Definition at line 685 of file toolbar.cpp.
| wxPoint ocpnFloatingToolbarDialog::GetToolbarPosition | ( | ) |
Definition at line 496 of file toolbar.cpp.
| wxRect ocpnFloatingToolbarDialog::GetToolbarRect | ( | ) |
Definition at line 487 of file toolbar.cpp.
| wxSize ocpnFloatingToolbarDialog::GetToolbarSize | ( | ) |
Definition at line 492 of file toolbar.cpp.
|
inline |
| size_t ocpnFloatingToolbarDialog::GetToolCount | ( | ) |
Definition at line 276 of file toolbar.cpp.
| int ocpnFloatingToolbarDialog::GetToolShowCount | ( | ) |
Definition at line 292 of file toolbar.cpp.
|
inline |
| wxSize ocpnFloatingToolbarDialog::GetToolSize | ( | ) |
Definition at line 361 of file toolbar.cpp.
| void ocpnFloatingToolbarDialog::HideTooltip | ( | ) |
Definition at line 473 of file toolbar.cpp.
|
inline |
| bool ocpnFloatingToolbarDialog::MouseEvent | ( | wxMouseEvent & | event | ) |
Definition at line 500 of file toolbar.cpp.
|
virtual |
Definition at line 304 of file toolbar.cpp.
|
virtual |
Definition at line 306 of file toolbar.cpp.
| void ocpnFloatingToolbarDialog::OnToolLeftClick | ( | wxCommandEvent & | event | ) |
Definition at line 675 of file toolbar.cpp.
| void ocpnFloatingToolbarDialog::Realize | ( | ) |
Definition at line 537 of file toolbar.cpp.
| int ocpnFloatingToolbarDialog::RebuildToolbar | ( | ) |
Definition at line 238 of file toolbar.cpp.
| void ocpnFloatingToolbarDialog::RefreshFadeTimer | ( | ) |
Definition at line 527 of file toolbar.cpp.
| void ocpnFloatingToolbarDialog::RefreshToolbar | ( | ) |
Definition at line 510 of file toolbar.cpp.
|
inline |
| void ocpnFloatingToolbarDialog::SetAutoHideTimer | ( | int | time | ) |
Definition at line 519 of file toolbar.cpp.
| void ocpnFloatingToolbarDialog::SetBackGroundColorString | ( | wxString | colorRef | ) |
Definition at line 299 of file toolbar.cpp.
|
inline |
|
virtual |
Definition at line 351 of file toolbar.cpp.
| void ocpnFloatingToolbarDialog::SetDefaultPosition | ( | ) |
Definition at line 422 of file toolbar.cpp.
| void ocpnFloatingToolbarDialog::SetGeometry | ( | bool | bAvoid, |
| wxRect | rectAvoid | ||
| ) |
Definition at line 376 of file toolbar.cpp.
|
inline |
|
inline |
|
inline |
|
inline |
| void ocpnFloatingToolbarDialog::SetToolShortHelp | ( | int | toolid, |
| const wxString & | helpString | ||
| ) |
Definition at line 533 of file toolbar.cpp.
| void ocpnFloatingToolbarDialog::SetToolShowCount | ( | int | count | ) |
Definition at line 285 of file toolbar.cpp.
| void ocpnFloatingToolbarDialog::SetToolShowMask | ( | wxString | mask | ) |
Definition at line 283 of file toolbar.cpp.
| void ocpnFloatingToolbarDialog::SetULDockPosition | ( | wxPoint | position | ) |
Definition at line 271 of file toolbar.cpp.
|
inline |
| void ocpnFloatingToolbarDialog::ShowTooltips | ( | ) |
Definition at line 479 of file toolbar.cpp.
| void ocpnFloatingToolbarDialog::Submerge | ( | ) |
Definition at line 467 of file toolbar.cpp.
| void ocpnFloatingToolbarDialog::ToggleOrientation | ( | ) |
Definition at line 485 of file toolbar.cpp.
| wxMenu* ocpnFloatingToolbarDialog::m_FloatingToolbarConfigMenu |
| ArrayOfToolbarItemContainer ocpnFloatingToolbarDialog::m_Items |
| wxToolBarToolBase* ocpnFloatingToolbarDialog::m_pTBAISTool |
|
protected |
| bool ocpnFloatingToolbarDialog::m_toolbar_scale_tools_shown |