summaryrefslogtreecommitdiffstats
path: root/macosx/PictureController.h
diff options
context:
space:
mode:
authorritsuka <[email protected]>2008-05-11 10:09:01 +0000
committerritsuka <[email protected]>2008-05-11 10:09:01 +0000
commit6471e18fd3b30660d5a8a411de73293f777c4f74 (patch)
tree2a95003cd9c42ef10d587ae1b87e7acf14b4f440 /macosx/PictureController.h
parent868a1f9add7181412cdeb521135422f2325cd70f (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.h5
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