Main Page | Namespace List | Class Hierarchy | Alphabetical List | Class List | File List | Namespace Members | Class Members | File Members | Related Pages

MessageLineWidget Class Reference

Inheritance diagram for MessageLineWidget:

Inheritance graph
[legend]
List of all members.

Public Member Functions

 MessageLineWidget (PG_Widget *parent, const PG_Point &pos, int width, Message *msg, GameMap *gamemap)
ASCString getName () const
MessagegetMessage () const

Protected Member Functions

void display (SDL_Surface *surface, const PG_Rect &src, const PG_Rect &dst)

Constructor & Destructor Documentation

MessageLineWidget::MessageLineWidget PG_Widget parent,
const PG_Point pos,
int  width,
Message msg,
GameMap gamemap
 

Definition at line 381 of file messagedlg.cpp.

References PG_Widget::GetFontSize(), getName(), GameMap::getPlayer(), PG_Rect::Height(), PG_Rect::PG_Rect(), PG_Widget::SetFontSize(), PG_Widget::SetTransparency(), Message::time, and Message::to.


Member Function Documentation

void MessageLineWidget::display SDL_Surface *  surface,
const PG_Rect src,
const PG_Rect dst
[inline, protected, virtual]
 

Implements SelectionWidget.

Definition at line 373 of file messagedlg.cpp.

Message* MessageLineWidget::getMessage void   )  const [inline]
 

Definition at line 369 of file messagedlg.cpp.

ASCString MessageLineWidget::getName  )  const [inline, virtual]
 

Implements SelectionWidget.

Definition at line 359 of file messagedlg.cpp.

References Message::from, and log2().

Referenced by MessageLineWidget().


The documentation for this class was generated from the following file:
Generated on Tue Jun 24 02:18:20 2008 for Advanced Strategic Command by  doxygen 1.4.2