thunderbrew/src/app/mac/WindowCallbacks.h

20 lines
418 B
C
Raw Normal View History

2023-01-02 13:17:18 -06:00
#ifndef APP_MAC_WINDOW_CALLBACKS_H
#define APP_MAC_WINDOW_CALLBACKS_H
#include <cstdint>
#include <AppKit/AppKit.h>
void MacOnKeyDown(NSEvent* event);
2023-01-02 13:17:18 -06:00
void MacOnKeyUp(NSEvent* event);
2023-01-02 13:17:18 -06:00
void MacOnMouseDown(int16_t button, int32_t x, int32_t y);
2023-01-02 13:17:18 -06:00
void MacOnMouseMoved(int32_t x, int32_t y);
2023-01-02 13:17:18 -06:00
void MacOnMouseUp(int16_t button, int32_t x, int32_t y);
2023-01-02 13:17:18 -06:00
void MacOnResized(int32_t width, int32_t height, bool a3);
#endif