Light property functions and basic light example.

This commit is contained in:
jussi
2023-05-30 13:42:43 +03:00
parent 335321e3aa
commit e1cc1e9e27
13 changed files with 674 additions and 5 deletions

View File

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