mirror of
https://github.com/thunderbrewhq/thunderbrew
synced 2025-12-16 20:52:30 +00:00
chore: initial commit
This commit is contained in:
commit
70b00c5c38
965 changed files with 264882 additions and 0 deletions
27
src/app/mac/View.mm
Normal file
27
src/app/mac/View.mm
Normal file
|
|
@ -0,0 +1,27 @@
|
|||
#include "app/mac/View.h"
|
||||
#include "app/mac/EngineGLLayerView.h"
|
||||
#include "app/mac/WindowCallbacks.h"
|
||||
#include "gx/gll/GLWindow.h"
|
||||
|
||||
GLWindowCallbacks EngineViewCallbacks = {
|
||||
&MacOnResized,
|
||||
&MacOnMouseDown,
|
||||
&MacOnMouseMoved,
|
||||
&MacOnMouseUp,
|
||||
&MacOnKeyDown,
|
||||
&MacOnKeyUp
|
||||
};
|
||||
|
||||
void AssignEngineViewCallbacks(GLWindowCallbacks* callbacks) {
|
||||
*callbacks = EngineViewCallbacks;
|
||||
|
||||
// TODO
|
||||
// (callbacks + 100) = 0;
|
||||
|
||||
// TODO
|
||||
// dword_12B9F54 = sub_A15850;
|
||||
}
|
||||
|
||||
Class GetEngineViewClass() {
|
||||
return [EngineGLLayerView class];
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue