News - Added text input support for jar launcher. - Updated MoltenVK to https://github.com/KhronosGroup/MoltenVK/commit/d880f4c Internal changes - Added more handling cases to avoid missing call to pojav_initOpenGL() - Moved custom control’s global functions and properties to ControlLayout. - Moved dylib framework outside its folder, as it’s not necessary to be bundled in framework. - Reusing custom controls to produce flexible buttons in jar launcher, which might be extended in the future. Fixes - Multistage text input (Japanese, Chinese, etc) should now work again. - Pointer lock should now function properly again. - Updated README.md to reflect current stuff
15 lines
549 B
Objective-C
15 lines
549 B
Objective-C
#import <UIKit/UIKit.h>
|
|
#import "ControlButton.h"
|
|
|
|
#define BTN_RECT 80.0, 30.0
|
|
#define BTN_SQUARE 50.0, 50.0
|
|
|
|
NSMutableDictionary* createButton(NSString* name, int* keycodes, NSString* dynamicX, NSString* dynamicY, CGFloat width, CGFloat height);
|
|
|
|
UIColor* convertARGB2UIColor(int argb);
|
|
int convertUIColor2ARGB(UIColor* color);
|
|
int convertUIColor2RGB(UIColor* color);
|
|
BOOL convertLayoutIfNecessary(NSMutableDictionary* dict);
|
|
void generateAndSaveDefaultControl();
|
|
void loadControlObject(UIView* targetView, NSMutableDictionary* controlDictionary);
|