mirror of
https://github.com/gnustep/libs-gui.git
synced 2025-05-31 06:40:47 +00:00
Initial implementation of NSImage* classes based upon Adam Feodor's work.
Changes to utilize the TIFF library. Uncomment some code now that NSException and NSNotification* classes exist. git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@1654 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
parent
f862cf8a2b
commit
1e3870ceb7
21 changed files with 2235 additions and 668 deletions
|
@ -101,7 +101,10 @@ NSString *NSWindowWillMoveNotification;
|
|||
}
|
||||
|
||||
// Screens and window depths
|
||||
//+ (NSWindowDepth)defaultDepthLimit
|
||||
+ (NSWindowDepth)defaultDepthLimit
|
||||
{
|
||||
return 0;
|
||||
}
|
||||
|
||||
//
|
||||
// Instance methods
|
||||
|
@ -630,13 +633,36 @@ NSString *NSWindowWillMoveNotification;
|
|||
}
|
||||
|
||||
// Screens and window depths
|
||||
//- (BOOL)canStoreColor;
|
||||
//- (NSScreen *)deepestScreen;
|
||||
//- (NSWindowDepth)depthLimit;
|
||||
//- (BOOL)hasDynamicDepthLimit;
|
||||
//- (NSScreen *)screen;
|
||||
//- (void)setDepthLimit:(NSWindowDepth)limit;
|
||||
//- (void)setDynamicDepthLimit:(BOOL)flag;
|
||||
- (BOOL)canStoreColor
|
||||
{
|
||||
return YES;
|
||||
}
|
||||
|
||||
- (NSScreen *)deepestScreen
|
||||
{
|
||||
return [NSScreen deepestScreen];
|
||||
}
|
||||
|
||||
- (NSWindowDepth)depthLimit
|
||||
{
|
||||
return 0;
|
||||
}
|
||||
|
||||
- (BOOL)hasDynamicDepthLimit
|
||||
{
|
||||
return YES;
|
||||
}
|
||||
|
||||
- (NSScreen *)screen
|
||||
{
|
||||
return [NSScreen mainScreen];
|
||||
}
|
||||
|
||||
- (void)setDepthLimit:(NSWindowDepth)limit
|
||||
{}
|
||||
|
||||
- (void)setDynamicDepthLimit:(BOOL)flag
|
||||
{}
|
||||
|
||||
//
|
||||
// Cursor management
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue