OpenCPN Partial API docs
Loading...
Searching...
No Matches
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 StateTimerEvent (wxTimerEvent &event)
 
void SetColorScheme (ColorScheme cs)
 
void MouseEvent (wxMouseEvent &event)
 
- 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 MouseEvent (wxMouseEvent &event)
 
void FadeTimerEvent (wxTimerEvent &event)
 
bool IsToolbarShown ()
 
float GetScaleFactor ()
 
void SetGrabber (wxString icon_name)
 
void DestroyTimerEvent (wxTimerEvent &event)
 
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 SetCornerRadius (int radius)
 
void SetGrabberEnable (bool bShow)
 
void Submerge ()
 
void SubmergeToGrabber ()
 
bool isSubmergedToGrabber ()
 
void Surface ()
 
void SurfaceFromGrabber ()
 
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 ()
 
void RefreshFadeTimer ()
 
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)
 
ocpnToolBarSimpleCreateMyToolbar ()
 
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
 
GrabberWinm_pRecoverwin
 
bool m_bnavgrabber
 
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.

Constructor & Destructor Documentation

◆ iENCToolbar()

iENCToolbar::iENCToolbar ( wxWindow *  parent,
wxPoint  position,
long  orient,
float  size_factor 
)

Definition at line 59 of file iENCToolbar.cpp.

◆ ~iENCToolbar()

iENCToolbar::~iENCToolbar ( )

Definition at line 95 of file iENCToolbar.cpp.

Member Function Documentation

◆ LoadToolBitmaps()

void iENCToolbar::LoadToolBitmaps ( )

Definition at line 108 of file iENCToolbar.cpp.

◆ MouseEvent()

void iENCToolbar::MouseEvent ( wxMouseEvent &  event)

Definition at line 97 of file iENCToolbar.cpp.

◆ OnToolLeftClick()

void iENCToolbar::OnToolLeftClick ( wxCommandEvent &  event)

Definition at line 136 of file iENCToolbar.cpp.

◆ SetColorScheme()

void iENCToolbar::SetColorScheme ( ColorScheme  cs)
virtual

Reimplemented from ocpnFloatingToolbarDialog.

Definition at line 101 of file iENCToolbar.cpp.

◆ SetDensityToolBitmap()

void iENCToolbar::SetDensityToolBitmap ( int  nDensity)

Definition at line 224 of file iENCToolbar.cpp.

◆ StateTimerEvent()

void iENCToolbar::StateTimerEvent ( wxTimerEvent &  event)

Definition at line 237 of file iENCToolbar.cpp.

Member Data Documentation

◆ m_bmAll

wxBitmap iENCToolbar::m_bmAll

Definition at line 53 of file iENCToolbar.h.

◆ m_bmMinimum

wxBitmap iENCToolbar::m_bmMinimum

Definition at line 53 of file iENCToolbar.h.

◆ m_bmRMinus

wxBitmap iENCToolbar::m_bmRMinus

Definition at line 53 of file iENCToolbar.h.

◆ m_bmRPlus

wxBitmap iENCToolbar::m_bmRPlus

Definition at line 53 of file iENCToolbar.h.

◆ m_bmStandard

wxBitmap iENCToolbar::m_bmStandard

Definition at line 53 of file iENCToolbar.h.

◆ m_bmTemplate

wxBitmap iENCToolbar::m_bmTemplate

Definition at line 55 of file iENCToolbar.h.

◆ m_bmUStd

wxBitmap iENCToolbar::m_bmUStd

Definition at line 53 of file iENCToolbar.h.

◆ m_nDensity

int iENCToolbar::m_nDensity

Definition at line 59 of file iENCToolbar.h.

◆ m_pbmScratch

wxBitmap* iENCToolbar::m_pbmScratch

Definition at line 54 of file iENCToolbar.h.

◆ m_range

double iENCToolbar::m_range

Definition at line 61 of file iENCToolbar.h.

◆ m_rangeFont

wxFont* iENCToolbar::m_rangeFont

Definition at line 62 of file iENCToolbar.h.

◆ m_state_timer

wxTimer iENCToolbar::m_state_timer

Definition at line 60 of file iENCToolbar.h.

◆ m_toolDensity

wxToolBarToolBase* iENCToolbar::m_toolDensity

Definition at line 57 of file iENCToolbar.h.


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