|
| 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 () |
|
Definition at line 219 of file MUIBar.cpp.
◆ MUIButton() [1/2]
◆ MUIButton() [2/2]
MUIButton::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 |
|
) |
| |
◆ ~MUIButton()
MUIButton::~MUIButton |
( |
| ) |
|
◆ Create()
bool MUIButton::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 |
|
) |
| |
◆ CreateControls()
void MUIButton::CreateControls |
( |
| ) |
|
◆ GetButtonBitmap()
wxBitmap MUIButton::GetButtonBitmap |
( |
| ) |
|
|
inline |
◆ GetState()
int MUIButton::GetState |
( |
| ) |
|
|
inline |
◆ Init()
◆ OnSize()
void MUIButton::OnSize |
( |
wxSizeEvent & |
event | ) |
|
◆ SetColorScheme()
void MUIButton::SetColorScheme |
( |
ColorScheme |
cs | ) |
|
◆ SetState()
void MUIButton::SetState |
( |
int |
state | ) |
|
◆ ShowToolTips()
bool MUIButton::ShowToolTips |
( |
| ) |
|
|
static |
Should we show tooltips?
Definition at line 373 of file MUIBar.cpp.
◆ m_position
wxPoint MUIButton::m_position |
◆ m_size
The documentation for this class was generated from the following file:
- /home/runner/work/main/main/opencpn/gui/src/MUIBar.cpp