New window levels

git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@9102 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
richard 2001-02-09 15:32:47 +00:00
parent 6a0fdf5aa0
commit 489b4c9ec5
2 changed files with 15 additions and 1 deletions

View file

@ -1,3 +1,10 @@
2001-02-08 Richard Frith-Macdonald <rfm@gnu.org>
* Headers/gnustep/gui/NSWindow.h: Added a GNUstep specific window
level for the desktop (to work in conjunction with Window Maker)
and changed the deprectated dock window level to match the value
in MacOS-X beta.
Thu Feb 8 19:17:25 2001 Nicola Pero <n.pero@mi.flashnet.it>
* Headers/gnustep/gui/AppKit.h: Include NSSecureTextField.h.

View file

@ -57,13 +57,20 @@
@class NSView;
@class NSWindowController;
/*
* Window levels are taken from MacOS-X
* NSDesktopWindowLevel is copied from Window maker and is intended to be
* the level at which things on the desktop sit ... so you should be able
* to put a desktop background just below it.
*/
enum {
NSDesktopWindowLevel = -1000, /* GNUstep addition */
NSNormalWindowLevel = 0,
NSFloatingWindowLevel = 3,
NSSubmenuWindowLevel = 3,
NSTornOffMenuWindowLevel = 3,
NSDockWindowLevel = 5, /* Deprecated - use NSStatusWindowLevel */
NSMainMenuWindowLevel = 20,
NSDockWindowLevel = 21, /* Deprecated - use NSStatusWindowLevel */
NSStatusWindowLevel = 21,
NSModalPanelWindowLevel = 100,
NSPopUpMenuWindowLevel = 101,