//
//  AMTickerSign.h
//  MBTicker
//
//  Created by Andreas on Wed Aug 20 2003.
//  Copyright (c) 2003 Andreas Mayer. All rights reserved.
//

//  This is an abstract baseclass for ticker objects.
//  Subclasses need to implement -drawAtPoint:


#import <AppKit/AppKit.h>
#import "AMTickerDefinitions.h"
#import "AMTickerDisplayProtocol.h"


@interface AMTickerSign : NSObject <NSCopying, NSCoding> {
	NSString *identifier;
	id <AMTickerDisplayProtocol> display;
	AMScrollDirection scrollDirection;
	BOOL continuousScrolling;
	NSInteger loopCount;
	NSTimeInterval loopDelay;
	NSSize size;
	AMTickerActionType actionType;
	NSString *actionString;
	BOOL needsLayout;
}

@property (copy, nonatomic) NSString *identifier;
@property (assign, nonatomic) id <AMTickerDisplayProtocol> display;
@property (assign, nonatomic) NSSize size;
@property (assign, nonatomic) AMScrollDirection scrollDirection DEPRECATED_ATTRIBUTE;
@property (assign, nonatomic) BOOL continuousScrolling;
@property (assign, nonatomic) NSInteger loopCount;
@property (assign, nonatomic) NSTimeInterval loopDelay;
@property (assign, nonatomic) AMTickerActionType actionType;
@property (copy, nonatomic) NSString *actionString;
@property (assign) BOOL needsLayout;

- (void)drawAtPoint:(NSPoint)point;
// subclasses need to overwrite -drawAtPoint:


@end
