[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [RFC] [PATCH]: Icon themability patch for -GUI images/icons
From: |
Nicolas Roard |
Subject: |
Re: [RFC] [PATCH]: Icon themability patch for -GUI images/icons |
Date: |
Mon, 1 Nov 2004 14:21:34 +0000 |
Le 1 nov. 04, à 10:27, Fred Kiefer a écrit :
Great to learn that I am wrong and somebody is actually using this
stuff. And I must say that I like the round corners of your boxes and
buttons. This is code that would be needed in GNUstep itself for
MacOSX support, here round borders are there in the standard classes.
With the code in place in GUI, theming would just need to switch a few
attributes for the border appearance. Have you thought about
contributing this code?
Yes, but I'm waiting to clean up things and have a more "stable" api.
Once it's done (I will implement a few themes for checking that, MacOSX
and Windows for example) I will commit whatever changes is needed (most
of them will probably just be new methods in GSDrawFunctions).
Apart from that, well, the rounding boxes are quite easy to do; on
MacOSX they are just pixmaps anyway, but we can do them
programmatically.
I also have a method that do a path filling properly (eg using
addClip). It works with backart very nicely, I'm wondering what'll be
the result with back-xlib (I guess it will work for square paths, but
for more complex ones I don't know, I will need to test).
Same for drawing gradients, it only works with backart at the moment.
We can have fall-back methods (doing a gradient method "by hand" isn't
exactly difficult), but ideally it would be nice to have a gradient
method in back-xlib. If I can i'll try to do something for it.
--
Nicolas Roard
"Any sufficiently advanced technology is indistinguishable from magic."
-Arthur C. Clarke