forked from LIJI32/SameBoy
-
Notifications
You must be signed in to change notification settings - Fork 0
/
GBTheme.h
26 lines (16 loc) · 825 Bytes
/
GBTheme.h
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
#import <UIKit/UIKit.h>
@interface GBTheme : NSObject
@property (readonly, direct) UIColor *brandColor;
@property (readonly, direct) UIColor *backgroundGradientTop;
@property (readonly, direct) UIColor *backgroundGradientBottom;
@property (readonly, direct) UIColor *bezelsGradientTop;
@property (readonly, direct) UIColor *bezelsGradientBottom;
@property (readonly, direct) NSString *name;
@property (readonly, direct) bool renderingPreview; // Kind of a hack
@property (readonly, direct) UIImage *horizontalPreview;
@property (readonly, direct) UIImage *verticalPreview;
@property (readonly, direct) bool isDark;
- (instancetype)initDefaultTheme __attribute__((objc_direct));
- (instancetype)initDarkTheme __attribute__((objc_direct));
- (UIImage *)imageNamed:(NSString *)name __attribute__((objc_direct));
@end