mirror of
https://github.com/gnustep/libs-gui.git
synced 2025-05-30 05:00:38 +00:00
Turn ImageCompositing on by default
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@5798 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
parent
3ba115b589
commit
5bf1166990
3 changed files with 14 additions and 5 deletions
|
@ -51,9 +51,11 @@ static NSMutableArray* imageReps = NULL;
|
|||
them can load in data from an external source. */
|
||||
if (self == [NSImageRep class])
|
||||
{
|
||||
id obj;
|
||||
imageReps = [[NSMutableArray alloc] initWithCapacity: 2];
|
||||
if ([[NSUserDefaults standardUserDefaults]
|
||||
boolForKey: @"ImageCompositing"])
|
||||
obj = [[NSUserDefaults standardUserDefaults]
|
||||
stringForKey: @"ImageCompositing"];
|
||||
if (!obj || [obj boolValue] == YES)
|
||||
[imageReps addObject: [NSBitmapImageRep class]];
|
||||
// [imageReps addObject: [NSEPSImageRep class]];
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue