From 1b5bcc1a999b40f0d266f58854a3fdec64362ff4 Mon Sep 17 00:00:00 2001 From: Michael <132351311+perogycook@users.noreply.github.com> Date: Sun, 26 Nov 2023 08:29:29 +0000 Subject: [PATCH] Added GuiToggleSlider --- vendor/raylib/raygui.odin | 1 + 1 file changed, 1 insertion(+) diff --git a/vendor/raylib/raygui.odin b/vendor/raylib/raygui.odin index 80c6cb265..7966987c5 100644 --- a/vendor/raylib/raygui.odin +++ b/vendor/raylib/raygui.odin @@ -284,6 +284,7 @@ foreign lib { GuiLabelButton :: proc(bounds: Rectangle, text: cstring) -> bool --- // Label button control, show true when clicked GuiToggle :: proc(bounds: Rectangle, text: cstring, active: ^bool) -> c.int --- // Toggle Button control, returns true when active GuiToggleGroup :: proc(bounds: Rectangle, text: cstring, active: ^c.int) -> c.int --- // Toggle Group control, returns active toggle index + GuiToggleSlider :: proc(bounds: Rectangle, text: cstring, active: ^c.int) -> c.int --- GuiCheckBox :: proc(bounds: Rectangle, text: cstring, checked: ^bool) -> bool --- // Check Box control, returns true when active GuiComboBox :: proc(bounds: Rectangle, text: cstring, active: ^c.int) -> c.int --- // Combo Box control, returns selected item index