fix: present LUT browser through FxPlug host window and refine native controls

这个提交包含在:
mac 于 2026-10-31 03:48:44 +08:00 提交
1 父节点 61ea1c64a0
当前提交 2e7ab4b052
7 个文件已更改
+113 -40

没有与搜索条件相匹配的文件

+4
查看文件
@@ -5,12 +5,16 @@
/// A nonmodal browser. Selecting a validated thumbnail applies that LUT.
/// All UI and selection callbacks run on the main thread.
@interface DYLUTBrowser : NSWindowController
@property(nonatomic,readonly) BOOL visible;
- (instancetype)initWithLibrary:(DYLUTLibrary *)library
preview:(NSData *)rgba
selectedPath:(NSString *)path
palette:(NSDictionary *)palette
selection:(void (^)(NSString *path))selection;
- (void)showRelativeToView:(NSView *)view;
/// Attach to the FxRemoteWindow API's supplied parent; the caller owns that API.
/// Completion, double-click and close dismiss through closeAction exactly once.
- (void)showInRemoteParent:(NSView *)parent close:(void (^)(void))closeAction;
- (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.