OpenCPN Partial API docs
iENCToolbar Class Reference
Inheritance diagram for iENCToolbar:
ocpnFloatingToolbarDialog

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)
 
- Public Member Functions inherited from ocpnFloatingToolbarDialog
 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 ()
 
ocpnToolBarSimpleGetToolbar ()
 
ocpnToolBarSimpleCreateNewToolbar ()
 
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
 
- Public Attributes inherited from ocpnFloatingToolbarDialog
bool toolbarConfigChanged
 
wxMenu * m_FloatingToolbarConfigMenu
 
wxString m_tblastAISiconName
 
wxToolBarToolBase * m_pTBAISTool
 
bool m_toolbar_scale_tools_shown
 
ArrayOfToolbarItemContainer m_Items
 

Additional Inherited Members

- Protected Attributes inherited from ocpnFloatingToolbarDialog
ocpnToolBarSimplem_ptoolbar
 

Detailed Description

Definition at line 38 of file iENCToolbar.h.


The documentation for this class was generated from the following files: