1
0
Fork 0
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:
BlockMen 2013-11-02 04:26:44 +01:00
parent 0b78889289
commit 25edae00ea
5 changed files with 260 additions and 70 deletions

View file

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