diff options
| author | jussi | 2023-05-30 13:42:43 +0300 |
|---|---|---|
| committer | jussi | 2023-05-30 13:42:43 +0300 |
| commit | e1cc1e9e2796540ab81b9798aeb1684614c66b88 (patch) | |
| tree | e4a9cf22336af770d6803717012708350e2dc503 /examples/resources/lib/raygui.lua | |
| parent | 335321e3aa238069df88cf06c98119ef4ef348d3 (diff) | |
| download | reilua-enhanced-e1cc1e9e2796540ab81b9798aeb1684614c66b88.tar.gz reilua-enhanced-e1cc1e9e2796540ab81b9798aeb1684614c66b88.tar.bz2 reilua-enhanced-e1cc1e9e2796540ab81b9798aeb1684614c66b88.zip | |
Light property functions and basic light example.
Diffstat (limited to 'examples/resources/lib/raygui.lua')
| -rw-r--r-- | examples/resources/lib/raygui.lua | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/examples/resources/lib/raygui.lua b/examples/resources/lib/raygui.lua index 1ebb3f0..69f5694 100644 --- a/examples/resources/lib/raygui.lua +++ b/examples/resources/lib/raygui.lua @@ -47,7 +47,7 @@ end -- Raygui. -Raygui = { +local Raygui = { RAYGUI_WINDOWBOX_STATUSBAR_HEIGHT = 24, elements = {}, @@ -64,6 +64,9 @@ function Raygui.process() return end + -- Focused is 0 if not over any element. + Raygui.focused = 0 + for i = #Raygui.elements, 1, -1 do local element = Raygui.elements[i] |
