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
58 lines
1.3 KiB
Objective-C
58 lines
1.3 KiB
Objective-C
#import <UIKit/UIKit.h>
|
|
|
|
#import "customcontrols/ControlLayout.h"
|
|
#import "GameSurfaceView.h"
|
|
|
|
BOOL canAppendToLog;
|
|
dispatch_group_t fatalExitGroup;
|
|
|
|
CGRect virtualMouseFrame;
|
|
CGPoint lastVirtualMousePoint;
|
|
|
|
@interface SurfaceViewController : UIViewController
|
|
|
|
@property(nonatomic) ControlLayout *ctrlView;
|
|
@property(nonatomic) GameSurfaceView* surfaceView;
|
|
@property(nonatomic) UIView *touchView;
|
|
@property UIImageView* mousePointerView;
|
|
@property(nonatomic) UIPanGestureRecognizer* scrollPanGesture;
|
|
|
|
@property(nonatomic) UIView* rootView;
|
|
|
|
- (void)sendTouchPoint:(CGPoint)location withEvent:(int)event;
|
|
- (void)updateSavedResolution;
|
|
|
|
+ (BOOL)isRunning;
|
|
|
|
// LogView category
|
|
@property(nonatomic) UITableView* logTableView;
|
|
@property(nonatomic) UIView* logOutputView;
|
|
|
|
// Navigation category
|
|
@property(nonatomic) NSArray *menuArray;
|
|
@property(nonatomic) UITableView *menuView;
|
|
|
|
@end
|
|
|
|
@interface SurfaceViewController(ExternalDisplay)
|
|
|
|
- (void)switchToExternalDisplay;
|
|
- (void)switchToInternalDisplay;
|
|
|
|
@end
|
|
|
|
@interface SurfaceViewController(LogView)
|
|
|
|
+ (void)appendToLog:(NSString *)line;
|
|
+ (void)handleExitCode:(int)code;
|
|
|
|
- (void)viewWillTransitionToSize_LogView:(CGRect)frame;
|
|
|
|
@end
|
|
|
|
@interface SurfaceViewController(Navigation)<UIGestureRecognizerDelegate, UITableViewDataSource, UITableViewDelegate>
|
|
|
|
- (void)viewWillTransitionToSize_Navigation:(CGRect)frame;
|
|
|
|
@end
|