mirror of
https://github.com/SoPat712/YTLitePlus.git
synced 2025-08-21 18:28:47 -04:00
Implement gesture selection
This commit is contained in:
17
YTLitePlus.h
17
YTLitePlus.h
@@ -52,13 +52,28 @@
|
||||
#define IS_ENABLED(k) [[NSUserDefaults standardUserDefaults] boolForKey:k]
|
||||
#define APP_THEME_IDX [[NSUserDefaults standardUserDefaults] integerForKey:@"appTheme"]
|
||||
|
||||
// Enum for Player Gesture selected modes
|
||||
// Avoid issues with multiple includes of this file
|
||||
#pragma once
|
||||
|
||||
// Helper methods for key retrieval
|
||||
#define IsEnabled(key) [[NSUserDefaults standardUserDefaults] boolForKey:key]
|
||||
#define GetSelection(key) [[NSUserDefaults standardUserDefaults] integerForKey:key]
|
||||
|
||||
|
||||
// Player Gesture selected mode enum
|
||||
typedef NS_ENUM(NSUInteger, GestureMode) {
|
||||
GestureModeVolume,
|
||||
GestureModeBrightness,
|
||||
GestureModeSeek,
|
||||
GestureModeInvalid
|
||||
};
|
||||
// Gesture Section Enum
|
||||
typedef NS_ENUM(NSUInteger, GestureSection) {
|
||||
GestureSectionTop,
|
||||
GestureSectionMiddle,
|
||||
GestureSectionBottom,
|
||||
GestureSectionInvalid
|
||||
};
|
||||
|
||||
// YTSpeed
|
||||
@interface YTVarispeedSwitchControllerOption : NSObject
|
||||
|
Reference in New Issue
Block a user