chore: initial commit

This commit is contained in:
fallenoak 2023-01-02 13:17:18 -06:00
commit 70b00c5c38
No known key found for this signature in database
GPG key ID: 7628F8E61AEA070D
965 changed files with 264882 additions and 0 deletions

85
test/stub/Mac.mm Normal file
View file

@ -0,0 +1,85 @@
#include "gx/gll/GLLayerView.h"
#include "app/mac/MacClient.h"
#include "app/mac/View.h"
void AssignEngineViewCallbacks(GLWindowCallbacks* callbacks) {
}
Class GetEngineViewClass() {
return nullptr;
}
double MacClient::GetMouseSpeed() {
return 0.0;
}
void MacClient::SetMouseCoalescingEnabled(bool enabled) {
}
@implementation GLLayerView
- (BOOL)acceptsFirstResponder {
return YES;
}
- (GLWindowCallbacks*)callbacks {
return nullptr;
}
- (void)drawRect:(NSRect)dirtyRect {
}
- (id)initWithFrame:(NSRect)frame glWindow:(GLWindow*)window {
return self;
}
- (void)setGLWindow:(GLWindow*)window {
}
- (CGDirectDisplayID)findMyDisplay {
return 0;
}
- (void)keyDown:(NSEvent*)event {
}
- (void)keyUp:(NSEvent*)event {
}
- (void)mouseDown:(NSEvent*)event {
}
- (void)mouseDragged:(NSEvent*)event {
}
- (void)mouseMoved:(NSEvent*)event {
}
- (void)mouseUp:(NSEvent*)event {
}
- (void)otherMouseDown:(NSEvent*)event {
}
- (void)otherMouseDragged:(NSEvent*)event {
}
- (void)otherMouseUp:(NSEvent*)event {
}
- (void)rightMouseDown:(NSEvent*)event {
}
- (void)rightMouseDragged:(NSEvent*)event {
}
- (void)rightMouseUp:(NSEvent*)event {
}
- (void)scrollWheel:(NSEvent*)event {
}
- (void)update {
}
@end