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/raygui_examples/file_browser.lua | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'examples/raygui_examples/file_browser.lua') diff --git a/examples/raygui_examples/file_browser.lua b/examples/raygui_examples/file_browser.lua index df6f244..e4705a6 100644 --- a/examples/raygui_examples/file_browser.lua +++ b/examples/raygui_examples/file_browser.lua @@ -39,7 +39,7 @@ function FileBrowser:new( pos ) "File Browser", { -- callbacks. close = function() object:setVisible( false ) end, - grab = function() object:set2Top() end, + grab = function() object:setToTop() end, drag = function( this ) object:setPosition( Vec2:new( this.bounds.x, this.bounds.y ) ) end } ) @@ -363,11 +363,11 @@ function FileBrowser:setPosition( pos ) end end -function FileBrowser:set2Top() - Gui:set2Top( self.window ) +function FileBrowser:setToTop() + Gui:setToTop( self.window ) for _, control in ipairs( self.controls ) do - Gui:set2Top( control ) + Gui:setToTop( control ) end end -- cgit v1.2.3