#include <wxToolBox.h>
Inheritance diagram for wxToolObject:
Public Member Functions | |
wxRect & | GetRectangle () |
Returns Tool Object's rectangle. | |
wxSize | GetSize () |
Returns size of Tool Object. | |
wxString | GetToolTip () |
Returns tooltip text. | |
void | SetRectangle (wxRect value) |
Sets position and size of Tool Object. | |
void | SetSize (int w, int h) |
Sets Tool Object's size. | |
void | SetToolTip (wxString value) |
Sets tooltip text. | |
wxToolObject (const wxToolObject &toolobject) | |
Copy constructor. | |
wxToolObject (wxRect r) | |
Parametrized constructor. | |
wxToolObject () | |
Default constructor. | |
Protected Attributes | |
wxRect | m_Rectangle |
Stores position and size of Tool Object. | |
wxString | m_ToolTip |
Tooltip text. |
wxToolObject::wxToolObject | ( | wxRect | r | ) |
Parametrized constructor.
r | - rectangle that specifies position and size of Tool Object |
void wxToolObject::SetSize | ( | int | w, | |
int | h | |||
) | [inline] |
Sets Tool Object's size.
w | - new width | |
h | - new height |