mirror of
https://github.com/luanti-org/luanti.git
synced 2025-09-15 18:57:08 +00:00
Reworked formspecs and kahrl's hexcolor parser
This commit is contained in:
parent
0b78889289
commit
25edae00ea
5 changed files with 260 additions and 70 deletions
|
@ -30,8 +30,8 @@ end
|
|||
|
||||
--------------------------------------------------------------------------------
|
||||
function menubar.refresh()
|
||||
menubar.formspec = "box[-0.3,5.625;12.4,1.3;000000]" ..
|
||||
"box[-0.3,5.6;12.4,0.05;FFFFFF]"
|
||||
menubar.formspec = "box[-0.3,5.625;12.4,1.3;#000000]" ..
|
||||
"box[-0.3,5.6;12.4,0.05;#FFFFFF]"
|
||||
menubar.buttons = {}
|
||||
|
||||
local button_base = -0.25
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue