mapstorage.h
branchgui
changeset 98 f60f89147531
parent 94 adfdc2f70548
child 108 bf355fd6563e
     1.1 --- a/mapstorage.h	Thu Dec 08 14:16:08 2005 +0000
     1.2 +++ b/mapstorage.h	Sat Dec 17 20:55:41 2005 +0000
     1.3 @@ -23,7 +23,10 @@
     1.4  public:
     1.5  
     1.6    Graph graph;
     1.7 +  /// the coordinates of the nodes
     1.8    XYMap<Graph::NodeMap<double> > coords;
     1.9 +  /// the coordinates of the arrows on the edges
    1.10 +  XYMap<Graph::EdgeMap<double> > arrow_pos;
    1.11  
    1.12    bool modified;
    1.13    std::string file_name;
    1.14 @@ -52,6 +55,8 @@
    1.15    // Default values for the maps
    1.16    std::map< std::string, double > edgemap_default;
    1.17  
    1.18 +  bool arrow_pos_read_ok;
    1.19 +
    1.20  protected:
    1.21    typedef sigc::signal<void, bool, int> Signal_Prop;
    1.22    Signal_Prop signal_prop;
    1.23 @@ -127,6 +132,8 @@
    1.24    void writeToFile(const std::string &);
    1.25  
    1.26    void clear();
    1.27 +
    1.28 +  void ArrowPosReadOK();
    1.29  };
    1.30  
    1.31  #endif //MAPSTORAGE_H