summaryrefslogtreecommitdiffstats
path: root/macosx/PictureController.h
diff options
context:
space:
mode:
Diffstat (limited to 'macosx/PictureController.h')
-rw-r--r--macosx/PictureController.h36
1 files changed, 24 insertions, 12 deletions
diff --git a/macosx/PictureController.h b/macosx/PictureController.h
index bfc67bb86..9feae1e25 100644
--- a/macosx/PictureController.h
+++ b/macosx/PictureController.h
@@ -21,6 +21,8 @@
int fTexBufSize;
int fPicture;
+ IBOutlet NSPanel * fPicturePanel;
+
IBOutlet HBPictureGLView * fPictureGLView;
IBOutlet NSTextField * fWidthField;
IBOutlet NSStepper * fWidthStepper;
@@ -45,18 +47,15 @@
IBOutlet NSButton * fNextButton;
IBOutlet NSTextField * fInfoField;
-
-
- int MaxOutputWidth;
- int MaxOutputHeight;
-
- /* widgets in main window */
- IBOutlet NSTextField * fAutoCropMainWindow;
- IBOutlet NSTextField * fDeinterlaceLevelMainWindow;
- IBOutlet NSTextField * fDetelecineMainWindow;
- IBOutlet NSPopUpButton * fVidFrameRatePopUpMainWindow;
- IBOutlet NSTextField * fDenoiseMainWindow;
-
+ int MaxOutputWidth;
+ int MaxOutputHeight;
+ BOOL autoCrop;
+
+ struct {
+ int detelecine;
+ int deinterlace;
+ int denoise;
+ } fPictureFilterSettings;
}
@@ -69,4 +68,17 @@
- (IBAction) NextPicture: (id) sender;
- (IBAction) ClosePanel: (id) sender;
+- (BOOL) autoCrop;
+- (void) setAutoCrop: (BOOL) setting;
+
+- (int) detelecine;
+- (void) setDetelecine: (int) setting;
+- (int) deinterlace;
+- (void) setDeinterlace: (int) setting;
+- (int) denoise;
+- (void) setDenoise: (int) setting;
+
+- (void) showPanelInWindow: (NSWindow *) fWindow forTitle:(hb_title_t *)title;
+- (BOOL) loadMyNibFile;
+
@end