Implemented a ton more things, added BaseApp.h to provide common code to UWP apps.

This commit is contained in:
Reece Mackie 2019-04-25 18:08:42 +01:00
commit 4a131def4c

View file

@ -914,21 +914,25 @@ RLAPI const char *GetClipboardText(void); // Get clipboa
RLAPI void SetClipboardText(const char *text); // Set clipboard text content
// UWP-related functions
#if defined(PLATFORM_UWP)
RLAPI void UWPRegisterKey(int key, int action);
#if defined(PLATFORM_UWP)
RLAPI void UWPRegisterKey(int key, char action);
RLAPI void UWPRegisterClick(int btn, char action);
RLAPI void UWPScrollWheel(int delta);
RLAPI void UWPMouseMovement(float x, float y);
RLAPI void UWPMousePosition(float x, float y);
RLAPI void UWPMarkCursor(bool hidden);
//Gamepad functionality?
//Gamepad functionality?
#endif
// Cursor-related functions
#if !defined(PLATFORM_UWP) //These are implemented by BaseApp.h
RLAPI void ShowCursor(void); // Shows cursor
RLAPI void HideCursor(void); // Hides cursor
RLAPI bool IsCursorHidden(void); // Check if cursor is not visible
RLAPI void EnableCursor(void); // Enables cursor (unlock cursor)
RLAPI void DisableCursor(void); // Disables cursor (lock cursor)
#endif
// Drawing-related functions
RLAPI void ClearBackground(Color color); // Set background color (framebuffer clear color)