Public Member Functions | |
DisplayResource (VoyeurEngine *vm) | |
void | sFillBox (int width, int height) |
int | drawText (const Common::String &msg) |
int | textWidth (const Common::String &msg) |
bool | clipRect (Common::Rect &rect) |
Public Attributes | |
uint32 | _flags |
Protected Attributes | |
VoyeurEngine * | _vm |
void Voyeur::DisplayResource::sFillBox | ( | int | width, |
int | height | ||
) |
Fill a box of the given size at the current _drawPtr location
int Voyeur::DisplayResource::drawText | ( | const Common::String & | msg | ) |
Draw text at the current pen position
int Voyeur::DisplayResource::textWidth | ( | const Common::String & | msg | ) |
Return the width of a given text in the current font
bool Voyeur::DisplayResource::clipRect | ( | Common::Rect & | rect | ) |
Clip the given rectangle by the currently viewable area