#include <asc-mainscreen.h>
Inheritance diagram for ASC_MainScreenWidget:

Public Types | |
| enum | Panels { ButtonPanel, WindInfo, UnitInfo, OverviewMap, MapControl } |
Public Member Functions | |
| ASC_MainScreenWidget (PG_Application &application) | |
| void | spawnPanel (Panels panel) |
| void | spawnPanel (const ASCString &panelName) |
| NewGuiHost * | getGuiHost () |
| DashboardPanel * | getUnitInfoPanel () |
| void | showMovementRange (GameMap *gamemap, const MapCoordinate &pos) |
| void | showWeaponRange (GameMap *gamemap, const MapCoordinate &pos) |
| ~ASC_MainScreenWidget () | |
Protected Member Functions | |
| bool | eventKeyDown (const SDL_KeyboardEvent *key) |
| Overridable Eventhandler for a SDL_KeyboardEvent message. | |
| ASCString | getBackgroundImageFilename () |
| void | lockStandardActions (int dir, int options) |
Protected Attributes | |
| NewGuiHost * | guiHost |
| Menu * | menu |
| DashboardPanel * | unitInfoPanel |
| WindInfoPanel * | windInfoPanel |
| MapInfoPanel * | mapInfoPanel |
| UnitWeaponRangeLayer * | weaponRangeLayer |
| UnitMovementRangeLayer * | movementRangeLayer |
| list< int > | lockOptionStack |
|
|
Definition at line 48 of file asc-mainscreen.h. |
|
|
|
Definition at line 58 of file asc-mainscreen.h. |
|
|
|
Implements MainScreenWidget. Definition at line 70 of file asc-mainscreen.h. |
|
|
Definition at line 52 of file asc-mainscreen.h. References guiHost. Referenced by CargoDialog::ProcessEvent(), and CargoDialog::userHandler(). |
|
|
Definition at line 53 of file asc-mainscreen.h. References unitInfoPanel. Referenced by CargoDialog::cargoChanged(), and CargoDialog::ProcessEvent(). |
|
||||||||||||
|
Reimplemented from MainScreenWidget. Definition at line 590 of file asc-mainscreen.cpp. References PG_Widget::Hide(), MainScreenWidget::lockOptions, MainScreenWidget::lockOptionsChanged, lockOptionStack, menu, and PG_Widget::Show(). |
|
||||||||||||
|
Definition at line 691 of file asc-mainscreen.cpp. References movementRangeLayer, and UnitMovementRangeLayer::operateField(). Referenced by execuseraction(). |
|
||||||||||||
|
Definition at line 696 of file asc-mainscreen.cpp. References UnitWeaponRangeLayer::operateField(), and weaponRangeLayer. Referenced by execuseraction(). |
|
|
Definition at line 634 of file asc-mainscreen.cpp. References ButtonPanel, MapControl, OverviewMap, spawnPanel(), UnitInfo, and WindInfo. |
|
|
Definition at line 653 of file asc-mainscreen.cpp. References ButtonPanel, guiHost, PG_Rect::Height(), CGameOptions::Instance(), MapControl, MainScreenWidget::mapDisplay, mapInfoPanel, OverviewMap, PG_Rect::PG_Rect(), GuiFunctions::primaryGuiIcons, NewGuiHost::pushIconHandler(), PG_Widget::Show(), MainScreenWidget::spawnOverviewMapPanel(), UnitInfo, unitInfoPanel, PG_Rect::Width(), WindInfo, and windInfoPanel. Referenced by ASC_MainScreenWidget(), execuseraction2(), and spawnPanel(). |
|
|
Definition at line 58 of file asc-mainscreen.h. Referenced by getGuiHost(), and spawnPanel(). |
|
|
Definition at line 74 of file asc-mainscreen.h. Referenced by lockStandardActions(). |
|
|
Definition at line 64 of file asc-mainscreen.h. Referenced by spawnPanel(). |
|
|
Definition at line 61 of file asc-mainscreen.h. Referenced by ASC_MainScreenWidget(), and lockStandardActions(). |
|
|
Definition at line 67 of file asc-mainscreen.h. Referenced by ASC_MainScreenWidget(), and showMovementRange(). |
|
|
Definition at line 62 of file asc-mainscreen.h. Referenced by getUnitInfoPanel(), and spawnPanel(). |
|
|
Definition at line 66 of file asc-mainscreen.h. Referenced by ASC_MainScreenWidget(), and showWeaponRange(). |
|
|
Definition at line 63 of file asc-mainscreen.h. Referenced by spawnPanel(). |
1.4.2