COIN-OR::LEMON - Graph Library

Changeset 1823:cb082cdf3667 in lemon-0.x for gui/new_map_win.h


Ignore:
Timestamp:
11/21/05 19:03:20 (18 years ago)
Author:
Hegyi Péter
Branch:
default
Phase:
public
Convert:
svn:c9d7d8f5-90d6-0310-b91f-818b3a526b0e/lemon/trunk@2373
Message:

NewMapWin? has become Dialog instead of Window. Therefore it is created dynamically, when there is need for it, instead of keeping one instance in memory. This solution is slower, but more correct than before.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • gui/new_map_win.h

    r1814 r1823  
    1515///on which the parameters of a new map can be set.
    1616
    17 class NewMapWin : public Gtk::Window
     17class NewMapWin : public Gtk::Dialog
    1818{
    1919  ///The \ref GraphDisplayerCanvas on which the graph will be drawn.
     
    3232 
    3333  ///Constructor of NewMapWin creates the widgets shown in NewMapWin.
    34   NewMapWin(const std::string& title, GraphDisplayerCanvas &);
    35 
     34  NewMapWin(const std::string& title, GraphDisplayerCanvas &, bool itisedge=true, bool edgenode=true);
    3635 
    3736  ///Signal on button is connected to this function,
     
    3938  ///call the map/creatort function, and if yes, it
    4039  //tells it the attributes.(name, default value)
    41   virtual void buttonPressed();
    42  
    43   virtual void showByPreChoose(bool);
     40  virtual void on_response(int response_id);
    4441
    4542  virtual bool closeIfEscapeIsPressed(GdkEventKey*);
     
    5956  Gtk::Entry name, default_value;
    6057
    61   Gtk::VBox vbox;
    62 
    63   Gtk::Button * button;
    64 
    6558  Gtk::Table * table;
    6659  Gtk::Label * label;
Note: See TracChangeset for help on using the changeset viewer.