OpenCPN Partial API docs
|
Floating toolbar for iENC (International Electronic Navigational Chart) functionality. More...
#include <iENCToolbar.h>
Public Member Functions | |
iENCToolbar (wxWindow *parent, wxPoint position, long orient, float size_factor) | |
void | LoadToolBitmaps () |
void | OnToolLeftClick (wxCommandEvent &event) |
void | SetDensityToolBitmap (int nDensity) |
void | SetRangeToolBitmap () |
void | StateTimerEvent (wxTimerEvent &event) |
void | SetColorScheme (ColorScheme cs) |
![]() | |
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) |
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 | |
wxBitmap | m_bmMinimum |
wxBitmap | m_bmStandard |
wxBitmap | m_bmAll |
wxBitmap | m_bmUStd |
wxBitmap | m_bmRPlus |
wxBitmap | m_bmRMinus |
wxBitmap * | m_pbmScratch |
wxBitmap | m_bmTemplate |
wxToolBarToolBase * | m_toolDensity |
int | m_nDensity |
wxTimer | m_state_timer |
double | m_range |
wxFont * | m_rangeFont |
![]() | |
bool | toolbarConfigChanged |
wxMenu * | m_FloatingToolbarConfigMenu |
wxString | m_tblastAISiconName |
wxToolBarToolBase * | m_pTBAISTool |
bool | m_toolbar_scale_tools_shown |
ArrayOfToolbarItemContainer | m_Items |
Additional Inherited Members | |
![]() | |
ocpnToolBarSimple * | m_ptoolbar |
Floating toolbar for iENC (International Electronic Navigational Chart) functionality.
Extends ocpnFloatingToolbarDialog to provide iENC-specific operations like density control and range adjustment.
Definition at line 43 of file iENCToolbar.h.
iENCToolbar::iENCToolbar | ( | wxWindow * | parent, |
wxPoint | position, | ||
long | orient, | ||
float | size_factor | ||
) |
Definition at line 54 of file iENCToolbar.cpp.
iENCToolbar::~iENCToolbar | ( | ) |
Definition at line 91 of file iENCToolbar.cpp.
void iENCToolbar::LoadToolBitmaps | ( | ) |
Definition at line 103 of file iENCToolbar.cpp.
void iENCToolbar::OnToolLeftClick | ( | wxCommandEvent & | event | ) |
Definition at line 129 of file iENCToolbar.cpp.
|
virtual |
Reimplemented from ocpnFloatingToolbarDialog.
Definition at line 93 of file iENCToolbar.cpp.
void iENCToolbar::SetDensityToolBitmap | ( | int | nDensity | ) |
Definition at line 218 of file iENCToolbar.cpp.
void iENCToolbar::SetRangeToolBitmap | ( | ) |
Definition at line 231 of file iENCToolbar.cpp.
void iENCToolbar::StateTimerEvent | ( | wxTimerEvent & | event | ) |
Definition at line 275 of file iENCToolbar.cpp.
wxBitmap iENCToolbar::m_bmAll |
Definition at line 57 of file iENCToolbar.h.
wxBitmap iENCToolbar::m_bmMinimum |
Definition at line 57 of file iENCToolbar.h.
wxBitmap iENCToolbar::m_bmRMinus |
Definition at line 57 of file iENCToolbar.h.
wxBitmap iENCToolbar::m_bmRPlus |
Definition at line 57 of file iENCToolbar.h.
wxBitmap iENCToolbar::m_bmStandard |
Definition at line 57 of file iENCToolbar.h.
wxBitmap iENCToolbar::m_bmTemplate |
Definition at line 59 of file iENCToolbar.h.
wxBitmap iENCToolbar::m_bmUStd |
Definition at line 57 of file iENCToolbar.h.
int iENCToolbar::m_nDensity |
Definition at line 63 of file iENCToolbar.h.
wxBitmap* iENCToolbar::m_pbmScratch |
Definition at line 58 of file iENCToolbar.h.
double iENCToolbar::m_range |
Definition at line 65 of file iENCToolbar.h.
wxFont* iENCToolbar::m_rangeFont |
Definition at line 66 of file iENCToolbar.h.
wxTimer iENCToolbar::m_state_timer |
Definition at line 64 of file iENCToolbar.h.
wxToolBarToolBase* iENCToolbar::m_toolDensity |
Definition at line 61 of file iENCToolbar.h.