Files
PojavLauncher_iOS/Natives/customcontrols/ControlButton.h
T
Duy Tran Khanh 0668d016bf Changes
- Added Caciocavallo (libawt_xawt stubs) support library.
- Added support lauching Minecraft 1.5.2 and older (requires latest
JRE8 build)
- [Custom controls] Implemented opacity property.
- Version info is now updated through macro instead of `sed` command.
2021-08-01 10:41:02 +07:00

20 lines
446 B
Objective-C

#import <UIKit/UIKit.h>
/**
* Custom controls have similar format as Android.
*
* Android - iOS:
* ControlButton - same
* ControlData - NSDictionary
*/
@interface ControlButton : UIButton {
}
@property(nonatomic, strong) NSMutableDictionary* properties;
+ (id)initWithProperties:(NSMutableDictionary *)propArray;
+ (id)initWithName:(NSString *)name keycode:(int)keycode rect:(CGRect)rect transparency:(float)transparency;
@end