[HACK] Zurgle Frame Colors
Bert Freudenberg
bert at isg.cs.uni-magdeburg.de
Thu May 16 15:39:24 UTC 2002
On Wed, 15 May 2002, Jim Benson wrote:
> Cees,
>
> There are a couple of ways to do what you describe.. Number one is to take
> the bitmaps, figure out the wanted color saturations that you are trying to
> achieve, and apply an algorithmic color change when instantiating a window.
> This is a little challenging, but probably wouldn't be too bad code wise.
Pah, challenging ;-)
The recoloring part is easy, it's already in my EdgeImageMorph Zurgle
uses for drawing the bitmap themes. It's only hard to find a place to hook
that stuff ...
> > You're not getting away so easy. I meant the window *frame* colors (I've
> > already experimented with window background colors - the pastels are OK,
> but
> > the more saturated colors are indeed a bit hard on the eyes in combo with
> the
> > RedmondXP look ;-)).
Here it is - only one tiny method:
"Change Set: ZurgleColorFrameHack-bf
Date: 16 May 2002
Author: Bert Freudenberg
Hack setting window frame colors to the colorful pane colors. Not
optimized - forms should be converted to gray scale on loading, not on
every window creation!
Note: You have to actually select window colors in appearance menu ;-)"
Of course, there should be a preference enabling this. But it even allows
you to use the "color" menu entry from the SystemWindow's halo! :-))
-- Bert
-------------- next part --------------
A non-text attachment was scrubbed...
Name: ZurgleColorFrameHack-bf.1.cs.gz
Type: application/x-gzip
Size: 548 bytes
Desc:
Url : http://lists.squeakfoundation.org/pipermail/squeak-dev/attachments/20020516/83f3a679/ZurgleColorFrameHack-bf.1.cs.bin
More information about the Squeak-dev
mailing list
|