Represents a TitleElement, ie a box containing text which is displayed in the title area.
More...
#include <title.h>
Represents a TitleElement, ie a box containing text which is displayed in the title area.
Definition at line 21 of file title.h.
wxSize TextElement::CalculateExtent |
( |
wxDC & |
dc | ) |
|
void TextElement::Draw |
( |
wxDC & |
dc, |
|
|
wxRect |
rc |
|
) |
| |
Draws the TextElement with the given DC in a specified box.
- Parameters
-
dc | The device context to draw on. |
rc | The rect into which the text will be drawn. |
void TextElement::SetColour |
( |
wxColour |
colour | ) |
|
|
inline |
Sets the text colour.
- Parameters
-
Definition at line 58 of file title.h.
void TextElement::SetHorzAlign |
( |
int |
hAlign | ) |
|
|
inline |
Sets the horizontal alignment of the text inside its box.
- Parameters
-
hAlign | One of the horizontal alignment flags specified by wxWidgets. |
Definition at line 49 of file title.h.
The documentation for this class was generated from the following file: