SUMO - Simulation of Urban MObility
GUIDialog_AppSettings.h
Go to the documentation of this file.
1 /****************************************************************************/
8 // The application-settings dialog
9 /****************************************************************************/
10 // SUMO, Simulation of Urban MObility; see http://sumo.dlr.de/
11 // Copyright (C) 2001-2017 DLR (http://www.dlr.de/) and contributors
12 /****************************************************************************/
13 //
14 // This file is part of SUMO.
15 // SUMO is free software: you can redistribute it and/or modify
16 // it under the terms of the GNU General Public License as published by
17 // the Free Software Foundation, either version 3 of the License, or
18 // (at your option) any later version.
19 //
20 /****************************************************************************/
21 #ifndef GUIDialog_AppSettings_h
22 #define GUIDialog_AppSettings_h
23 
24 
25 // ===========================================================================
26 // included modules
27 // ===========================================================================
28 #ifdef _MSC_VER
29 #include <windows_config.h>
30 #else
31 #include <config.h>
32 #endif
33 
34 #include <fx.h>
35 
36 
37 // ===========================================================================
38 // class definitions
39 // ===========================================================================
44 class GUIDialog_AppSettings : public FXDialogBox {
45  // is a FOX-object with an own mapping
46  FXDECLARE(GUIDialog_AppSettings)
47 
48 public:
53  GUIDialog_AppSettings(FXMainWindow* parent);
54 
57 
58 
59 
62 
64  long onCmdOk(FXObject*, FXSelector, void*);
65 
67  long onCmdCancel(FXObject*, FXSelector, void*);
68 
70  long onCmdSelect(FXObject*, FXSelector sel, void*);
72 
73 
74 private:
77 
80 
82  bool myAppDemo;
83 
86 
89 
90 
91 protected:
94 
95 };
96 
97 
98 #endif
99 
100 /****************************************************************************/
101 
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.