Play-/Source/ui_ios/VirtualPadItem.h

17 lines
350 B
C
Raw Normal View History

2015-10-26 22:26:34 -04:00
#import <UIKit/UIKit.h>
#include "PH_Generic.h"
2015-10-26 22:26:34 -04:00
@interface VirtualPadItem : NSObject
@property CGRect bounds;
@property(weak) UITouch* touch;
@property CPH_Generic* padHandler;
@property UIImage* image;
2015-10-26 22:26:34 -04:00
-(void)draw: (CGContextRef)context;
-(void)onPointerDown: (CGPoint)position;
-(void)onPointerMove: (CGPoint)position;
-(void)onPointerUp;
@end