VLCMultiSelectionMenuView.h 1.09 KB
Newer Older
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17
//
//  VLCMultiSelectionMenuView.h
//  VLC for iOS
//
//  Created by Felix Paul Kühne on 09/03/15.
//  Copyright (c) 2015 VideoLAN. All rights reserved.
//

#import "VLCFrostedGlasView.h"

@protocol VLCMultiSelectionViewDelegate <NSObject>

@required
- (void)toggleUILock;
- (void)toggleEqualizer;
- (void)toggleChapterAndTitleSelector;
- (void)toggleRepeatMode;
Soomin Lee's avatar
Soomin Lee committed
18
- (void)toggleShuffleMode;
19 20 21 22 23 24 25 26 27 28 29
- (void)hideMenu;

@end

@interface VLCMultiSelectionMenuView : VLCFrostedGlasView

@property (readwrite, weak) id<VLCMultiSelectionViewDelegate> delegate;

@property (readwrite, assign) BOOL showsEqualizer;
@property (readwrite, assign) BOOL mediaHasChapters;

Tobias's avatar
Tobias committed
30
@property (nonatomic, assign) VLCRepeatMode repeatMode;
Soomin Lee's avatar
Soomin Lee committed
31 32
@property (nonatomic, assign) BOOL shuffleMode;

33 34 35 36 37
@property (nonatomic, strong) UIButton *equalizerButton;
@property (nonatomic, strong) UIButton *chapterSelectorButton;
@property (nonatomic, strong) UIButton *repeatButton;
@property (nonatomic, strong) UIButton *lockButton;
@property (nonatomic, strong) UIButton *shuffleButton;
Tobias's avatar
Tobias committed
38

39
- (void)setDisplayLock:(BOOL)displayLock;
40 41 42
- (CGSize)proposedDisplaySize;

@end