SUMO - Simulation of Urban MObility
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
GUIDialog_GLChosenEditor.h
Go to the documentation of this file.
1 /****************************************************************************/
8 // Editor for the list of chosen objects
9 /****************************************************************************/
10 // SUMO, Simulation of Urban MObility; see http://sumo.sourceforge.net/
11 // Copyright (C) 2001-2012 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_GLChosenEditor_h
22 #define GUIDialog_GLChosenEditor_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 <string>
35 #include <vector>
36 #include <fx.h>
37 
40 
41 // ===========================================================================
42 // class declarations
43 // ===========================================================================
44 class GUIMainWindow;
45 
46 
47 // ===========================================================================
48 // class definition
49 // ===========================================================================
58  // FOX-declarations
59  FXDECLARE(GUIDialog_GLChosenEditor)
60 
61 public:
70  GUISelectedStorage* str) ;
71 
72 
78 
79 
82  void rebuildList() ;
83 
84 
87 
96  long onCmdLoad(FXObject*, FXSelector, void*);
97 
98 
108  long onCmdSave(FXObject*, FXSelector, void*);
109 
115  long onCmdDeselect(FXObject*, FXSelector, void*);
116 
122  long onCmdClear(FXObject*, FXSelector, void*);
123 
124 
129  long onCmdClose(FXObject*, FXSelector, void*);
131 
132 
133  // called if the global selection changes
134  void selectionUpdated();
135 
136 private:
138  FXList* myList;
139 
142 
145 
146 protected:
149 
150 };
151 
152 
153 #endif
154 
155 /****************************************************************************/
156