summaryrefslogtreecommitdiffstats
path: root/macosx/Controller.h
diff options
context:
space:
mode:
authordynaflash <[email protected]>2009-01-12 00:07:38 +0000
committerdynaflash <[email protected]>2009-01-12 00:07:38 +0000
commit7e73b3884143ae1fb8c8cd9a384c1ef959fa0a86 (patch)
tree3921b193dd1dbf5aafbe206d525ad4d40bf702fb /macosx/Controller.h
parentf2bd5d8c9da510bfc2969d0cf23a68196d61faa5 (diff)
MacGui: Separate Picture Settings and Preview Window Initial Implementation
- Picture Settings is now a hud style inspector panel: -- Allows more room to be displayed along with Main Window. -- Has button (though ugly ... for now) to open the preview window. - Separate Preview Window: -- Preview Window can now show the entire preview content via a hud style overlay controller (ala iTunes, DvdPlayer controls) activated by mouse movement. -- Has button to allow opening the Picture Settings inspector. -- Full Screen Mode (ala iTunes, DvdPlayer) which should help for max preview size for HD sources. - Note: all hud style controls in this implementation are created only using core animation filters, I decided against a third party hud control framework, though one can certainly be implemented at any time. - Known Issues: -- WARNING: Quitting HB while in full screen mode will crash the macgui. -- The hud overlay controls in the Preview Window will align kind of wonky when the resolution is scaled way below the source. -- Ideally, after moving the mouse within the preview area then stopping, after a certain amount of time the hud overlay control box should disappear. -- Hud style controls still need alot of development to fit within the HIG. -- Need a keboard shortcut for the Preview Window. -- As usual with initial implementations there are likely many more Bugs/Issues. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@2076 b64f7644-9d1e-0410-96f1-a4d463321fa5
Diffstat (limited to 'macosx/Controller.h')
-rw-r--r--macosx/Controller.h10
1 files changed, 9 insertions, 1 deletions
diff --git a/macosx/Controller.h b/macosx/Controller.h
index e05b0afd8..6ca336a36 100644
--- a/macosx/Controller.h
+++ b/macosx/Controller.h
@@ -11,6 +11,7 @@
#import "ChapterTitles.h"
#import "PictureController.h"
+#import "HBPreviewController.h"
#import "HBQueueController.h"
#import "HBAdvancedController.h"
#import "HBPreferencesController.h"
@@ -26,6 +27,7 @@ BOOL fIsDragging;
}
@end
+
@interface HBController : NSObject <GrowlApplicationBridgeDelegate>
{
IBOutlet NSWindow * fWindow;
@@ -41,8 +43,10 @@ BOOL fIsDragging;
IBOutlet NSButton * fScanSrcTitleCancelButton;
IBOutlet NSButton * fScanSrcTitleOpenButton;
- /* Picture panel */
+ /* Picture Settings */
PictureController * fPictureController;
+ /* Picture Preview */
+ PreviewController * fPreviewController;
/* Advanced options tab */
HBAdvancedController * fAdvancedOptions;
@@ -299,6 +303,10 @@ BOOL fIsDragging;
- (IBAction) audioDRCSliderChanged: (id) sender;
- (IBAction) showPicturePanel: (id) sender;
+- (void) picturePanelFullScreen;
+- (void) picturePanelWindowed;
+
+- (IBAction) showPreviewWindow: (id) sender;
- (void)pictureSettingsDidChange;
- (IBAction) calculatePictureSizing: (id) sender;
- (IBAction) openMainWindow: (id) sender;