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-2022 German Aerospace Center (DLR) and others.
4 // This program and the accompanying materials are made available under the
5 // terms of the Eclipse Public License 2.0 which is available at
6 // https://www.eclipse.org/legal/epl-2.0/
7 // This Source Code may also be made available under the following Secondary
8 // Licenses when the conditions for such availability set forth in the Eclipse
9 // Public License 2.0 are satisfied: GNU General Public License, version 2
10 // or later which is available at
11 // https://www.gnu.org/licenses/old-licenses/gpl-2.0-standalone.html
12 // SPDX-License-Identifier: EPL-2.0 OR GPL-2.0-or-later
13 /****************************************************************************/
19 // The application-settings dialog
20 /****************************************************************************/
21 #pragma once
22 #include <config.h>
23 
25 
26 
27 // ===========================================================================
28 // class definitions
29 // ===========================================================================
34 class GUIDialog_AppSettings : public FXDialogBox {
35  // is a FOX-object with an own mapping
36  FXDECLARE(GUIDialog_AppSettings)
37 
38 public:
43  GUIDialog_AppSettings(FXMainWindow* parent);
44 
47 
48 
49 
52 
54  long onCmdOk(FXObject*, FXSelector, void*);
55 
57  long onCmdCancel(FXObject*, FXSelector, void*);
58 
60  long onCmdSelect(FXObject*, FXSelector sel, void*);
61 
63 
64 
65 private:
68 
71 
73  bool myAppDemo;
74 
77 
80 
82  FXRealSpinner* myBreakPointOffset;
83 
84 protected:
85  FOX_CONSTRUCTOR(GUIDialog_AppSettings)
86 
87 };
The dialog to change the application (gui) settings.
bool myAppDemo
Information whether the simulation restarts after ending (demo mode)
bool myAppQuitOnEnd
Information whether the application shall be quit.
GUIDialog_AppSettings(FXMainWindow *parent)
Constructor.
long onCmdOk(FXObject *, FXSelector, void *)
Called on OK-button pressure.
bool myAppAutoStart
Information whether the simulation shall start directly after loading.
FXRealSpinner * myBreakPointOffset
Offset when adding breakpoints.
bool myLocateLinks
Information whether locate links appear in messages.
long onCmdSelect(FXObject *, FXSelector sel, void *)
Called on button change.
long onCmdCancel(FXObject *, FXSelector, void *)
Called on Cancel-button pressure.
bool myAllowTextures
Information whether textures may be used.