ManaPlus
|
#include <text.h>
Public Member Functions | |
FlashText (const std::string &text, const int x, const int y, const Graphics::Alignment alignment, const Color *const color, Font *const font) | |
void | flash (const int time) |
void | draw (Graphics *const graphics, const int xOff, const int yOff) |
Public Member Functions inherited from Text | |
Text (const std::string &text, const int x, const int y, const Graphics::Alignment alignment, const Color *const color, const Speech isSpeech, Font *const font) | |
virtual | ~Text () |
void | setColor (const Color *const color) |
int | getWidth () const |
int | getHeight () const |
void | adviseXY (const int x, const int y, const Move move) |
int | getX () const |
int | getY () const |
Private Attributes | |
int | mTime |
Additional Inherited Members | |
Static Protected Attributes inherited from Text | |
static ImageRect | mBubble |
FlashText::FlashText | ( | const std::string & | text, |
const int | x, | ||
const int | y, | ||
const Graphics::Alignment | alignment, | ||
const Color *const | color, | ||
Font *const | font | ||
) |
Definition at line 188 of file text.cpp.
|
virtual |
Draws the text.
Reimplemented from Text.
Definition at line 198 of file text.cpp.
References BLOCK_END, BLOCK_START, Text::draw(), and mTime.
|
inline |
|
private |