Changeset 62:80eefca04b1e in glemon-0.x for graph_displayer_canvas.h
- Timestamp:
- 08/18/05 15:33:49 (18 years ago)
- Branch:
- gui
- Phase:
- public
- Convert:
- svn:c9d7d8f5-90d6-0310-b91f-818b3a526b0e/lemon/trunk/gui@2156
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
graph_displayer_canvas.h
r55 r62 24 24 ///Changes the linewidth attribute according to the given map. 25 25 ///\param mapname is the name of the map which contains the new values 26 int changeEdgeWidth (std::string mapname, Graph::Edge new_item=INVALID);26 int changeEdgeWidth (std::string mapname, Edge new_item=INVALID); 27 27 28 28 ///Changes the linecolor attribute according to the given map. 29 29 ///\param mapname is the name of the map which contains the new values 30 int changeEdgeColor (std::string mapname, Graph::Edge new_item=INVALID);30 int changeEdgeColor (std::string mapname, Edge new_item=INVALID); 31 31 32 32 ///Changes the text of line attribute according to the given map. 33 33 ///\param mapname is the name of the map which contains the new values 34 int changeEdgeText (std::string mapname, Graph::Edge new_item=INVALID);34 int changeEdgeText (std::string mapname, Edge new_item=INVALID); 35 35 36 36 ///Changes the linewidth attribute according to the given map. 37 37 ///\param mapname is the name of the map which contains the new values 38 int changeNodeRadius (std::string mapname, Graph::Node new_item=INVALID);38 int changeNodeRadius (std::string mapname, Node new_item=INVALID); 39 39 40 40 ///Changes the linecolor attribute according to the given map. 41 41 ///\param mapname is the name of the map which contains the new values 42 int changeNodeColor (std::string mapname, Graph::Node new_item=INVALID);42 int changeNodeColor (std::string mapname, Node new_item=INVALID); 43 43 44 44 ///Changes the text of line attribute according to the given map. 45 45 ///\param mapname is the name of the map which contains the new values 46 int changeNodeText (std::string mapname, Graph::Node new_item=INVALID);46 int changeNodeText (std::string mapname, Node new_item=INVALID); 47 47 48 48 ///Callback for 'ViewZoomIn' action. … … 120 120 private: 121 121 ///Deletes the given element. 122 void deleteItem(Node It);122 void deleteItem(Node); 123 123 ///Deletes the given element. 124 void deleteItem(EdgeIt); 125 ///Deletes the given element. 126 void deleteItem(Graph::Edge); 124 void deleteItem(Edge); 127 125 128 126 private: … … 167 165 ///2. we would like to handle only ony item per movement, therefore quering it is not a working solution 168 166 Gnome::Canvas::Item * active_item, * target_item; 169 Graph::NodeItactive_node;170 Graph::EdgeItactive_edge;171 Graph::EdgeItforming_edge;167 Node active_node; 168 Edge active_edge; 169 Edge forming_edge; 172 170 173 171 std::string nodemap_to_edit, edgemap_to_edit;
Note: See TracChangeset
for help on using the changeset viewer.