Eclipse SUMO - Simulation of Urban MObility
GUIDialog_AppSettings Class Reference

The dialog to change the application (gui) settings. More...

#include <GUIDialog_AppSettings.h>

Inheritance diagram for GUIDialog_AppSettings:
[legend]
Collaboration diagram for GUIDialog_AppSettings:
[legend]

Public Member Functions

 GUIDialog_AppSettings (GUIMainWindow *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 onCmdSelect (FXObject *, FXSelector sel, void *)
 Called on button change. More...
 

Private Attributes

bool myAllowTextures
 Information whether textures may be used. More...
 
bool myAppAutoStart
 Information whether the simulation shall start directly after loading. More...
 
bool myAppDemo
 Information whether the simulation restarts after ending (demo mode) More...
 
bool myAppQuitOnEnd
 Information whether the application shall be quit. More...
 
FXRealSpinner * myBreakPointOffset
 Offset when adding breakpoints. More...
 
bool myLocateLinks
 Information whether locate links appear in messages. More...
 
GUIMainWindowmyParent
 The main GUI window. More...
 
FXTable * myTable
 The list that holds the URLs. More...
 

Detailed Description

The dialog to change the application (gui) settings.

Definition at line 34 of file GUIDialog_AppSettings.h.

Constructor & Destructor Documentation

◆ GUIDialog_AppSettings()

◆ ~GUIDialog_AppSettings()

GUIDialog_AppSettings::~GUIDialog_AppSettings ( )

Destructor.

Definition at line 109 of file GUIDialog_AppSettings.cpp.

Member Function Documentation

◆ onCmdCancel()

long GUIDialog_AppSettings::onCmdCancel ( FXObject *  ,
FXSelector  ,
void *   
)

Called on Cancel-button pressure.

Definition at line 138 of file GUIDialog_AppSettings.cpp.

Referenced by FXDEFMAP().

Here is the caller graph for this function:

◆ onCmdOk()

long GUIDialog_AppSettings::onCmdOk ( FXObject *  ,
FXSelector  ,
void *   
)

Called on OK-button pressure.

Definition at line 113 of file GUIDialog_AppSettings.cpp.

References GUIMainWindow::addOnlineMap(), GUITexturesHelper::allowTextures(), GUIMessageWindow::enableLocateLinks(), GUIGlobals::gDemoAutoReload, GUIGlobals::gQuitOnEnd, GUIGlobals::gRunAfterLoad, myAllowTextures, myAppAutoStart, myAppDemo, myAppQuitOnEnd, myBreakPointOffset, myLocateLinks, myParent, myTable, GUIMessageWindow::setBreakPointOffset(), and TIME2STEPS.

Referenced by FXDEFMAP().

Here is the caller graph for this function:

◆ onCmdSelect()

long GUIDialog_AppSettings::onCmdSelect ( FXObject *  ,
FXSelector  sel,
void *   
)

Called on button change.

Definition at line 144 of file GUIDialog_AppSettings.cpp.

References MID_ALLOWTEXTURES, MID_AUTOSTART, MID_DEMO, MID_LOCATELINKS, MID_QUITONSIMEND, myAllowTextures, myAppAutoStart, myAppDemo, myAppQuitOnEnd, and myLocateLinks.

Referenced by FXDEFMAP().

Here is the caller graph for this function:

Field Documentation

◆ myAllowTextures

bool GUIDialog_AppSettings::myAllowTextures
private

Information whether textures may be used.

Definition at line 79 of file GUIDialog_AppSettings.h.

Referenced by onCmdOk(), and onCmdSelect().

◆ myAppAutoStart

bool GUIDialog_AppSettings::myAppAutoStart
private

Information whether the simulation shall start directly after loading.

Definition at line 73 of file GUIDialog_AppSettings.h.

Referenced by onCmdOk(), and onCmdSelect().

◆ myAppDemo

bool GUIDialog_AppSettings::myAppDemo
private

Information whether the simulation restarts after ending (demo mode)

Definition at line 76 of file GUIDialog_AppSettings.h.

Referenced by onCmdOk(), and onCmdSelect().

◆ myAppQuitOnEnd

bool GUIDialog_AppSettings::myAppQuitOnEnd
private

Information whether the application shall be quit.

Definition at line 70 of file GUIDialog_AppSettings.h.

Referenced by onCmdOk(), and onCmdSelect().

◆ myBreakPointOffset

FXRealSpinner* GUIDialog_AppSettings::myBreakPointOffset
private

Offset when adding breakpoints.

Definition at line 85 of file GUIDialog_AppSettings.h.

Referenced by onCmdOk().

◆ myLocateLinks

bool GUIDialog_AppSettings::myLocateLinks
private

Information whether locate links appear in messages.

Definition at line 82 of file GUIDialog_AppSettings.h.

Referenced by onCmdOk(), and onCmdSelect().

◆ myParent

GUIMainWindow* GUIDialog_AppSettings::myParent
private

The main GUI window.

Definition at line 67 of file GUIDialog_AppSettings.h.

Referenced by onCmdOk().

◆ myTable

FXTable* GUIDialog_AppSettings::myTable
private

The list that holds the URLs.

Definition at line 88 of file GUIDialog_AppSettings.h.

Referenced by onCmdOk().


The documentation for this class was generated from the following files: