aboutsummaryrefslogtreecommitdiffstats
path: root/Video Tuneup/ViewController.m
diff options
context:
space:
mode:
Diffstat (limited to 'Video Tuneup/ViewController.m')
-rw-r--r--Video Tuneup/ViewController.m17
1 files changed, 16 insertions, 1 deletions
diff --git a/Video Tuneup/ViewController.m b/Video Tuneup/ViewController.m
index 1e6f981..41925b9 100644
--- a/Video Tuneup/ViewController.m
+++ b/Video Tuneup/ViewController.m
@@ -20,7 +20,7 @@ static const NSString *ItemStatusContext;
@implementation ViewController
@synthesize player, playerItem, playerView, playButton, pauseButton, rewindButton, editor, videoNavBar, exportStatus,
-mScrubber, mediaLibraryButton, mediaLibraryPopover, exportButton;
+mScrubber, mediaLibraryButton, mediaLibraryPopover, exportButton, defaultHelpView;
@synthesize internetRequestButton;
@@ -497,6 +497,8 @@ mScrubber, mediaLibraryButton, mediaLibraryPopover, exportButton;
[super viewDidLoad];
self.view.backgroundColor = [[UIColor alloc] initWithPatternImage:[UIImage imageNamed:@"hixs_pattern_evolution.png"]];
+
+ [defaultHelpView setBackgroundColor:[[UIColor alloc] initWithPatternImage:[UIImage imageNamed:@"noisy tile.png"]]];
NSLog(@"viewDidLoad");
@@ -551,4 +553,17 @@ mScrubber, mediaLibraryButton, mediaLibraryPopover, exportButton;
}
}
+- (void)toggleHelpView {
+ if (! [defaultHelpView isHidden]) {
+ [playerView setHidden:NO];
+ [videoNavBar setHidden:NO];
+ [defaultHelpView setHidden:YES];
+ }
+ else {
+ [defaultHelpView setHidden:NO];
+ [playerView setHidden:YES];
+ [videoNavBar setHidden:YES];
+ }
+}
+
@end