3 WorkPlace::WorkPlace( BaseObjectType* cobject, const Glib::RefPtr<Gnome::Glade::Xml> &refGlade):Gtk::Fixed(cobject)
6 bool WorkPlace::on_expose_event(GdkEventExpose *e)
9 for(x=0; x<get_width(); x+=32)
10 for (y=0; y<get_height();y+=32){
11 get_window()->draw_point (get_style()->get_black_gc(), x,y);
12 get_window()->draw_point (get_style()->get_black_gc(), x,y+1);
13 get_window()->draw_point (get_style()->get_black_gc(), x,y-1);
14 get_window()->draw_point (get_style()->get_black_gc(), x+1,y);
15 get_window()->draw_point (get_style()->get_black_gc(), x-1,y);
21 bool WorkPlace::on_button_pressed(GdkEventButton *e)
26 void WorkPlace::delete_item(int id)
28 std::list<CItem*>::iterator i = listaItems->begin();
29 while ( i != listaItems->end() ){
31 if ( temp->get_id() == id ){