COIN-OR::LEMON - Graph Library

Changeset 1441:fd4b6f6d592a in lemon-0.x for gui/graph_displayer_canvas.h


Ignore:
Timestamp:
06/02/05 01:30:13 (15 years ago)
Author:
Akos Ladanyi
Branch:
default
Phase:
public
Convert:
svn:c9d7d8f5-90d6-0310-b91f-818b3a526b0e/lemon/trunk@1917
Message:
File:
1 edited

Legend:

Unmodified
Added
Removed
  • gui/graph_displayer_canvas.h

    r1440 r1441  
    3030  int changeText (std::string mapname);
    3131
    32   ///Changes the dot-pro-pixel to be able to show the whole graph.
    33   int rezoom();
     32  ///Callback for 'ViewZoomIn' action.
     33  virtual void zoomIn();
     34  ///Callback for 'ViewZoomOut' action.
     35  virtual void zoomOut();
     36  ///Callback for 'ViewZoomFit' action.
     37  virtual void zoomFit();
     38  ///Callback for 'ViewZoom100' action.
     39  virtual void zoom100();
     40  ///Sets the scroll region of the convas to the bounding box of the graph.
     41  void updateScrollRegion();
    3442
    3543protected:
     
    7684  Gnome::Canvas::Item * active_item;
    7785
    78 
     86  static const int zoom_step = 5;
    7987};
    8088
Note: See TracChangeset for help on using the changeset viewer.