mirror of
https://github.com/thunderbrewhq/thunderbrew
synced 2025-04-19 03:20:11 +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_keyConversion[128];
|
||||
|
||||
static void CheckKeyboardLayout(void);
|
||||
static double GetMouseSpeed(void);
|
||||
static bool GetTextInputEnabled(void);
|
||||
static void InitializeKeyConversion(void);
|
||||
static bool IsUsingGLLayer(void);
|
||||
static void PostClipboardKeyEvents(MacClient::ClipboardAction);
|
||||
static void SetMouseCoalescingEnabled(bool);
|
||||
static void CheckKeyboardLayout();
|
||||
static double GetMouseSpeed();
|
||||
static bool GetTextInputEnabled();
|
||||
static void InitializeKeyConversion();
|
||||
static bool IsUsingGLLayer();
|
||||
static void PostClipboardKeyEvents(ClipboardAction action);
|
||||
static void SetMouseCoalescingEnabled(bool enabled);
|
||||
};
|
||||
|
||||
#endif
|
||||
|
@ -5,8 +5,8 @@
|
||||
|
||||
struct GLWindowCallbacks;
|
||||
|
||||
void AssignEngineViewCallbacks(GLWindowCallbacks*);
|
||||
void AssignEngineViewCallbacks(GLWindowCallbacks* callbacks);
|
||||
|
||||
Class GetEngineViewClass(void);
|
||||
Class GetEngineViewClass();
|
||||
|
||||
#endif
|
||||
|
@ -4,15 +4,15 @@
|
||||
#include <cstdint>
|
||||
#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);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user