mirror of
https://github.com/thunderbrewhq/thunderbrew
synced 2025-12-12 11:12:29 +00:00
19 lines
418 B
C++
19 lines
418 B
C++
#ifndef APP_MAC_WINDOW_CALLBACKS_H
|
|
#define APP_MAC_WINDOW_CALLBACKS_H
|
|
|
|
#include <cstdint>
|
|
#include <AppKit/AppKit.h>
|
|
|
|
void MacOnKeyDown(NSEvent* event);
|
|
|
|
void MacOnKeyUp(NSEvent* event);
|
|
|
|
void MacOnMouseDown(int16_t button, int32_t x, int32_t y);
|
|
|
|
void MacOnMouseMoved(int32_t x, int32_t y);
|
|
|
|
void MacOnMouseUp(int16_t button, int32_t x, int32_t y);
|
|
|
|
void MacOnResized(int32_t width, int32_t height, bool a3);
|
|
|
|
#endif
|