[Top][All Lists]

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

Re: hide the menu

From: Sascha Erni, -.rb
Subject: Re: hide the menu
Date: Tue, 27 Jan 2004 11:46:17 +0100
User-agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.6b) Gecko/20031205 Thunderbird/0.4


Sascha Erni, -.rb wrote:

Agreed. How does GNUstep position app menus? If it's relative to current screen size, it shouldn't be a problem, as 0/0 would always be the top-left corner of the screen, regardless of resolution.


Menus and other GIU elements are always positioned relative to the screen edges, i.e. 0/0 is top left corner, -0/0 is top right corner, -0/-0 is bottom right corner and so on.

That would be the screen origins, of course, not per se relative positioning. The positioning then happens either absolute (say, -500/400) or relative using environment variables for the current screen width and height.

Just read Richard's posting on the topic, and as GNUstep stores positions per resolution, accidential off-screen menus/windows aren't really an issue. Consider my postings on the subject a pointless mental exercise, then. ;)

Obey the suit!

reply via email to

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