summaryrefslogtreecommitdiff
path: root/examples/gui
diff options
context:
space:
mode:
authorjussi2022-03-10 17:53:43 +0200
committerjussi2022-03-10 17:53:43 +0200
commit26a11a4b7f32a6fc2d131e4c78fe1ca40cc6ac8a (patch)
treeb6fc68889bf5df58ba3455e6d64da6b2f78d38de /examples/gui
parentdebe4baa8c208458f847dd4c89c17f7cc39be559 (diff)
downloadreilua-enhanced-26a11a4b7f32a6fc2d131e4c78fe1ca40cc6ac8a.tar.gz
reilua-enhanced-26a11a4b7f32a6fc2d131e4c78fe1ca40cc6ac8a.tar.bz2
reilua-enhanced-26a11a4b7f32a6fc2d131e4c78fe1ca40cc6ac8a.zip
Measure text.
Diffstat (limited to 'examples/gui')
-rw-r--r--examples/gui/main.lua1
1 files changed, 1 insertions, 0 deletions
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