raylib-zig
raylib-zig copied to clipboard
guiSetStyle api using wrong types
In #125 I think the proposed api is wrong.
The first param should be rg.GuiControl and the second param is slightly weird.
It can be rg.GuiControlProperty or rg.GuiDefaultProperty. I'm newish to zig still so not sure the best way to handle merging these two enums together, maybe we have two different wrapper funcs for this?
fn guiSetStyle(control: rg.GuiControl, property: rg.GuiControlProperty, value: i32) void
fn guiSetStyleDefualt(control: rg.GuiControl, property: rg.GuiDefaultProperty, value: i32) void