//
//  CRBackgroundSelector.h
//  CRGraphics
//
//  Created by Yaroslav Glushchenko on 4/7/10.
//  Copyright 2010 Corner-A. All rights reserved.
//

@class CRBackgroundProvider;

//////////////////////////////////////////////////////////////////////
// CRBackgroundProvider selector control
//////////////////////////////////////////////////////////////////////
@interface CRBackgroundSelector : CRControl
{
	NSArray*				providersSet;
	CRBackgroundProvider*	provider;
	NSUInteger				selectedProviderIndex;
	CIImage*				thumbnail;
	
	NSMenu*					providersMenu;
}

@property (strong) NSArray*					providersSet;
@property (strong) CRBackgroundProvider*	provider;
@property (assign) NSUInteger				selectedProviderIndex;

@end