diff options
| author | jussi | 2024-06-26 22:28:13 +0300 |
|---|---|---|
| committer | jussi | 2024-06-26 22:28:13 +0300 |
| commit | e45564ea3f0f27c32264f98da80c6d3556256de0 (patch) | |
| tree | dd9fb36032fcd2aa791226c75826c9cec4a7c3ff /examples/gui | |
| parent | c96306bcc3bc685297b8553d01d2eff163754afc (diff) | |
| download | reilua-enhanced-e45564ea3f0f27c32264f98da80c6d3556256de0.tar.gz reilua-enhanced-e45564ea3f0f27c32264f98da80c6d3556256de0.tar.bz2 reilua-enhanced-e45564ea3f0f27c32264f98da80c6d3556256de0.zip | |
Changed naming of gui functions set2Top and set2Back to setToTop and setToBack.
Diffstat (limited to 'examples/gui')
| -rw-r--r-- | examples/gui/main.lua | 4 |
1 files changed, 4 insertions, 0 deletions
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 |
