summaryrefslogtreecommitdiffstats
path: root/macosx/HBPreviewController.h
diff options
context:
space:
mode:
authorritsuka <[email protected]>2013-11-02 18:09:06 +0000
committerritsuka <[email protected]>2013-11-02 18:09:06 +0000
commitb94f4686f052a9129c54b0bb5af39d6e86554872 (patch)
tree0a8f2e4b3e8dd0e55f9cb4c63dd5d7cbd4fb171d /macosx/HBPreviewController.h
parent4da46e1fe6b357db3434553f67acf06e3a0ac58b (diff)
MacGUI: refactor PictureController. kill a bit of dead code (~500 lines), switch some ivars to properties, hide the private methods and rework the deinterlace logic. Plus UI alignment.
git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@5869 b64f7644-9d1e-0410-96f1-a4d463321fa5
Diffstat (limited to 'macosx/HBPreviewController.h')
-rw-r--r--macosx/HBPreviewController.h5
1 files changed, 3 insertions, 2 deletions
diff --git a/macosx/HBPreviewController.h b/macosx/HBPreviewController.h
index 420e2831e..99a8c3393 100644
--- a/macosx/HBPreviewController.h
+++ b/macosx/HBPreviewController.h
@@ -68,7 +68,8 @@
IBOutlet NSTextField * fPreviewMovieStatusField;
IBOutlet NSPopUpButton * fPreviewMovieLengthPopUp; // popup of choices for length of preview in seconds
}
-- (id)init;
+
+@property (nonatomic, readwrite) BOOL deinterlacePreview;
- (void) SetHandle: (hb_handle_t *) handle;
- (void) SetTitle: (hb_title_t *) title;
@@ -120,7 +121,7 @@
- (IBAction) previewDurationPopUpChanged: (id) sender;
-+ (NSImage *) makeImageForPicture: (NSInteger)pictureIndex
+- (NSImage *) makeImageForPicture: (NSInteger)pictureIndex
libhb:(hb_handle_t*)handle
title:(hb_title_t*)title;
- (NSImage *) imageForPicture: (NSInteger) pictureIndex;