Fundamental Redesign of the View and Controller
This commit is contained in:
@@ -20,13 +20,9 @@
|
||||
|
||||
#pragma mark Text System Objects
|
||||
@property (readonly, nonatomic, weak) MPExpressionStorage *expressionStorage;
|
||||
@property (readonly, nonatomic, weak) NSLayoutManager *layoutManager;
|
||||
@property (readonly, nonatomic, weak) NSTextContainer *textContainer;
|
||||
@property (readonly, nonatomic, weak) NSTextStorage *textStorage;
|
||||
|
||||
#pragma mark Cache Tree
|
||||
@property (readonly, nonatomic, weak) MPLayout *parent;
|
||||
@property (readonly, nonatomic, strong) NSIndexPath *path;
|
||||
|
||||
#pragma mark Cache Methods
|
||||
// Querying Caches
|
||||
@@ -39,18 +35,14 @@
|
||||
- (void)invalidate;
|
||||
|
||||
#pragma mark Calculation and Drawing Methods
|
||||
// TODO: Implement Small Size
|
||||
// @property (nonatomic) BOOL usesSmallSize;
|
||||
- (NSSize)size;
|
||||
|
||||
- (NSBezierPath *)bezierPath;
|
||||
- (NSBezierPath *)bezierPathAtOrigin:(NSPoint)point;
|
||||
|
||||
- (void)drawAtPoint:(NSPoint)point;
|
||||
|
||||
@end
|
||||
|
||||
@interface MPLayout (MPSubclassImplement)
|
||||
- (MPLayout *)childLayoutAtIndex:(NSUInteger)index; // To be implemented
|
||||
- (NSSize)sizeForChildAtIndex:(NSUInteger)index; // To be implemented
|
||||
- (NSBezierPath *)generateBezierPath; // To be implemented
|
||||
- (NSSize)generateSize; // To be implemented
|
||||
@end
|
||||
Reference in New Issue
Block a user