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

Public Member Functions

 ocpnToolBarTool (ocpnToolBarSimple *tbar, int id, const wxString &label, const wxBitmap &bmpNormal, const wxBitmap &bmpRollover, wxItemKind kind, wxObject *clientData, const wxString &shortHelp, const wxString &longHelp)
 
 ocpnToolBarTool (ocpnToolBarSimple *tbar, int id, const wxBitmap &bmpNormal, const wxBitmap &bmpRollover, wxItemKind kind, wxObject *clientData, const wxString &shortHelp, const wxString &longHelp)
 
void SetSize (const wxSize &size)
 
wxCoord GetWidth () const
 
wxCoord GetHeight () const
 
wxString GetToolname ()
 
void SetIconName (wxString name)
 
wxString GetIconName ()
 
void SetTooltipHiviz (bool enable)
 

Public Attributes

wxCoord m_x
 
wxCoord m_y
 
wxCoord m_width
 
wxCoord m_height
 
wxRect trect
 
wxString toolname
 
wxString iconName
 
wxBitmap pluginNormalIcon
 
wxBitmap pluginRolloverIcon
 
const wxBitmap * pluginToggledIcon
 
bool firstInLine
 
bool lastInLine
 
bool rollover
 
bool bitmapOK
 
bool isPluginTool
 
bool b_hilite
 
bool m_btooltip_hiviz
 
wxRect last_rect
 
wxString pluginNormalIconSVG
 
wxString pluginRolloverIconSVG
 
wxString pluginToggledIconSVG
 

Detailed Description

Definition at line 215 of file toolbar.cpp.

Constructor & Destructor Documentation

◆ ocpnToolBarTool() [1/2]

ocpnToolBarTool::ocpnToolBarTool ( ocpnToolBarSimple tbar,
int  id,
const wxString &  label,
const wxBitmap &  bmpNormal,
const wxBitmap &  bmpRollover,
wxItemKind  kind,
wxObject *  clientData,
const wxString &  shortHelp,
const wxString &  longHelp 
)
inline

Definition at line 217 of file toolbar.cpp.

◆ ocpnToolBarTool() [2/2]

ocpnToolBarTool::ocpnToolBarTool ( ocpnToolBarSimple tbar,
int  id,
const wxBitmap &  bmpNormal,
const wxBitmap &  bmpRollover,
wxItemKind  kind,
wxObject *  clientData,
const wxString &  shortHelp,
const wxString &  longHelp 
)
inline

Definition at line 242 of file toolbar.cpp.

Member Function Documentation

◆ GetHeight()

wxCoord ocpnToolBarTool::GetHeight ( ) const
inline

Definition at line 265 of file toolbar.cpp.

◆ GetIconName()

wxString ocpnToolBarTool::GetIconName ( )
inline

Definition at line 270 of file toolbar.cpp.

◆ GetToolname()

wxString ocpnToolBarTool::GetToolname ( )
inline

Definition at line 267 of file toolbar.cpp.

◆ GetWidth()

wxCoord ocpnToolBarTool::GetWidth ( ) const
inline

Definition at line 263 of file toolbar.cpp.

◆ SetIconName()

void ocpnToolBarTool::SetIconName ( wxString  name)
inline

Definition at line 269 of file toolbar.cpp.

◆ SetSize()

void ocpnToolBarTool::SetSize ( const wxSize &  size)
inline

Definition at line 258 of file toolbar.cpp.

◆ SetTooltipHiviz()

void ocpnToolBarTool::SetTooltipHiviz ( bool  enable)
inline

Definition at line 272 of file toolbar.cpp.

Member Data Documentation

◆ b_hilite

bool ocpnToolBarTool::b_hilite

Definition at line 289 of file toolbar.cpp.

◆ bitmapOK

bool ocpnToolBarTool::bitmapOK

Definition at line 287 of file toolbar.cpp.

◆ firstInLine

bool ocpnToolBarTool::firstInLine

Definition at line 284 of file toolbar.cpp.

◆ iconName

wxString ocpnToolBarTool::iconName

Definition at line 280 of file toolbar.cpp.

◆ isPluginTool

bool ocpnToolBarTool::isPluginTool

Definition at line 288 of file toolbar.cpp.

◆ last_rect

wxRect ocpnToolBarTool::last_rect

Definition at line 291 of file toolbar.cpp.

◆ lastInLine

bool ocpnToolBarTool::lastInLine

Definition at line 285 of file toolbar.cpp.

◆ m_btooltip_hiviz

bool ocpnToolBarTool::m_btooltip_hiviz

Definition at line 290 of file toolbar.cpp.

◆ m_height

wxCoord ocpnToolBarTool::m_height

Definition at line 277 of file toolbar.cpp.

◆ m_width

wxCoord ocpnToolBarTool::m_width

Definition at line 276 of file toolbar.cpp.

◆ m_x

wxCoord ocpnToolBarTool::m_x

Definition at line 274 of file toolbar.cpp.

◆ m_y

wxCoord ocpnToolBarTool::m_y

Definition at line 275 of file toolbar.cpp.

◆ pluginNormalIcon

wxBitmap ocpnToolBarTool::pluginNormalIcon

Definition at line 281 of file toolbar.cpp.

◆ pluginNormalIconSVG

wxString ocpnToolBarTool::pluginNormalIconSVG

Definition at line 292 of file toolbar.cpp.

◆ pluginRolloverIcon

wxBitmap ocpnToolBarTool::pluginRolloverIcon

Definition at line 282 of file toolbar.cpp.

◆ pluginRolloverIconSVG

wxString ocpnToolBarTool::pluginRolloverIconSVG

Definition at line 293 of file toolbar.cpp.

◆ pluginToggledIcon

const wxBitmap* ocpnToolBarTool::pluginToggledIcon

Definition at line 283 of file toolbar.cpp.

◆ pluginToggledIconSVG

wxString ocpnToolBarTool::pluginToggledIconSVG

Definition at line 294 of file toolbar.cpp.

◆ rollover

bool ocpnToolBarTool::rollover

Definition at line 286 of file toolbar.cpp.

◆ toolname

wxString ocpnToolBarTool::toolname

Definition at line 279 of file toolbar.cpp.

◆ trect

wxRect ocpnToolBarTool::trect

Definition at line 278 of file toolbar.cpp.


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