diff -r 48580778851e -r 4e8704aae278 mapstorage.h --- a/mapstorage.h Thu Dec 28 15:31:39 2006 +0000 +++ b/mapstorage.h Wed Jan 10 14:37:46 2007 +0000 @@ -25,6 +25,8 @@ #include "xymap.h" #include +class NoteBookTab; + ///class MapStorage handles NodeMaps and EdgeMaps. ///Class MapStorage is responsible for storing @@ -38,10 +40,17 @@ ///\todo too many things are public!! class MapStorage { +private: + std::string background_file_name; + bool background_set; + double background_scaling; + NoteBookTab& mytab; public: - enum value {DOUBLE, STRING}; - enum type {NORMAL, GUI}; - + void setBackground(const std::string& file_name); + const std::string& getBackgroundFilename(); + bool isBackgroundSet(); + double getBackgroundScaling(); + void setBackgroundScaling(double scaling); ///The graph for which the datas are stored. Graph graph; /// the coordinates of the nodes @@ -122,7 +131,7 @@ ///Its all activity is initializing default values ///for different visualization attributes. - MapStorage(); + MapStorage(NoteBookTab& tab); ///Destructor of MapStorage