-
-bool Pump::on_expose_event(GdkEventExpose* event)
-{
- CItem::on_expose_event(event);
- Glib::RefPtr<Gdk::Window> window = get_window();
-
- gc->set_foreground(red);
- gc->set_background(red);
- window->draw_rectangle(gc, 1, image->get_width()-32, 0, 32, 16);
- gc->set_foreground(blue);
- gc->set_background(blue);
- window->draw_rectangle(gc, 1, image->get_width()-32, 16, 32, 16);
- return true;
-}