mirror of
https://github.com/libretro/Play-.git
synced 2025-02-23 05:02:43 +00:00
17 lines
351 B
Objective-C
17 lines
351 B
Objective-C
#import <UIKit/UIKit.h>
|
|
#include "PH_Generic.h"
|
|
|
|
@interface VirtualPadItem : NSObject
|
|
|
|
@property CGRect bounds;
|
|
@property(weak) UITouch* touch;
|
|
@property CPH_Generic* padHandler;
|
|
@property UIImage* image;
|
|
|
|
- (void)draw:(CGContextRef)context;
|
|
- (void)onPointerDown:(CGPoint)position;
|
|
- (void)onPointerMove:(CGPoint)position;
|
|
- (void)onPointerUp;
|
|
|
|
@end
|