Frameworks/AIUtilities Framework/Source/AIImageCollectionView.h
branchadium-1.5.11
changeset 6016 325e2ab3406f
parent 3884 3113b7777263
equal deleted inserted replaced
6014:fcb71cb71a3d 6016:325e2ab3406f
    25  *
    25  *
    26  * Displays images in a grid
    26  * Displays images in a grid
    27  * supports item highlighting and selection
    27  * supports item highlighting and selection
    28  */
    28  */
    29 @interface AIImageCollectionView : NSCollectionView {
    29 @interface AIImageCollectionView : NSCollectionView {
    30 
       
    31 	id <AIImageCollectionViewDelegate> delegate;
       
    32 
       
    33 @protected
    30 @protected
    34 	IBOutlet NSArrayController *itemsController;
    31 	IBOutlet NSArrayController *itemsController;
    35 	
    32 	
    36 	NSInteger highlightStyle;
    33 	NSInteger highlightStyle;
    37 	CGFloat highlightSize;
    34 	CGFloat highlightSize;
    38 	CGFloat highlightCornerRadius;
    35 	CGFloat highlightCornerRadius;
    39 
    36 
    40 	NSUInteger highlightedIndex;
    37 	NSUInteger highlightedIndex;
    41 }
    38 }
    42 
    39 
    43 @property (readwrite, assign, nonatomic) id <AIImageCollectionViewDelegate> delegate;
    40 @property (readwrite, assign) id <AIImageCollectionViewDelegate, NSCollectionViewDelegate> delegate;
    44 
    41 
    45 @property (assign) IBOutlet NSArrayController *itemsController;
    42 @property (assign) IBOutlet NSArrayController *itemsController;
    46 
    43 
    47 @property (assign) NSInteger highlightStyle;
    44 @property (assign) NSInteger highlightStyle;
    48 @property (assign) CGFloat highlightSize;
    45 @property (assign) CGFloat highlightSize;