mirror of
https://github.com/thunderbrewhq/thunderbrew
synced 2025-10-26 22:06:06 +03:00
chore(style): clean up function declarations in app
This commit is contained in:
parent
5efdfe3d22
commit
b03eef7b1d
@ -18,13 +18,13 @@ class MacClient {
|
|||||||
static KEY s_specialKeyConversion[128];
|
static KEY s_specialKeyConversion[128];
|
||||||
static KEY s_keyConversion[128];
|
static KEY s_keyConversion[128];
|
||||||
|
|
||||||
static void CheckKeyboardLayout(void);
|
static void CheckKeyboardLayout();
|
||||||
static double GetMouseSpeed(void);
|
static double GetMouseSpeed();
|
||||||
static bool GetTextInputEnabled(void);
|
static bool GetTextInputEnabled();
|
||||||
static void InitializeKeyConversion(void);
|
static void InitializeKeyConversion();
|
||||||
static bool IsUsingGLLayer(void);
|
static bool IsUsingGLLayer();
|
||||||
static void PostClipboardKeyEvents(MacClient::ClipboardAction);
|
static void PostClipboardKeyEvents(ClipboardAction action);
|
||||||
static void SetMouseCoalescingEnabled(bool);
|
static void SetMouseCoalescingEnabled(bool enabled);
|
||||||
};
|
};
|
||||||
|
|
||||||
#endif
|
#endif
|
||||||
|
|||||||
@ -5,8 +5,8 @@
|
|||||||
|
|
||||||
struct GLWindowCallbacks;
|
struct GLWindowCallbacks;
|
||||||
|
|
||||||
void AssignEngineViewCallbacks(GLWindowCallbacks*);
|
void AssignEngineViewCallbacks(GLWindowCallbacks* callbacks);
|
||||||
|
|
||||||
Class GetEngineViewClass(void);
|
Class GetEngineViewClass();
|
||||||
|
|
||||||
#endif
|
#endif
|
||||||
|
|||||||
@ -4,15 +4,15 @@
|
|||||||
#include <cstdint>
|
#include <cstdint>
|
||||||
#include <AppKit/AppKit.h>
|
#include <AppKit/AppKit.h>
|
||||||
|
|
||||||
void MacOnKeyDown(NSEvent*);
|
void MacOnKeyDown(NSEvent* event);
|
||||||
|
|
||||||
void MacOnKeyUp(NSEvent*);
|
void MacOnKeyUp(NSEvent* event);
|
||||||
|
|
||||||
void MacOnMouseDown(int16_t, int32_t, int32_t);
|
void MacOnMouseDown(int16_t button, int32_t x, int32_t y);
|
||||||
|
|
||||||
void MacOnMouseMoved(int32_t, int32_t);
|
void MacOnMouseMoved(int32_t x, int32_t y);
|
||||||
|
|
||||||
void MacOnMouseUp(int16_t, int32_t, int32_t);
|
void MacOnMouseUp(int16_t button, int32_t x, int32_t y);
|
||||||
|
|
||||||
void MacOnResized(int32_t width, int32_t height, bool a3);
|
void MacOnResized(int32_t width, int32_t height, bool a3);
|
||||||
|
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user