#include <WidgetFactory.h>
|
| WidgetFactory (Engine *server) |
|
Engine * | getEngine () |
|
virtual Widget * | createWidget (const String &name, Container *container) |
|
virtual Button * | createButton (const String &name, Container *container)=0 |
|
virtual Slider * | createSlider (const String &name, Container *container)=0 |
|
virtual Button * | createCheckButton (const String &name, Container *container) |
|
virtual Image * | createImage (const String &name, Container *container) |
|
virtual Label * | createLabel (const String &name, Container *container, const String &text="") |
|
virtual TextBox * | createTextBox (const String &name, Container *container) |
|
virtual Container * | createContainer (String name, Container *container, Container::Layout layout=Container::LayoutHorizontal) |
|
|
void | setFocusColor (const Color &c) |
| Global styles. More...
|
|
const Color & | getFocusColor () |
| Gets the default color used to mark active widgets. More...
|
|
void | setLabelColor (const Color &c) |
| Sets the default label color. More...
|
|
const Color & | getLabelColor () |
| Gets the default label color. More...
|
|
| ReferenceType () |
|
virtual | ~ReferenceType () |
|
void | ref () |
|
void | unref () |
|
long | refCount () |
|
omegaToolkit::ui::WidgetFactory::WidgetFactory |
( |
Engine * |
server | ) |
|
|
inline |
virtual Button* omegaToolkit::ui::WidgetFactory::createButton |
( |
const String & |
name, |
|
|
Container * |
container |
|
) |
| |
|
pure virtual |
virtual Button* omegaToolkit::ui::WidgetFactory::createCheckButton |
( |
const String & |
name, |
|
|
Container * |
container |
|
) |
| |
|
inlinevirtual |
virtual Image* omegaToolkit::ui::WidgetFactory::createImage |
( |
const String & |
name, |
|
|
Container * |
container |
|
) |
| |
|
inlinevirtual |
virtual Label* omegaToolkit::ui::WidgetFactory::createLabel |
( |
const String & |
name, |
|
|
Container * |
container, |
|
|
const String & |
text = "" |
|
) |
| |
|
inlinevirtual |
virtual Slider* omegaToolkit::ui::WidgetFactory::createSlider |
( |
const String & |
name, |
|
|
Container * |
container |
|
) |
| |
|
pure virtual |
virtual TextBox* omegaToolkit::ui::WidgetFactory::createTextBox |
( |
const String & |
name, |
|
|
Container * |
container |
|
) |
| |
|
inlinevirtual |
virtual Widget* omegaToolkit::ui::WidgetFactory::createWidget |
( |
const String & |
name, |
|
|
Container * |
container |
|
) |
| |
|
inlinevirtual |
Engine* omegaToolkit::ui::WidgetFactory::getEngine |
( |
| ) |
|
|
inline |
const Color& omegaToolkit::ui::WidgetFactory::getFocusColor |
( |
| ) |
|
|
inline |
Gets the default color used to mark active widgets.
const Color& omegaToolkit::ui::WidgetFactory::getLabelColor |
( |
| ) |
|
|
inline |
Gets the default label color.
void omegaToolkit::ui::WidgetFactory::setFocusColor |
( |
const Color & |
c | ) |
|
|
inline |
Global styles.
Sets the default color used to mark active widgets
void omegaToolkit::ui::WidgetFactory::setLabelColor |
( |
const Color & |
c | ) |
|
|
inline |
Sets the default label color.
The documentation for this class was generated from the following file: