From 4a783a156e1ab6ea9a8b69cd75db6aa33bb6eefc Mon Sep 17 00:00:00 2001 From: jussi Date: Fri, 1 Dec 2023 00:26:43 +0200 Subject: Raygui wrapper library disable and styles for each element. --- examples/ReiLuaGui_examples/calculator.lua | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'examples/ReiLuaGui_examples/calculator.lua') diff --git a/examples/ReiLuaGui_examples/calculator.lua b/examples/ReiLuaGui_examples/calculator.lua index 8ebf0b6..a2ddfdf 100644 --- a/examples/ReiLuaGui_examples/calculator.lua +++ b/examples/ReiLuaGui_examples/calculator.lua @@ -27,7 +27,7 @@ function Calculator:new( pos ) object.handle:add( Gui.texture:new( { bounds = object.handle.bounds:clone(), - texture = bgrTexture, + texture = BgrTexture, HAling = Gui.ALING.CENTER, VAling = Gui.ALING.CENTER, color = Color:new( RL.LIGHTGRAY ), @@ -35,7 +35,7 @@ function Calculator:new( pos ) object.handle:add( Gui.texture:new( { bounds = object.handle.bounds:clone(), - texture = borderTexture, + texture = BorderTexture, HAling = Gui.ALING.CENTER, VAling = Gui.ALING.CENTER, color = Color:new( RL.LIGHTGRAY ), @@ -57,7 +57,7 @@ function Calculator:new( pos ) object.closeButton:add( Gui.texture:new( { bounds = object.closeButton.bounds:clone(), - texture = cancelTexture, + texture = CancelTexture, HAling = Gui.ALING.CENTER, VAling = Gui.ALING.CENTER, } ) ) @@ -70,7 +70,7 @@ function Calculator:new( pos ) object.panel:add( Gui.texture:new( { bounds = object.panel.bounds:clone(), - texture = bgrTexture, + texture = BgrTexture, HAling = Gui.ALING.CENTER, VAling = Gui.ALING.CENTER, color = Color:new( RL.GRAY ), @@ -78,7 +78,7 @@ function Calculator:new( pos ) object.panel:add( Gui.texture:new( { bounds = object.panel.bounds:clone(), - texture = borderTexture, + texture = BorderTexture, HAling = Gui.ALING.CENTER, VAling = Gui.ALING.CENTER, color = Color:new( RL.LIGHTGRAY ), -- cgit v1.2.3