summaryrefslogtreecommitdiff
path: root/examples/raygui_extensions/main.lua
diff options
context:
space:
mode:
authorjussi2024-06-26 22:28:13 +0300
committerjussi2024-06-26 22:28:13 +0300
commite45564ea3f0f27c32264f98da80c6d3556256de0 (patch)
treedd9fb36032fcd2aa791226c75826c9cec4a7c3ff /examples/raygui_extensions/main.lua
parentc96306bcc3bc685297b8553d01d2eff163754afc (diff)
downloadreilua-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/raygui_extensions/main.lua')
-rw-r--r--examples/raygui_extensions/main.lua4
1 files changed, 2 insertions, 2 deletions
diff --git a/examples/raygui_extensions/main.lua b/examples/raygui_extensions/main.lua
index a5d9760..3e9d2f1 100644
--- a/examples/raygui_extensions/main.lua
+++ b/examples/raygui_extensions/main.lua
@@ -75,7 +75,7 @@ local function addPropertyList()
Rect:new( 20, 20, 256, 328 ),
"Property List",
{ -- Callbacks.
- grab = function( self ) Gui:set2Top( self ) end,
+ grab = function( self ) Gui:setToTop( self ) end,
},
{ -- Styles.
properties = {
@@ -272,7 +272,7 @@ local function addTreeView()
"Tree View",
{ -- Callbacks.
select = function( controls ) selected( controls ) end,
- grab = function( self ) Gui:set2Top( self ) end,
+ grab = function( self ) Gui:setToTop( self ) end,
},
{ -- Styles.
properties = {