wxBaseStaticText

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.

Derived From

wxStaticText (see http://www.wxwindows.org/manuals/2.4.2/wx362.htm)

Project

UICore

Include

BaseStaticText.h

Summary
A basic static text window.
The wxBaseStaticText constructor.

Public

Summary
The wxBaseStaticText constructor.

Constructors

wxBaseStaticText

wxBaseStaticText(wxWindow *parent, 
wxWindowID id, 
const wxColour &color, 
const wxFont &font, 
const wxString &label, 
const wxSize &size = wxDefaultSize,
long style = 0)

The wxBaseStaticText constructor.  Creates the static text with the given text color, font, style, size, etc.

Parameters

parentThe parent window.  Must not be NULL.
idThe message handling ID.  Should be a unique (to the parent window) ID, if the parent window wants to receive messages from the control.
colorThe text color.
fontThe text font.
labelThe text.
sizeThe window size.
styleThe window style.
wxBaseStaticText(wxWindow *parent, 
wxWindowID id, 
const wxColour &color, 
const wxFont &font, 
const wxString &label, 
const wxSize &size = wxDefaultSize,
long style = 0)
The wxBaseStaticText constructor.
UICore provides a set of common UI controls that promote a constant look and feel across all aspects of the UI.