From 192d471fb3caaa6d73796185e5cadc62075743f7 Mon Sep 17 00:00:00 2001 From: jussi Date: Wed, 20 Dec 2023 01:13:28 +0200 Subject: GuiScrollBar. --- include/raygui.h | 4 ++-- include/rgui.h | 1 + 2 files changed, 3 insertions(+), 2 deletions(-) (limited to 'include') diff --git a/include/raygui.h b/include/raygui.h index f8349aa..816cd94 100644 --- a/include/raygui.h +++ b/include/raygui.h @@ -1475,7 +1475,7 @@ static const char **GuiTextSplit(const char *text, char delimiter, int *count, i static Vector3 ConvertHSVtoRGB(Vector3 hsv); // Convert color data from HSV to RGB static Vector3 ConvertRGBtoHSV(Vector3 rgb); // Convert color data from RGB to HSV -static int GuiScrollBar(Rectangle bounds, int value, int minValue, int maxValue); // Scroll bar control, used by GuiScrollPanel() +int GuiScrollBar(Rectangle bounds, int value, int minValue, int maxValue); // Scroll bar control, used by GuiScrollPanel() static void GuiTooltip(Rectangle controlRec); // Draw tooltip using control rec position static Color GuiFade(Color color, float alpha); // Fade color by an alpha factor @@ -5137,7 +5137,7 @@ static Vector3 ConvertHSVtoRGB(Vector3 hsv) } // Scroll bar control (used by GuiScrollPanel()) -static int GuiScrollBar(Rectangle bounds, int value, int minValue, int maxValue) +int GuiScrollBar(Rectangle bounds, int value, int minValue, int maxValue) { GuiState state = guiState; diff --git a/include/rgui.h b/include/rgui.h index 92f9df4..7f2641b 100644 --- a/include/rgui.h +++ b/include/rgui.h @@ -54,6 +54,7 @@ int lguiGuiProgressBar( lua_State *L ); int lguiGuiStatusBar( lua_State *L ); int lguiGuiDummyRec( lua_State *L ); int lguiGuiGrid( lua_State *L ); +int lguiGuiScrollBar( lua_State *L ); /* Advance controls set. */ int lguiGuiListView( lua_State *L ); int lguiGuiListViewEx( lua_State *L ); -- cgit v1.2.3