#include <wxToolBox.h>
Public Member Functions | |
wxBitmap & | GetLeftBitmap () |
Returns left background. | |
wxString | GetLeftPath () |
Returns path from which left bitmap has been loaded. | |
unsigned int | GetMaxBitmapHeight () |
Returns maximal height of background bitmaps. | |
wxBitmap & | GetMiddleBitmap () |
Returns hover background. | |
wxString | GetMiddlePath () |
Returns path from which middle bitmap has been loaded. | |
wxBitmap & | GetRightBitmap () |
Returns selected background. | |
wxString | GetRightPath () |
Returns path from which right bitmap has been loaded. | |
wxToolBoxBitmapSet | operator= (const wxToolBoxBitmapSet bmpset) |
Equating operator. | |
void | SetLeftBitmap (wxString bitmap) |
Sets left background. | |
void | SetMiddleBitmap (wxString bitmap) |
Sets hover background. | |
void | SetRightBitmap (wxString bitmap) |
Sets selected background. | |
wxToolBoxBitmapSet (const wxToolBoxBitmapSet &bmpset) | |
Copy constructor. | |
wxToolBoxBitmapSet (wxString left, wxString middle, wxString right) | |
Parametrized constructor. | |
wxToolBoxBitmapSet () | |
Default constructor. | |
Protected Attributes | |
wxBitmap | m_LeftBitmap |
Left background bitmap. | |
wxString | m_LeftPath |
Path to image file of left background bitmap. | |
wxBitmap | m_MiddleBitmap |
Middle background bitmap. | |
wxString | m_MiddlePath |
Path to image file of middle background bitmap. | |
wxBitmap | m_RightBitmap |
Right background bitmap. | |
wxString | m_RightPath |
Path to image file of right background bitmap. |
wxToolBoxBitmapSet::wxToolBoxBitmapSet | ( | wxString | left, | |
wxString | middle, | |||
wxString | right | |||
) |
Parametrized constructor.
left | - normal background | |
middle | - hover background | |
right | - selected background |
void wxToolBoxBitmapSet::SetLeftBitmap | ( | wxString | bitmap | ) |
Sets left background.
bitmap | - new left background |
void wxToolBoxBitmapSet::SetMiddleBitmap | ( | wxString | bitmap | ) |
Sets hover background.
bitmap | - new hover background |
void wxToolBoxBitmapSet::SetRightBitmap | ( | wxString | bitmap | ) |
Sets selected background.
bitmap | - new selected background |