diff options
| author | jussi | 2024-04-13 18:44:42 +0300 |
|---|---|---|
| committer | jussi | 2024-04-13 18:44:42 +0300 |
| commit | 1d66edf4f2390c25485ef4205b20c184de1c2f5d (patch) | |
| tree | 7a3cd79e26d7b93a2fb4a3764171fbe90d22a9d4 /examples/raygui_examples/calculator.lua | |
| parent | b96960a1f97f815a6872fedc422ea950ed477cda (diff) | |
| download | reilua-enhanced-1d66edf4f2390c25485ef4205b20c184de1c2f5d.tar.gz reilua-enhanced-1d66edf4f2390c25485ef4205b20c184de1c2f5d.tar.bz2 reilua-enhanced-1d66edf4f2390c25485ef4205b20c184de1c2f5d.zip | |
Position argument added for GetCodepoint, GetCodepointNext and GetCodepointPrevious.
Diffstat (limited to 'examples/raygui_examples/calculator.lua')
| -rw-r--r-- | examples/raygui_examples/calculator.lua | 4 |
1 files changed, 2 insertions, 2 deletions
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. |
