Changeset 1837:8dd6160ff699 in lemon-0.x for gui/mapstorage.h
- Timestamp:
- 11/29/05 20:31:58 (18 years ago)
- Branch:
- default
- Phase:
- public
- Convert:
- svn:c9d7d8f5-90d6-0310-b91f-818b3a526b0e/lemon/trunk@2389
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
gui/mapstorage.h
r1645 r1837 4 4 #define MAPSTORAGE_H 5 5 6 class Mapstorage; 7 6 8 #include "all_include.h" 7 9 #include "xymap.h" 10 #include <libgnomecanvasmm.h> 8 11 9 12 ///Class MapStorage is responsible for storing … … 38 41 std::vector<Graph::EdgeMap<double> > default_edgemaps; 39 42 43 //Stores the active maps for the different visualization node attributes 44 std::vector< std::string > active_nodemaps; 45 46 //Stores the active maps for the different visualization edge attributes 47 std::vector< std::string > active_edgemaps; 48 40 49 // Default values for the maps 41 50 std::map< std::string, double > nodemap_default; … … 43 52 // Default values for the maps 44 53 std::map< std::string, double > edgemap_default; 54 55 protected: 56 typedef sigc::signal<void, bool, int> Signal_Prop; 57 Signal_Prop signal_prop; 45 58 46 59 public: … … 54 67 55 68 ~MapStorage(); 69 70 void changeActiveMap(bool, int, std::string); 71 72 std::string getActiveEdgeMap(int); 73 std::string getActiveNodeMap(int); 74 75 std::vector<std::string> getEdgeMapList(); 76 std::vector<std::string> getNodeMapList(); 77 78 Signal_Prop signal_prop_ch(); 56 79 57 80 ///Adds given map to storage. A name and the map itself has to be provided.
Note: See TracChangeset
for help on using the changeset viewer.