COIN-OR::LEMON - Graph Library

Changeset 1837:8dd6160ff699 in lemon-0.x for gui/graph_displayer_canvas.h


Ignore:
Timestamp:
11/29/05 20:31:58 (15 years ago)
Author:
Hegyi Péter
Branch:
default
Phase:
public
Convert:
svn:c9d7d8f5-90d6-0310-b91f-818b3a526b0e/lemon/trunk@2389
Message:

Structure of GUI is now more clear-cut than before.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • gui/graph_displayer_canvas.h

    r1819 r1837  
    77
    88#include "all_include.h"
    9 #include "mapstorage.h"
    10 #include "map_win.h"
     9#include "main_win.h"
    1110#include <libgnomecanvasmm.h>
    1211#include <libgnomecanvasmm/polygon.h>
     
    4140
    4241public:
    43   GraphDisplayerCanvas(MapStorage &, MapWin &, Gtk::Window *);
     42  GraphDisplayerCanvas(MainWin &);
    4443  virtual ~GraphDisplayerCanvas();
    4544
     
    7372  int changeNodeText (std::string mapname, Node new_item=INVALID);
    7473  int resetNodeText (Node new_item=INVALID);
     74
     75  void propertyChange(bool, int);
     76  void propertyUpdate(Edge, int, int dummy=0);
     77  void propertyUpdate(Node, int, int dummy=0);
     78
     79  void propertyUpdate(Edge);
     80  void propertyUpdate(Node);
    7581
    7682  ///Callback for 'ViewZoomIn' action.
     
    166172  Gnome::Canvas::Group displayed_graph;
    167173
    168 public:
    169   ///Here we store the maps that can be displayed through properties.
    170   MapStorage & mapstorage;
    171 
    172174private:
    173175  ///Indicates whether the button of mouse is pressed or not
     
    194196  static const int zoom_step = 5;
    195197
    196 public:
    197   ///We need to store mapwin, to be able to ask the appropriate values for properties of new items.
    198   MapWin & mapwin;
    199 
    200 private:
    201 
    202   ///pointer to the parent window
    203   Gtk::Window * parentwin;
     198private:
     199
     200  ///reference to the parent window
     201  MainWin & mainwin;
    204202
    205203};
Note: See TracChangeset for help on using the changeset viewer.