VLCMovieViewController.h 4.46 KB
Newer Older
1 2 3 4
/*****************************************************************************
 * VLCMovieViewController.h
 * VLC for iOS
 *****************************************************************************
5
 * Copyright (c) 2013-2015 VideoLAN. All rights reserved.
6 7 8 9 10 11 12
 * $Id$
 *
 * Authors: Felix Paul Kühne <fkuehne # videolan.org>
 *          Gleb Pinigin <gpinigin # gmail.com>
 *
 * Refer to the COPYING file of the official project for license.
 *****************************************************************************/
Felix Paul Kühne's avatar
Felix Paul Kühne committed
13

14
#import <MediaPlayer/MediaPlayer.h>
15
#import "VLCFrostedGlasView.h"
16
#import "VLCPlaybackController.h"
Felix Paul Kühne's avatar
Felix Paul Kühne committed
17

18 19 20 21
@class OBSlider;
@class VLCStatusLabel;
@class VLCHorizontalSwipeGestureRecognizer;
@class VLCVerticalSwipeGestureRecognizer;
22
@class VLCTimeNavigationTitleView;
23
@class VLCMovieViewControlPanelViewController;
24

25
@interface VLCMovieViewController : UIViewController <UIActionSheetDelegate, VLCPlaybackControllerDelegate>
Felix Paul Kühne's avatar
Felix Paul Kühne committed
26

Felix Paul Kühne's avatar
Felix Paul Kühne committed
27 28
@property (nonatomic, strong) IBOutlet UIView *movieView;
@property (nonatomic, strong) IBOutlet UIBarButtonItem *backButton;
29
@property (nonatomic, strong) IBOutlet VLCTimeNavigationTitleView *timeNavigationTitleView;
30
@property (nonatomic, strong) IBOutlet UIButton *sleepTimerButton;
31
@property (nonatomic, strong) IBOutlet UINavigationBar *toolbar;
32
@property (nonatomic, strong) IBOutlet UIView *controllerPanel;
33
@property (nonatomic, strong) IBOutlet VLCStatusLabel *statusLabel;
Felix Paul Kühne's avatar
Felix Paul Kühne committed
34 35 36 37 38

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

39
@property (nonatomic, strong) IBOutlet VLCFrostedGlasView *videoFilterView;
40 41 42 43 44 45 46 47 48 49
@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;
50
@property (nonatomic, strong) IBOutlet UIButton *resetVideoFilterButton;
51

52
@property (nonatomic, strong) IBOutlet VLCFrostedGlasView *playbackSpeedView;
53 54 55
@property (nonatomic, strong) IBOutlet UISlider *playbackSpeedSlider;
@property (nonatomic, strong) IBOutlet UILabel *playbackSpeedLabel;
@property (nonatomic, strong) IBOutlet UILabel *playbackSpeedIndicator;
56 57 58 59 60 61
@property (nonatomic, strong) IBOutlet UISlider *audioDelaySlider;
@property (nonatomic, strong) IBOutlet UILabel *audioDelayLabel;
@property (nonatomic, strong) IBOutlet UILabel *audioDelayIndicator;
@property (nonatomic, strong) IBOutlet UISlider *spuDelaySlider;
@property (nonatomic, strong) IBOutlet UILabel *spuDelayLabel;
@property (nonatomic, strong) IBOutlet UILabel *spuDelayIndicator;
62

63
@property (nonatomic, strong) IBOutlet VLCFrostedGlasView *scrubIndicatorView;
64 65 66
@property (nonatomic, strong) IBOutlet UILabel *currentScrubSpeedLabel;
@property (nonatomic, strong) IBOutlet UILabel *scrubHelpLabel;

67 68 69
@property (nonatomic, strong) IBOutlet UILabel *artistNameLabel;
@property (nonatomic, strong) IBOutlet UILabel *albumNameLabel;
@property (nonatomic, strong) IBOutlet UILabel *trackNameLabel;
70
@property (nonatomic, strong) IBOutlet UIImageView *artworkImageView;
71

72
@property (nonatomic, weak) VLCMovieViewControlPanelViewController *controlPanelController;
73

74
- (IBAction)closePlayback:(id)sender;
75
- (IBAction)minimizePlayback:(id)sender;
76

77
- (IBAction)positionSliderAction:(id)sender;
78 79 80
- (IBAction)positionSliderTouchDown:(id)sender;
- (IBAction)positionSliderTouchUp:(id)sender;
- (IBAction)positionSliderDrag:(id)sender;
81
- (IBAction)toggleTimeDisplay:(id)sender;
82

83
- (IBAction)playPause;
84 85
- (IBAction)backward:(id)sender;
- (IBAction)forward:(id)sender;
86
- (IBAction)switchTrack:(id)sender;
87
- (IBAction)sleepTimer:(id)sender;
88
- (IBAction)moreActions:(id)sender;
89

90 91 92
- (IBAction)videoFilterToggle:(id)sender;
- (IBAction)videoFilterSliderAction:(id)sender;

93
- (IBAction)playbackSliderAction:(id)sender;
94 95
- (IBAction)videoDimensionAction:(id)sender;

96
- (void)toggleRepeatMode;
Soomin Lee's avatar
Soomin Lee committed
97
- (void)toggleShuffleMode;
98 99 100 101 102
- (void)toggleEqualizer;
- (void)toggleUILock;
- (void)toggleChapterAndTitleSelector;
- (void)hideMenu;

103 104
- (BOOL)rotationIsDisabled;

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