summaryrefslogtreecommitdiffstats
path: root/macosx/HBPreviewController.h
diff options
context:
space:
mode:
authordynaflash <[email protected]>2009-01-21 03:46:14 +0000
committerdynaflash <[email protected]>2009-01-21 03:46:14 +0000
commite22c0e8c13d799104e616de5c469cb11b4defca0 (patch)
tree445364840421e5f40d84ec04e29246c8194ba9ce /macosx/HBPreviewController.h
parentcb23938da2747334ee19e359a64db9bb9eec4a55 (diff)
MacGui: Preview Window scale to screen initial implementation
- Allows scaling the preview to fit the screen when in full screen mode. - Also hopefully fixes a bug where multiple cycles of windowed and full screen cause the hud overlay to not appear. - hud overlay delay timer changed from 20 to 10 seconds git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@2091 b64f7644-9d1e-0410-96f1-a4d463321fa5
Diffstat (limited to 'macosx/HBPreviewController.h')
-rw-r--r--macosx/HBPreviewController.h6
1 files changed, 5 insertions, 1 deletions
diff --git a/macosx/HBPreviewController.h b/macosx/HBPreviewController.h
index 278e20a27..28b6eb45f 100644
--- a/macosx/HBPreviewController.h
+++ b/macosx/HBPreviewController.h
@@ -23,7 +23,7 @@
IBOutlet NSWindow * fPreviewWindow;
NSWindow * fFullScreenWindow; // Full Screen window
- NSMutableDictionary * fPicturePreviews; // NSImages, one for each preview libhb creates, created lazily
+ NSMutableDictionary * fPicturePreviews; // NSImages, one for each preview libhb creates, created lazily
int fPicture;
IBOutlet NSImageView * fPictureView;
@@ -33,6 +33,7 @@
IBOutlet NSSlider * fPictureSlider;
IBOutlet NSTextField * fInfoField;
+ IBOutlet NSTextField * fscaleInfoField;
BOOL isEncoding;
@@ -49,8 +50,10 @@
/* Full Screen Mode Toggle */
IBOutlet NSButton * fFullScreenToggleButton;
+ IBOutlet NSButton * fScaleToScreenToggleButton;
IBOutlet NSButton * fPictureSettingsToggleButton;
BOOL isFullScreen;
+ BOOL scaleToScreen;
/* Movie Previews */
IBOutlet NSButton * fCreatePreviewMovieButton;
IBOutlet NSButton * fCancelPreviewMovieButton;
@@ -78,6 +81,7 @@
- (IBAction)showPictureSettings:(id)sender;
/* Full Screen */
- (IBAction)toggleScreenMode:(id)sender;
+- (IBAction)toggleScaleToScreen:(id)sender;
- (BOOL)fullScreen;
- (IBAction)goFullScreen:(id)sender;
- (IBAction)goWindowedScreen:(id)sender;