67 float posX = -(newWidth / 2.0f);
68 float posY = -(newHeight / 2.0f);
The global graphics manager.
virtual void hide()
Hide the object.
void setText(const Common::UString &str)
void notifyResized(int oldWidth, int oldHeight, int newWidth, int newHeight)
void render(RenderPass pass)
Render the object.
void setPosition(float x, float y, float z=-FLT_MAX)
static UString format(const char *s,...) GCC_PRINTF(1
Print formatted data into an UString object, similar to sprintf().
void render(RenderPass pass)
Render the object.
#define WindowMan
Shortcut for accessing the window manager.
Low-level detection of architecture/system properties.
void setTag(const Common::UString &tag)
Set the object's tag.
A text object displaying the current FPS.
void setSize(float width, float height)
FPS(const FontHandle &font)
#define GfxMan
Shortcut for accessing the graphics manager.
Only render opaque parts.