mirror of
https://github.com/gnustep/libs-gui.git
synced 2025-05-31 10:30:48 +00:00
Header reorganization - Please refer to ChangeLog
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@17408 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
parent
8512c509e1
commit
b18f1c4ac4
280 changed files with 25303 additions and 257 deletions
75
Headers/AppKit/NSScreen.h
Normal file
75
Headers/AppKit/NSScreen.h
Normal file
|
@ -0,0 +1,75 @@
|
|||
/*
|
||||
NSScreen.h
|
||||
|
||||
Class representing monitors
|
||||
|
||||
Copyright (C) 1996, 2000 Free Software Foundation, Inc.
|
||||
|
||||
Author: Scott Christley <scottc@net-community.com>
|
||||
Date: 1996
|
||||
|
||||
Fixes and updates made by
|
||||
Author: Gregory John Casamento <borgheron@yahoo.com>
|
||||
Date: 2000
|
||||
|
||||
This file is part of the GNUstep GUI Library.
|
||||
|
||||
This library is free software; you can redistribute it and/or
|
||||
modify it under the terms of the GNU Library General Public
|
||||
License as published by the Free Software Foundation; either
|
||||
version 2 of the License, or (at your option) any later version.
|
||||
|
||||
This library is distributed in the hope that it will be useful,
|
||||
but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
|
||||
Library General Public License for more details.
|
||||
|
||||
You should have received a copy of the GNU Library General Public
|
||||
License along with this library; see the file COPYING.LIB.
|
||||
If not, write to the Free Software Foundation,
|
||||
59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
|
||||
*/
|
||||
|
||||
#ifndef _GNUstep_H_NSScreen
|
||||
#define _GNUstep_H_NSScreen
|
||||
|
||||
#include <Foundation/NSObject.h>
|
||||
#include <AppKit/NSGraphics.h>
|
||||
|
||||
@class NSArray;
|
||||
@class NSDictionary;
|
||||
|
||||
@interface NSScreen : NSObject
|
||||
{
|
||||
@private
|
||||
NSWindowDepth _depth;
|
||||
NSRect _frame;
|
||||
int _screenNumber;
|
||||
NSWindowDepth *_supportedWindowDepths;
|
||||
}
|
||||
|
||||
/*
|
||||
* Creating NSScreen Instances
|
||||
*/
|
||||
+ (NSScreen*) mainScreen;
|
||||
+ (NSScreen*) deepestScreen;
|
||||
+ (NSArray*) screens;
|
||||
+ (void)resetScreens;
|
||||
|
||||
/*
|
||||
* Reading Screen Information
|
||||
*/
|
||||
- (NSWindowDepth) depth;
|
||||
- (NSRect) frame;
|
||||
- (NSDictionary*) deviceDescription;
|
||||
|
||||
#ifndef STRICT_OPENSTEP
|
||||
- (const NSWindowDepth*) supportedWindowDepths;
|
||||
- (NSRect) visibleFrame;
|
||||
#endif
|
||||
#ifndef NO_GNUSTEP
|
||||
- (int) screenNumber;
|
||||
#endif
|
||||
|
||||
@end
|
||||
#endif // _GNUstep_H_NSScreen
|
Loading…
Add table
Add a link
Reference in a new issue