Public Member Functions | |
QTextPhrase (const Common::U32String &phrase, uint16 textColor, uint16 outlineColor) | |
void | draw () override |
void | update (int time) override |
void | onClick (Common::Point p) override |
bool | isInPoint (Common::Point p) override |
Public Member Functions inherited from Petka::QText | |
QText (const Common::U32String &text, uint16 textColor, uint16 outlineColor) | |
const Common::Rect & | getRect () |
Public Member Functions inherited from Petka::QVisibleObject | |
virtual void | updateZ () |
virtual void | show (bool v) |
virtual void | setPos (Common::Point p, bool center) |
virtual void | onMouseMove (Common::Point p) |
Additional Inherited Members | |
Public Attributes inherited from Petka::QVisibleObject | |
int32 | _resourceId |
int32 | _z |
Static Protected Member Functions inherited from Petka::QText | |
static void | drawOutline (Graphics::Surface *surface, uint16 color) |
static Common::Rect | calculateBoundingBoxForText (const Common::U32String &text, Graphics::Font &font) |
static void | drawText (Graphics::Surface &s, int y, int maxWidth, const Common::U32String &text, uint color, Graphics::Font &font, Graphics::TextAlign alignment) |
Protected Attributes inherited from Petka::QText | |
Common::Rect | _rect |