summaryrefslogtreecommitdiffstats
path: root/macosx/HBPreviewController.h
diff options
context:
space:
mode:
authordynaflash <[email protected]>2009-01-12 18:49:16 +0000
committerdynaflash <[email protected]>2009-01-12 18:49:16 +0000
commit64fedd100c8b801ccba9d4a1b2bf1df7110d4198 (patch)
treed7401e0c2e47bdf0f2a975d1bc536666b3a14895 /macosx/HBPreviewController.h
parent6ee1d1ee7d0be13cd5a842a656b6209a680f202b (diff)
MacGui: Preview Window
- Add a 20 second no mouse movement delay then fade out the hud overlay controls so that the controls are not always visible as long as the cursor is inside the preview area. - Note: the 20 seconds might make a nice setting in preferences. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@2078 b64f7644-9d1e-0410-96f1-a4d463321fa5
Diffstat (limited to 'macosx/HBPreviewController.h')
-rw-r--r--macosx/HBPreviewController.h14
1 files changed, 11 insertions, 3 deletions
diff --git a/macosx/HBPreviewController.h b/macosx/HBPreviewController.h
index 21e262bc2..16dd75e48 100644
--- a/macosx/HBPreviewController.h
+++ b/macosx/HBPreviewController.h
@@ -37,12 +37,16 @@
BOOL isEncoding;
- int MaxOutputWidth;
- int MaxOutputHeight;
+ int MaxOutputWidth;
+ int MaxOutputHeight;
int output_width, output_height, output_par_width, output_par_height;
int display_width;
-
+
+ /* Hud Control Overlay */
+ NSTimer * fHudTimer;
+ int hudTimerSeconds;
+
/* Full Screen Mode Toggle */
IBOutlet NSButton * fFullScreenToggleButton;
IBOutlet NSButton * fPictureSettingsToggleButton;
@@ -77,6 +81,10 @@
- (IBAction)goFullScreen:(id)sender;
- (IBAction)goWindowedScreen:(id)sender;
+/* HUD overlay */
+- (void) startHudTimer;
+- (void) stopHudTimer;
+
/* Movie Previews */
- (void) startReceivingLibhbNotifications;
- (void) stopReceivingLibhbNotifications;