mirror of
https://github.com/MihailRis/voxelcore.git
synced 2026-10-04 18:41:51 +00:00
add gui.root & add 'app' library to project scripts
This commit is contained in:
parent
e6812371ec
commit
bfbfe59f9b
5 changed files with 20 additions and 1 deletions
|
|
@ -17,7 +17,7 @@ local function configure_menu()
|
|||
end
|
||||
return w, h
|
||||
end
|
||||
_GUI_ROOT.root:add(
|
||||
gui.root.root:add(
|
||||
"<image id='menubg' src='gui/menubg' size-func='DATA.resize_menu_bg' "..
|
||||
"z-index='-1' interactive='true'/>", controller)
|
||||
menubg = _GUI_ROOT.menubg
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue