Re: Deprecate GdkGC?
- From: milosz derezynski <internalerror gmail com>
- To: Murray Cumming <murrayc murrayc com>
- Cc: gtk-devel-list gnome org
- Subject: Re: Deprecate GdkGC?
- Date: Fri, 2 Dec 2005 04:15:07 +0100
One first step could be to back all gdk_draw_*() functions with actual cairo drawing (disabling antialiasing so compatibility is kept) and reading only the color values off the GCs, and then officially deprecate the GdkGCs.
(Not entirely sure if that makes sense, RFC)
That way at least the GdkGCs would lose their actual meaning within GDK and thus become deprecated by implication. The biggest problem in removing the GdkGCs are really the style engines.
On 12/1/05, milosz derezynski <internalerror gmail com> wrote:
And in addition all current style engines would need to be ported, since once the GdkGCs are declared as deprecated, it would as a consequence deprecate the styles engine's code as well.
On 12/1/05, milosz derezynski <internalerror gmail com> wrote:
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.
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]