discuss-gnustep
[Top][All Lists]
Advanced

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

RE: Interface Proposal: GUI design


From: Mondragon, Ian
Subject: RE: Interface Proposal: GUI design
Date: Mon, 11 Mar 2002 16:48:12 -0600

after thinking a little about this, it's all falling into place...

* create client
* determine if client has TITLEBAR
* if so, determine if client contains TITLE, CLOSE, MAX, MIN, SHADE 
  (as flags)

[here's the new part]

* determine the user's preferred layout (NeXT, OSX, etc).  these can be
built into Interface as arrays:

        NEXT = (MIN, TITLE, MAX);
        OSX  = (CLOSE, MIN, MAX, TITLE);

* place the appropriate items onto the TITLEBAR in the appropriate locations
* draw the TITLEBAR

  allowing the user to add thier own layouts could be a sticky issue, as
this would mean adding code to check for the completle abcense of buttons
(yikes), or running the risk of really hosing a session - not that this
would be the end of the world, but a problem nonetheless.  but in the
meantime, i'll start working on an implementation similar to this and allow
the user to change the look via the GNUstep defaults.

- ian



reply via email to

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