Files
PojavLauncher_iOS/Natives/SurfaceViewController.h
T
Duy Tran Khanh b5af92d0f5 JVM crash dump: now shown, disable some Cr4shed handler
When Cr4shed crash handler is on, chaining to it will eventually crash
instead of returning so that JVM can continue perform dump. For now,
signal handlers are reset to default.

abort() is now caught and shown in the launcher.

Temporarily disabled safe area when windowed, until I can properly set
it up, in order to workaround buttons going out of bounds.
2022-11-03 21:12:55 +07:00

47 lines
1.1 KiB
Objective-C

#import <UIKit/UIKit.h>
#import "GameSurfaceView.h"
BOOL canAppendToLog;
dispatch_group_t fatalExitGroup;
CGRect virtualMouseFrame;
CGPoint lastVirtualMousePoint;
@interface SurfaceViewController : UIViewController
@property(nonatomic) GameSurfaceView* surfaceView;
@property UIImageView* mousePointerView;
@property(nonatomic) UIPanGestureRecognizer* scrollPanGesture;
@property(nonatomic) UIView* rootView;
- (void)sendTouchPoint:(CGPoint)location withEvent:(int)event;
+ (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(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