-
- 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);