emacs-devel
[Top][All Lists]
Advanced

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

Re: scroll-bar dithering?


From: Miles Bader
Subject: Re: scroll-bar dithering?
Date: Sat, 18 Nov 2000 23:32:58 +0900 (JST)

Gerd Moellmann <address@hidden> writes:
> > So emacs could just do the shadow color allocation for the scroll-bar
> > itself, since it can do a better job of it.
> 
> That seems a good idea, would you like to work on it?

I've appended a patch that does this.  If color allocation fails, it
turns on beNiceToColormap (which does dithering).  I'm a bit unsure as
to the correct #ifdefs to put this code inside, however...

Should I check this in, or put it into my big-pile-o-patches?

> (Don't know, but it could be necessary to catch the case that a user
> already specified topShadowPixel and so on.)

I didn't implement this.  Maybe if someone complains about it ...
[I'm not even sure if those resources are documented; I got them by
looking at `strings' output for the library.]

-Miles

Attachment: scrollbar-shadows.patch
Description: Patch to set Xaw3d scrollbar shadow colors explicitly


reply via email to

[Prev in Thread] Current Thread [Next in Thread]