Re: Deprecate GdkGC?



Yes, that's what i meant by "deprecation by policy" (i.e. you'd say it's deprecated, but don't remove the code or anything, you just discourage it's use; although that might be not the proper word for it, i'm sorry in that case as i'm not a native english speaker)

The problem is just there are a dozens of style engines and they use the GdkGCs directly, so basically all style engine writers would be encouraged to use cairo for drawing and not access the GdkGCs.

On 12/1/05, Murray Cumming <murrayc murrayc com> wrote:

> I agree but it doesn't sound really easy as GtkStyle holds a number of
> GdkGCs for the style colors.

So, I guess that should be ported too.

In general, deprecation doesn't mean that you may not use it. Deprecation
is n't breaking.

> I am currently unaware of whether the style engines access them directly
> but
> i'd rather think they do, so this would require the style engines to 1)
> only
> use the GdkColors of the style and ("while we're at") 2) add an alpha
> value
> to GdkColor like the r/g/b ones already are (?)
>
> Sounds like a long process of deprecation by policy, but i agree that
> GdkGCs
> don't make much sense anymore if at all.
>
> Milosz
>
> On 12/1/05, Murray Cumming <murrayc murrayc com> wrote:
>>
>> Shouldn't GdkGC be deprecated now that we have cairo contexts?
>>
>> Murray Cumming
>> murrayc murrayc com
>> www.murrayc.com
>> www.openismus.com
>>
>> _______________________________________________
>> gtk-devel-list mailing list
>> gtk-devel-list gnome org
>> http://mail.gnome.org/mailman/listinfo/gtk-devel-list
>>
> _______________________________________________
> gtk-devel-list mailing list
> gtk-devel-list gnome org
> http://mail.gnome.org/mailman/listinfo/gtk-devel-list
>


Murray Cumming
murrayc murrayc com
www.murrayc.com
www.openismus.com




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