wxBaseStaticBox

A basic static box.  A static box is drawn on the screen as a rectangle with an optional title text across the top of the rectangle starting in the upper-left corner.  The class wxBaseStaticBox provides a simple base class for all static boxes in the game, providing a common look and feel across UI objects.  It is in all ways like a wxStaticBox, except that it sets its background color to the background color of its parent window, sets its foreground to the given color, and allows for a user-defined font.

Derived From

wxStaticBox (see http://www.wxwindows.org/manuals/2.4.2/wx359.htm)

Project

UICore

Include

BaseStaticBox.h

Summary
A basic static box.
The wxBaseStaticBox constructor.

Public

Summary
The wxBaseStaticBox constructor.

Constructors

wxBaseStaticBox

wxBaseStaticBox(wxWindow *parent,
wxWindowID id,
const wxString &label,
const wxColour color,
const wxFont &font)

The wxBaseStaticBox constructor.  Creates the static box with the given text color, font, label, 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.
labelThe title text.
colorThe title text color.
fontThe title text font.
wxBaseStaticBox(wxWindow *parent,
wxWindowID id,
const wxString &label,
const wxColour color,
const wxFont &font)
The wxBaseStaticBox constructor.
UICore provides a set of common UI controls that promote a constant look and feel across all aspects of the UI.