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 /****************************************************************************/
15 // The application-settings dialog
16 /****************************************************************************/
17 #ifndef GUIDialog_AppSettings_h
18 #define GUIDialog_AppSettings_h
19 
20 
21 // ===========================================================================
22 // included modules
23 // ===========================================================================
24 #include <config.h>
25 
26 #include <fx.h>
27 
28 
29 // ===========================================================================
30 // class definitions
31 // ===========================================================================
36 class GUIDialog_AppSettings : public FXDialogBox {
37  // is a FOX-object with an own mapping
38  FXDECLARE(GUIDialog_AppSettings)
39 
40 public:
45  GUIDialog_AppSettings(FXMainWindow* parent);
46 
49 
50 
51 
54 
56  long onCmdOk(FXObject*, FXSelector, void*);
57 
59  long onCmdCancel(FXObject*, FXSelector, void*);
60 
62  long onCmdSelect(FXObject*, FXSelector sel, void*);
64 
65 
66 private:
69 
72 
74  bool myAppDemo;
75 
78 
81 
82 
83 protected:
85 
86 };
87 
88 
89 #endif
90 
91 /****************************************************************************/
92 
GUIDialog_AppSettings::myAppQuitOnEnd
bool myAppQuitOnEnd
Information whether the application shall be quit.
Definition: GUIDialog_AppSettings.h:68
GUIDialog_AppSettings::myAppAutoStart
bool myAppAutoStart
Information whether the simulation shall start directly after loading.
Definition: GUIDialog_AppSettings.h:71
GUIDialog_AppSettings::onCmdSelect
long onCmdSelect(FXObject *, FXSelector sel, void *)
Called on button change.
Definition: GUIDialog_AppSettings.cpp:103
GUIDialog_AppSettings::myLocateLinks
bool myLocateLinks
Information whether locate links appear in messages.
Definition: GUIDialog_AppSettings.h:80
GUIDialog_AppSettings::~GUIDialog_AppSettings
~GUIDialog_AppSettings()
Destructor.
Definition: GUIDialog_AppSettings.cpp:79
FOX_CONSTRUCTOR
#define FOX_CONSTRUCTOR(classname)
Definition: config.h:13
GUIDialog_AppSettings::myAppDemo
bool myAppDemo
Information whether the simulation restarts after ending (demo mode)
Definition: GUIDialog_AppSettings.h:74
GUIDialog_AppSettings
The dialog to change the application (gui) settings.
Definition: GUIDialog_AppSettings.h:36
GUIDialog_AppSettings::myAllowTextures
bool myAllowTextures
Information whether textures may be used.
Definition: GUIDialog_AppSettings.h:77
GUIDialog_AppSettings::onCmdOk
long onCmdOk(FXObject *, FXSelector, void *)
Called on OK-button pressure.
Definition: GUIDialog_AppSettings.cpp:83
GUIDialog_AppSettings::GUIDialog_AppSettings
GUIDialog_AppSettings(FXMainWindow *parent)
Constructor.
Definition: GUIDialog_AppSettings.cpp:51
config.h
GUIDialog_AppSettings::onCmdCancel
long onCmdCancel(FXObject *, FXSelector, void *)
Called on Cancel-button pressure.
Definition: GUIDialog_AppSettings.cpp:96