OpenCPN Partial API docs
MUIButton Class Reference

Public Member Functions

 MUIButton (wxWindow *parent, wxWindowID id=wxID_ANY, float scale_factor=1.0, const wxString &bitmapState0=wxEmptyString, const wxString &bitmapState1=wxEmptyString, const wxString &bitmapState2=wxEmptyString, const wxPoint &pos=wxDefaultPosition, const wxSize &size=wxDefaultSize, long style=wxNO_BORDER)
 
bool Create (wxWindow *parent, wxWindowID id=wxID_ANY, float scale_factor=1.0, const wxString &bitmapState0=wxEmptyString, const wxString &bitmapState1=wxEmptyString, const wxString &bitmapState2=wxEmptyString, const wxPoint &pos=wxDefaultPosition, const wxSize &size=wxDefaultSize, long style=wxNO_BORDER)
 
void Init ()
 
void CreateControls ()
 
void SetState (int state)
 
int GetState ()
 
void SetColorScheme (ColorScheme cs)
 
void OnSize (wxSizeEvent &event)
 
void OnLeftDown (wxMouseEvent &event)
 
void OnLeftUp (wxMouseEvent &event)
 
wxBitmap GetBitmapResource (const wxString &name)
 
wxIcon GetIconResource (const wxString &name)
 
wxBitmap GetButtonBitmap ()
 

Static Public Member Functions

static bool ShowToolTips ()
 Should we show tooltips?
 

Public Attributes

wxSize m_size
 
wxPoint m_position
 

Detailed Description

Definition at line 220 of file MUIBar.cpp.


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