summaryrefslogtreecommitdiff
path: root/examples/gui
diff options
context:
space:
mode:
authorjussi2023-10-11 15:19:54 +0300
committerjussi2023-10-11 15:19:54 +0300
commitc3352b8ed7becfef5a175f763241d77afdf24b02 (patch)
treea1755b6b513c165361dbf7cd5ccfffffd62fa2f1 /examples/gui
parent8311dfd354f136333a6fc5084ef2f7a637339959 (diff)
downloadreilua-enhanced-c3352b8ed7becfef5a175f763241d77afdf24b02.tar.gz
reilua-enhanced-c3352b8ed7becfef5a175f763241d77afdf24b02.tar.bz2
reilua-enhanced-c3352b8ed7becfef5a175f763241d77afdf24b02.zip
isValidRenderTexture fix.
Diffstat (limited to 'examples/gui')
-rw-r--r--examples/gui/main.lua6
1 files changed, 6 insertions, 0 deletions
diff --git a/examples/gui/main.lua b/examples/gui/main.lua
index 25c4ed6..18d8b41 100644
--- a/examples/gui/main.lua
+++ b/examples/gui/main.lua
@@ -36,10 +36,16 @@ end
function RL.draw()
RL.ClearBackground( { 50, 20, 75 } )
+ -- RL.GuiSetStyle( RL.DEFAULT, RL.TEXT_SIZE, 10 )
+
if RL.GuiButton( { 112, 16, 96, 32 }, RL.GuiIconText( 113, "Exit" ) ) then
RL.CloseWindow()
end
+ -- RL.GuiSetStyle( RL.DEFAULT, RL.TEXT_SIZE, 20 )
+ RL.GuiButton( { 112, 64, 96, 32 }, RL.GuiIconText( 113, "Kissa" ) )
+ -- RL.GuiSetStyle( RL.DEFAULT, RL.TEXT_SIZE, 10 )
+
if windowOpen and RL.GuiWindowBox( { 300, 16, 200, 320 }, "Window" ) then
windowOpen = false
end