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-2018 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 
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.