diff options
author | ritsuka <[email protected]> | 2008-05-11 10:09:01 +0000 |
---|---|---|
committer | ritsuka <[email protected]> | 2008-05-11 10:09:01 +0000 |
commit | 6471e18fd3b30660d5a8a411de73293f777c4f74 (patch) | |
tree | 2a95003cd9c42ef10d587ae1b87e7acf14b4f440 /macosx/PictureController.h | |
parent | 868a1f9add7181412cdeb521135422f2325cd70f (diff) |
MacGUI: Make PictureController a subclass of NSWindowController. Patch by blindjimmy.
git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@1457 b64f7644-9d1e-0410-96f1-a4d463321fa5
Diffstat (limited to 'macosx/PictureController.h')
-rw-r--r-- | macosx/PictureController.h | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/macosx/PictureController.h b/macosx/PictureController.h index 787283efd..e1cef2da9 100644 --- a/macosx/PictureController.h +++ b/macosx/PictureController.h @@ -10,7 +10,7 @@ #define HB_NUM_HBLIB_PICTURES 10 // hbilb generates 10 preview pictures -@interface PictureController : NSObject +@interface PictureController : NSWindowController { hb_handle_t * fHandle; hb_title_t * fTitle; @@ -18,8 +18,6 @@ NSMutableDictionary * fPicturePreviews; // NSImages, one for each preview libhb creates, created lazily int fPicture; - IBOutlet NSPanel * fPicturePanel; - IBOutlet NSImageView * fPictureView; IBOutlet NSBox * fPictureViewArea; IBOutlet NSTextField * fWidthField; @@ -98,7 +96,6 @@ - (void) setDeblock: (int) setting; - (void)showPanelInWindow: (NSWindow *)fWindow forTitle: (hb_title_t *)title; -- (BOOL) loadMyNibFile; + (NSImage *) makeImageForPicture: (int)pictureIndex libhb:(hb_handle_t*)handle |