SUMO - Simulation of Urban MObility
GUIDialog_AppSettings.h
Go to the documentation of this file.
00001 /****************************************************************************/
00008 // The application-settings dialog
00009 /****************************************************************************/
00010 // SUMO, Simulation of Urban MObility; see http://sumo.sourceforge.net/
00011 // Copyright (C) 2001-2012 DLR (http://www.dlr.de/) and contributors
00012 /****************************************************************************/
00013 //
00014 //   This file is part of SUMO.
00015 //   SUMO is free software: you can redistribute it and/or modify
00016 //   it under the terms of the GNU General Public License as published by
00017 //   the Free Software Foundation, either version 3 of the License, or
00018 //   (at your option) any later version.
00019 //
00020 /****************************************************************************/
00021 #ifndef GUIDialog_AppSettings_h
00022 #define GUIDialog_AppSettings_h
00023 
00024 
00025 // ===========================================================================
00026 // included modules
00027 // ===========================================================================
00028 #ifdef _MSC_VER
00029 #include <windows_config.h>
00030 #else
00031 #include <config.h>
00032 #endif
00033 
00034 #include <fx.h>
00035 
00036 
00037 // ===========================================================================
00038 // class definitions
00039 // ===========================================================================
00044 class GUIDialog_AppSettings : public FXDialogBox {
00045     // is a FOX-object with an own mapping
00046     FXDECLARE(GUIDialog_AppSettings)
00047 
00048 public:
00053     GUIDialog_AppSettings(FXMainWindow* parent) ;
00054 
00056     ~GUIDialog_AppSettings() ;
00057 
00058 
00059 
00062 
00064     long onCmdOk(FXObject*, FXSelector, void*);
00065 
00067     long onCmdCancel(FXObject*, FXSelector, void*);
00068 
00070     long onCmdQuitOnEnd(FXObject*, FXSelector, void*);
00071 
00073     long onCmdAllowTextures(FXObject*, FXSelector, void*);
00075 
00076 
00077 private:
00079     bool myAppQuitOnEnd;
00080 
00082     bool myAllowTextures;
00083 
00084 
00085 protected:
00087     GUIDialog_AppSettings() { }
00088 
00089 };
00090 
00091 
00092 #endif
00093 
00094 /****************************************************************************/
00095 
 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Friends Defines