OpenCPN Partial API docs
Loading...
Searching...
No Matches
ocpnFloatingToolbarDialog Class Reference
Inheritance diagram for ocpnFloatingToolbarDialog:
iENCToolbar

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 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

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
 

Protected Attributes

ocpnToolBarSimplem_ptoolbar
 

Detailed Description

Definition at line 401 of file toolbar.h.

Constructor & Destructor Documentation

◆ ocpnFloatingToolbarDialog()

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

Definition at line 310 of file toolbar.cpp.

◆ ~ocpnFloatingToolbarDialog()

ocpnFloatingToolbarDialog::~ocpnFloatingToolbarDialog ( )

Definition at line 387 of file toolbar.cpp.

Member Function Documentation

◆ _toolbarConfigMenuUtil()

bool ocpnFloatingToolbarDialog::_toolbarConfigMenuUtil ( ToolbarItemContainer tic)

Definition at line 469 of file toolbar.cpp.

◆ AddDefaultPositionPlugInTools()

bool ocpnFloatingToolbarDialog::AddDefaultPositionPlugInTools ( ocpnToolBarSimple tb)

Definition at line 1413 of file toolbar.cpp.

◆ AddToolItem()

void ocpnFloatingToolbarDialog::AddToolItem ( ToolbarItemContainer item)

Definition at line 393 of file toolbar.cpp.

◆ CheckAndAddPlugInTool()

bool ocpnFloatingToolbarDialog::CheckAndAddPlugInTool ( ocpnToolBarSimple tb)

Definition at line 1348 of file toolbar.cpp.

◆ CheckSurfaceRequest()

bool ocpnFloatingToolbarDialog::CheckSurfaceRequest ( wxMouseEvent &  event)

Definition at line 762 of file toolbar.cpp.

◆ CreateConfigMenu()

void ocpnFloatingToolbarDialog::CreateConfigMenu ( )

Definition at line 464 of file toolbar.cpp.

◆ CreateMyToolbar()

ocpnToolBarSimple * ocpnFloatingToolbarDialog::CreateMyToolbar ( )

Definition at line 1139 of file toolbar.cpp.

◆ CreateNewToolbar()

ocpnToolBarSimple * ocpnFloatingToolbarDialog::CreateNewToolbar ( )

Definition at line 1096 of file toolbar.cpp.

◆ DestroyTimerEvent()

void ocpnFloatingToolbarDialog::DestroyTimerEvent ( wxTimerEvent &  event)

Definition at line 768 of file toolbar.cpp.

◆ DestroyToolBar()

void ocpnFloatingToolbarDialog::DestroyToolBar ( )

Definition at line 1112 of file toolbar.cpp.

◆ DisableTooltips()

void ocpnFloatingToolbarDialog::DisableTooltips ( )
inline

Definition at line 450 of file toolbar.h.

◆ EnableRolloverBitmaps()

void ocpnFloatingToolbarDialog::EnableRolloverBitmaps ( bool  bEnable)

Definition at line 1473 of file toolbar.cpp.

◆ EnableSubmerge()

void ocpnFloatingToolbarDialog::EnableSubmerge ( bool  enable)
inline

Definition at line 423 of file toolbar.h.

◆ EnableTool()

void ocpnFloatingToolbarDialog::EnableTool ( int  toolid,
bool  enable 
)

Definition at line 531 of file toolbar.cpp.

◆ EnableTooltips()

void ocpnFloatingToolbarDialog::EnableTooltips ( )
inline

Definition at line 447 of file toolbar.h.

◆ FadeTimerEvent()

void ocpnFloatingToolbarDialog::FadeTimerEvent ( wxTimerEvent &  event)

Definition at line 808 of file toolbar.cpp.

◆ GetCanToggleOrientation()

bool ocpnFloatingToolbarDialog::GetCanToggleOrientation ( )
inline

Definition at line 497 of file toolbar.h.

◆ GetColorScheme()

ColorScheme ocpnFloatingToolbarDialog::GetColorScheme ( )
inline

Definition at line 463 of file toolbar.h.

◆ GetDockX()

int ocpnFloatingToolbarDialog::GetDockX ( )
inline

Definition at line 489 of file toolbar.h.

◆ GetDockY()

int ocpnFloatingToolbarDialog::GetDockY ( )
inline

Definition at line 490 of file toolbar.h.

◆ GetEnableRolloverBitmaps()

bool ocpnFloatingToolbarDialog::GetEnableRolloverBitmaps ( )
inline

Definition at line 516 of file toolbar.h.

◆ GetFrameRelativePosition()

void ocpnFloatingToolbarDialog::GetFrameRelativePosition ( int *  x,
int *  y 
)

Definition at line 624 of file toolbar.cpp.

◆ GetOrient()

long ocpnFloatingToolbarDialog::GetOrient ( )
inline

Definition at line 471 of file toolbar.h.

◆ GetScaleFactor()

float ocpnFloatingToolbarDialog::GetScaleFactor ( )
inline

Definition at line 419 of file toolbar.h.

◆ GetSizeFactor()

float ocpnFloatingToolbarDialog::GetSizeFactor ( )
inline

Definition at line 432 of file toolbar.h.

◆ GetToolbar()

ocpnToolBarSimple * ocpnFloatingToolbarDialog::GetToolbar ( )

Definition at line 1088 of file toolbar.cpp.

◆ GetToolConfigString()

wxString ocpnFloatingToolbarDialog::GetToolConfigString ( )
inline

Definition at line 430 of file toolbar.h.

◆ GetToolCount()

size_t ocpnFloatingToolbarDialog::GetToolCount ( )

Definition at line 435 of file toolbar.cpp.

◆ GetToolShowCount()

int ocpnFloatingToolbarDialog::GetToolShowCount ( void  )

Definition at line 448 of file toolbar.cpp.

◆ GetToolShowMask()

wxString ocpnFloatingToolbarDialog::GetToolShowMask ( void  )
inline

Definition at line 480 of file toolbar.h.

◆ GetToolSize()

wxSize ocpnFloatingToolbarDialog::GetToolSize ( )

Definition at line 563 of file toolbar.cpp.

◆ HideTooltip()

void ocpnFloatingToolbarDialog::HideTooltip ( )

Definition at line 777 of file toolbar.cpp.

◆ isSubmergedToGrabber()

bool ocpnFloatingToolbarDialog::isSubmergedToGrabber ( )

Definition at line 773 of file toolbar.cpp.

◆ IsToolbarShown()

bool ocpnFloatingToolbarDialog::IsToolbarShown ( )
inline

Definition at line 418 of file toolbar.h.

◆ LockPosition()

void ocpnFloatingToolbarDialog::LockPosition ( bool  lock)
inline

Definition at line 461 of file toolbar.h.

◆ MouseEvent()

void ocpnFloatingToolbarDialog::MouseEvent ( wxMouseEvent &  event)

Definition at line 791 of file toolbar.cpp.

◆ MoveDialogInScreenCoords()

void ocpnFloatingToolbarDialog::MoveDialogInScreenCoords ( wxPoint  posn,
wxPoint  posn_old 
)

Definition at line 861 of file toolbar.cpp.

◆ OnKeyDown()

void ocpnFloatingToolbarDialog::OnKeyDown ( wxKeyEvent &  event)
virtual

Definition at line 460 of file toolbar.cpp.

◆ OnKeyUp()

void ocpnFloatingToolbarDialog::OnKeyUp ( wxKeyEvent &  event)
virtual

Definition at line 462 of file toolbar.cpp.

◆ OnToolLeftClick()

void ocpnFloatingToolbarDialog::OnToolLeftClick ( wxCommandEvent &  event)

Definition at line 1078 of file toolbar.cpp.

◆ OnWindowCreate()

void ocpnFloatingToolbarDialog::OnWindowCreate ( wxWindowCreateEvent &  event)

Definition at line 503 of file toolbar.cpp.

◆ Realize()

void ocpnFloatingToolbarDialog::Realize ( )

Definition at line 910 of file toolbar.cpp.

◆ RebuildToolbar()

int ocpnFloatingToolbarDialog::RebuildToolbar ( )

Definition at line 397 of file toolbar.cpp.

◆ RefreshFadeTimer()

void ocpnFloatingToolbarDialog::RefreshFadeTimer ( )

Definition at line 847 of file toolbar.cpp.

◆ RestoreRelativePosition()

void ocpnFloatingToolbarDialog::RestoreRelativePosition ( int  x,
int  y 
)

Definition at line 632 of file toolbar.cpp.

◆ SetAutoHide()

void ocpnFloatingToolbarDialog::SetAutoHide ( bool  hide)
inline

Definition at line 476 of file toolbar.h.

◆ SetAutoHideTimer()

void ocpnFloatingToolbarDialog::SetAutoHideTimer ( int  time)

Definition at line 834 of file toolbar.cpp.

◆ SetBackGroundColorString()

void ocpnFloatingToolbarDialog::SetBackGroundColorString ( wxString  colorRef)

Definition at line 455 of file toolbar.cpp.

◆ SetCanToggleOrientation()

void ocpnFloatingToolbarDialog::SetCanToggleOrientation ( bool  enable)
inline

Definition at line 496 of file toolbar.h.

◆ SetColorScheme()

void ocpnFloatingToolbarDialog::SetColorScheme ( ColorScheme  cs)
virtual

Definition at line 535 of file toolbar.cpp.

◆ SetCornerRadius()

void ocpnFloatingToolbarDialog::SetCornerRadius ( int  radius)
inline

Definition at line 437 of file toolbar.h.

◆ SetDefaultPosition()

void ocpnFloatingToolbarDialog::SetDefaultPosition ( )

Definition at line 642 of file toolbar.cpp.

◆ SetDockX()

void ocpnFloatingToolbarDialog::SetDockX ( int  x)
inline

Definition at line 491 of file toolbar.h.

◆ SetDockY()

void ocpnFloatingToolbarDialog::SetDockY ( int  y)
inline

Definition at line 492 of file toolbar.h.

◆ SetGeometry()

void ocpnFloatingToolbarDialog::SetGeometry ( bool  bAvoid,
wxRect  rectAvoid 
)

Definition at line 578 of file toolbar.cpp.

◆ SetGrabber()

void ocpnFloatingToolbarDialog::SetGrabber ( wxString  icon_name)

Definition at line 509 of file toolbar.cpp.

◆ SetGrabberEnable()

void ocpnFloatingToolbarDialog::SetGrabberEnable ( bool  bShow)
inline

Definition at line 439 of file toolbar.h.

◆ SetMinX()

void ocpnFloatingToolbarDialog::SetMinX ( int  offset)
inline

Definition at line 469 of file toolbar.h.

◆ SetMinY()

void ocpnFloatingToolbarDialog::SetMinY ( int  offset)
inline

Definition at line 470 of file toolbar.h.

◆ SetToolbarHideMethod()

void ocpnFloatingToolbarDialog::SetToolbarHideMethod ( int  n_method)
inline

Definition at line 427 of file toolbar.h.

◆ SetToolConfigString()

void ocpnFloatingToolbarDialog::SetToolConfigString ( wxString  string)
inline

Definition at line 429 of file toolbar.h.

◆ SetToolShortHelp()

void ocpnFloatingToolbarDialog::SetToolShortHelp ( int  toolid,
const wxString &  helpString 
)

Definition at line 857 of file toolbar.cpp.

◆ SetToolShowCount()

void ocpnFloatingToolbarDialog::SetToolShowCount ( int  count)

Definition at line 444 of file toolbar.cpp.

◆ SetToolShowMask()

void ocpnFloatingToolbarDialog::SetToolShowMask ( wxString  mask)

Definition at line 442 of file toolbar.cpp.

◆ SetULDockPosition()

void ocpnFloatingToolbarDialog::SetULDockPosition ( wxPoint  position)

Definition at line 430 of file toolbar.cpp.

◆ SetYAuxOffset()

void ocpnFloatingToolbarDialog::SetYAuxOffset ( int  offset)
inline

Definition at line 494 of file toolbar.h.

◆ ShowTooltips()

void ocpnFloatingToolbarDialog::ShowTooltips ( )

Definition at line 783 of file toolbar.cpp.

◆ Submerge()

void ocpnFloatingToolbarDialog::Submerge ( )

Definition at line 700 of file toolbar.cpp.

◆ SubmergeToGrabber()

void ocpnFloatingToolbarDialog::SubmergeToGrabber ( )

Definition at line 706 of file toolbar.cpp.

◆ Surface()

void ocpnFloatingToolbarDialog::Surface ( )

Definition at line 736 of file toolbar.cpp.

◆ SurfaceFromGrabber()

void ocpnFloatingToolbarDialog::SurfaceFromGrabber ( )

Definition at line 766 of file toolbar.cpp.

◆ ToggleOrientation()

void ocpnFloatingToolbarDialog::ToggleOrientation ( )

Definition at line 789 of file toolbar.cpp.

◆ UpdateRecoveryWindow()

void ocpnFloatingToolbarDialog::UpdateRecoveryWindow ( bool  b_toolbarEnable)

Definition at line 521 of file toolbar.cpp.

Member Data Documentation

◆ m_bnavgrabber

bool ocpnFloatingToolbarDialog::m_bnavgrabber

Definition at line 501 of file toolbar.h.

◆ m_FloatingToolbarConfigMenu

wxMenu* ocpnFloatingToolbarDialog::m_FloatingToolbarConfigMenu

Definition at line 503 of file toolbar.h.

◆ m_Items

ArrayOfToolbarItemContainer ocpnFloatingToolbarDialog::m_Items

Definition at line 511 of file toolbar.h.

◆ m_pRecoverwin

GrabberWin* ocpnFloatingToolbarDialog::m_pRecoverwin

Definition at line 500 of file toolbar.h.

◆ m_pTBAISTool

wxToolBarToolBase* ocpnFloatingToolbarDialog::m_pTBAISTool

Definition at line 506 of file toolbar.h.

◆ m_ptoolbar

ocpnToolBarSimple* ocpnFloatingToolbarDialog::m_ptoolbar
protected

Definition at line 519 of file toolbar.h.

◆ m_tblastAISiconName

wxString ocpnFloatingToolbarDialog::m_tblastAISiconName

Definition at line 505 of file toolbar.h.

◆ m_toolbar_scale_tools_shown

bool ocpnFloatingToolbarDialog::m_toolbar_scale_tools_shown

Definition at line 507 of file toolbar.h.

◆ toolbarConfigChanged

bool ocpnFloatingToolbarDialog::toolbarConfigChanged

Definition at line 499 of file toolbar.h.


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