- image.get_window()->draw_arc(gc, 1, w/2-7, h/2-7, 14, 14, 0, 360*64);
+
+ switch (m_or) {
+ case 0:
+ x = 5;
+ break;
+ case 1:
+ x = w-w/2-5;
+ }
+ y = 15;
+ w = w/2;
+ h = h/2;
+ y_offset = static_cast<int>(h*(1.0f-extra/actual_flow));
+ h_offset = static_cast<int>(h*(1.0f-extra/actual_flow));
+ gc->set_foreground(negro);
+ gc->set_background(negro);
+ image.get_window()->draw_rectangle(gc, 1, x, y, w, h);
+ gc->set_foreground(color);
+ gc->set_background(color);
+ image.get_window()->draw_rectangle(gc, 1, x, y+y_offset, w, h-h_offset);
+
+ /* Un borde para que se vea bien */
+ gc->set_foreground(blanco);
+ gc->set_background(blanco);
+ image.get_window()->draw_rectangle(gc, 0, x-1, y-1, w+1, h+1);