Crazy Eddies GUI System
0.7.8
|
ToggleButton class for the FalagardBase module. More...
Public Member Functions | |
FalagardToggleButton (const String &type) | |
Constructor. | |
![]() | |
FalagardButton (const String &type) | |
Constructor. | |
void | render () |
Populate render cache. More... | |
![]() | |
WindowRenderer (const String &name, const String &class_name="Window") | |
Constructor. More... | |
virtual | ~WindowRenderer () |
Destructor. | |
const String & | getName () const |
Returns the factory type name of this window renderer. | |
Window * | getWindow () const |
Get the window this windowrenderer is attached to. | |
const String & | getClass () const |
Get the "minimum" Window class this renderer requires. | |
const WidgetLookFeel & | getLookNFeel () const |
Get the Look'N'Feel assigned to our window. | |
virtual Rect | getUnclippedInnerRect () const |
Get unclipped inner rectangle that our window should return from its member function with the same name. | |
virtual void | performChildWindowLayout () |
Method called to perform extended laying out of the window's attached child windows. | |
virtual void | getRenderingContext (RenderingContext &ctx) const |
update the RenderingContext as needed for our window. This is normally invoked via our window's member function with the same name. | |
virtual void | update (float) |
perform any time based updates for this WindowRenderer. | |
Static Public Attributes | |
static const utf8 | TypeName [] |
type name for this widget. | |
![]() | |
static const utf8 | TypeName [] |
type name for this widget. | |
Protected Member Functions | |
String | actualStateName (const String &s) const |
Additional Inherited Members | |
![]() | |
typedef std::pair< Property *, bool > | PropertyEntry |
type used for entries in the PropertyList. | |
typedef std::vector < PropertyEntry > | PropertyList |
type to use for the property list. | |
![]() | |
Window * | d_window |
Pointer to the window this windowrenderer is assigned to. | |
const String | d_name |
Name of the factory type used to create this window renderer. | |
const String | d_class |
Name of the widget class that is the "minimum" requirement. | |
PropertyList | d_properties |
The list of properties that this windowrenderer will be handling. | |
ToggleButton class for the FalagardBase module.
This class requires LookNFeel to be assigned. The LookNFeel should provide the following:
States (missing states will default to 'Normal' or 'SelectedNormal' if selected)