Commit Graph

198 Commits

Author SHA1 Message Date
6208711292 use the language's qoi decoder 2025-06-09 16:06:49 +02:00
39bd7fb8bc removed module raylib.c3l (non vendor) 2025-06-09 15:51:16 +02:00
47eb3ff907 moved vendor libraries to lib/ as a submodule 2025-06-09 15:50:29 +02:00
21aa70d340 create binary directory before copying 2025-06-09 15:10:38 +02:00
bd8c73ecd5 sdl3.c3l as a submodule 2025-06-09 12:30:25 +02:00
6e65700f38 scary quads and nice sprites 2025-06-07 12:42:57 +02:00
e3d87525d4 draw multiple quads 2025-06-07 10:35:08 +02:00
3002123ef7 removed bad error handling and replaced it with worse error handling 2025-06-03 22:36:18 +02:00
ac3fcae649 sorting the command buffer 2025-06-03 22:03:14 +02:00
c9b74aebc7 implement z index in command buffer 2025-06-03 18:15:46 +02:00
f344c989db test different draw calls for one render pass (failed) 2025-06-03 18:15:33 +02:00
6c5acd6f23 enable foreach for FIFO 2025-06-03 18:15:12 +02:00
24bc2c67bc changed the pipeline to use 16 bit int as coords
thank you renderdoc for making me feel less stupid
2025-06-03 09:16:51 +02:00
712ce50631 A lot of work
* moved all ugui code to lib/ugui.c3l and made it a library/module
* started work on a sdl3 renderer, with shaders etc
* added the new sdl3.c3l library as a dependency
* makefile is for the renderer
2025-06-01 16:44:31 +02:00
2380c7693c add sdl3 dependency 2025-05-21 23:38:59 +02:00
79a2d66880 update project to c3 0.7.1 2025-05-05 16:23:26 +02:00
34e75f8c06 larger font cache 2025-02-08 12:51:10 +01:00
7c6f7d31d2 quick and dirty checkbox 2025-02-07 23:46:21 +01:00
52f3929a42 renamed ATlAS_RGBA32 to ATLAS_R8G8B8A8 2025-02-06 23:51:15 +01:00
e09107af98 simpler main 2025-02-06 23:44:03 +01:00
588a417413 checkbox and msdf sprite rendering 2025-02-04 22:40:44 +01:00
14359a9b7e first checkbox 2025-02-03 23:07:32 +01:00
196a2474fd todos 2025-02-03 23:07:14 +01:00
c53b9eed5e MAYBE correct layout with next_row and next_column 2025-02-01 01:01:13 +01:00
92614e4d8b removed comments 2025-01-31 23:15:40 +01:00
d94e430807 added library submodules 2025-01-31 12:37:15 +01:00
de64746fdf renamed libraries 2025-01-31 12:20:19 +01:00
0531f58a56 less cached elements by default 2025-01-30 22:27:46 +01:00
f516a68cee correct font atlas size 2025-01-30 22:27:24 +01:00
07857fcd44 switch to c3s' vendor raylib 5.5 2025-01-30 19:38:53 +01:00
fbe631b4b4 better sprites 2025-01-30 18:36:47 +01:00
b317951c32 first working prototype of sprite drawing 2025-01-29 01:10:18 +01:00
9aa0d58d68 better to_rgba() macro 2024-12-28 16:59:12 +01:00
78e2c64da6 implemented adaptive size divs 2024-12-26 22:58:43 +01:00
16adfd7cc5 idk look at the changes 2024-12-25 12:30:35 +01:00
1746f7d940 update TODO 2024-12-23 15:56:40 +01:00
169b5e1dfd cull commands that result in zero-area bounding boxes 2024-12-23 15:49:46 +01:00
87de68028a update todo 2024-12-20 20:58:12 +01:00
04843fe714 do not use xor to combine keys since when more than two layers deep this would result in identical keys 2024-12-20 20:17:53 +01:00
a0c6a3b2cb work on button with label 2024-12-20 19:50:58 +01:00
ca691d1294 enlarge scrollbars when focused 2024-12-20 02:17:41 +01:00
f7985f8c7f track focused and hovered elements 2024-12-20 01:45:10 +01:00
4bd827ce5c set ids <facepalm> 2024-12-19 19:42:02 +01:00
d31b4eab53 update todo 2024-12-19 15:27:14 +01:00
1088083e1e stuff, mostly renaming variables 2024-12-19 15:24:39 +01:00
601a396aa8 scrollbar fixup 2024-12-19 00:29:30 +01:00
a481269022 work on div sliders, major changes
* Ids are now keyed based on the parent's id, this means that an element can have
  the same label when placed in different divs
* Divs now enable the scissor test, this way the elements cannot draw outside of
  the parent div bounds
* Introduced a LAYOUT_ABSOLUTE that disables all layout logic, for internal use
* Divs now draw scrollbars using the slider_hor and slider_ver elements
2024-12-18 20:04:23 +01:00
499f6dc79b removed force update 2024-12-18 15:10:17 +01:00
740ea0c6be merged ugui_impl and ugui_data to ugui_core 2024-12-18 15:02:46 +01:00
8d4b353e88 a lot of work on sliders 2024-12-18 14:58:40 +01:00