From e45564ea3f0f27c32264f98da80c6d3556256de0 Mon Sep 17 00:00:00 2001 From: jussi Date: Wed, 26 Jun 2024 22:28:13 +0300 Subject: Changed naming of gui functions set2Top and set2Back to setToTop and setToBack. --- examples/gui/main.lua | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'examples/gui/main.lua') diff --git a/examples/gui/main.lua b/examples/gui/main.lua index 5a178dc..06c98bc 100644 --- a/examples/gui/main.lua +++ b/examples/gui/main.lua @@ -21,6 +21,8 @@ local guiTabBarActive = 0 local colorPickerHSV = { 0, 0, 0 } local colorPanelHSV = { 0, 0, 0 } +local value = 0 + function RL.init() local monitor = 0 local mPos = RL.GetMonitorPosition( monitor ) @@ -121,4 +123,6 @@ function RL.draw() _, colorPickerHSV = RL.GuiColorPickerHSV( { 1024, 20, 150, 150 }, "GuiColorPuckerHSV", colorPickerHSV ) _, colorPanelHSV = RL.GuiColorPanelHSV( { 1230, 20, 150, 150 }, "GuiColorPuckerHSV", colorPanelHSV ) + + value = RL.GuiScrollBar( { 0, 0, 10, 200 }, value, 0, 100 ) end -- cgit v1.2.3