Gdk::Color c;
Widget* parent;
- gint x1=0, x2=0, y1=0, y2=0;
+ gint x1=0, x2=0, y2=0;
gint w, h;
double fract, radius;
float r, g, b;
h = darea.get_height();
x1 = (gint) floor (w * fract);
x2 = x1;
- y1 = 0;
y2 = h - 1;
if (use_parent) {
break;
}
+ if (!darea.get_sensitive()) {
+ rounded_rectangle (context, 0, 0, darea.get_width(), darea.get_height(), 3);
+ context->set_source_rgba (0.505, 0.517, 0.525, 0.6);
+ context->fill ();
+ }
+
/* draw label */
double xpos = -1;