#include <selectionwindow.h>
Inheritance diagram for SelectionWidget:

Public Types | |
| typedef Loki::Functor< bool, TYPELIST_1(const SelectionWidget *) | SelectionCallBack ) |
Public Member Functions | |
| void | setSelectionCallback (SelectionCallBack *callBack) |
| virtual | ~SelectionWidget () |
| virtual ASCString | getName () const =0 |
Public Attributes | |
| SigC::Signal1< void, const SelectionWidget * > | itemSelected |
| SigC::Signal1< void, const SelectionWidget * > | itemMarked |
Protected Member Functions | |
| SelectionWidget (PG_Widget *parent, const PG_Rect &rect) | |
| bool | eventMouseButtonUp (const SDL_MouseButtonEvent *button) |
| Overridable Eventhandler for a SDL_MouseButtonEvent message. | |
| bool | eventMouseButtonDown (const SDL_MouseButtonEvent *button) |
| Overridable Eventhandler for a SDL_MouseButtonEvent message. | |
| void | eventBlit (SDL_Surface *surface, const PG_Rect &src, const PG_Rect &dst) |
| overridable eventhandler to blit the widget contents to the screen | |
| virtual void | display (SDL_Surface *surface, const PG_Rect &src, const PG_Rect &dst)=0 |
|
|
Definition at line 43 of file selectionwindow.h. |
|
||||||||||||
|
Definition at line 43 of file selectionwindow.h. |
|
|
Definition at line 56 of file selectionwindow.h. |
|
||||||||||||||||
|
Implemented in BuildingTypeBaseWidget, TechWidget, FileWidget, VehicleTypeBaseWidget, MapItemTypeWidget< MapItemType >, and MessageLineWidget. Referenced by eventBlit(). |
|
||||||||||||||||
|
overridable eventhandler to blit the widget contents to the screen
Reimplemented from PG_Widget. Definition at line 44 of file selectionwindow.cpp. References display(), and PG_Application::GetScreen(). |
|
|
Overridable Eventhandler for a SDL_MouseButtonEvent message. This handler is called when a mouse button is pressed. The default implementation returns 'false' which indicates that this message is not processed by this object.
Reimplemented from PG_MessageObject. Definition at line 34 of file selectionwindow.cpp. References itemMarked, and PG_Widget::Update(). |
|
|
Overridable Eventhandler for a SDL_MouseButtonEvent message. This handler is called when a mouse button is released. The default implementation returns 'false' which indicates that this message is not processed by this object.
Reimplemented from PG_MessageObject. Definition at line 25 of file selectionwindow.cpp. References itemSelected. |
|
|
Implemented in BuildingTypeBaseWidget, TechWidget, FileWidget, VehicleTypeBaseWidget, MapItemTypeWidget< MapItemType >, and MessageLineWidget. Referenced by ItemSelectorWidget::nameMatch(). |
|
|
Definition at line 52 of file selectionwindow.h. Referenced by ItemSelectorWidget::reLoad(). |
|
|
Definition at line 62 of file selectionwindow.h. Referenced by eventMouseButtonDown(), and ItemSelectorWidget::reLoad(). |
|
|
Definition at line 61 of file selectionwindow.h. Referenced by eventMouseButtonUp(), and ItemSelectorWidget::reLoad(). |
1.4.2