GuiIconText.

This commit is contained in:
jussi
2022-04-01 20:35:43 +03:00
parent 7928f9dbab
commit 7665cf4bc1
6 changed files with 43 additions and 6 deletions

View File

@@ -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