|
UGDK
0.4.1
|
#include <ugdk/graphic/drawable/text.h>


Public Member Functions | |
| Text (const std::wstring &message, Font *font) | |
| Text (const std::vector< std::wstring > &message, Font *font) | |
| ~Text () | |
| void | SetMessage (const std::wstring &message) |
| void | SetMessage (const std::vector< std::wstring > &message) |
| void | Update (double dt) |
| void | Draw () const |
| virtual const Vector2D & | size () const |
Public Member Functions inherited from ugdk::graphic::Drawable | |
| virtual | ~Drawable () |
| void | set_hotspot (const Vector2D &hotspot) |
| void | set_hotspot (const HookPoint &hook) |
| const double | width () const |
| const double | height () const |
| const Vector2D & | hotspot () const |
Additional Inherited Members | |
Public Types inherited from ugdk::graphic::Drawable | |
| enum | HookPoint { TOP_LEFT, TOP, TOP_RIGHT, LEFT, CENTER, RIGHT, BOTTOM_LEFT, BOTTOM, BOTTOM_RIGHT } |
Protected Member Functions inherited from ugdk::graphic::Drawable | |
| Drawable () | |
Protected Attributes inherited from ugdk::graphic::Drawable | |
| ugdk::Vector2D | hotspot_ |
| ugdk::graphic::Text::Text | ( | const std::wstring & | message, |
| Font * | font | ||
| ) |
| ugdk::graphic::Text::Text | ( | const std::vector< std::wstring > & | message, |
| Font * | font | ||
| ) |
|
inline |
|
virtual |
Implements ugdk::graphic::Drawable.
| void ugdk::graphic::Text::SetMessage | ( | const std::wstring & | message | ) |
| void ugdk::graphic::Text::SetMessage | ( | const std::vector< std::wstring > & | message | ) |
|
virtual |
Implements ugdk::graphic::Drawable.
|
virtual |
Implements ugdk::graphic::Drawable.