mirror of
https://github.com/CloverHackyColor/CloverBootloader.git
synced 2024-12-17 15:18:06 +01:00
c8969630f3
Introduced a real Property List Editor. Fixed Theme manager engine. Other minor fixes
21 lines
472 B
Objective-C
21 lines
472 B
Objective-C
//
|
|
// ThemeImage.h
|
|
// Clover
|
|
//
|
|
// Created by vector sigma on 07/03/2020.
|
|
// Copyright © 2020 CloverHackyColor. All rights reserved.
|
|
//
|
|
|
|
#import <Cocoa/Cocoa.h>
|
|
#include "lodepng.h"
|
|
#import "libimagequant.h"
|
|
|
|
//NS_ASSUME_NONNULL_BEGIN
|
|
|
|
@interface ThemeImage : NSImage
|
|
@property (nonatomic, strong) NSData * _Nonnull pngData;
|
|
- (id _Nullable)initWithThemeImageAtPath:(nonnull NSString *)path error:(NSError *_Nullable*_Nullable)errorPtr;
|
|
@end
|
|
|
|
//NS_ASSUME_NONNULL_END
|