Changeset 184:4e8704aae278 in glemon-0.x for mapstorage.h
- Timestamp:
- 01/10/07 15:37:46 (17 years ago)
- Branch:
- default
- Phase:
- public
- Convert:
- svn:c9d7d8f5-90d6-0310-b91f-818b3a526b0e/glemon/trunk@3125
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
mapstorage.h
r177 r184 25 25 #include "xymap.h" 26 26 #include <libgnomecanvasmm.h> 27 28 class NoteBookTab; 27 29 28 30 ///class MapStorage handles NodeMaps and EdgeMaps. … … 39 41 class MapStorage 40 42 { 43 private: 44 std::string background_file_name; 45 bool background_set; 46 double background_scaling; 47 NoteBookTab& mytab; 41 48 public: 42 enum value {DOUBLE, STRING}; 43 enum type {NORMAL, GUI}; 44 49 void setBackground(const std::string& file_name); 50 const std::string& getBackgroundFilename(); 51 bool isBackgroundSet(); 52 double getBackgroundScaling(); 53 void setBackgroundScaling(double scaling); 45 54 ///The graph for which the datas are stored. 46 55 Graph graph; … … 123 132 ///Its all activity is initializing default values 124 133 ///for different visualization attributes. 125 MapStorage( );134 MapStorage(NoteBookTab& tab); 126 135 127 136 ///Destructor of MapStorage
Note: See TracChangeset
for help on using the changeset viewer.