mirror of
https://github.com/thunderbrewhq/thunderbrew
synced 2025-12-12 11:12:29 +00:00
chore: initial commit
This commit is contained in:
commit
70b00c5c38
965 changed files with 264882 additions and 0 deletions
85
test/stub/Mac.mm
Normal file
85
test/stub/Mac.mm
Normal 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
|
||||
Loading…
Add table
Add a link
Reference in a new issue