diff options
author | ritsuka <[email protected]> | 2007-09-08 11:30:39 +0000 |
---|---|---|
committer | ritsuka <[email protected]> | 2007-09-08 11:30:39 +0000 |
commit | a3259dc1b1ce95995d8a83c65382519293cae540 (patch) | |
tree | 5a94a7b4585f5777f6e85813b047cb46f22e255d /macosx/PictureController.h | |
parent | fb339bf1934b8feac7655806aca4f892e9232c29 (diff) |
MacGui:
- Move Picture Settings window in a new nib
- Cleanup main window nib, delete some useless hidden NSTextfField
- Change "Queue" menu item keyboard shortctus to cmd-2
- Add cmd-? keyboard shortcuts to "HandBrake User Guide" menu item
- HandBrake main windows is now shown if the dock icon is clicked and there is no open window
git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@936 b64f7644-9d1e-0410-96f1-a4d463321fa5
Diffstat (limited to 'macosx/PictureController.h')
-rw-r--r-- | macosx/PictureController.h | 36 |
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 |