mirror of
https://github.com/whoahq/whoa.git
synced 2026-03-18 13:41:06 +03:00
20 lines
418 B
C++
20 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
|