summaryrefslogtreecommitdiff
path: root/examples/raygui_lib
diff options
context:
space:
mode:
authorjussi2024-06-26 22:28:13 +0300
committerjussi2024-06-26 22:28:13 +0300
commite45564ea3f0f27c32264f98da80c6d3556256de0 (patch)
treedd9fb36032fcd2aa791226c75826c9cec4a7c3ff /examples/raygui_lib
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_lib')
-rw-r--r--examples/raygui_lib/main.lua10
1 files changed, 5 insertions, 5 deletions
diff --git a/examples/raygui_lib/main.lua b/examples/raygui_lib/main.lua
index 95a733f..c787d2e 100644
--- a/examples/raygui_lib/main.lua
+++ b/examples/raygui_lib/main.lua
@@ -208,7 +208,7 @@ function RL.init()
"WindowBox",
{ -- Callbacks.
close = function( self ) self.visible = false end,
- grab = function( self ) Gui:set2Top( self ) end,
+ grab = function( self ) Gui:setToTop( self ) end,
},
{ -- Styles.
properties = {
@@ -230,7 +230,7 @@ function RL.init()
Rect:new( 400, 64, 256, 128 ),
"Panel",
{ -- Callbacks.
- grab = function( self ) Gui:set2Top( self ) end
+ grab = function( self ) Gui:setToTop( self ) end
},
{ -- Styles.
properties = {
@@ -255,7 +255,7 @@ function RL.init()
Vec2:new( 0, 0 ),
{ -- Callbacks.
scroll = function( self ) print( self.scroll ) end,
- grab = function( self ) Gui:set2Top( self ) end
+ grab = function( self ) Gui:setToTop( self ) end
}
)
local listview = Gui:ListView(
@@ -300,7 +300,7 @@ function RL.init()
end
end
end,
- grab = function( self ) Gui:set2Top( self ) end
+ grab = function( self ) Gui:setToTop( self ) end
}
)
local textinputbox = Gui:TextInputBox(
@@ -317,7 +317,7 @@ function RL.init()
print( "You pressed "..self:getItem( self.buttonIndex ) )
end
end,
- grab = function( self ) Gui:set2Top( self ) end
+ grab = function( self ) Gui:setToTop( self ) end
}
)
local colorpicker = Gui:ColorPicker(