edit_win.cc
branchgui
changeset 13 0b2281cc1e32
parent 12 1db7a6dd17f8
child 15 e8c21454f125
     1.1 --- a/edit_win.cc	Mon Jun 13 19:49:33 2005 +0000
     1.2 +++ b/edit_win.cc	Tue Jun 14 15:58:12 2005 +0000
     1.3 @@ -68,6 +68,20 @@
     1.4       );
     1.5    table.attach(*buttons[MOVE],0,1,1,2);
     1.6        
     1.7 +  //New edge button
     1.8 +  buttons[ERASER]=new Gtk::RadioButton("Erase Item");
     1.9 +  buttons[ERASER]->set_mode(false);
    1.10 +  buttons[ERASER]->set_group(group);
    1.11 +  buttons[ERASER]->signal_clicked().connect
    1.12 +    (
    1.13 +     sigc::bind
    1.14 +     (
    1.15 +      sigc::mem_fun(*this, &EditWin::makeEditorialToolChanged),
    1.16 +      3
    1.17 +      )
    1.18 +     );
    1.19 +  table.attach(*buttons[ERASER],1,2,1,2);
    1.20 +    
    1.21    add(table);
    1.22  
    1.23    show_all_children();