//
//  GSMenuButton.h
//  Glyphs 3
//
//  Created by Georg Seifert on 08.06.21.
//  Copyright © 2021 schriftgestaltung.de. All rights reserved.
//

#import <GlyphsKit/GSMouseOverButton.h>

NS_ASSUME_NONNULL_BEGIN

typedef NS_ENUM(uint8_t, GSMenuPosition) {
	GSMenuPositionAboveAlignLeft = 0,   // Menu above button, left edges aligned
	GSMenuPositionAboveAlignRight = 1,  // Menu above button, right edges aligned
	GSMenuPositionBelowAlignLeft = 2,   // Menu below button, left edges aligned
	GSMenuPositionBelowAlignRight = 3,  // Menu below button, right edges aligned
};

@interface GSMenuButton : GSMouseOverButton

#if !TARGET_OS_IOS
@property GSMenuPosition preferredEdge;
#endif

@end

NS_ASSUME_NONNULL_END
