00001 #import <Cocoa/Cocoa.h>
00002
00008 @interface TFPointModel : NSObject {
00009
00010 NSColor * _color;
00011 NSPoint _position;
00013 bool fix;
00014 bool undeleteable;
00015 }
00016
00017 @property bool fix;
00018 @property bool undeleteable;
00019
00023 + (TFPointModel*) createWithPosition:(NSPoint)position Color:(NSColor *)color isFixed:(bool) fix isUndeleteable:(bool) undeleteable;
00027 - (TFPointModel*) initWithPosition:(NSPoint)position Color:(NSColor *)color isFixed:(bool) fix isUndeleteable:(bool) undeleteable;
00028
00032 - (void) setColor:(NSColor*) color;
00036 - (NSColor*) color;
00037
00041 - (void) setPosition:(NSPoint) position;
00045 - (NSPoint) position;
00046
00050 - (NSComparisonResult)comparePosition:(TFPointModel*)point;
00051
00052 @end