FlashText Class Reference

#include <text.h>

Inheritance diagram for FlashText:

Text

List of all members.


Detailed Description

Definition at line 81 of file text.h.


Public Member Functions

 FlashText (const std::string &text, int x, int y, gcn::Graphics::Alignment alignment, const gcn::Color *color)
virtual ~FlashText ()
 Remove the text from the screen.
void flash (int time)
 Flash the text for so many refreshes.
virtual void draw (gcn::Graphics *graphics, int xOff, int yOff)
 Draws the text.

Private Attributes

int mTime
 Time left for flashing.

Constructor & Destructor Documentation

FlashText::FlashText ( const std::string &  text,
int  x,
int  y,
gcn::Graphics::Alignment  alignment,
const gcn::Color *  color 
)

Definition at line 144 of file text.cpp.

virtual FlashText::~FlashText (  )  [inline, virtual]

Remove the text from the screen.

Definition at line 91 of file text.h.


Member Function Documentation

void FlashText::flash ( int  time  )  [inline]

Flash the text for so many refreshes.

Definition at line 96 of file text.h.

void FlashText::draw ( gcn::Graphics *  graphics,
int  xOff,
int  yOff 
) [virtual]

Draws the text.

Reimplemented from Text.

Definition at line 152 of file text.cpp.


Member Data Documentation

int FlashText::mTime [private]

Time left for flashing.

Definition at line 104 of file text.h.


The documentation for this class was generated from the following files:

Generated on Sun Apr 26 17:30:43 2009 for The Mana World by  doxygen 1.5.5