Eclipse SUMO - Simulation of Urban MObility
GUIDialog_AppSettings.h
Go to the documentation of this file.
1 /****************************************************************************/
2 // Eclipse SUMO, Simulation of Urban MObility; see https://eclipse.org/sumo
3 // Copyright (C) 2001-2019 German Aerospace Center (DLR) and others.
4 // This program and the accompanying materials
5 // are made available under the terms of the Eclipse Public License v2.0
6 // which accompanies this distribution, and is available at
7 // http://www.eclipse.org/legal/epl-v20.html
8 // SPDX-License-Identifier: EPL-2.0
9 /****************************************************************************/
16 // The application-settings dialog
17 /****************************************************************************/
18 #ifndef GUIDialog_AppSettings_h
19 #define GUIDialog_AppSettings_h
20 
21 
22 // ===========================================================================
23 // included modules
24 // ===========================================================================
25 #include <config.h>
26 
27 #include <fx.h>
28 
29 
30 // ===========================================================================
31 // class definitions
32 // ===========================================================================
37 class GUIDialog_AppSettings : public FXDialogBox {
38  // is a FOX-object with an own mapping
39  FXDECLARE(GUIDialog_AppSettings)
40 
41 public:
46  GUIDialog_AppSettings(FXMainWindow* parent);
47 
50 
51 
52 
55 
57  long onCmdOk(FXObject*, FXSelector, void*);
58 
60  long onCmdCancel(FXObject*, FXSelector, void*);
61 
63  long onCmdSelect(FXObject*, FXSelector sel, void*);
65 
66 
67 private:
70 
73 
75  bool myAppDemo;
76 
79 
82 
83 
84 protected:
87 
88 };
89 
90 
91 #endif
92 
93 /****************************************************************************/
94 
GUIDialog_AppSettings::myAppQuitOnEnd
bool myAppQuitOnEnd
Information whether the application shall be quit.
Definition: GUIDialog_AppSettings.h:69
GUIDialog_AppSettings::myAppAutoStart
bool myAppAutoStart
Information whether the simulation shall start directly after loading.
Definition: GUIDialog_AppSettings.h:72
GUIDialog_AppSettings::GUIDialog_AppSettings
GUIDialog_AppSettings()
default constructor (needed by FOX)
Definition: GUIDialog_AppSettings.h:86
GUIDialog_AppSettings::onCmdSelect
long onCmdSelect(FXObject *, FXSelector sel, void *)
Called on button change.
Definition: GUIDialog_AppSettings.cpp:104
GUIDialog_AppSettings::myLocateLinks
bool myLocateLinks
Information whether locate links appear in messages.
Definition: GUIDialog_AppSettings.h:81
GUIDialog_AppSettings::~GUIDialog_AppSettings
~GUIDialog_AppSettings()
Destructor.
Definition: GUIDialog_AppSettings.cpp:80
GUIDialog_AppSettings::myAppDemo
bool myAppDemo
Information whether the simulation restarts after ending (demo mode)
Definition: GUIDialog_AppSettings.h:75
GUIDialog_AppSettings
The dialog to change the application (gui) settings.
Definition: GUIDialog_AppSettings.h:37
GUIDialog_AppSettings::myAllowTextures
bool myAllowTextures
Information whether textures may be used.
Definition: GUIDialog_AppSettings.h:78
GUIDialog_AppSettings::onCmdOk
long onCmdOk(FXObject *, FXSelector, void *)
Called on OK-button pressure.
Definition: GUIDialog_AppSettings.cpp:84
config.h
GUIDialog_AppSettings::onCmdCancel
long onCmdCancel(FXObject *, FXSelector, void *)
Called on Cancel-button pressure.
Definition: GUIDialog_AppSettings.cpp:97