Commit graph raylib/src/rcore_android.c
Author SHA1 Message Date
ubkp
92a7d6686e Fix screenMin/Max default values for android 2023-09-24 01:23:19 -03:00
ubkp
d349ca52f4 Update SetClipboardText on android 2023-09-24 00:52:12 -03:00
ubkp
13ba0b9a01 Revert "Relocate android callbacks on android"
This reverts commit bbdbecc01e.
2023-09-23 20:38:33 -03:00
ubkp
bbdbecc01e Relocate android callbacks on android 2023-09-23 20:12:33 -03:00
ubkp
7a656ba477 Move SetExitKey from core to android, desktop, web 2023-09-23 18:14:36 -03:00
ubkp
b3c2ff2905
[split] rcore, web, desktop, android changes (batch 4) (#3343)
* Fix ToggleBorderlessWindowed duplicated glfwSetWindowSize calls

* First pass to remove unneeded platform macros for android

* Second pass to remove unneeded platform macros for android

* Remove unneeded platform macros for desktop

* Relocate GetGamepadName and update SetGamepadMappings on android, desktop, web

* Add missing comment to web
2023-09-23 23:01:13 +02:00
ubkp
d5a780d4d1
[split] rcore, web, desktop, android changes (batch 3) (#3338)
* First pass to remove unneeded platform macros for web

* Second pass to remove unneeded platform macros for web

* Move GetTouchX, GetTouchY, GetTouchPosition from rcore to web, desktop, android

* Move SetMouseCursor from rcore to android, desktop, web
2023-09-22 23:17:59 +02:00
Ray
e3c697946a Revert "REVIEWED: PLATFORM_DESKTOP Windows building"
This reverts commit 71a12171f7.
2023-09-20 11:14:08 +02:00
Ray
71a12171f7 REVIEWED: PLATFORM_DESKTOP Windows building 2023-09-19 23:59:18 +02:00
MichaelFiber
f27454c57a
Submodules (#3311)
* Check in current state

* Add submodules to Makefile and clean up some imports

* Start moving InitGraphicsDeivce

* Move android_main and CloseWindow() out of rcore

* Move WindowShouldClose out of rcore

* Move IsWindowHidden out of rcore

* Move IsWindowMinimized out of rcore

* Move IsWindowMaximized, IsWindowFocused and IsWindowResized out of rcore

* Move ToggleFullscreen out of rcore

* Move MaximizeWindow, MinimizeWindow and RestoreWindow out of rcore

* Move 13 functions out of rcore:
ToggleBorderlessWindowed
SetWindowState
ClearWindowState
SetWindowIcon
SetWindowIcons
SetWindowTitle
SetWindowPosition
SetWindowMonitor
SetWindowMinSize
SetWindowMaxSize
SetWindowSize
SetWindowOpacity
SetWindowFocused

* Minor clean up, revert makefile change, include submodules directly in rcore

* Fix makefile comment

* Remove rcore.h from Makefile

* Remove debug include

* Move 18 functions from rcore to submodules
GetWindowHandle
GetMonitorCount
GetCurrentMonitor
GetMonitorPosition
GetMonitorWidth
GetMonitorHeight
GetMonitorPhysicalHeight
GetMonitorRefreshRate
GetWindowPosition
GetWindowScaleDPI
GetMonitorName
SetClipboardText
GetClipboardText
ShowCursor
HideCursor
EnableCursor
DisableCursor
GetTime

* Move TakeScreenshot, OpenURL, GetGamepadName out of rcore into submodules

* remove debugging #defines

* Move GetMonitorPhysicalWidth from rcore to submodule

* Move GetGamepadAxisCount from rcore

* Move SetGamepadMappings out of rcore

* Move GetMouseX, GetMouseY, GetMousePosition out of rcore

* Move SetMousePosition out of rcore

* Move GetMouseWheelMove out of rcore

* Move the last functions out of rcore

* Move shared function defs and some global var to rcore.h

* Clean up rcore.c and rcore.h a little more

* Remove unnecessary #define

---------

Co-authored-by: MichaelFiber <michael@cubeofb.org>
2023-09-19 23:37:36 +02:00