git.y1.nz

SameBoy

Accurate GB/GBC emulator
download: https://git.y1.nz/archives/sameboy.tar.gz
README | Files | Log | Refs | LICENSE

iOS/GBTheme.h

      1 #import <UIKit/UIKit.h>
      2 
      3 @interface GBTheme : NSObject
      4 @property (readonly, direct) UIColor *brandColor;
      5 @property (readonly, direct) UIColor *buttonColor;
      6 @property (readonly, direct) UIColor *backgroundGradientTop;
      7 @property (readonly, direct) UIColor *backgroundGradientBottom;
      8 @property (readonly, direct) UIColor *bezelsGradientTop;
      9 @property (readonly, direct) UIColor *bezelsGradientBottom;
     10 
     11 
     12 @property (readonly, direct) NSString *name;
     13 
     14 @property (readonly, direct) bool renderingPreview; // Kind of a hack
     15 
     16 @property (readonly, direct) UIImage *horizontalPreview;
     17 @property (readonly, direct) UIImage *verticalPreview;
     18 
     19 @property (readonly, direct) bool isDark;
     20 
     21 - (instancetype)initDefaultTheme __attribute__((objc_direct));
     22 - (instancetype)initDarkTheme __attribute__((objc_direct));
     23 
     24 
     25 - (UIImage *)imageNamed:(NSString *)name  __attribute__((objc_direct));
     26 
     27 @end

This webpage is intended to be an accessible preview of this repository. To get a fuller picture, clone it and use the git CLI.