#include <maped-mainscreen.h>
Inheritance diagram for Maped_MainScreenWidget:

Public Member Functions | |
| Maped_MainScreenWidget (PG_Application &application) | |
| bool | clearSelection () |
| bool | selectVehicle () |
| bool | selectBuilding () |
| bool | selectObject () |
| bool | selectObjectList () |
| bool | selectTerrain () |
| bool | selectTerrainList () |
| bool | selectMine () |
| void | updateStatusBar () |
| void | addContextAction (ContextAction *contextAction) |
Protected Member Functions | |
| bool | clickOnMap (const MapCoordinate &field, const SPoint &pos, bool changed, int button, int prio) |
| void | brushChanged (int i) |
| void | selectionChanged (const MapComponent *item) |
| bool | eventKeyUp (const SDL_KeyboardEvent *key) |
| Overridable Eventhandler for a SDL_KeyboardEvent message. | |
| bool | eventKeyDown (const SDL_KeyboardEvent *key) |
| Overridable Eventhandler for a SDL_KeyboardEvent message. | |
| void | setupStatusBar () |
| void | playerChanged (int player) |
| ASCString | getBackgroundImageFilename () |
| bool | eventMouseButtonDown (const SDL_MouseButtonEvent *button) |
| Overridable Eventhandler for a SDL_MouseButtonEvent message. | |
| ~Maped_MainScreenWidget () | |
Protected Attributes | |
| NewGuiHost * | guiHost |
| Menu * | menu |
|
|
|
Definition at line 119 of file maped-mainscreen.h. |
|
|
Definition at line 555 of file maped-mainscreen.cpp. Referenced by Maped_MainScreenWidget(). |
|
|
Definition at line 548 of file maped-mainscreen.cpp. References SelectionHolder::brushSize, and selection. Referenced by Maped_MainScreenWidget(). |
|
|
Definition at line 911 of file maped-mainscreen.cpp. References SelectionHolder::clear(), and selection. Referenced by Maped_MainScreenWidget(). |
|
||||||||||||||||||||||||
|
Definition at line 561 of file maped-mainscreen.cpp. References MapDisplayPG::cursor, MapDisplayPG::Cursor::goTo(), and MainScreenWidget::mapDisplay. Referenced by Maped_MainScreenWidget(). |
|
|
|
Overridable Eventhandler for a SDL_KeyboardEvent message. This handler is called when a key changed it's state from pressed to unpressed. The default implementation returns 'false' which indicates that this message is not processed by this object.
Reimplemented from PG_MessageObject. Definition at line 620 of file maped-mainscreen.cpp. References act_releaseControlPanel, and execaction_ev(). |
|
|
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 507 of file maped-mainscreen.cpp. |
|
|
Implements MainScreenWidget. Definition at line 115 of file maped-mainscreen.h. |
|
|
Definition at line 493 of file maped-mainscreen.cpp. References PG_DropDown::SelectItem(). Referenced by Maped_MainScreenWidget(). |
|
|
Definition at line 925 of file maped-mainscreen.cpp. References buildingTypeRepository, and showSelectionWindow(). Referenced by Maped_MainScreenWidget(). |
|
|
Definition at line 536 of file maped-mainscreen.cpp. References PG_Widget::SetText(), and ASCString::toString(). Referenced by Maped_MainScreenWidget(). |
|
|
Definition at line 959 of file maped-mainscreen.cpp. References mineTypeRepository, and showSelectionWindow(). Referenced by Maped_MainScreenWidget(). |
|
|
Definition at line 931 of file maped-mainscreen.cpp. References act_switchmaps, and execaction_ev(). Referenced by Maped_MainScreenWidget(). |
|
|
Definition at line 938 of file maped-mainscreen.cpp. References objectTypeRepository, and showSelectionWindow(). Referenced by Maped_MainScreenWidget(). |
|
|
Definition at line 945 of file maped-mainscreen.cpp. References act_switchmaps, and execaction_ev(). Referenced by Maped_MainScreenWidget(). |
|
|
Definition at line 952 of file maped-mainscreen.cpp. References showSelectionWindow(), and terrainTypeRepository. Referenced by Maped_MainScreenWidget(). |
|
|
Definition at line 918 of file maped-mainscreen.cpp. References showSelectionWindow(), and vehicleTypeRepository. Referenced by Maped_MainScreenWidget(). |
|
|
Definition at line 512 of file maped-mainscreen.cpp. References cursorMoved, PG_Rect::Height(), MainScreenWidget::mapDisplay, MainScreenWidget::messageLine, PG_Rect::my_xpos, PG_Rect::my_ypos, PG_Rect::PG_Rect(), PG_Widget::SetFontSize(), updateFieldInfo, and updateStatusBar(). Referenced by Maped_MainScreenWidget(). |
|
|
Definition at line 530 of file maped-mainscreen.cpp. References actmap, GameMap::getCursor(), PG_Widget::SetText(), ASCString::toString(), MapCoordinate::x, and MapCoordinate::y. Referenced by setupStatusBar(). |
|
|
Definition at line 104 of file maped-mainscreen.h. |
|
|
Definition at line 105 of file maped-mainscreen.h. Referenced by Maped_MainScreenWidget(). |
1.4.2