//
//  GSTransformGrid.h
//  GlyphsPaletteTransform
//
//  Created by Georg Seifert on 22.01.09.
//  Copyright 2009 schriftgestaltung.de. All rights reserved.
//

#import <GlyphsCore/GlyphsCore.h>

@class GSTransformGrid;

@protocol GSTransformGridDataSource

- (void)transformGrid:(GSTransformGrid *)transformGrid didChangeSelectedCorner:(GSAlignment)selectedCorner;
- (GSAlignment)selectedCornerForTransformGrid:(GSTransformGrid *)transformGrid;

@end

@interface GSTransformGrid : NSButton

@property (nonatomic, strong) NSObject<GSTransformGridDataSource> *dataSource;
@property (nonatomic) GSAlignment selectedCorner;
@property (nonatomic) BOOL selected;

@end
