Revision 2, 0.6 KB
(checked in by jon, 16 years ago)
|
Initial commit of skeletal project.
|
Line | |
---|
1 | // |
---|
2 | // AIScaledImageCell.h |
---|
3 | // AIUtilities.framework |
---|
4 | // |
---|
5 | // Created by Adam Iser on 8/17/04. |
---|
6 | // |
---|
7 | |
---|
8 | /*! |
---|
9 | * @class AIScaledImageCell |
---|
10 | * @brief An <tt>NSImageCell</tt> subclass which scales its image to fit. |
---|
11 | * |
---|
12 | * An <tt>NSImageCell</tt> subclass which scales its image to fit. The image will be scaled proportionally if needed, modifying the size in the optimal direction. |
---|
13 | */ |
---|
14 | @interface AIScaledImageCell : NSImageCell { |
---|
15 | BOOL isHighlighted; |
---|
16 | |
---|
17 | NSSize maxSize; |
---|
18 | } |
---|
19 | |
---|
20 | /* |
---|
21 | * @brief Set the maximum image size |
---|
22 | * |
---|
23 | * A 0 width or height indicates no maximum. The default is NSZeroSize, no maximum besides the cell bounds. |
---|
24 | */ |
---|
25 | - (void)setMaxSize:(NSSize)inMaxSize; |
---|
26 | |
---|
27 | @end |
---|