COIN-OR::LEMON - Graph Library

Changeset 1643:9285f3777553 in lemon-0.x for gui/graph_displayer_canvas.h


Ignore:
Timestamp:
08/18/05 15:33:49 (19 years ago)
Author:
Alpar Juttner
Branch:
default
Phase:
public
Convert:
svn:c9d7d8f5-90d6-0310-b91f-818b3a526b0e/lemon/trunk@2156
Message:
  • The number of gcc-4.0 warnings has significantly decreases.
  • Some code clean-up in gui
File:
1 edited

Legend:

Unmodified
Added
Removed
  • gui/graph_displayer_canvas.h

    r1614 r1643  
    2424  ///Changes the linewidth attribute according to the given map.
    2525  ///\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);
    2727
    2828  ///Changes the linecolor attribute according to the given map.
    2929  ///\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);
    3131
    3232  ///Changes the text of line attribute according to the given map.
    3333  ///\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);
    3535
    3636  ///Changes the linewidth attribute according to the given map.
    3737  ///\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);
    3939
    4040  ///Changes the linecolor attribute according to the given map.
    4141  ///\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);
    4343
    4444  ///Changes the text of line attribute according to the given map.
    4545  ///\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);
    4747
    4848  ///Callback for 'ViewZoomIn' action.
     
    120120private:
    121121  ///Deletes the given element.
    122   void deleteItem(NodeIt);
     122  void deleteItem(Node);
    123123  ///Deletes the given element.
    124   void deleteItem(EdgeIt);
    125   ///Deletes the given element.
    126   void deleteItem(Graph::Edge);
     124  void deleteItem(Edge);
    127125
    128126private:
     
    167165  ///2. we would like to handle only ony item per movement, therefore quering it is not a working solution
    168166  Gnome::Canvas::Item * active_item, * target_item;
    169   Graph::NodeIt active_node;
    170   Graph::EdgeIt active_edge;
    171   Graph::EdgeIt forming_edge;
     167  Node active_node;
     168  Edge active_edge;
     169  Edge forming_edge;
    172170
    173171  std::string nodemap_to_edit, edgemap_to_edit;
Note: See TracChangeset for help on using the changeset viewer.