Not-Nik / raylib-zig

Manually tweaked, auto-generated raylib bindings for zig. https://github.com/raysan5/raylib
MIT License
459 stars 101 forks source link

RayGui Incorrect type #109

Closed LunarWarg closed 1 week ago

LunarWarg commented 1 week ago

For fn guiPanel(bounds, text) and fn guiScrollPanel(bounds, text, content, scroll, view) the text field should be an optional slice, as RayGui handles null ptr, and empty strings differently.

null -> No Title Bar: Screenshot_2024-06-23_16-19-58 empty string -> Blank Title Bar: Screenshot_2024-06-23_16-20-27