19 行
795 B
Objective-C
19 行
795 B
Objective-C
#import <AppKit/AppKit.h>
|
|
|
|
@class DYLUTLibrary;
|
|
|
|
/// A nonmodal browser. Selecting a validated thumbnail applies that LUT.
|
|
/// All UI and selection callbacks run on the main thread.
|
|
@interface DYLUTBrowser : NSWindowController
|
|
- (instancetype)initWithLibrary:(DYLUTLibrary *)library
|
|
preview:(NSData *)rgba
|
|
selectedPath:(NSString *)path
|
|
palette:(NSDictionary *)palette
|
|
selection:(void (^)(NSString *path))selection;
|
|
- (void)showRelativeToView:(NSView *)view;
|
|
- (void)updatePalette:(NSDictionary *)palette;
|
|
/// Replace the source frame after the renderer captures a new playhead image.
|
|
/// Passing identical bytes keeps the current thumbnail jobs and cache intact.
|
|
- (void)updatePreview:(NSData *)rgba;
|
|
@end
|