Logo Search packages:      
Sourcecode: viewpdf.app version File versions  Download package

- (void) setPaperColor: (NSColor *)  aColor   [implementation]

Set the paper color. This is the color that has to be used for the content background. A view may decide to ignore a custom paper color. Each view must maintain an initial paper color, it cannot assume that the color is set from outside.

Reimplemented from < PDFContentView >.

Definition at line 89 of file SinglePageView.m.

References paperColor.

                      : (NSColor*)aColor
   [paperColor release];
   paperColor = [aColor retain];
   [self setNeedsDisplay: YES];

Generated by  Doxygen 1.6.0   Back to index