Add proportionality support for GameUI panels (#35)

* Add proportionality support for GameUI panels

* Add Android platform define

* Fix button wrong state on fast clicking

Co-authored-by: JusicP <slender87844@gmail.com>
This commit is contained in:
nillerusr
2022-01-09 17:04:47 +03:00
committed by GitHub
co-authored by JusicP
parent 1f3436945f
commit 9d77bb17c5
20 changed files with 296 additions and 150 deletions
+5
View File
@@ -245,6 +245,11 @@ typedef signed char int8;
#define IsPlatform64Bits() false
#endif
#ifdef _ANDROID
#define IsAndroid() true
#else
#define IsAndroid() false
#endif
// From steam/steamtypes.h
// RTime32
// We use this 32 bit time representing real world time.