mirror of
https://github.com/whoahq/whoa.git
synced 2026-11-08 07:39:53 +03:00
chore(style): clean up function declarations in app
This commit is contained in:
1 parent
5efdfe3d22
commit
b03eef7b1d
3 files changed
+14
-14
No files matched your search
@@ -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
|
||||
+2
-2
@@ -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);
|
||||
|
||||
|
||||
Reference in new issue
Block a user