
Public Member Functions | |
| PlayerColorPanel () | |
| void | Show (bool fade=false) |
| Make a widget visible (if you want a widget to show up the first time, use this method). | |
| void | Hide (bool fade=false) |
| Hide a widget. | |
| bool | eventKeyDown (const SDL_KeyboardEvent *key) |
| Overridable Eventhandler for a SDL_KeyboardEvent message. | |
| bool | idler () |
|
|
Definition at line 425 of file edglobal.cpp. References actmap, bar(), PG_Application::GetApp(), GameMap::getPlayer(), idler(), PG_Rect::PG_Rect(), PG_Widget::SetFontSize(), and ASCString::toString(). |
|
|
Overridable Eventhandler for a SDL_KeyboardEvent message. This handler is called when a key changed it's state from unpressed to pressed. The default implementation returns 'false' which indicates that this message is not processed by this object.
Reimplemented from PG_MessageObject. Definition at line 451 of file edglobal.cpp. References Hide(), and SelectionHolder::setPlayer(). |
|
|
Hide a widget.
Reimplemented from PG_Widget. Definition at line 444 of file edglobal.cpp. References PG_Widget::Hide(). Referenced by eventKeyDown(), idler(), and showPlayerPanel(). |
|
|
Definition at line 461 of file edglobal.cpp. References Hide(), PG_Widget::IsVisible(), and ticker. Referenced by PlayerColorPanel(). |
|
|
Make a widget visible (if you want a widget to show up the first time, use this method).
Reimplemented from PG_Widget. Definition at line 438 of file edglobal.cpp. References PG_Widget::Show(), and ticker. Referenced by showPlayerPanel(). |
1.4.2