discuss-gnustep
[Top][All Lists]
Advanced

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

Re: GNUstep on MS Windows


From: Chris Hanson
Subject: Re: GNUstep on MS Windows
Date: Mon, 8 Dec 2003 13:19:47 -0600

On Dec 8, 2003, at 9:14 AM, Jeff Teunissen wrote:
Rearrangement of menu items is wrong, full-stop.

If you are designing a UI for Windows then you build a different menu
system, with different accelerator keys, different names, and so on. You can't just transplant the "GNUstep on Unix" menu system onto it and expect
it to be useful to a "native" user.

Right.  Fortunately, it's pretty easy to do something like this.

* MainMenu-windows.gsmodel for Windows
* MainMenu-macosx.gsmodel for Mac OS X
* MainMenu.gsmodel for GNUstep on X11

And GNUstep could choose between them automatically. It could even fall back from Windows to Mac OS X to plain vanilla (or whichever ordering would make the most sense) fairly easily.

OpenStep supported this; they called it "platform variants." You could create platform variants of any resource, and the right platform variant would automatically be chosen for the platform you were running on. If there was no need for a platform variant, you didn't have to create one. Nice and simple for the developer.

  -- Chris

--
Chris Hanson <cmh@bdistributed.com>
bDistributed.com, Inc.
Outsourcing Vendor Evaluation
Custom Mac OS X Development
Cocoa Developer Training





reply via email to

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