OpenCPN Partial API docs
MUITextButton Class Reference

Public Member Functions

 MUITextButton (wxWindow *parent, wxWindowID id, float scale_factor, wxColor backColor, const wxString &text=wxEmptyString, const wxPoint &pos=wxDefaultPosition, const wxSize &size=wxDefaultSize, long style=wxNO_BORDER)
 
bool Create (wxWindow *parent, wxWindowID id, float scale_factor=1.0, const wxString &text=wxEmptyString, const wxPoint &pos=wxDefaultPosition, const wxSize &size=wxDefaultSize, long style=wxNO_BORDER)
 
void Init ()
 
wxSize GetSize ()
 
void SetState (int state)
 
void SetColorScheme (ColorScheme cs)
 
void OnSize (wxSizeEvent &event)
 
void OnLeftDown (wxMouseEvent &event)
 
void OnLeftUp (wxMouseEvent &event)
 
void SetText (const wxString &text)
 
wxBitmap GetButtonBitmap ()
 

Public Attributes

wxSize m_size
 
wxPoint m_position
 

Detailed Description

Definition at line 547 of file MUIBar.cpp.


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