40 float wWidth =
WindowMan.getWindowWidth();
41 float wHeight =
WindowMan.getWindowHeight();
43 if (widget.
getTag() ==
"TGuiPanel") {
50 x *= ((wWidth / 2.0f) / 400.0f);
51 y *= ((wHeight / 2.0f) / 300.0f);
59 w *= (wWidth / 800.0f);
60 h *= (wHeight / 600.0f);
The global window manager.
GUI(::Engines::Console *console)
#define WindowMan
Shortcut for accessing the window manager.
virtual void initWidget(Widget &widget)