Implemented a ton more things, added BaseApp.h to provide common code to UWP apps.
This commit is contained in:
parent
66293622f9
commit
98e1097364
1 changed files with 437 additions and 505 deletions
12
src/raylib.h
12
src/raylib.h
|
|
@ -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)
|
||||
|
|
|
|||
Loading…
Reference in a new issue