gui/edit_win.cc
changeset 1512 e54392395480
parent 1485 3a1c6678fa23
child 1524 587a823bcdd0
equal deleted inserted replaced
2:ae5cb20864c6 3:3e57f9f5747d
    16   set_default_size(200, 50);
    16   set_default_size(200, 50);
    17   set_keep_above(true);
    17   set_keep_above(true);
    18   signal_key_press_event().connect(sigc::mem_fun(*this, &EditWin::close_if_escape_is_pressed));
    18   signal_key_press_event().connect(sigc::mem_fun(*this, &EditWin::close_if_escape_is_pressed));
    19   
    19   
    20   //buttons array
    20   //buttons array
    21   buttons=new (Gtk::RadioButton *) [TOOL_NUM];
    21   buttons=new Gtk::RadioButton * [TOOL_NUM];
    22   for(int i=0;i<TOOL_NUM;i++)
    22   for(int i=0;i<TOOL_NUM;i++)
    23     {
    23     {
    24       buttons[i]=NULL;
    24       buttons[i]=NULL;
    25     }
    25     }
    26 
    26