VLCVolumeView.h 807 B

12345678910111213141516171819202122
  1. /*****************************************************************************
  2. * VLCVolumeView.h
  3. * VLC for iOS
  4. *****************************************************************************
  5. * Copyright (c) 2015 VideoLAN. All rights reserved.
  6. * $Id$
  7. *
  8. * Author: Tobias Conradi <videolan # tobias-conradi.de>
  9. *
  10. * Refer to the COPYING file of the official project for license.
  11. *****************************************************************************/
  12. #import <MediaPlayer/MediaPlayer.h>
  13. // overrides the rect methods of MPVolumeView to fix the slider and button
  14. // hanging at the top of the view when the volume view has not the "original" size
  15. @interface VLCVolumeView : MPVolumeView
  16. - (CGRect)volumeSliderRectForBounds:(CGRect)bounds;
  17. - (CGRect)routeButtonRectForBounds:(CGRect)bounds;
  18. @end