On Sun, Aug 29, 2010 at 6:50 PM, Benjamin Otte <o...@gnome.org> wrote:
> On Mon, Aug 30, 2010 at 12:03 AM, Peter Clifton <pc...@cam.ac.uk> wrote:
>> Is there any plans to drop the gdk_color_parse() API? Our circuit board
>> design app (gEDA/PCB) uses that for processing configured colour values
>> to RGB values. AUUI, it can also translate X colour names into RGB
>> values. It would be a shame to have to re-invent / copy all this code
>> into the application for use with GTK3.
>>
> The GdkColor struct is so far unchanged in my branch. There are plans
> to make it work better with Cairo, like giving it a value for the
> alpha channel or using doubles instead of shorts for the values. So
> everything might look a little different with GTK3. But I definitely
> do not intend to drop any of the functionality provided with GdkColor.
> So things like the color parsing or to_string() will definitely stay.

That being said, gdk_color_parse is just a simple wrapper around
pango_color_parse, so you can always use that directly.
_______________________________________________
gtk-devel-list mailing list
gtk-devel-list@gnome.org
http://mail.gnome.org/mailman/listinfo/gtk-devel-list

Reply via email to