From 489b4c9ec5557d963d71aee4d2972c6059dcc98f Mon Sep 17 00:00:00 2001 From: richard Date: Fri, 9 Feb 2001 15:32:47 +0000 Subject: [PATCH] New window levels git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@9102 72102866-910b-0410-8b05-ffd578937521 --- ChangeLog | 7 +++++++ Headers/gnustep/gui/NSWindow.h | 9 ++++++++- 2 files changed, 15 insertions(+), 1 deletion(-) diff --git a/ChangeLog b/ChangeLog index 48da9a676..9976883a0 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,10 @@ +2001-02-08 Richard Frith-Macdonald + + * 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 * Headers/gnustep/gui/AppKit.h: Include NSSecureTextField.h. diff --git a/Headers/gnustep/gui/NSWindow.h b/Headers/gnustep/gui/NSWindow.h index bc6e88643..336d7cd7b 100644 --- a/Headers/gnustep/gui/NSWindow.h +++ b/Headers/gnustep/gui/NSWindow.h @@ -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,