includes on screen controls

This commit is contained in:
Long Le
2023-06-27 14:13:05 -07:00
parent 1c90ee607a
commit 6740a7130b
48 changed files with 2474 additions and 176 deletions
@@ -0,0 +1,26 @@
//
// ToolBarContainerView.m
// Moonlight
//
// Created by Long Le on 12/10/22.
// Copyright © 2022 Moonlight Game Streaming Project. All rights reserved.
//
#import "ToolBarContainerView.h"
@implementation ToolBarContainerView
- (BOOL) pointInside:(CGPoint)point withEvent:(UIEvent *)event {
for (UIView *view in self.subviews) {
if (!view.hidden && view.alpha > 0 &&
view.userInteractionEnabled &&
[view pointInside:[self convertPoint:point toView:view] withEvent:event])
return YES;
}
return NO;
}
@end