mirror of
https://github.com/gnustep/libs-gui.git
synced 2025-04-23 05:32:11 +00:00
Constants and methods for Expose and other features we don't have and perhaps never will
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@38942 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
parent
dbcaec319a
commit
7a251b66ec
3 changed files with 49 additions and 2 deletions
|
@ -4,6 +4,10 @@
|
|||
* Headers/AppKit/NSView.h
|
||||
Add more (dummy) layer property stuff
|
||||
|
||||
* Headers/AppKit/NSWindow.h
|
||||
* Source/NSWindow.m
|
||||
Constants and methods for Exposé and other features we don't have and perhaps never will
|
||||
|
||||
2015-08-26 Fred Kiefer <FredKiefer@gmx.de>
|
||||
|
||||
* Source/GSTextFinder.m: Fix Ignore Case option to work.
|
||||
|
|
|
@ -107,6 +107,32 @@ enum {
|
|||
NSMiniWindowMask = 128 /* GNUstep extension - miniwindows */
|
||||
};
|
||||
|
||||
#if OS_API_VERSION(MAC_OS_X_VERSION_10_5, GS_API_LATEST)
|
||||
enum {
|
||||
NSWindowCollectionBehaviorDefault = 0,
|
||||
NSWindowCollectionBehaviorCanJoinAllSpaces = 1 << 0,
|
||||
NSWindowCollectionBehaviorMoveToActiveSpace = 1 << 1
|
||||
};
|
||||
#endif
|
||||
#if OS_API_VERSION(MAC_OS_X_VERSION_10_6, GS_API_LATEST)
|
||||
enum {
|
||||
NSWindowCollectionBehaviorManaged = 1 << 2,
|
||||
NSWindowCollectionBehaviorTransient = 1 << 3,
|
||||
NSWindowCollectionBehaviorStationary = 1 << 4,
|
||||
};
|
||||
enum {
|
||||
NSWindowCollectionBehaviorParticipatesInCycle = 1 << 5,
|
||||
NSWindowCollectionBehaviorIgnoresCycle = 1 << 6
|
||||
};
|
||||
#endif
|
||||
#if OS_API_VERSION(MAC_OS_X_VERSION_10_7, GS_API_LATEST)
|
||||
enum {
|
||||
NSWindowCollectionBehaviorFullScreenPrimary = 1 << 7,
|
||||
NSWindowCollectionBehaviorFullScreenAuxiliary = 1 << 8
|
||||
};
|
||||
#endif
|
||||
typedef NSUInteger NSWindowCollectionBehavior;
|
||||
|
||||
enum _NSSelectionDirection {
|
||||
NSDirectSelection,
|
||||
NSSelectingNext,
|
||||
|
@ -543,6 +569,11 @@ PACKAGE_SCOPE
|
|||
|
||||
- (NSResponder*) firstResponder;
|
||||
|
||||
#if OS_API_VERSION(MAC_OS_X_VERSION_10_5, GS_API_LATEST)
|
||||
- (NSWindowCollectionBehavior)collectionBehaviour;
|
||||
- (void)setCollectionBehaviour:(NSWindowCollectionBehavior)props;
|
||||
#endif
|
||||
|
||||
/**
|
||||
* This method attempts to make aResponder the first responder.<br />
|
||||
* If aResponder is already the first responder, this method has no
|
||||
|
@ -740,7 +771,7 @@ PACKAGE_SCOPE
|
|||
#endif
|
||||
|
||||
/*
|
||||
* Window butons
|
||||
* Window buttons
|
||||
*/
|
||||
#if OS_API_VERSION(MAC_OS_X_VERSION_10_2, GS_API_LATEST)
|
||||
+ (NSButton *) standardWindowButton: (NSWindowButton)button
|
||||
|
|
|
@ -2,7 +2,7 @@
|
|||
|
||||
<abstract>The window class</abstract>
|
||||
|
||||
Copyright (C) 1996 Free Software Foundation, Inc.
|
||||
Copyright (C) 1996-2015 Free Software Foundation, Inc.
|
||||
|
||||
Author: Scott Christley <scottc@net-community.com>
|
||||
Venkat Ajjanagadde <venkat@ocbi.com>
|
||||
|
@ -2657,6 +2657,18 @@ titleWithRepresentedFilename(NSString *representedFilename)
|
|||
_f.dynamic_depth_limit = flag;
|
||||
}
|
||||
|
||||
- (NSWindowCollectionBehavior)collectionBehaviour
|
||||
{
|
||||
//TODO: we don't handle collections yet and perhaps never will fully
|
||||
return 0;
|
||||
}
|
||||
|
||||
- (void)setCollectionBehaviour:(NSWindowCollectionBehavior)props
|
||||
{
|
||||
//TODO we don't handle collections yet. Perhaps certain features can be mapped on existing ones
|
||||
//other features are Expose specific or anyway probably not implementable
|
||||
}
|
||||
|
||||
/*
|
||||
* Cursor management
|
||||
*/
|
||||
|
|
Loading…
Reference in a new issue