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
30 lines
930 B
Objective-C
30 lines
930 B
Objective-C
#import <UIKit/UIKit.h>
|
|
#import "customcontrols/ControlButton.h"
|
|
#import "customcontrols/ControlLayout.h"
|
|
|
|
@interface ControlHandleView : UIView
|
|
@property(nonatomic, weak) ControlButton* target;
|
|
@end
|
|
|
|
@interface CustomControlsViewController : UIViewController
|
|
|
|
@property(nonatomic) UIGestureRecognizer* currentGesture;
|
|
|
|
@property(nonatomic) ControlLayout* ctrlView;
|
|
@property(nonatomic) ControlHandleView* resizeView;
|
|
|
|
- (void)initKeyCodeMap;
|
|
|
|
@end
|
|
|
|
@interface CustomControlsViewController(UndoManager)
|
|
- (void)doAddButton:(ControlButton *)button atIndex:(NSNumber *)index;
|
|
- (void)doRemoveButton:(ControlButton *)button;
|
|
- (void)doMoveOrResizeButton:(ControlButton *)button from:(CGRect)from to:(CGRect)to;
|
|
- (void)doUpdateButton:(ControlButton *)button from:(NSMutableDictionary *)from to:(NSMutableDictionary *)to;
|
|
@end
|
|
|
|
@interface CCMenuViewController : UIViewController
|
|
@property(nonatomic) ControlButton* targetButton;
|
|
@end
|