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-2016 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 onCmdQuitOnEnd(FXObject*, FXSelector, void*);
71 
73  long onCmdAllowTextures(FXObject*, FXSelector, void*);
74 
76  long onCmdLocateLinks(FXObject*, FXSelector, void*);
78 
79 
80 private:
83 
86 
89 
90 
91 protected:
94 
95 };
96 
97 
98 #endif
99 
100 /****************************************************************************/
101 
long onCmdQuitOnEnd(FXObject *, FXSelector, void *)
Called on "Quit on end"-button change.
bool myAllowTextures
Information whether textures may be used.
long onCmdOk(FXObject *, FXSelector, void *)
Called on OK-button pressure.
long onCmdLocateLinks(FXObject *, FXSelector, void *)
Called on "Locate links in messages"-button change.
long onCmdCancel(FXObject *, FXSelector, void *)
Called on Cancel-button pressure.
long onCmdAllowTextures(FXObject *, FXSelector, void *)
Called on "Allow textures"-button change.
The dialog to change the application (gui) settings.
bool myAppQuitOnEnd
Information whether the application shall be quit.
GUIDialog_AppSettings()
default constructor (needed by FOX)
bool myLocateLinks
Information whether locate links appear in messages.