diff options
| author | jussi | 2022-04-01 20:35:43 +0300 |
|---|---|---|
| committer | jussi | 2022-04-01 20:35:43 +0300 |
| commit | 7665cf4bc16a423d4cd98174853dcc36de08787e (patch) | |
| tree | 34320026165dab240e1678ae1905b10dee24710c /examples/gui/main.lua | |
| parent | 7928f9dbab6829f73c57e6dd4ede0da6cea023b0 (diff) | |
| download | reilua-enhanced-7665cf4bc16a423d4cd98174853dcc36de08787e.tar.gz reilua-enhanced-7665cf4bc16a423d4cd98174853dcc36de08787e.tar.bz2 reilua-enhanced-7665cf4bc16a423d4cd98174853dcc36de08787e.zip | |
GuiIconText.
Diffstat (limited to 'examples/gui/main.lua')
| -rw-r--r-- | examples/gui/main.lua | 3 |
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 |
