bug-gnustep
[Top][All Lists]
Advanced

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

Re: NSImageView


From: Jeff Teunissen
Subject: Re: NSImageView
Date: Sun, 23 Jun 2002 20:59:55 -0400

Fred Kiefer wrote:

[snip]

> I am not sure, if you are right. The way this should be handled is
> different. When a cell does not fill the total background it returns YES
> from the isOpaque method. Otherwise, and this is the default, NO is
> returned, which should result in all the views below the NSImageCell to
> redraw themselves first. If this simple and correct mechnism does not
> work for the redrawing of NSImageCells, than we have a more general
> problem with the drawing of all views. Do you have a small program to
> show this problem?

I've seen it on a few apps/images, but the most readily-apparent one is in
the TextEdit app that I've been porting (trivially -- mostly fixing
GNUstep bugs) to GNUstep.

grab <http://www.d2dc.net/~deek/TextEdit-work.tar.gz>.

Compile and run TextEdit.
Info->Info Panel...

You'll see two images; one of the application icon, the other saying
"TextEdit". Both images have alpha, but the text image's drop shadow shows
the bug nicely.

It starts out looking normal, but if you click on it, the drop shadow gets
darker. Click again, it gets darker again.

[snip]

-- 
| Jeff Teunissen  -=-  Pres., Dusk To Dawn Computing  -=-  deek @ d2dc.net
| GPG: 1024D/9840105A   7102 808A 7733 C2F3 097B  161B 9222 DAB8 9840 105A
| Core developer, The QuakeForge Project        http://www.quakeforge.net/
| Specializing in Debian GNU/Linux              http://www.d2dc.net/~deek/



reply via email to

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