bug-gnustep
[Top][All Lists]
Advanced

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

Strangeness in NSWindow


From: Fred Kiefer
Subject: Strangeness in NSWindow
Date: Sat, 13 Apr 2002 23:10:21 +0200
User-agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; de-DE; rv:0.9.4) Gecko/20011019 Netscape6/6.2

While tracking down a wrong behaviour in my own backend code I found that this time it was not me getting things wrong but NSWindow. When creating a new window the content size is handed on to the backend while the very similar method placewindow:: takes the full frame not just the content area. But if this is the way we want it it is fine for me, now that I know it and adjusted my code to it.

Could anybody (Adam?) explain the semantic of the findwindow::::: method? As our only official window server does not implement it an it is never used from gui, we could perhaps drop it as well.

Then there is this NSWindowDepth stuff, according to NSGraphics this are rather complicated values that describe the availabe colours of a window or screen. But in NSWindow 8 is returned as a NSWindowDepth and the method [windowdepth] on XGServerWindow also returns rather just a bit size. So what is the use of all this and what would be the correct beahviour.

Fred




reply via email to

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