#include <text.h>
Public Member Functions | |
VisualText (Gfx::Driver *gfx) | |
Common::Rect | getRect () |
void | setText (const Common::String &text) |
void | setColor (const Gfx::Color &color) |
void | setBackgroundColor (const Gfx::Color &color) |
void | setAlign (Graphics::TextAlign align) |
void | setTargetWidth (uint32 width) |
void | setTargetHeight (uint32 height) |
void | setFont (FontProvider::FontType type, int32 customFontIndex=-1) |
uint | getTargetWidth () |
uint | getTargetHeight () |
void | render (const Common::Point &position) |
void | reset () |
Public Member Functions inherited from Stark::Visual | |
Visual (VisualType type) | |
template<class T > | |
T * | get () |
Static Public Attributes | |
static const VisualType | TYPE = Visual::kImageText |
Additional Inherited Members | |
Public Types inherited from Stark::Visual | |
enum | VisualType { kImageXMG = 2, kRendered = 3, kImageText = 4, kSmackerStream = 5, kActor = 6, kSmackerFMV = 7, kEffectFish = 8, kEffectBubbles = 9, kEffectFirefly = 10, kExplodingImage = 100, kFlashingImage = 101 } |
Text renderer