Makefile: fix path Moved GameSurfaceView to a separate class Renamed MinecraftDownloader to MinecraftResourceUtils Fix: Some versions fails because GLFW_CLIENT_API is not set
28 lines
673 B
Objective-C
28 lines
673 B
Objective-C
#import <UIKit/UIKit.h>
|
|
|
|
/**
|
|
* Custom controls have similar format as Android.
|
|
*
|
|
* Android - iOS:
|
|
* ControlButton - same
|
|
* ControlData - NSDictionary
|
|
*/
|
|
|
|
@interface ControlButton : UIButton {
|
|
}
|
|
|
|
@property BOOL canBeHidden;
|
|
@property(nonatomic, strong) NSMutableDictionary* properties;
|
|
|
|
+ (id)buttonWithProperties:(NSMutableDictionary *)propArray willUpdate:(BOOL)update;
|
|
+ (id)buttonWithProperties:(NSMutableDictionary *)propArray;
|
|
|
|
- (BOOL)canSnap:(ControlButton *)button;
|
|
- (NSString *)generateDynamicX:(CGFloat)x;
|
|
- (NSString *)generateDynamicY:(CGFloat)y;
|
|
- (void)snapAndAlignX:(CGFloat)x Y:(CGFloat)y;
|
|
- (void)preProcessProperties;
|
|
- (void)update;
|
|
|
|
@end
|