equal
deleted
inserted
replaced
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 |