+ UINT_TO_RGBA (bg_color, &r, &g, &b, &a);
+ bg_r = r/255.0;
+ bg_g = g/255.0;
+ bg_b = b/255.0;
+
+ UINT_TO_RGBA (text, &r, &g, &b, &a);
+
+ /* rescale for Pango colors ... sigh */
+
+ r = lrint (r * 65535.0);
+ g = lrint (g * 65535.0);
+ b = lrint (b * 65535.0);
+
+ delete text_color;
+ text_color = new Pango::AttrColor (Pango::Attribute::create_attr_foreground (r, g, b));
+ text_attributes.change (*text_color);
+}
+
+void
+ShuttleControl::render (cairo_t* cr, cairo_rectangle_t*)
+{