|
OpenCPN Partial API docs
|
Public Member Functions | |
| ocpnToolBarSimple (wxWindow *parent, wxWindowID winid, const wxPoint &pos=wxDefaultPosition, const wxSize &size=wxDefaultSize, long style=wxNO_BORDER|wxTB_HORIZONTAL, const wxString &name=wxToolBarNameStr) | |
| bool | Create (wxWindow *parent, wxWindowID winid, const wxPoint &pos=wxDefaultPosition, const wxSize &size=wxDefaultSize, long style=wxNO_BORDER|wxTB_HORIZONTAL, const wxString &name=wxToolBarNameStr) |
| virtual void | SetToggledBackgroundColour (wxColour c) |
| virtual void | SetColorScheme (ColorScheme cs) |
| void | OnPaint (wxPaintEvent &event) |
| void | OnSize (wxSizeEvent &event) |
| void | OnMouseEvent (wxMouseEvent &event) |
| void | OnKillFocus (wxFocusEvent &event) |
| void | OnToolTipTimerEvent (wxTimerEvent &event) |
| void | OnToolTipOffTimerEvent (wxTimerEvent &event) |
| wxToolBarToolBase * | AddTool (int toolid, const wxString &label, const wxBitmap &bitmap, const wxBitmap &bmpDisabled, wxItemKind kind=wxITEM_NORMAL, const wxString &shortHelp=wxEmptyString, const wxString &longHelp=wxEmptyString, wxObject *data=NULL) |
| wxToolBarToolBase * | AddTool (int toolid, const wxString &label, const wxBitmap &bitmap, const wxString &shortHelp=wxEmptyString, wxItemKind kind=wxITEM_NORMAL) |
| wxToolBarToolBase * | InsertTool (size_t pos, int id, const wxString &label, const wxBitmap &bitmap, const wxBitmap &bmpDisabled, wxItemKind kind, const wxString &shortHelp, const wxString &longHelp, wxObject *clientData) |
| wxToolBarToolBase * | InsertTool (size_t pos, wxToolBarToolBase *tool) |
| virtual bool | OnLeftClick (int toolid, bool toggleDown) |
| virtual void | OnRightClick (int toolid, long x, long y) |
| virtual void | OnMouseEnter (int toolid) |
| virtual void | DoPluginToolUp () |
| size_t | GetToolsCount () const |
| void | SetToolShowCount (int count) |
| int | GetToolShowCount () |
| int | GetNoRowsOrColumns () |
| int | GetLineCount () |
| int | GetVisibleToolCount () |
| void | SetToolNormalBitmapEx (wxToolBarToolBase *tool, const wxString &iconname) |
| void | SetToolNormalBitmapSVG (wxToolBarToolBase *tool, wxString fileSVG) |
| void | EnableRolloverBitmaps (bool enable) |
| virtual wxControl * | FindControl (int toolid) |
| virtual wxToolBarToolBase * | AddSeparator () |
| virtual wxToolBarToolBase * | InsertSeparator (size_t pos) |
| virtual wxToolBarToolBase * | RemoveTool (int toolid) |
| virtual bool | DeleteToolByPos (size_t pos) |
| virtual bool | DeleteTool (int toolid) |
| virtual void | ClearTools () |
| virtual bool | Realize () |
| virtual void | EnableTool (int toolid, bool enable) |
| virtual void | ToggleTool (int toolid, bool toggle) |
| virtual void | SetToolBitmaps (int toolid, wxBitmap *bmp, wxBitmap *bmpRollover) |
| virtual void | SetToolBitmapsSVG (int id, wxString fileSVGNormal, wxString fileSVGRollover, wxString fileSVGToggled) |
| void | InvalidateBitmaps () |
| virtual wxObject * | GetToolClientData (int toolid) const |
| virtual void | SetToolClientData (int toolid, wxObject *clientData) |
| virtual int | GetToolPos (int id) const |
| virtual bool | GetToolState (int toolid) const |
| virtual bool | GetToolEnabled (int toolid) const |
| virtual void | SetToolShortHelp (int toolid, const wxString &helpString) |
| virtual wxString | GetToolShortHelp (int toolid) const |
| virtual void | SetToolLongHelp (int toolid, const wxString &helpString) |
| virtual wxString | GetToolLongHelp (int toolid) const |
| virtual void | SetToolTooltipHiViz (int id, bool b_hiviz) |
| virtual void | SetSizeFactor (float factor) |
| void | SetMaxRowsCols (int rows, int cols) |
| int | GetMaxRows () const |
| int | GetMaxCols () const |
| virtual void | SetToolBitmapSize (const wxSize &size) |
| virtual wxSize | GetToolBitmapSize () const |
| virtual wxSize | GetToolSize () const |
| virtual wxRect | GetToolRect (int tool_id) |
| wxToolBarToolBase * | FindToolForPosition (wxCoord x, wxCoord y) |
| wxToolBarToolBase * | FindById (int toolid) const |
| bool | IsVertical () const |
| void | HideTooltip () |
| void | KillTooltip () |
| void | EnableTooltips () |
| void | DisableTooltips () |
Public Attributes | |
| wxToolBarToolsList | m_tools |
| int | m_maxRows |
| int | m_maxCols |
| wxCoord | m_defaultWidth |
| wxCoord | m_defaultHeight |
Protected Member Functions | |
| void | Init () |
| virtual wxToolBarToolBase * | DoAddTool (int toolid, const wxString &label, const wxBitmap &bitmap, const wxBitmap &bmpDisabled, wxItemKind kind, const wxString &shortHelp=wxEmptyString, const wxString &longHelp=wxEmptyString, wxObject *clientData=NULL, wxCoord xPos=wxDefaultCoord, wxCoord yPos=wxDefaultCoord) |
| virtual bool | DoInsertTool (size_t pos, wxToolBarToolBase *tool) |
| virtual bool | DoDeleteTool (size_t pos, wxToolBarToolBase *tool) |
| virtual void | DoEnableTool (wxToolBarToolBase *tool, bool enable) |
| virtual void | DoToggleTool (wxToolBarToolBase *tool, bool toggle) |
| virtual wxToolBarToolBase * | CreateTool (int winid, const wxString &label, const wxBitmap &bmpNormal, const wxBitmap &bmpDisabled, wxItemKind kind, wxObject *clientData, const wxString &shortHelp, const wxString &longHelp) |
| void | DrawTool (wxToolBarToolBase *tool) |
| virtual void | DrawTool (wxDC &dc, wxToolBarToolBase *tool) |
| virtual void | SpringUpButton (int index) |
Protected Attributes | |
| int | m_currentRowsOrColumns |
| int | m_LineCount |
| int | m_pressedTool |
| int | m_currentTool |
| wxCoord | m_lastX |
| wxCoord | m_lastY |
| wxCoord | m_maxWidth |
| wxCoord | m_maxHeight |
| wxCoord | m_xPos |
| wxCoord | m_yPos |
| wxColour | m_toggle_bg_color |
| wxColour | m_toolOutlineColour |
| ToolTipWin * | m_pToolTipWin |
| ocpnToolBarTool * | m_last_ro_tool |
| ColorScheme | m_currentColorScheme |
| wxTimer | m_tooltip_timer |
| int | m_one_shot |
| wxTimer | m_tooltipoff_timer |
| int | m_tooltip_off |
| bool | m_btooltip_show |
| bool | m_btoolbar_is_zooming |
| ocpnStyle::Style * | m_style |
| float | m_sizefactor |
| int | m_last_plugin_down_id |
| bool | m_leftDown |
| int | m_nShowTools |
| bool | m_tbenableRolloverBitmaps |
|
inline |
|
virtual |
Definition at line 1857 of file toolbar.cpp.
|
virtual |
Definition at line 2818 of file toolbar.cpp.
| wxToolBarToolBase * ocpnToolBarSimple::AddTool | ( | int | toolid, |
| const wxString & | label, | ||
| const wxBitmap & | bitmap, | ||
| const wxBitmap & | bmpDisabled, | ||
| wxItemKind | kind = wxITEM_NORMAL, |
||
| const wxString & | shortHelp = wxEmptyString, |
||
| const wxString & | longHelp = wxEmptyString, |
||
| wxObject * | data = NULL |
||
| ) |
Definition at line 1721 of file toolbar.cpp.
|
inline |
|
virtual |
Definition at line 2766 of file toolbar.cpp.
| bool ocpnToolBarSimple::Create | ( | wxWindow * | parent, |
| wxWindowID | winid, | ||
| const wxPoint & | pos = wxDefaultPosition, |
||
| const wxSize & | size = wxDefaultSize, |
||
| long | style = wxNO_BORDER | wxTB_HORIZONTAL, |
||
| const wxString & | name = wxToolBarNameStr |
||
| ) |
Definition at line 1824 of file toolbar.cpp.
|
protectedvirtual |
Definition at line 1647 of file toolbar.cpp.
|
virtual |
Definition at line 2799 of file toolbar.cpp.
|
virtual |
Definition at line 2783 of file toolbar.cpp.
| void ocpnToolBarSimple::DisableTooltips | ( | ) |
Definition at line 1870 of file toolbar.cpp.
|
protectedvirtual |
Definition at line 1705 of file toolbar.cpp.
|
protectedvirtual |
Definition at line 1812 of file toolbar.cpp.
|
protectedvirtual |
Definition at line 2636 of file toolbar.cpp.
|
protectedvirtual |
Definition at line 1766 of file toolbar.cpp.
|
virtual |
Definition at line 2974 of file toolbar.cpp.
|
protectedvirtual |
Definition at line 2643 of file toolbar.cpp.
|
protectedvirtual |
Definition at line 2425 of file toolbar.cpp.
|
protected |
Definition at line 2417 of file toolbar.cpp.
|
inline |
|
virtual |
Definition at line 2743 of file toolbar.cpp.
| void ocpnToolBarSimple::EnableTooltips | ( | ) |
Definition at line 1864 of file toolbar.cpp.
| wxToolBarToolBase * ocpnToolBarSimple::FindById | ( | int | toolid | ) | const |
Definition at line 2886 of file toolbar.cpp.
|
virtual |
Definition at line 2867 of file toolbar.cpp.
| wxToolBarToolBase * ocpnToolBarSimple::FindToolForPosition | ( | wxCoord | x, |
| wxCoord | y | ||
| ) |
Definition at line 2595 of file toolbar.cpp.
|
inlinevirtual |
|
virtual |
Definition at line 2730 of file toolbar.cpp.
|
virtual |
Definition at line 2714 of file toolbar.cpp.
|
virtual |
Definition at line 2674 of file toolbar.cpp.
|
virtual |
Definition at line 2695 of file toolbar.cpp.
|
virtual |
Definition at line 2621 of file toolbar.cpp.
|
virtual |
Definition at line 2667 of file toolbar.cpp.
|
inlinevirtual |
|
virtual |
Definition at line 2707 of file toolbar.cpp.
| int ocpnToolBarSimple::GetVisibleToolCount | ( | ) |
Definition at line 2772 of file toolbar.cpp.
| void ocpnToolBarSimple::HideTooltip | ( | ) |
Definition at line 1919 of file toolbar.cpp.
|
protected |
Definition at line 1671 of file toolbar.cpp.
|
virtual |
Definition at line 2822 of file toolbar.cpp.
| wxToolBarToolBase * ocpnToolBarSimple::InsertTool | ( | size_t | pos, |
| int | id, | ||
| const wxString & | label, | ||
| const wxBitmap & | bitmap, | ||
| const wxBitmap & | bmpDisabled, | ||
| wxItemKind | kind, | ||
| const wxString & | shortHelp, | ||
| const wxString & | longHelp, | ||
| wxObject * | clientData | ||
| ) |
Definition at line 1732 of file toolbar.cpp.
| wxToolBarToolBase * ocpnToolBarSimple::InsertTool | ( | size_t | pos, |
| wxToolBarToolBase * | tool | ||
| ) |
Definition at line 1751 of file toolbar.cpp.
| void ocpnToolBarSimple::InvalidateBitmaps | ( | ) |
Definition at line 2612 of file toolbar.cpp.
| void ocpnToolBarSimple::KillTooltip | ( | ) |
Definition at line 1876 of file toolbar.cpp.
| void ocpnToolBarSimple::OnKillFocus | ( | wxFocusEvent & | event | ) |
Definition at line 2108 of file toolbar.cpp.
|
virtual |
Definition at line 2908 of file toolbar.cpp.
|
virtual |
Definition at line 2955 of file toolbar.cpp.
| void ocpnToolBarSimple::OnMouseEvent | ( | wxMouseEvent & | event | ) |
| void ocpnToolBarSimple::OnPaint | ( | wxPaintEvent & | event | ) |
Definition at line 2070 of file toolbar.cpp.
|
virtual |
Definition at line 2925 of file toolbar.cpp.
| void ocpnToolBarSimple::OnSize | ( | wxSizeEvent & | event | ) |
Definition at line 2104 of file toolbar.cpp.
| void ocpnToolBarSimple::OnToolTipOffTimerEvent | ( | wxTimerEvent & | event | ) |
Definition at line 2157 of file toolbar.cpp.
| void ocpnToolBarSimple::OnToolTipTimerEvent | ( | wxTimerEvent & | event | ) |
Definition at line 2112 of file toolbar.cpp.
|
virtual |
Definition at line 1939 of file toolbar.cpp.
|
virtual |
Definition at line 2842 of file toolbar.cpp.
|
virtual |
Definition at line 1927 of file toolbar.cpp.
|
inline |
|
inlinevirtual |
|
inlinevirtual |
|
virtual |
Definition at line 3018 of file toolbar.cpp.
|
inlinevirtual |
|
virtual |
Definition at line 3033 of file toolbar.cpp.
|
virtual |
Definition at line 2735 of file toolbar.cpp.
|
virtual |
Definition at line 2688 of file toolbar.cpp.
| void ocpnToolBarSimple::SetToolNormalBitmapEx | ( | wxToolBarToolBase * | tool, |
| const wxString & | iconname | ||
| ) |
Definition at line 2993 of file toolbar.cpp.
| void ocpnToolBarSimple::SetToolNormalBitmapSVG | ( | wxToolBarToolBase * | tool, |
| wxString | fileSVG | ||
| ) |
Definition at line 3008 of file toolbar.cpp.
|
virtual |
Definition at line 2681 of file toolbar.cpp.
|
inline |
|
virtual |
Definition at line 2759 of file toolbar.cpp.
|
protectedvirtual |
Definition at line 2653 of file toolbar.cpp.
|
virtual |
Definition at line 2721 of file toolbar.cpp.
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |