COIN-OR::LEMON - Graph Library

Changeset 1501:39d59aee2a1a in lemon-0.x for gui/graph_displayer_canvas.h


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

Very small bug is corrected: if node creator tool is active, the small red arrows won't move, if you click on them and if you drag the newly created node... 'was hard to notice it :-)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • gui/graph_displayer_canvas.h

    r1500 r1501  
    33#ifndef GRAPH_DISPLAYER_CANVAS_H
    44#define GRAPH_DISPLAYER_CANVAS_H
     5
     6class GraphDisplayerCanvas;
    57
    68#include <all_include.h>
     
    7072  ///event handler for the case when eraser-tool is active
    7173  bool eraser_event_handler(GdkEvent*);
     74  ///event handler for the case when eraser-tool is active
     75  bool edge_map_edit_event_handler(GdkEvent*);
    7276
     77public:
     78  ///\return the actual tool in hand
     79  int get_actual_tool();
     80
     81private:
    7382  ///Deletes the given element.
    7483  void delete_item(NodeIt);
     
    7786  ///Deletes the given element.
    7887  void delete_item(Graph::Edge);
     88
     89private:
    7990
    8091  ///The graph, on which we work
     
    99110  int isbutton;
    100111
     112  ///Stores the actual tool in hand
     113  int actual_tool;
     114
    101115  ///At this location was the mousebutton pressed.
    102116  ///It helps to calculate the distance of dragging.
Note: See TracChangeset for help on using the changeset viewer.