diff options
| author | jussi | 2023-12-20 01:13:28 +0200 |
|---|---|---|
| committer | jussi | 2023-12-20 01:13:28 +0200 |
| commit | 192d471fb3caaa6d73796185e5cadc62075743f7 (patch) | |
| tree | e6284af8813771228eb37ef85405d9083fde6840 /include | |
| parent | 9884c544bb2e9870bbda9607685bd478c9f3fda0 (diff) | |
| download | reilua-enhanced-192d471fb3caaa6d73796185e5cadc62075743f7.tar.gz reilua-enhanced-192d471fb3caaa6d73796185e5cadc62075743f7.tar.bz2 reilua-enhanced-192d471fb3caaa6d73796185e5cadc62075743f7.zip | |
GuiScrollBar.
Diffstat (limited to 'include')
| -rw-r--r-- | include/raygui.h | 4 | ||||
| -rw-r--r-- | include/rgui.h | 1 |
2 files changed, 3 insertions, 2 deletions
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 ); |
