2020-03-07 19:30:59 +01:00
|
|
|
//
|
2020-04-07 13:48:12 +02:00
|
|
|
// ThemeImage.h
|
2020-03-07 19:30:59 +01:00
|
|
|
// 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
|
|
|
|
|
2020-04-07 13:48:12 +02:00
|
|
|
@interface ThemeImage : NSImage
|
|
|
|
@property (nonatomic, strong) NSData * _Nonnull pngData;
|
2020-04-22 18:01:22 +02:00
|
|
|
- (id _Nullable)initWithData:(nonnull NSData *)data
|
|
|
|
error:(NSError *_Nullable*_Nullable)errorPtr
|
|
|
|
atPath:(nonnull NSString *)path;
|
2020-03-07 19:30:59 +01:00
|
|
|
@end
|
|
|
|
|
|
|
|
//NS_ASSUME_NONNULL_END
|