|
SUMO - Simulation of Urban MObility
|
The dialog to change the application (gui) settings. More...
#include <GUIDialog_AppSettings.h>


Public Member Functions | |
| GUIDialog_AppSettings (FXMainWindow *parent) | |
| Constructor. More... | |
| ~GUIDialog_AppSettings () | |
| Destructor. More... | |
FOX-callbacks | |
| long | onCmdOk (FXObject *, FXSelector, void *) |
| Called on OK-button pressure. More... | |
| long | onCmdCancel (FXObject *, FXSelector, void *) |
| Called on Cancel-button pressure. More... | |
| long | onCmdQuitOnEnd (FXObject *, FXSelector, void *) |
| Called on "Quit on end"-button change. More... | |
| long | onCmdAllowTextures (FXObject *, FXSelector, void *) |
| Called on "Allow textures"-button change. More... | |
| long | onCmdLocateLinks (FXObject *, FXSelector, void *) |
| Called on "Locate links in messages"-button change. More... | |
Protected Member Functions | |
| GUIDialog_AppSettings () | |
| default constructor (needed by FOX) More... | |
Private Attributes | |
| bool | myAllowTextures |
| Information whether textures may be used. More... | |
| bool | myAppQuitOnEnd |
| Information whether the application shall be quit. More... | |
| bool | myLocateLinks |
| Information whether locate links appear in messages. More... | |
The dialog to change the application (gui) settings.
Definition at line 44 of file GUIDialog_AppSettings.h.
| GUIDialog_AppSettings::GUIDialog_AppSettings | ( | FXMainWindow * | parent | ) |
Constructor.
| [in] | parent | The parent window |
Definition at line 61 of file GUIDialog_AppSettings.cpp.
References GUIIconSubSys::getIcon(), ICON_EMPTY, MID_ALLOWTEXTURES, MID_LOCATELINKS, MID_QUITONSIMEND, MID_SETTINGS_CANCEL, and MID_SETTINGS_OK.
| GUIDialog_AppSettings::~GUIDialog_AppSettings | ( | ) |
Destructor.
Definition at line 83 of file GUIDialog_AppSettings.cpp.
|
inlineprotected |
default constructor (needed by FOX)
Definition at line 93 of file GUIDialog_AppSettings.h.
| long GUIDialog_AppSettings::onCmdAllowTextures | ( | FXObject * | , |
| FXSelector | , | ||
| void * | |||
| ) |
Called on "Allow textures"-button change.
Definition at line 111 of file GUIDialog_AppSettings.cpp.
References myAllowTextures.
| long GUIDialog_AppSettings::onCmdCancel | ( | FXObject * | , |
| FXSelector | , | ||
| void * | |||
| ) |
Called on Cancel-button pressure.
Definition at line 97 of file GUIDialog_AppSettings.cpp.
| long GUIDialog_AppSettings::onCmdLocateLinks | ( | FXObject * | , |
| FXSelector | , | ||
| void * | |||
| ) |
Called on "Locate links in messages"-button change.
Definition at line 118 of file GUIDialog_AppSettings.cpp.
References myLocateLinks.
| long GUIDialog_AppSettings::onCmdOk | ( | FXObject * | , |
| FXSelector | , | ||
| void * | |||
| ) |
Called on OK-button pressure.
Definition at line 87 of file GUIDialog_AppSettings.cpp.
References GUITexturesHelper::allowTextures(), GUIMessageWindow::enableLocateLinks(), GUIGlobals::gQuitOnEnd, myAllowTextures, myAppQuitOnEnd, and myLocateLinks.
| long GUIDialog_AppSettings::onCmdQuitOnEnd | ( | FXObject * | , |
| FXSelector | , | ||
| void * | |||
| ) |
Called on "Quit on end"-button change.
Definition at line 104 of file GUIDialog_AppSettings.cpp.
References myAppQuitOnEnd.
|
private |
Information whether textures may be used.
Definition at line 85 of file GUIDialog_AppSettings.h.
Referenced by onCmdAllowTextures(), and onCmdOk().
|
private |
Information whether the application shall be quit.
Definition at line 82 of file GUIDialog_AppSettings.h.
Referenced by onCmdOk(), and onCmdQuitOnEnd().
|
private |
Information whether locate links appear in messages.
Definition at line 88 of file GUIDialog_AppSettings.h.
Referenced by onCmdLocateLinks(), and onCmdOk().