Re: rendering-cleanup Part 2



On Sun, Aug 29, 2010 at 6:50 PM, Benjamin Otte <otte gnome org> wrote:
> On Mon, Aug 30, 2010 at 12:03 AM, Peter Clifton <pcjc2 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.


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]