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

#import <UIKit/UIKit.h>

11
@interface VLCMovieViewController : UIViewController <VLCMediaPlayerDelegate, UIActionSheetDelegate>
12 13
{
    VLCMediaPlayer *_mediaPlayer;
14

15
    BOOL _controlsHidden;
16
    BOOL _videoFiltersHidden;
17

18 19
    UIActionSheet *_subtitleActionSheet;
    UIActionSheet *_audiotrackActionSheet;
20 21

    NSTimer *_idleTimer;
22
}
Felix Paul Kühne's avatar
Felix Paul Kühne committed
23

Felix Paul Kühne's avatar
Felix Paul Kühne committed
24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39
@property (nonatomic, strong) IBOutlet UIView *movieView;
@property (nonatomic, strong) IBOutlet UIBarButtonItem *backButton;
@property (nonatomic, strong) IBOutlet UISlider *positionSlider;
@property (nonatomic, strong) IBOutlet UIBarButtonItem *timeDisplay;
@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;
@property (nonatomic, strong) IBOutlet UIToolbar *toolbar;
@property (nonatomic, strong) IBOutlet UIView *controllerPanel;

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

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

Felix Paul Kühne's avatar
Felix Paul Kühne committed
54
@property (nonatomic, strong) MLFile *mediaItem;
Felix Paul Kühne's avatar
Felix Paul Kühne committed
55

56 57 58
- (IBAction)closePlayback:(id)sender;
- (IBAction)positionSliderAction:(id)sender;

59 60 61 62 63 64
- (IBAction)play:(id)sender;
- (IBAction)backward:(id)sender;
- (IBAction)forward:(id)sender;
- (IBAction)switchAudioTrack:(id)sender;
- (IBAction)switchSubtitleTrack:(id)sender;

65 66 67
- (IBAction)videoFilterToggle:(id)sender;
- (IBAction)videoFilterSliderAction:(id)sender;

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