A basic static text window. A static text window displays read-only text on the screen. The class wxBaseStaticText provides a simple base class for all static text windows in the game, providing a common look and feel across UI objects. It is in all ways like a wxStaticText, except that it sets its background to the background of its parent window, sets its foreground to the given color, and allows for a user-defined font.
wxStaticText (see http://www.wxwindows.org/manuals/2.4.2/wx362.htm)
BaseStaticText.h
A basic static text window. | |
The wxBaseStaticText constructor. |
|
The wxBaseStaticText constructor. Creates the static text with the given text color, font, style, size, etc.
| parent | The parent window. Must not be NULL. |
| id | The message handling ID. Should be a unique (to the parent window) ID, if the parent window wants to receive messages from the control. |
| color | The text color. |
| font | The text font. |
| label | The text. |
| size | The window size. |
| style | The window style. |
|