COIN-OR::LEMON - Graph Library

Changeset 1550:4dcbb4ab1d7a in lemon-0.x for gui/main_win.cc


Ignore:
Timestamp:
07/12/05 20:21:49 (15 years ago)
Author:
Hegyi Péter
Branch:
default
Phase:
public
Convert:
svn:c9d7d8f5-90d6-0310-b91f-818b3a526b0e/lemon/trunk@2046
Message:

Editors are based.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • gui/main_win.cc

    r1512 r1550  
    4646  ag->add( Gtk::Action::create("MoveItem", Gtk::Stock::CONVERT),
    4747      sigc::bind( sigc::mem_fun ( this->gd_canvas, &GraphDisplayerCanvas::changeEditorialTool ), 0) );
     48  ag->add( Gtk::Action::create("EditEdgeMap", Gtk::Stock::PROPERTIES),
     49      sigc::bind( sigc::mem_fun ( this->gd_canvas, &GraphDisplayerCanvas::changeEditorialTool ), 4) );
     50  ag->add( Gtk::Action::create("EditNodeMap", Gtk::Stock::PREFERENCES),
     51      sigc::bind( sigc::mem_fun ( this->gd_canvas, &GraphDisplayerCanvas::changeEditorialTool ), 5) );
    4852
    4953  uim=Gtk::UIManager::create();
     
    8993      "    <toolitem action='EraseItem' />"
    9094      "    <toolitem action='MoveItem' />"
     95      "    <toolitem action='EditEdgeMap' />"
     96      "    <toolitem action='EditNodeMap' />"
    9197      "  </toolbar>"
    9298      "</ui>";
Note: See TracChangeset for help on using the changeset viewer.