mirror of
https://github.com/gnustep/libs-gui.git
synced 2025-05-29 19:27:40 +00:00
Clean build
This commit is contained in:
parent
bd8d45d9ff
commit
10a81f89f3
6 changed files with 29 additions and 7 deletions
|
@ -32,33 +32,42 @@
|
|||
|
||||
- (instancetype) initWithData: (NSData *)imageData
|
||||
{
|
||||
self = [super init];
|
||||
if(self != nil)
|
||||
{
|
||||
ASSIGNCOPY(_imageData, imageData);
|
||||
}
|
||||
return self;
|
||||
}
|
||||
|
||||
- (NSRect) bounds
|
||||
{
|
||||
return _bounds;
|
||||
}
|
||||
|
||||
- (void) setBounds: (NSRect)bounds
|
||||
{
|
||||
_bounds = bounds;
|
||||
}
|
||||
|
||||
- (NSInteger) currentPage
|
||||
{
|
||||
return 0;
|
||||
return _currentPage;
|
||||
}
|
||||
|
||||
- (void) setCurrentPage: (NSInteger)currentPage
|
||||
{
|
||||
_currentPage = currentPage;
|
||||
}
|
||||
|
||||
- (NSInteger) pageCount
|
||||
{
|
||||
return 0;
|
||||
return _pageCount;
|
||||
}
|
||||
|
||||
- (NSData *) PDFRepresentation
|
||||
{
|
||||
return nil;
|
||||
return _pdfRepresentation;
|
||||
}
|
||||
|
||||
@end
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue