#include <paradialog.h>
Inheritance diagram for ASC_PG_App:

Public Member Functions | |
| ASC_PG_App (const ASCString &themeName) | |
| bool | InitScreen (int w, int h, int depth=0, Uint32 flags=SDL_SWSURFACE|SDL_HWPALETTE) |
| Initialize the screen. | |
| void | reloadTheme () |
| int | Run () |
| Run the applications main eventloop. | |
| void | Quit () |
| Exit the main eventloop. | |
| bool | isFullscreen () |
| bool | toggleFullscreen () |
| void | setIcon (const ASCString &filename) |
| void | processEvent () |
| bool | enableLegacyEventHandling (bool use) |
| bool | queueWidgetForDeletion (PG_Widget *widget) |
| ~ASC_PG_App () | |
| void | SetNewScreenSurface (SDL_Surface *surface) |
Static Public Attributes | |
| static const int | mapDisplayID = 2 |
| static const int | mainScreenID = 1 |
Protected Member Functions | |
| bool | eventQuit (int id, PG_MessageObject *widget, unsigned long data) |
| Overridable Eventhandler for a SDL_QuitEvent message. | |
| void | eventIdle () |
|
|
|
Definition at line 402 of file paradialog.cpp. References shutdownASCGraphicSubsystem(). |
|
|
Definition at line 380 of file paradialog.cpp. References setEventRouting(). Referenced by Run(). |
|
|
Reimplemented from PG_Application. Definition at line 209 of file paradialog.cpp. References PG_Application::eventIdle(), PG_Application::GetScreen(), redrawScreen, PG_Application::UpdateRect(), and PG_Widget::UpdateScreen(). |
|
||||||||||||||||
|
Overridable Eventhandler for a SDL_QuitEvent message. The default implementation returns 'false' which indicates that this message is not processed by this object.
Reimplemented from PG_Application. Definition at line 203 of file paradialog.cpp. References PG_Application::eventQuit(), and PG_MessageObject::sigQuit. |
|
||||||||||||||||||||
|
Initialize the screen.
Reimplemented from PG_Application. Definition at line 353 of file paradialog.cpp. References MessagingHubBase::Error, MessagingHubBase::FatalError, PG_Application::GetScreen(), MessagingHubBase::InfoMessage, initASCGraphicSubsystem(), PG_Application::InitScreen(), Surface::SetScreen(), and MessagingHubBase::Warning. Referenced by main(). |
|
|
Definition at line 95 of file paradialog.h. |
|
|
Definition at line 386 of file paradialog.cpp. References PG_Application::GetEventSupplier(), and PG_Application::PumpIntoEventQueue(). |
|
|
Definition at line 167 of file paradialog.cpp. References PG_MessageObject::sigDelete. |
|
|
Exit the main eventloop.
Reimplemented from PG_Application. Definition at line 196 of file paradialog.cpp. References PG_Application::Quit(), and PG_MessageObject::sigQuit. |
|
|
Definition at line 373 of file paradialog.cpp. References fatalError(), and PG_Application::LoadTheme(). Referenced by ASC_PG_App(). |
|
|
Run the applications main eventloop. If theaded is false this function will exit when the eventloop quits (MSG_QUIT). If threaded is true it will return immediately and a thread processing events is started. CAUTION: Threaded eventloops are unsuported under Win32 (windows specific behavior) Reimplemented from PG_Application. Definition at line 394 of file paradialog.cpp. References enableLegacyEventHandling(), and PG_Application::Run(). |
|
|
Definition at line 184 of file paradialog.cpp. References tnstream::reading, and SDL_RWFromStream(). Referenced by main(). |
|
|
Definition at line 225 of file paradialog.cpp. References PG_Application::SetScreen(). Referenced by toggleFullscreen(). |
|
|
Definition at line 231 of file paradialog.cpp. References PG_Application::GetScreen(), queueOperation(), SetNewScreenSurface(), and PG_Widget::UpdateScreen(). |
|
|
Definition at line 86 of file paradialog.h. Referenced by ASC_MainScreenWidget::ASC_MainScreenWidget(), and MainScreenWidget::setup(). |
|
|
Definition at line 85 of file paradialog.h. Referenced by MainScreenWidget::setup(), and Weathercast::Weathercast(). |
1.4.2