COIN-OR::LEMON - Graph Library

Changeset 1524:587a823bcdd0 in lemon-0.x for gui/graph_displayer_canvas.h


Ignore:
Timestamp:
06/29/05 17:41:33 (19 years ago)
Author:
Hegyi Péter
Branch:
default
Phase:
public
Convert:
svn:c9d7d8f5-90d6-0310-b91f-818b3a526b0e/lemon/trunk@2010
Message:

Function names are corrected according to naming conventions.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • gui/graph_displayer_canvas.h

    r1512 r1524  
    7171  ///of the canvas
    7272  ///DEPRECATED!!!!
    73   bool event_handler(GdkEvent* e, Node n);
     73  bool eventHandler(GdkEvent* e, Node n);
    7474
    7575  ///actual event handler
     
    7979
    8080  ///event handler for the case when move-tool is active
    81   bool move_event_handler(GdkEvent*);
     81  bool moveEventHandler(GdkEvent*);
    8282  ///event handler for the case when create_node-tool is active
    83   bool create_node_event_handler(GdkEvent*);
     83  bool createNodeEventHandler(GdkEvent*);
    8484  ///event handler for the case when create_edge-tool is active
    85   bool create_edge_event_handler(GdkEvent*);
     85  bool createEdgeEventHandler(GdkEvent*);
    8686  ///event handler for the case when eraser-tool is active
    87   bool eraser_event_handler(GdkEvent*);
     87  bool eraserEventHandler(GdkEvent*);
    8888  ///event handler for the case when eraser-tool is active
    89   bool edge_map_edit_event_handler(GdkEvent*);
     89  bool edgeMapEditEventHandler(GdkEvent*);
    9090
    9191public:
    9292  ///Moves the text to new place
    93   void text_reposition(xy<double>);
     93  void textReposition(xy<double>);
    9494  ///Activates an edge belonging to a BrokenEdge
    95   void toggle_edge_activity(BrokenEdge*, bool);
     95  void toggleEdgeActivity(BrokenEdge*, bool);
    9696
    9797public:
    9898  ///\return the actual tool in hand
    99   int get_actual_tool();
     99  int getActualTool();
    100100
    101101private:
    102102  ///Deletes the given element.
    103   void delete_item(NodeIt);
     103  void deleteItem(NodeIt);
    104104  ///Deletes the given element.
    105   void delete_item(EdgeIt);
     105  void deleteItem(EdgeIt);
    106106  ///Deletes the given element.
    107   void delete_item(Graph::Edge);
     107  void deleteItem(Graph::Edge);
    108108
    109109private:
    110110
    111111  ///The graph, on which we work
    112   Graph g;
     112  Graph & g;
    113113
    114114  ///Map of nodes of graph
Note: See TracChangeset for help on using the changeset viewer.