Philosoph228
13f5401cb0
Merge addea58fea
into 55792fdbec
2025-03-31 18:07:17 -04:00
Nic Barker
3f635cdd79
[Renderers/Raylib] Fix FLAG_HIGHDPI causing window resize to break
2025-04-01 10:31:40 +13:00
Philosoph228
fd02c528d3
Add missing font resource
2025-03-25 09:49:24 +05:00
Philosoph228
5a1d13f0a4
Add support for font loading and rendering
2025-03-24 05:50:10 +05:00
Philosoph228
d9c68cd32d
Fix CreateWindow client size
...
CreateWindow(Ex) size parameters actually accepts outer window dimensions containing caption and border, which we can calculate with AdjustWindowRect by giving client size window dimensions.
2025-03-24 03:21:19 +05:00
Philosoph228
e0fffb64fe
Add CMake target for win32_gdi example
2025-03-24 02:55:18 +05:00
Nic Barker
bee93bc7ba
[Renderers/Raylib] Reuse memory in raylib renderer for temporary string allocations
2025-03-13 09:51:44 +13:00
Nic Barker
008d4d2519
[Renderers/win32_gdi] Create initial WinGDI renderer
2025-03-13 09:27:44 +13:00
hailey
6567f85eb3
Updated rectangle border rendering
2025-03-10 10:29:55 -05:00
hailey
a92ec772e1
[Renderers/Win32_GDI] first pass, fixed build errors and added build script
2025-03-10 09:33:12 -05:00
__hexmaster111
a782df73a1
Added win32 samples (first pass)
2025-03-10 09:23:36 -05:00
__hexmaster111
3a9172ec4c
Merge branch 'nicbarker:main' into main
2025-03-10 09:12:52 -05:00
Jesus Coca
e856136a8e
add resizing while the window is being resized
2025-03-08 17:37:02 -08:00
Nic Barker
22e8cc318c
[Bindings/Odin] Update odin bindings for text config userdata pointer
CMake on multiple platforms / build (Release, cl, cl, windows-latest) (push) Waiting to run
CMake on multiple platforms / build (Release, clang, clang++, ubuntu-latest) (push) Waiting to run
CMake on multiple platforms / build (Release, gcc, g++, ubuntu-latest) (push) Waiting to run
2025-03-08 11:08:04 +13:00
__hexmaster111
cf97539612
Update main.c
2025-03-04 05:57:30 -06:00
__hexmaster111
c49593f1d3
Update main.c
2025-03-04 05:56:20 -06:00
__hexmaster111
c7703b7a50
updated examples to call close
2025-03-04 05:55:30 -06:00
Nic Barker
02bce89d17
[Core] Improve & streamline grow / shrink handling ( #296 )
CMake on multiple platforms / build (Release, cl, cl, windows-latest) (push) Waiting to run
CMake on multiple platforms / build (Release, clang, clang++, ubuntu-latest) (push) Waiting to run
CMake on multiple platforms / build (Release, gcc, g++, ubuntu-latest) (push) Waiting to run
2025-03-04 10:56:38 +13:00
Nic Barker
5571c00a21
[Core] Convert capacity from uint32_t to size_t in Clay_CreateArenaWithCapacityAndMemory
CMake on multiple platforms / build (Release, cl, cl, windows-latest) (push) Has been cancelled
CMake on multiple platforms / build (Release, clang, clang++, ubuntu-latest) (push) Has been cancelled
CMake on multiple platforms / build (Release, gcc, g++, ubuntu-latest) (push) Has been cancelled
2025-03-03 11:36:12 +13:00
Nic Barker
1fa8684e47
[Core] Fix bug where hover state didnt take clip rectangles into account
CMake on multiple platforms / build (Release, cl, cl, windows-latest) (push) Has been cancelled
CMake on multiple platforms / build (Release, clang, clang++, ubuntu-latest) (push) Has been cancelled
CMake on multiple platforms / build (Release, gcc, g++, ubuntu-latest) (push) Has been cancelled
2025-02-25 08:55:14 +13:00
Nic Barker
a60b977946
[Core] Fix a bug where floating elements would be incorrectly configured
CMake on multiple platforms / build (Release, cl, cl, windows-latest) (push) Has been cancelled
CMake on multiple platforms / build (Release, clang, clang++, ubuntu-latest) (push) Has been cancelled
CMake on multiple platforms / build (Release, gcc, g++, ubuntu-latest) (push) Has been cancelled
2025-02-18 09:41:06 +13:00
Timothy Hoyt
ee99e5f0f2
[Renderers/SDL2] Opengl, antialiasing, vsync, alpha blending ( #264 )
CMake on multiple platforms / build (Release, cl, cl, windows-latest) (push) Waiting to run
CMake on multiple platforms / build (Release, clang, clang++, ubuntu-latest) (push) Waiting to run
CMake on multiple platforms / build (Release, gcc, g++, ubuntu-latest) (push) Waiting to run
2025-02-17 09:15:58 +13:00
Thomas Anderson
28a8f59733
[Renderers/Raylib] Convert Image usage to Texture ( #266 )
2025-02-17 08:56:26 +13:00
tomat
bc2548e3ec
[Renderers/SDL3] Add image rendering and scissor support to SDL3 renderer ( #246 )
CMake on multiple platforms / build (Release, cl, cl, windows-latest) (push) Waiting to run
CMake on multiple platforms / build (Release, clang, clang++, ubuntu-latest) (push) Waiting to run
CMake on multiple platforms / build (Release, gcc, g++, ubuntu-latest) (push) Waiting to run
2025-02-13 10:02:06 +13:00
Julio Ernesto Rodríguez Cabañas
eeb4520f48
[Renderers/SDL3] Use text engine to render text on the SDL3 renderer ( #256 )
2025-02-13 09:19:36 +13:00
Nic Barker
6d23a35d15
[Examples/clay-official-website] Update compiled wasm for official website example
CMake on multiple platforms / build (Release, cl, cl, windows-latest) (push) Waiting to run
CMake on multiple platforms / build (Release, clang, clang++, ubuntu-latest) (push) Waiting to run
CMake on multiple platforms / build (Release, gcc, g++, ubuntu-latest) (push) Waiting to run
2025-02-12 13:09:29 +13:00
Nic Barker
b4933a6e4c
[Examples/clay-official-website] Switch default renderer back to HTML for official website example
2025-02-12 13:08:46 +13:00
Nic Barker
e35bba079e
[Core] Update debug tools to include text alignment
2025-02-12 13:05:48 +13:00
Nic Barker
82ca328ae2
[Core] Add .textAlignment field to text element config
CMake on multiple platforms / build (Release, cl, cl, windows-latest) (push) Waiting to run
CMake on multiple platforms / build (Release, clang, clang++, ubuntu-latest) (push) Waiting to run
CMake on multiple platforms / build (Release, gcc, g++, ubuntu-latest) (push) Waiting to run
2025-02-12 10:43:32 +13:00
Nic Barker
72af2a4020
[Compilers] Fix missing initializer warnings under -Wextra
2025-02-12 09:12:11 +13:00
Nic Barker
3961720ef0
[Core & Documentation] Cleanup public / private API and internal document public API via comments
CMake on multiple platforms / build (Release, cl, cl, windows-latest) (push) Waiting to run
CMake on multiple platforms / build (Release, clang, clang++, ubuntu-latest) (push) Waiting to run
CMake on multiple platforms / build (Release, gcc, g++, ubuntu-latest) (push) Waiting to run
2025-02-11 17:11:03 +13:00
Nic Barker
65d2122dd6
[Core] Fix a bug where floating containers with anonymous IDs could conflict
2025-02-11 10:09:17 +13:00
Nic Barker
76c8e1f115
[Examples/clay-official-website] Update web renderer example to latest API
CMake on multiple platforms / build (Release, cl, cl, windows-latest) (push) Waiting to run
CMake on multiple platforms / build (Release, clang, clang++, ubuntu-latest) (push) Waiting to run
CMake on multiple platforms / build (Release, gcc, g++, ubuntu-latest) (push) Waiting to run
2025-02-10 16:53:21 +13:00
Nic Barker
9d940c1f8e
[Core] Replace config macros with a single unified configuration struct ( #240 )
CMake on multiple platforms / build (Release, cl, cl, windows-latest) (push) Has been cancelled
CMake on multiple platforms / build (Release, clang, clang++, ubuntu-latest) (push) Has been cancelled
CMake on multiple platforms / build (Release, gcc, g++, ubuntu-latest) (push) Has been cancelled
2025-02-04 17:00:19 +13:00
Nic Barker
a1e692b72a
[Core] Add option to hash text contents to text config ( #238 )
2025-01-30 09:59:42 +13:00
Nic Barker
1bcf256e4d
[Core] Replace generated arrays with macro declarations, align cache lines to 64 bytes ( #235 )
CMake on multiple platforms / build (Release, cl, cl, windows-latest) (push) Waiting to run
CMake on multiple platforms / build (Release, clang, clang++, ubuntu-latest) (push) Waiting to run
CMake on multiple platforms / build (Release, gcc, g++, ubuntu-latest) (push) Waiting to run
2025-01-29 17:14:01 +13:00
Nic Barker
0a703de69a
[Core] Add z-index and string base to Render Commands ( #227 )
2025-01-26 15:28:35 +13:00
arnauNau
c0dac38c87
[Renderers/SDL3] Add borders and rounded borders functionality. ( #220 )
2025-01-26 14:39:34 +13:00
arnauNau
aba846a446
[Renderers/SDL3] Add rounded corners rectangle functionality ( #219 )
CMake on multiple platforms / build (Release, cl, cl, windows-latest) (push) Has been cancelled
CMake on multiple platforms / build (Release, clang, clang++, ubuntu-latest) (push) Has been cancelled
CMake on multiple platforms / build (Release, gcc, g++, ubuntu-latest) (push) Has been cancelled
2025-01-23 09:30:24 +13:00
Nic Barker
9d659e8abd
[Examples/Raylib] Restore deleted font
CMake on multiple platforms / build (Release, cl, cl, windows-latest) (push) Has been cancelled
CMake on multiple platforms / build (Release, clang, clang++, ubuntu-latest) (push) Has been cancelled
CMake on multiple platforms / build (Release, gcc, g++, ubuntu-latest) (push) Has been cancelled
2025-01-21 21:28:38 +13:00
Nic Barker
ec2b3b35ff
[Renderers/Raylib] Early return 0 rather than segfault when Raylib fonts fail to load
2025-01-21 21:26:57 +13:00
Nic Barker
9b2d585499
Update odin and wasm bindings
2025-01-21 19:14:22 +13:00
Nic Barker
16f894bb4d
Fix incorrect use of corner radius
2025-01-21 18:32:33 +13:00
Timothy Hoyt
9f07f5aac8
fixed video demo padding ( #205 )
2025-01-21 18:31:48 +13:00
Nic Barker
326325ffaf
[Core] Convert measureText pointer to value string slice ( #214 )
2025-01-20 11:27:22 +13:00
Daniel Collin
e8025cc254
SetMesureText and SetQueryScrollOffset takes userData ( #212 )
2025-01-20 10:59:02 +13:00
Linus Probert
8e7e30dda6
[Renderers/SDL3] Adds an example using SDL3 as a renderer ( #107 )
...
CMake on multiple platforms / build (Release, cl, cl, windows-latest) (push) Waiting to run
CMake on multiple platforms / build (Release, clang, clang++, ubuntu-latest) (push) Waiting to run
CMake on multiple platforms / build (Release, gcc, g++, ubuntu-latest) (push) Waiting to run
Co-authored-by: Nic Barker <contact+github@nicbarker.com>
2025-01-19 14:35:41 +13:00
ppeb
4961f2153e
Extend SDL2 Renderer and SDL2-video-demo ( #208 )
2025-01-18 21:42:18 +13:00
Nic Barker
f1d8a53a32
[Core] [Breaking] Split padding values into left, right, top, bottom ( #195 )
2025-01-14 10:38:02 +13:00
Nic Barker
9e7595b873
Fixed a bug where minMemorySize could cause a memory overwrite
CMake on multiple platforms / build (Release, cl, cl, windows-latest) (push) Waiting to run
CMake on multiple platforms / build (Release, clang, clang++, ubuntu-latest) (push) Failing after 12s
CMake on multiple platforms / build (Release, gcc, g++, ubuntu-latest) (push) Failing after 11s
2025-01-11 21:37:21 +13:00