//
//  GSGlyphsPreview.h
//  GlyphsExternal
//
//  Created by Georg Seifert on 24.09.09.
//  Copyright 2009 schriftgestaltung.de. All rights reserved.
//

@class GSEditViewController;

@interface GSGlyphsPreview : NSView

@property (nonatomic, weak) IBOutlet GSEditViewController *controller;
@property (nonatomic) CGFloat scale;
@property (nonatomic, weak) IBOutlet NSButton *flipButton;
@property (nonatomic) CGFloat radius;
@property (nonatomic) BOOL black;
@property (nonatomic) BOOL flip;
@property (nonatomic) BOOL checkBounds;

@property (nonatomic) NSPoint offset;

@property (nonatomic) CGFloat extraSpacing;
@property (nonatomic) CGFloat selectionOffset;

@property (nonatomic, readonly, getter=isExpanded) BOOL expanded;

- (IBAction)controlTextDidChange:(id)sender;

- (void)update;

- (NSColor *)canvasColor;
@end
