mirror of
https://github.com/gnustep/libs-gui.git
synced 2025-04-22 13:10:59 +00:00
Removed all instances of include in new files.
This commit is contained in:
parent
f5026dfa97
commit
7e81e90e02
8 changed files with 15 additions and 36 deletions
|
@ -25,7 +25,7 @@
|
|||
#ifndef _NSCIImageRep_h_GNUSTEP_GUI_INCLUDE
|
||||
#define _NSCIImageRep_h_GNUSTEP_GUI_INCLUDE
|
||||
|
||||
#include <AppKit/NSImageRep.h>
|
||||
#import <AppKit/NSImageRep.h>
|
||||
|
||||
#if OS_API_VERSION(MAC_OS_X_VERSION_10_0, GS_API_LATEST)
|
||||
|
||||
|
|
|
@ -25,8 +25,8 @@
|
|||
#ifndef _NSDockTile_h_GNUSTEP_GUI_INCLUDE
|
||||
#define _NSDockTile_h_GNUSTEP_GUI_INCLUDE
|
||||
|
||||
#include <Foundation/NSObject.h>
|
||||
#include <Foundation/NSGeometry.h>
|
||||
#import <Foundation/NSObject.h>
|
||||
#import <Foundation/NSGeometry.h>
|
||||
|
||||
#if OS_API_VERSION(MAC_OS_X_VERSION_10_5, GS_API_LATEST)
|
||||
|
||||
|
|
|
@ -22,7 +22,7 @@
|
|||
Boston, MA 02111 USA.
|
||||
*/
|
||||
|
||||
#include <AppKit/NSCIImageRep.h>
|
||||
#import <AppKit/NSCIImageRep.h>
|
||||
|
||||
@implementation NSCIImageRep
|
||||
|
||||
|
|
|
@ -22,8 +22,8 @@
|
|||
Boston, MA 02111 USA.
|
||||
*/
|
||||
|
||||
#include <AppKit/NSDockTile.h>
|
||||
#include <AppKit/NSView.h>
|
||||
#import <AppKit/NSDockTile.h>
|
||||
#import <AppKit/NSView.h>
|
||||
|
||||
@implementation NSDockTile
|
||||
|
||||
|
|
|
@ -35,10 +35,6 @@
|
|||
#import "AppKit/NSEPSImageRep.h"
|
||||
#import "GNUstepGUI/GSImageMagickImageRep.h"
|
||||
|
||||
@interface NSBitmapImageRep (PrivateMethods)
|
||||
- (void) _premultiply;
|
||||
@end
|
||||
|
||||
@implementation NSEPSImageRep
|
||||
|
||||
+ (BOOL) canInitWithData: (NSData *)data
|
||||
|
@ -128,10 +124,7 @@
|
|||
{
|
||||
[self prepareGState];
|
||||
|
||||
[_pageRep _premultiply];
|
||||
[_pageRep draw];
|
||||
|
||||
return YES;
|
||||
return [_pageRep draw];
|
||||
}
|
||||
|
||||
// NSCopying protocol
|
||||
|
|
|
@ -30,10 +30,6 @@
|
|||
#import "AppKit/NSPDFImageRep.h"
|
||||
#import <GNUstepGUI/GSImageMagickImageRep.h>
|
||||
|
||||
@interface NSBitmapImageRep (PrivateMethods)
|
||||
- (void) _premultiply;
|
||||
@end
|
||||
|
||||
@implementation NSPDFImageRep
|
||||
|
||||
+ (BOOL) canInitWithData: (NSData *)imageData
|
||||
|
@ -127,11 +123,7 @@
|
|||
- (BOOL) draw
|
||||
{
|
||||
NSBitmapImageRep *rep = [_pageReps objectAtIndex: _currentPage - 1];
|
||||
|
||||
[rep _premultiply];
|
||||
[rep draw];
|
||||
|
||||
return YES;
|
||||
return [rep draw];
|
||||
}
|
||||
@end
|
||||
|
||||
|
|
|
@ -22,17 +22,17 @@
|
|||
Boston, MA 02111 USA.
|
||||
*/
|
||||
|
||||
#include <AppKit/NSPDFPanel.h>
|
||||
#include <AppKit/NSPDFInfo.h>
|
||||
#include <AppKit/NSWindow.h>
|
||||
#include <AppKit/NSViewController.h>
|
||||
#include <Foundation/NSString.h>
|
||||
#import <AppKit/NSPDFPanel.h>
|
||||
#import <AppKit/NSPDFInfo.h>
|
||||
#import <AppKit/NSWindow.h>
|
||||
#import <AppKit/NSViewController.h>
|
||||
#import <Foundation/NSString.h>
|
||||
|
||||
@implementation NSPDFPanel
|
||||
|
||||
+ (NSPDFPanel *) panel
|
||||
{
|
||||
return nil;
|
||||
return [[self class] alloc] ;
|
||||
}
|
||||
|
||||
- init
|
||||
|
|
|
@ -29,10 +29,6 @@
|
|||
#import <Foundation/NSArray.h>
|
||||
#import <GNUstepGUI/GSImageMagickImageRep.h>
|
||||
|
||||
@interface NSBitmapImageRep (PrivateMethods)
|
||||
- (void) _premultiply;
|
||||
@end
|
||||
|
||||
@implementation NSPICTImageRep
|
||||
|
||||
+ (NSArray *) imageUnfilteredFileTypes
|
||||
|
@ -96,9 +92,7 @@
|
|||
// Override to draw the specified page...
|
||||
- (BOOL) draw
|
||||
{
|
||||
[_pageRep _premultiply];
|
||||
[_pageRep draw];
|
||||
return YES;
|
||||
return [_pageRep draw];
|
||||
}
|
||||
@end
|
||||
|
||||
|
|
Loading…
Reference in a new issue