- 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.
20 lines
446 B
Objective-C
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
|