GUIDialog_GLChosenEditor.h

Go to the documentation of this file.
00001 /****************************************************************************/
00007 // Editor for the list of chosen objects
00008 /****************************************************************************/
00009 // SUMO, Simulation of Urban MObility; see http://sumo.sourceforge.net/
00010 // Copyright 2001-2010 DLR (http://www.dlr.de/) and contributors
00011 /****************************************************************************/
00012 //
00013 //   This program is free software; you can redistribute it and/or modify
00014 //   it under the terms of the GNU General Public License as published by
00015 //   the Free Software Foundation; either version 2 of the License, or
00016 //   (at your option) any later version.
00017 //
00018 /****************************************************************************/
00019 #ifndef GUIDialog_GLChosenEditor_h
00020 #define GUIDialog_GLChosenEditor_h
00021 
00022 
00023 // ===========================================================================
00024 // included modules
00025 // ===========================================================================
00026 #ifdef _MSC_VER
00027 #include <windows_config.h>
00028 #else
00029 #include <config.h>
00030 #endif
00031 
00032 #include <string>
00033 #include <vector>
00034 #include <fx.h>
00035 
00036 
00037 // ===========================================================================
00038 // class declarations
00039 // ===========================================================================
00040 class GUIApplicationWindow;
00041 class GUISelectedStorage;
00042 
00043 
00044 // ===========================================================================
00045 // class definition
00046 // ===========================================================================
00054 class GUIDialog_GLChosenEditor : public FXMainWindow {
00055     // FOX-declarations
00056     FXDECLARE(GUIDialog_GLChosenEditor)
00057 
00058 public:
00066     GUIDialog_GLChosenEditor(GUIMainWindow *parent,
00067                              GUISelectedStorage *str) throw();
00068 
00069 
00074     ~GUIDialog_GLChosenEditor() throw();
00075 
00076 
00079     void rebuildList() throw();
00080 
00081 
00084 
00093     long onCmdLoad(FXObject*,FXSelector,void*);
00094 
00095 
00105     long onCmdSave(FXObject*,FXSelector,void*);
00106 
00112     long onCmdDeselect(FXObject*,FXSelector,void*);
00113 
00119     long onCmdClear(FXObject*,FXSelector,void*);
00120 
00121 
00126     long onCmdClose(FXObject*,FXSelector,void*);
00128 
00129 
00130 private:
00132     FXList *myList;
00133 
00135     GUIMainWindow *myParent;
00136 
00138     GUISelectedStorage *myStorage;
00139 
00140 protected:
00142     GUIDialog_GLChosenEditor() { }
00143 
00144 };
00145 
00146 
00147 #endif
00148 
00149 /****************************************************************************/
00150 

Generated on Wed May 5 00:06:29 2010 for Sumo - Simulation of Urban MObility by  doxygen 1.5.6