
Public Member Functions | |
| MessageLineWidget (PG_Widget *parent, const PG_Point &pos, int width, Message *msg, GameMap *gamemap) | |
| ASCString | getName () const |
| Message * | getMessage () const |
Protected Member Functions | |
| void | display (SDL_Surface *surface, const PG_Rect &src, const PG_Rect &dst) |
Definition at line 359 of file messagedlg.cpp.
| MessageLineWidget::MessageLineWidget | ( | PG_Widget * | parent, | |
| const PG_Point & | pos, | |||
| int | width, | |||
| Message * | msg, | |||
| GameMap * | gamemap | |||
| ) |
Definition at line 389 of file messagedlg.cpp.
References Player::getColor(), getName(), GameMap::getPlayer(), GameMap::getPlayerCount(), Message::time, and Message::to.
| ASCString MessageLineWidget::getName | ( | ) | const [inline, virtual] |
Implements SelectionWidget.
Definition at line 367 of file messagedlg.cpp.
References Message::from, getFirstBit(), Player::getName(), and GameMap::getPlayer().
Referenced by MessageLineWidget().
| Message* MessageLineWidget::getMessage | ( | void | ) | const [inline] |
Definition at line 377 of file messagedlg.cpp.
Referenced by MessageListItemFactory::itemMarked(), and MessageListItemFactory::itemSelected().
| void MessageLineWidget::display | ( | SDL_Surface * | surface, | |
| const PG_Rect & | src, | |||
| const PG_Rect & | dst | |||
| ) | [inline, protected, virtual] |
1.5.1