Make textLeft, textRight, value optional in GuiSlider, GuiSliderBar, GuiProgressBar (#306)

This commit is contained in:
Nikolas 2026-01-29 20:32:14 +01:00
parent aaaa53c3ce
commit 81c58a3d44
Failed to generate hash of commit
2 changed files with 13 additions and 4 deletions

View file

@ -399,7 +399,16 @@ def parse_header(header_name: str, output_file: str, ext_file: str, prefix: str,
("rlLoadShaderBuffer", "data"),
("rlLoadShaderCode", "vsCode"),
("rlLoadShaderCode", "fsCode"),
("GuiTextInputBox", "secretViewActive")
("GuiTextInputBox", "secretViewActive"),
("GuiSlider", "textLeft"),
("GuiSlider", "textRight"),
("GuiSlider", "value"),
("GuiSliderBar", "textLeft"),
("GuiSliderBar", "textRight"),
("GuiSliderBar", "value"),
("GuiProgressBar", "textLeft"),
("GuiProgressBar", "textRight"),
("GuiProgressBar", "value"),
]
zig_type = ziggify_type(arg_name, arg_type, func_name)