Added settings for displaying varying levels of the onscreen controls
This commit is contained in:
parent
7b0a383ad0
commit
809a660506
16 changed files with 220 additions and 81 deletions
|
|
@ -9,6 +9,7 @@
|
|||
#import "StreamView.h"
|
||||
#include <Limelight.h>
|
||||
#import "OnScreenControls.h"
|
||||
#import "DataManager.h"
|
||||
|
||||
@implementation StreamView {
|
||||
CGPoint touchLocation;
|
||||
|
|
@ -18,6 +19,10 @@
|
|||
|
||||
- (void) setupOnScreenControls {
|
||||
onScreenControls = [[OnScreenControls alloc] initWithView:self];
|
||||
DataManager* dataMan = [[DataManager alloc] init];
|
||||
OnScreenControlsLevel level = (OnScreenControlsLevel)[[dataMan retrieveSettings].onscreenControls integerValue];
|
||||
NSLog(@"Setting on-screen controls level: %ld", level);
|
||||
[onScreenControls setLevel:level];
|
||||
}
|
||||
|
||||
- (void)touchesBegan:(NSSet *)touches withEvent:(UIEvent *)event {
|
||||
|
|
|
|||
Loading…
Reference in a new issue