COIN-OR::LEMON - Graph Library

Changeset 1878:409a31271efd in lemon-0.x for gui/algobox.h


Ignore:
Timestamp:
01/05/06 13:30:09 (17 years ago)
Author:
Hegyi Péter
Branch:
default
Phase:
public
Convert:
svn:c9d7d8f5-90d6-0310-b91f-818b3a526b0e/lemon/trunk@2453
Message:

Several changes. \n If new map is added to mapstorage it emits signal with the name of the new map. This was important, because from now on not only tha mapwin should be updated. \n Furthermore algobox gets a pointer to mapstorage instead of only the mapnames from it. This is important because without it it would be complicated to pass all of the required maps to algobox.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • gui/algobox.h

    r1876 r1878  
    77
    88#include <all_include.h>
     9#include <mapstorage.h>
    910#include <libgnomecanvasmm.h>
    1011#include <libgnomecanvasmm/polygon.h>
     
    2021  std::vector<Gtk::ComboBoxText *> nodemapcbts;
    2122  std::vector<Gtk::ComboBoxText *> edgemapcbts;
    22  
     23
     24  MapStorage * mapstorage;
     25
    2326public:
    2427  AlgoBox(){};
    25   AlgoBox(std::vector<std::string>, std::vector<std::string>, std::vector<std::string>);
     28  AlgoBox(std::vector<std::string>);
    2629
    27   virtual void init(std::vector<std::string>, std::vector<std::string>, std::vector<std::string>);
     30  virtual void init(std::vector<std::string>);
    2831
    2932  sigc::signal<void, std::string> signal_maplist_needed(); 
     
    3134
    3235  void update_tablist( std::vector< std::string > tl );
    33   void update_maplist( std::vector< std::string >, std::vector< std::string >);
     36  void update_maplist( void * );
     37
     38  void nodemaplist_changed(std::string);
     39  void edgemaplist_changed(std::string);
    3440
    3541  void update_cbt( std::vector< std::string > tl, Gtk::ComboBoxText &);
Note: See TracChangeset for help on using the changeset viewer.