mirror of
https://github.com/gnustep/libs-gui.git
synced 2025-05-30 15:20:38 +00:00
More imaging and compositing stuff
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@5635 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
parent
0d72b6f34d
commit
745d515d38
12 changed files with 142 additions and 21 deletions
|
@ -32,6 +32,7 @@
|
|||
#include <Foundation/NSData.h>
|
||||
#include <Foundation/NSException.h>
|
||||
#include <Foundation/NSNotification.h>
|
||||
#include <Foundation/NSUserDefaults.h>
|
||||
#include <AppKit/NSImageRep.h>
|
||||
#include <AppKit/NSBitmapImageRep.h>
|
||||
#include <AppKit/NSEPSImageRep.h>
|
||||
|
@ -51,7 +52,9 @@ static NSMutableArray* imageReps = NULL;
|
|||
if (self == [NSImageRep class])
|
||||
{
|
||||
imageReps = [[NSMutableArray alloc] initWithCapacity: 2];
|
||||
// [imageReps addObject: [NSBitmapImageRep class]];
|
||||
if ([[NSUserDefaults standardUserDefaults]
|
||||
boolForKey: @"ImageCompositing"])
|
||||
[imageReps addObject: [NSBitmapImageRep class]];
|
||||
// [imageReps addObject: [NSEPSImageRep class]];
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue