Lynkeos
1.2
|
#import <MyImageView.h>
Public Member Functions | |
(IBAction) | - doZoom: |
(IBAction) | - moreZoom: |
(IBAction) | - lessZoom: |
(void) | - setImage:offset: |
(NSSize) | - imageSize |
(void) | - initCursors |
(MyIntegerRect) | - getSelection |
(void) | - setSelection:resizable: |
Private Attributes | |
IBOutlet NSSlider * | _zoomSlider |
IBOutlet NSTextField * | _zoomField |
IBOutlet id | _delegate |
NSPoint | _offset |
NSImageRep * | _imageRep |
NSSize | _imageSize |
double | _zoom |
bool | _resizable |
MyIntegerPoint | _selectionOrigin |
MyIntegerPoint | _lastPoint |
MyIntegerRect | _selection |
NSCursor * | _crossCursor |
NSCursor * | _leftCursor |
NSCursor * | _rightCursor |
NSCursor * | _topCursor |
NSCursor * | _bottomCursor |
NSCursor * | _topLeftCursor |
NSCursor * | _topRightCursor |
NSCursor * | _bottomLeftCursor |
NSCursor * | _bottomRightCursor |
NSCursor * | _insideCursor |
NSRect | _left |
NSRect | _right |
NSRect | _top |
NSRect | _bottom |
NSRect | _topLeft |
NSRect | _topRight |
NSRect | _bottomLeft |
NSRect | _bottomRight |
NSRect | _inside |
MySelectingMode | _selectMode |
- (IBAction) doZoom: | (id) | sender |
References _zoomSlider.
References _selection, MyIntegerSize::height, MyIntegerRect::size, and MyIntegerSize::width.
- (NSSize) imageSize |
References _imageSize.
- (void) initCursors |
- (IBAction) lessZoom: | (id) | sender |
References _zoom, and K_MAX_ZOOM.
- (IBAction) moreZoom: | (id) | sender |
References _zoom, and K_MAX_ZOOM.
- (void) setImage: | (NSImage*) | image | |
offset: | (NSPoint) | offset | |
- (void) setSelection: | (MyIntegerRect) | selection | |
resizable: | (bool) | resize | |
- (NSRect) _bottom [private] |
Referenced by MyImageView(SelectionPrivate)::initCursorRectangles.
- (NSCursor *) _bottomCursor [private] |
Referenced by initCursors.
- (NSRect) _bottomLeft [private] |
Referenced by MyImageView(SelectionPrivate)::initCursorRectangles.
- (NSCursor *) _bottomLeftCursor [private] |
Referenced by initCursors.
- (NSRect) _bottomRight [private] |
Referenced by MyImageView(SelectionPrivate)::initCursorRectangles.
- (NSCursor *) _bottomRightCursor [private] |
Referenced by initCursors.
- (NSCursor*) _crossCursor [private] |
Referenced by initCursors.
- (IBOutlet id) _delegate [private] |
- (NSImageRep*) _imageRep [private] |
Referenced by setImage:offset:.
- (NSSize) _imageSize [private] |
Referenced by MyImageView(Zoom)::applyZoom:from:, imageSize, and setImage:offset:.
- (NSRect) _inside [private] |
Referenced by MyImageView(SelectionPrivate)::initCursorRectangles.
- (NSCursor *) _insideCursor [private] |
Referenced by initCursors.
- (MyIntegerPoint) _lastPoint [private] |
- (NSRect) _left [private] |
Referenced by MyImageView(SelectionPrivate)::initCursorRectangles.
- (NSCursor *) _leftCursor [private] |
Referenced by initCursors.
- (NSPoint) _offset [private] |
Referenced by setImage:offset:.
- (bool) _resizable [private] |
Referenced by initCursors, and setSelection:resizable:.
- (NSRect) _right [private] |
Referenced by MyImageView(SelectionPrivate)::initCursorRectangles.
- (NSCursor *) _rightCursor [private] |
Referenced by initCursors.
- (MyIntegerRect) _selection [private] |
Referenced by getSelection, and setSelection:resizable:.
- (MyIntegerPoint) _selectionOrigin [private] |
- (MySelectingMode) _selectMode [private] |
- (NSRect) _top [private] |
Referenced by MyImageView(SelectionPrivate)::initCursorRectangles.
- (NSCursor *) _topCursor [private] |
Referenced by initCursors.
- (NSRect) _topLeft [private] |
Referenced by MyImageView(SelectionPrivate)::initCursorRectangles.
- (NSCursor *) _topLeftCursor [private] |
Referenced by initCursors.
- (NSRect) _topRight [private] |
Referenced by MyImageView(SelectionPrivate)::initCursorRectangles.
- (NSCursor *) _topRightCursor [private] |
Referenced by initCursors.
- (double) _zoom [private] |
Referenced by MyImageView(Zoom)::applyZoom:from:, lessZoom:, moreZoom:, and MyImageView(Zoom)::stepZoom:.
- (IBOutlet NSTextField*) _zoomField [private] |
Referenced by MyImageView(Zoom)::applyZoom:from:.
- (IBOutlet NSSlider*) _zoomSlider [private] |
Referenced by MyImageView(Zoom)::applyZoom:from:, and doZoom:.