discuss-gnustep
[Top][All Lists]
Advanced

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

Impelmenting NSWindows95InterfaceStyle


From: Germán Arias
Subject: Impelmenting NSWindows95InterfaceStyle
Date: Sun, 18 Jan 2009 21:57:31 -0600

Hi, after inspect the source of NSMenu.m and others files. I think that
I can try to implement the option NSWindows95InterfaceStyle. I have one
idea to do that, and I want know what do you think about this.

Well, I think that the most easy and elegant way to implement this is
make a new window with the horizontal menu and with a standard toolbar.
In others words, don't put the menu in an app's window. Instead this,
make a new window (main window) to set the horizontal menu. For example,
if an app is like this

 _____
|Menu |
|     |
|     |       ____________________________________
|     |       |___________________________________|
|_____|       |                                   |
              |                                   |
              |                                   |
              |                                   |
              |         App's window              |
              |                                   |
              |                                   | 
              |                                   |
              |                                   |
              |___________________________________| 

 
After set NSWindows95InterfaceStyle, the app's look will by like this

__________________________
|_Main window_____________|
|      <-- Menu -- >      |
|_________________________|
|   <- a standard         |
|           toolbar -->   |
|_________________________|


          ________________________________________
         |________________________________________|
         |                                        |
         |                                        |
         |                                        |
         |                                        |
         |         App's window                   |
         |                                        |
         |                                        |
         |                                        |
         |                                        |
         |________________________________________|



To my this is an elegant solution, because make an horizontal menu and,
at the same time, conserve a distinctive look. In other hand, there are
many apps that implements that look, familiar to many people. Of course,
the programmer will by able to set his own toolbar in the main menu.

What do you think about this idea?






reply via email to

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