VLCMovieViewController.h 4.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102
  1. /*****************************************************************************
  2. * VLCMovieViewController.h
  3. * VLC for iOS
  4. *****************************************************************************
  5. * Copyright (c) 2013-2017 VideoLAN. All rights reserved.
  6. * $Id$
  7. *
  8. * Authors: Felix Paul Kühne <fkuehne # videolan.org>
  9. * Gleb Pinigin <gpinigin # gmail.com>
  10. *
  11. * Refer to the COPYING file of the official project for license.
  12. *****************************************************************************/
  13. #import <MediaPlayer/MediaPlayer.h>
  14. #import "VLCFrostedGlasView.h"
  15. #import "VLCPlaybackController.h"
  16. @class OBSlider;
  17. @class VLCStatusLabel;
  18. @class VLCHorizontalSwipeGestureRecognizer;
  19. @class VLCVerticalSwipeGestureRecognizer;
  20. @class VLCTimeNavigationTitleView;
  21. @class VLCMovieViewControlPanelView;
  22. typedef NS_ENUM(NSInteger, VLCMovieJumpState) {
  23. VLCMovieJumpStateDefault,
  24. VLCMovieJumpStateForward,
  25. VLCMovieJumpStateBackward
  26. };
  27. @interface VLCMovieViewController : UIViewController <UIActionSheetDelegate, VLCPlaybackControllerDelegate>
  28. @property (nonatomic, strong) IBOutlet UIView *movieView;
  29. @property (nonatomic, strong) IBOutlet VLCTimeNavigationTitleView *timeNavigationTitleView;
  30. @property (nonatomic, strong) IBOutlet UIButton *sleepTimerButton;
  31. @property (nonatomic, strong) IBOutlet VLCStatusLabel *statusLabel;
  32. @property (nonatomic, strong) IBOutlet UIView *playingExternallyView;
  33. @property (nonatomic, strong) IBOutlet UILabel *playingExternallyTitle;
  34. @property (nonatomic, strong) IBOutlet UILabel *playingExternallyDescription;
  35. @property (nonatomic, strong) IBOutlet VLCFrostedGlasView *videoFilterView;
  36. @property (nonatomic, strong) IBOutlet UILabel *hueLabel;
  37. @property (nonatomic, strong) IBOutlet UISlider *hueSlider;
  38. @property (nonatomic, strong) IBOutlet UILabel *contrastLabel;
  39. @property (nonatomic, strong) IBOutlet UISlider *contrastSlider;
  40. @property (nonatomic, strong) IBOutlet UILabel *brightnessLabel;
  41. @property (nonatomic, strong) IBOutlet UISlider *brightnessSlider;
  42. @property (nonatomic, strong) IBOutlet UILabel *saturationLabel;
  43. @property (nonatomic, strong) IBOutlet UISlider *saturationSlider;
  44. @property (nonatomic, strong) IBOutlet UILabel *gammaLabel;
  45. @property (nonatomic, strong) IBOutlet UISlider *gammaSlider;
  46. @property (nonatomic, strong) IBOutlet UIButton *resetVideoFilterButton;
  47. @property (nonatomic, strong) IBOutlet VLCFrostedGlasView *playbackSpeedView;
  48. @property (nonatomic, strong) IBOutlet UISlider *playbackSpeedSlider;
  49. @property (nonatomic, strong) IBOutlet UILabel *playbackSpeedLabel;
  50. @property (nonatomic, strong) IBOutlet UILabel *playbackSpeedIndicator;
  51. @property (nonatomic, strong) IBOutlet UISlider *audioDelaySlider;
  52. @property (nonatomic, strong) IBOutlet UILabel *audioDelayLabel;
  53. @property (nonatomic, strong) IBOutlet UILabel *audioDelayIndicator;
  54. @property (nonatomic, strong) IBOutlet UISlider *spuDelaySlider;
  55. @property (nonatomic, strong) IBOutlet UILabel *spuDelayLabel;
  56. @property (nonatomic, strong) IBOutlet UILabel *spuDelayIndicator;
  57. @property (nonatomic, strong) IBOutlet VLCFrostedGlasView *scrubIndicatorView;
  58. @property (nonatomic, strong) IBOutlet UILabel *currentScrubSpeedLabel;
  59. @property (nonatomic, strong) IBOutlet UILabel *scrubHelpLabel;
  60. @property (nonatomic, strong) IBOutlet UILabel *artistNameLabel;
  61. @property (nonatomic, strong) IBOutlet UILabel *albumNameLabel;
  62. @property (nonatomic, strong) IBOutlet UILabel *trackNameLabel;
  63. @property (nonatomic, strong) IBOutlet UIImageView *artworkImageView;
  64. @property (nonatomic, strong) IBOutlet NSLayoutConstraint *widthConstraint;
  65. - (IBAction)closePlayback:(id)sender;
  66. - (IBAction)minimizePlayback:(id)sender;
  67. - (IBAction)positionSliderAction:(id)sender;
  68. - (IBAction)positionSliderTouchDown:(id)sender;
  69. - (IBAction)positionSliderTouchUp:(id)sender;
  70. - (IBAction)positionSliderDrag:(id)sender;
  71. - (IBAction)toggleTimeDisplay:(id)sender;
  72. - (IBAction)sleepTimer:(id)sender;
  73. - (IBAction)videoFilterSliderAction:(id)sender;
  74. - (IBAction)playbackSliderAction:(id)sender;
  75. - (IBAction)videoDimensionAction:(id)sender;
  76. - (void)toggleRepeatMode;
  77. - (void)toggleShuffleMode;
  78. - (void)toggleEqualizer;
  79. - (void)toggleUILock;
  80. - (void)toggleChapterAndTitleSelector;
  81. - (void)hideMenu;
  82. - (BOOL)rotationIsDisabled;
  83. @end