//
//  CRLevelIndicator.h
//  CRKit
//
//  Created by Yaroslav Glushchenko on 4/17/11.
//  Copyright 2011 Corner-A. All rights reserved.
//

#import "CRControl.h"

//////////////////////////////////////////////////////////////////////
// Level Indicator
//////////////////////////////////////////////////////////////////////
@interface CRLevelIndicator : CRControl
{
@private
	int			minimum;
	int			maximum;
	int			rating;
	
	int			intermediateRating;
	
@private
	NSImage*	ratingImage;
	NSImage*	ratingBlankImage;
	NSImage*	ratingPlaceholderImage;
	
	BOOL		mouseDragging;
}

@property (nonatomic, assign) int minimum;
@property (nonatomic, assign) int maximum;
@property (nonatomic, assign) int rating;

@property (nonatomic, strong) NSImage* ratingImage;
@property (nonatomic, strong) NSImage* ratingBlankImage;
@property (nonatomic, strong) NSImage* ratingPlaceholderImage;

@end