瀏覽代碼

Added GuiToggleSlider

Michael 1 年之前
父節點
當前提交
1b5bcc1a99
共有 1 個文件被更改,包括 1 次插入0 次删除
  1. 1 0
      vendor/raylib/raygui.odin

+ 1 - 0
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