From 1d66edf4f2390c25485ef4205b20c184de1c2f5d Mon Sep 17 00:00:00 2001 From: jussi Date: Sat, 13 Apr 2024 18:44:42 +0300 Subject: Position argument added for GetCodepoint, GetCodepointNext and GetCodepointPrevious. --- examples/raygui_examples/calculator.lua | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'examples/raygui_examples/calculator.lua') diff --git a/examples/raygui_examples/calculator.lua b/examples/raygui_examples/calculator.lua index 78253c0..6274a0b 100644 --- a/examples/raygui_examples/calculator.lua +++ b/examples/raygui_examples/calculator.lua @@ -11,9 +11,9 @@ Calculator.OPERATIONS = { } function Calculator:new( pos ) - local object = setmetatable( {}, Calculator ) + local object = setmetatable( {}, Calculator ) - object.window = Gui:WindowBox( + object.window = Gui:WindowBox( Rect:new( pos.x, pos.y, 188, 216 ), "Calculator", { -- Callbacks. -- cgit v1.2.3