summaryrefslogtreecommitdiff
path: root/examples
diff options
context:
space:
mode:
authorjussi2022-04-01 20:35:43 +0300
committerjussi2022-04-01 20:35:43 +0300
commit7665cf4bc16a423d4cd98174853dcc36de08787e (patch)
tree34320026165dab240e1678ae1905b10dee24710c /examples
parent7928f9dbab6829f73c57e6dd4ede0da6cea023b0 (diff)
downloadreilua-enhanced-7665cf4bc16a423d4cd98174853dcc36de08787e.tar.gz
reilua-enhanced-7665cf4bc16a423d4cd98174853dcc36de08787e.tar.bz2
reilua-enhanced-7665cf4bc16a423d4cd98174853dcc36de08787e.zip
GuiIconText.
Diffstat (limited to 'examples')
-rw-r--r--examples/gui/main.lua3
1 files changed, 2 insertions, 1 deletions
diff --git a/examples/gui/main.lua b/examples/gui/main.lua
index 82dd192..4c84af8 100644
--- a/examples/gui/main.lua
+++ b/examples/gui/main.lua
@@ -37,7 +37,8 @@ end
function draw()
RL_ClearBackground( { 50, 20, 75 } )
- if RL_GuiButton( { 112, 16, 96, 32 }, "Exit" ) then
+ -- if RL_GuiButton( { 112, 16, 96, 32 }, "Exit" ) then
+ if RL_GuiButton( { 112, 16, 96, 32 }, RL_GuiIconText( 113, "Exit" ) ) then
RL_CloseWindow()
end