Commit graph

42 commits

Author SHA1 Message Date
Nic Barker 24c4bcd565 Pack enums in c++ 2024-09-29 12:36:46 +13:00
Nic Barker f1d1079faf more fixes to bad macros 2024-09-28 21:59:55 +12:00
Nic Barker a790e21d4e fix bad ifdef 2024-09-28 21:56:40 +12:00
Nic Barker 0e255aae74 msvc 2024-09-28 21:47:26 +12:00
Nic Barker 0653fa64f0 msvc 2024-09-28 21:43:48 +12:00
Nic Barker 34878752ef msvc 2024-09-28 21:40:37 +12:00
Nic Barker 21a67240ef msvc 2024-09-28 21:37:52 +12:00
Nic Barker e309c9e03d msvc 2024-09-28 21:29:56 +12:00
Nic Barker 5108028c11 msvc 2024-09-28 21:23:54 +12:00
Nic Barker 8fbb196377 msvc 2024-09-28 21:21:05 +12:00
Nic Barker 0e608037b7 more msvc fixes 2024-09-28 21:14:32 +12:00
Nic Barker da6929e5f4 more msvc 2024-09-28 21:12:19 +12:00
Nic Barker e0c1380715 Fix generated 2024-09-28 21:08:35 +12:00
Nic Barker 165085e70d fix init for clay_string 2024-09-28 21:05:33 +12:00
Nic Barker 27ec3331fd More fixes for msvc 2024-09-28 21:02:10 +12:00
Nic Barker 9211595821 Try CLAY__INIT replacement 2024-09-28 20:54:41 +12:00
Nic Barker ee1e1bb95f C++ only on windows 2024-09-28 19:33:23 +12:00
Nic Barker 4ce2339d24 typo 2024-09-28 16:30:46 +12:00
Nic Barker 35c6210da6 undefine packed enum for now 2024-09-28 16:29:11 +12:00
Nic Barker 2def72dc62 Cache update and fix typo 2024-09-28 16:24:34 +12:00
Nic Barker e5e39d12e9 Test msvc replacement for attribute packed 2024-09-28 16:21:22 +12:00
Nic Barker 5e7c4c41eb
[C] Convert element macros to use for() internally (#30) 2024-09-28 15:43:29 +12:00
Nic Barker 3b4c177e58
Fix const inits for gcc 9.4 and add docker tests for old gcc compiler (#29) 2024-09-28 07:42:08 +12:00
Bach Le 10cc866477
Add CLAY_LOCAL_ID[I] (#27) 2024-09-25 14:04:28 +12:00
Nic Barker 3775927e40 Replace const structs with macros to appease GCC 2024-09-25 13:43:23 +12:00
Bach Le c60fb1300f
Initialize text measurement hashmap (#25) 2024-09-25 13:30:36 +12:00
Michael Savage 3e0791bdc5
Don't use __VA_ARGS__ in a non-variadic macro (#21) 2024-09-21 08:14:54 +12:00
Nic Barker 6430bbbdc3 Fix warnings caused by misname 2024-09-21 08:13:22 +12:00
Nic Barker 5bb725d005 Fix forward declarations 2024-09-21 08:04:31 +12:00
Nic Barker 0903440a34 Add notice for defining implementation macro at the top of the file 2024-09-20 20:56:33 +12:00
Nic Barker 332837befd
Fix issues with multiple translation units (#20) 2024-09-20 20:46:48 +12:00
Nic Barker b2d922c78d Fix a compile bug in update scroll containers 2024-09-20 07:12:11 +12:00
Nic Barker 2729188a24 Rename parameter 2024-09-18 11:39:14 +12:00
Nic Barker a4f90a217d
Debug Tools (#15) 2024-09-16 21:34:59 +12:00
Nic Barker 807fd62cd8 Fix bug in text measurement cache 2024-09-02 11:06:14 +12:00
Nic Barker fd45138d57
Stardardisation / cleanup work for private API functions (#7) 2024-08-30 18:44:36 +12:00
Nic Barker ca2c625bb5
Rename Clay_Rectangle to Clay_BoundingBox (#4) 2024-08-28 16:13:28 +12:00
Nic Barker 5e677cafb5
Add scrollbar to official website and improve culling (#2) 2024-08-27 10:16:55 +12:00
Nic Barker e0f7a23f1a
Expose scroll container data and implement scrollbar example (#1) 2024-08-26 19:05:43 +12:00
Nic Barker 9c5b90e71b Fixed a typo bug with drag scrolling in scroll containers 2024-08-24 21:27:43 +12:00
Nic Barker 983317033c Fix calculation of arena suballoc alignment 2024-08-24 15:11:39 +12:00
Nic Barker 03a6c6cf5a initial commit 2024-08-23 16:11:56 +12:00