summaryrefslogtreecommitdiffstats
path: root/macosx/PictureController.h
diff options
context:
space:
mode:
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