From 26a11a4b7f32a6fc2d131e4c78fe1ca40cc6ac8a Mon Sep 17 00:00:00 2001 From: jussi Date: Thu, 10 Mar 2022 17:53:43 +0200 Subject: Measure text. --- examples/gui/main.lua | 1 + 1 file changed, 1 insertion(+) (limited to 'examples/gui') diff --git a/examples/gui/main.lua b/examples/gui/main.lua index 079bd95..c799cdb 100644 --- a/examples/gui/main.lua +++ b/examples/gui/main.lua @@ -31,6 +31,7 @@ function draw() if RL_GuiButton( { 112, 16, 96, 32 }, "Button" ) then print( "Button pressed!" ) + RL_CloseWindow() end if windowOpen and RL_GuiWindowBox( { 300, 16, 200, 320 }, "Window" ) then -- cgit v1.2.3