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-2017 German Aerospace Center (DLR) and others.
4 /****************************************************************************/
5 //
6 // This program and the accompanying materials
7 // are made available under the terms of the Eclipse Public License v2.0
8 // which accompanies this distribution, and is available at
9 // http://www.eclipse.org/legal/epl-v20.html
10 //
11 /****************************************************************************/
18 // The application-settings dialog
19 /****************************************************************************/
20 #ifndef GUIDialog_AppSettings_h
21 #define GUIDialog_AppSettings_h
22 
23 
24 // ===========================================================================
25 // included modules
26 // ===========================================================================
27 #ifdef _MSC_VER
28 #include <windows_config.h>
29 #else
30 #include <config.h>
31 #endif
32 
33 #include <fx.h>
34 
35 
36 // ===========================================================================
37 // class definitions
38 // ===========================================================================
43 class GUIDialog_AppSettings : public FXDialogBox {
44  // is a FOX-object with an own mapping
45  FXDECLARE(GUIDialog_AppSettings)
46 
47 public:
52  GUIDialog_AppSettings(FXMainWindow* parent);
53 
56 
57 
58 
61 
63  long onCmdOk(FXObject*, FXSelector, void*);
64 
66  long onCmdCancel(FXObject*, FXSelector, void*);
67 
69  long onCmdSelect(FXObject*, FXSelector sel, void*);
71 
72 
73 private:
76 
79 
81  bool myAppDemo;
82 
85 
88 
89 
90 protected:
93 
94 };
95 
96 
97 #endif
98 
99 /****************************************************************************/
100 
bool myAllowTextures
Information whether textures may be used.
bool myAppDemo
Information whether the simulation restarts after ending (demo mode)
long onCmdOk(FXObject *, FXSelector, void *)
Called on OK-button pressure.
long onCmdCancel(FXObject *, FXSelector, void *)
Called on Cancel-button pressure.
bool myAppAutoStart
Information whether the simulation shall start directly after loading.
The dialog to change the application (gui) settings.
bool myAppQuitOnEnd
Information whether the application shall be quit.
GUIDialog_AppSettings()
default constructor (needed by FOX)
long onCmdSelect(FXObject *, FXSelector sel, void *)
Called on button change.
bool myLocateLinks
Information whether locate links appear in messages.