VLCMovieViewController.h 3.55 KB
Newer Older
Felix Paul Kühne's avatar
Felix Paul Kühne committed
1 2 3 4 5 6 7 8 9
//
//  VLCDetailViewController.h
//  AspenProject
//
//  Created by Felix Paul Kühne on 27.02.13.
//  Copyright (c) 2013 VideoLAN. All rights reserved.
//

#import <UIKit/UIKit.h>
10
#import "VLCStatusLabel.h"
11 12
#import "VLCHorizontalSwipeGestureRecognizer.h"
#import "VLCVerticalSwipeGestureRecognizer.h"
13
#import "OBSlider.h"
Felix Paul Kühne's avatar
Felix Paul Kühne committed
14

15
@interface VLCMovieViewController : UIViewController <VLCMediaPlayerDelegate, UIActionSheetDelegate, VLCHorizontalSwipeGestureRecognizer, VLCVerticalSwipeGestureRecognizer>
Felix Paul Kühne's avatar
Felix Paul Kühne committed
16

Felix Paul Kühne's avatar
Felix Paul Kühne committed
17 18
@property (nonatomic, strong) IBOutlet UIView *movieView;
@property (nonatomic, strong) IBOutlet UIBarButtonItem *backButton;
19
@property (nonatomic, strong) IBOutlet OBSlider *positionSlider;
20
@property (nonatomic, strong) IBOutlet UILabel *timeDisplay;
Felix Paul Kühne's avatar
Felix Paul Kühne committed
21 22 23 24 25
@property (nonatomic, strong) IBOutlet UIButton *playPauseButton;
@property (nonatomic, strong) IBOutlet UIButton *bwdButton;
@property (nonatomic, strong) IBOutlet UIButton *fwdButton;
@property (nonatomic, strong) IBOutlet UIButton *subtitleSwitcherButton;
@property (nonatomic, strong) IBOutlet UIButton *audioSwitcherButton;
26
@property (nonatomic, strong) IBOutlet UINavigationBar *toolbar;
Felix Paul Kühne's avatar
Felix Paul Kühne committed
27
@property (nonatomic, strong) IBOutlet UIView *controllerPanel;
28
@property (nonatomic, strong) IBOutlet VLCStatusLabel *statusLabel;
Felix Paul Kühne's avatar
Felix Paul Kühne committed
29 30 31 32 33

@property (nonatomic, strong) IBOutlet UIView *playingExternallyView;
@property (nonatomic, strong) IBOutlet UILabel *playingExternallyTitle;
@property (nonatomic, strong) IBOutlet UILabel *playingExternallyDescription;

34 35 36 37 38 39 40 41 42 43 44 45
@property (nonatomic, strong) IBOutlet UIView *videoFilterView;
@property (nonatomic, strong) IBOutlet UIButton *videoFilterButton;
@property (nonatomic, strong) IBOutlet UILabel *hueLabel;
@property (nonatomic, strong) IBOutlet UISlider *hueSlider;
@property (nonatomic, strong) IBOutlet UILabel *contrastLabel;
@property (nonatomic, strong) IBOutlet UISlider *contrastSlider;
@property (nonatomic, strong) IBOutlet UILabel *brightnessLabel;
@property (nonatomic, strong) IBOutlet UISlider *brightnessSlider;
@property (nonatomic, strong) IBOutlet UILabel *saturationLabel;
@property (nonatomic, strong) IBOutlet UISlider *saturationSlider;
@property (nonatomic, strong) IBOutlet UILabel *gammaLabel;
@property (nonatomic, strong) IBOutlet UISlider *gammaSlider;
46
@property (nonatomic, strong) IBOutlet UIButton *resetVideoFilterButton;
47

48 49
@property (nonatomic, strong) IBOutlet UIView *playbackSpeedView;
@property (nonatomic, strong) IBOutlet UIButton *playbackSpeedButton;
50 51 52 53 54
@property (nonatomic, strong) IBOutlet UISlider *playbackSpeedSlider;
@property (nonatomic, strong) IBOutlet UILabel *playbackSpeedLabel;
@property (nonatomic, strong) IBOutlet UILabel *playbackSpeedIndicator;
@property (nonatomic, strong) IBOutlet UIButton *aspectRatioButton;

55 56 57 58
@property (nonatomic, strong) IBOutlet UIView *scrubIndicatorView;
@property (nonatomic, strong) IBOutlet UILabel *currentScrubSpeedLabel;
@property (nonatomic, strong) IBOutlet UILabel *scrubHelpLabel;

Felix Paul Kühne's avatar
Felix Paul Kühne committed
59
@property (nonatomic, strong) MLFile *mediaItem;
60
@property (nonatomic, strong) NSURL *url;
Felix Paul Kühne's avatar
Felix Paul Kühne committed
61

62
- (IBAction)closePlayback:(id)sender;
63

64
- (IBAction)positionSliderAction:(id)sender;
65 66 67
- (IBAction)positionSliderTouchDown:(id)sender;
- (IBAction)positionSliderTouchUp:(id)sender;
- (IBAction)positionSliderDrag:(id)sender;
68

69
- (IBAction)playPause;
70 71 72 73 74
- (IBAction)backward:(id)sender;
- (IBAction)forward:(id)sender;
- (IBAction)switchAudioTrack:(id)sender;
- (IBAction)switchSubtitleTrack:(id)sender;

75 76 77
- (IBAction)videoFilterToggle:(id)sender;
- (IBAction)videoFilterSliderAction:(id)sender;

78 79 80
- (IBAction)playbackSpeedSliderAction:(id)sender;
- (IBAction)videoDimensionAction:(id)sender;

Felix Paul Kühne's avatar
Felix Paul Kühne committed
81
@end