66 float panelWidth = panel->
getWidth ();
93 int newWidth,
int newHeight) {
95 setPosition(newWidth / 2.0f, - (newHeight / 2.0f), -10.0f);
99 const float *orientation =
CameraMan.getOrientation();
void notifyResized(int oldWidth, int oldHeight, int newWidth, int newHeight)
The global graphics manager.
A class holding an UTF-8 string.
void setPosition(float x, float y, float z)
Set the GUI's position.
void setOrientation(float x, float y, float z, float angle)
Set the current orientation of the model.
Utility templates and functions.
void setRotation(float x, float y, float z)
Set the rotation of the node.
A node within a 3D model.
#define WindowMan
Shortcut for accessing the window manager.
#define CameraMan
Shortcut for accessing the camera manager.
void addWidget(Widget *widget)
Add a widget.
ModelNode * getNode(const Common::UString &node)
Get the specified node, from the current state.
void callbackActive(Widget &widget)
Callback that's triggered when a widget was activated.