#include <mainscreenwidget.h>
Inheritance diagram for MainScreenWidget:

Public Member Functions | |
| MainScreenWidget (PG_Application &application) | |
| void | displayMessage (const ASCString &message) |
| void | activateMapLayer (const ASCString &name, bool active) |
| void | toggleMapLayer (const ASCString &name) |
| MapDisplayPG * | getMapDisplay () |
| OverviewMapPanel * | getOverviewMapPanel () |
Public Attributes | |
| SigC::Signal1< void, int > | lockOptionsChanged |
Protected Member Functions | |
| virtual void | lockStandardActions (int dir, int options=0) |
| void | spawnOverviewMapPanel (const ASCString &panelName="OverviewMap") |
| void | setup (bool messageLine, const PG_Rect &mapView) |
| bool | idleHandler (PG_MessageObject *msgObj) |
| void | mouseScrollChecker () |
| virtual ASCString | getBackgroundImageFilename ()=0 |
| void | eventBlit (SDL_Surface *surface, const PG_Rect &src, const PG_Rect &dst) |
| overridable eventhandler to blit the widget contents to the screen | |
| ~MainScreenWidget () | |
Protected Attributes | |
| int | lockOptions |
| MapDisplayPG * | mapDisplay |
| PG_Label * | messageLine |
Friends | |
| class | StandardActionLocker |
Classes | |
| struct | LockOptions |
| class | StandardActionLocker |
|
|
Definition at line 81 of file mainscreenwidget.cpp. |
|
|
Definition at line 105 of file mainscreenwidget.h. |
|
||||||||||||
|
Definition at line 120 of file mainscreenwidget.cpp. References MapDisplayPG::activateMapLayer(), and mapDisplay. Referenced by execaction(). |
|
|
Definition at line 265 of file mainscreenwidget.cpp. References ticker. Referenced by displaymessage2(), idleHandler(), and setup(). |
|
||||||||||||||||
|
overridable eventhandler to blit the widget contents to the screen
Reimplemented from PG_Widget. Definition at line 275 of file mainscreenwidget.cpp. References PG_Application::GetScreen(), and Surface::Wrap(). |
|
|
Implemented in ASC_MainScreenWidget, and Maped_MainScreenWidget. |
|
|
Definition at line 60 of file mainscreenwidget.h. References mapDisplay. Referenced by execaction(), execaction_pg(), and execuseraction2(). |
|
|
Definition at line 62 of file mainscreenwidget.h. |
|
|
Definition at line 133 of file mainscreenwidget.cpp. References displayMessage(), mouseScrollChecker(), and ticker. Referenced by setup(). |
|
||||||||||||
|
Reimplemented in ASC_MainScreenWidget. Definition at line 89 of file mainscreenwidget.h. Referenced by MainScreenWidget::StandardActionLocker::lock(), and MainScreenWidget::StandardActionLocker::unlock(). |
|
|
Definition at line 144 of file mainscreenwidget.cpp. References getPGApplication(), PG_Application::GetScreenHeight(), PG_Application::GetScreenWidth(), PG_Widget::IsMouseInside(), mapDisplay, MapDisplayPG::scrollMap(), and ticker. Referenced by idleHandler(). |
|
||||||||||||
|
Definition at line 88 of file mainscreenwidget.cpp. References OverviewMapHolder::clearmap(), dataLoaderTicker, displayLogMessage(), displayMessage(), PG_Application::GetApp(), idleHandler(), ASC_PG_App::mainScreenID, mapChanged, mapDisplay, ASC_PG_App::mapDisplayID, repaintDisplay, PG_Widget::SetID(), and PG_Widget::Update(). Referenced by ASC_MainScreenWidget::ASC_MainScreenWidget(), and Maped_MainScreenWidget::Maped_MainScreenWidget(). |
|
|
Definition at line 301 of file mainscreenwidget.cpp. References assert, mapDisplay, PG_Rect::PG_Rect(), PG_Widget::Show(), and PG_Rect::Width(). Referenced by Maped_MainScreenWidget::Maped_MainScreenWidget(), and ASC_MainScreenWidget::spawnPanel(). |
|
|
Definition at line 126 of file mainscreenwidget.cpp. References mapDisplay, and MapDisplayPG::toggleMapLayer(). Referenced by execaction(), and execuseraction(). |
|
|
Definition at line 47 of file mainscreenwidget.h. |
|
|
Definition at line 50 of file mainscreenwidget.h. Referenced by ASC_MainScreenWidget::lockStandardActions(). |
|
|
Definition at line 85 of file mainscreenwidget.h. Referenced by ASC_MainScreenWidget::lockStandardActions(), MapDisplayPG::MapDisplayPG(), and NewGuiHost::NewGuiHost(). |
|
|
|
Definition at line 93 of file mainscreenwidget.h. Referenced by Maped_MainScreenWidget::setupStatusBar(). |
1.4.2