//
//  MCTextWrapWithTruncateView.h
//  MCApplication
//
//  Created by Eric Hochmeister on 10/20/05.
//  Copyright 2005 __MyCompanyName__. All rights reserved.
//

#import <Cocoa/Cocoa.h>


@interface MCTextWrapWithTruncateView : NSView {

    NSTextStorage*    viewText;
    float             maxHeight;
    float             lastHeightDiff;
    NSFont*           font;
}

- (NSTextStorage *)viewText;
- (void)setViewText:(NSTextStorage *)aViewText;

- (NSString*)string;
- (void)setString:(NSString*)aString;

- (void)setAttributedString:(NSAttributedString*)attrString;

- (NSFont*)font;
- (void)setFont:(NSFont*)aFont;

- (float)maxHeight;
- (void)setMaxHeight:(float)aHeight;

- (float)lastHeightDiff;
- (void)setLastHeightDiff:(float)aLastHeightDiff;

- (void)update;

@end
