wxToolBoxBitmapSet Class Reference

Used for storing set of 3 background bitmaps for toolbox objects. More...

#include <wxToolBox.h>

List of all members.

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.


Detailed Description

Used for storing set of 3 background bitmaps for toolbox objects.


Constructor & Destructor Documentation

wxToolBoxBitmapSet::wxToolBoxBitmapSet ( wxString  left,
wxString  middle,
wxString  right 
)

Parametrized constructor.

Parameters:
left - normal background
middle - hover background
right - selected background


Member Function Documentation

void wxToolBoxBitmapSet::SetLeftBitmap ( wxString  bitmap  ) 

Sets left background.

Parameters:
bitmap - new left background

void wxToolBoxBitmapSet::SetMiddleBitmap ( wxString  bitmap  ) 

Sets hover background.

Parameters:
bitmap - new hover background

void wxToolBoxBitmapSet::SetRightBitmap ( wxString  bitmap  ) 

Sets selected background.

Parameters:
bitmap - new selected background


Generated on Sun Apr 8 00:19:07 2007 for wxToolBox by  doxygen 1.5.2
Hosted by uCoz