Small mainmenu update
This commit is contained in:
parent
9c09a7f1a2
commit
0c7eee305b
@ -96,10 +96,10 @@ return {
|
|||||||
caption = fgettext("Credits"),
|
caption = fgettext("Credits"),
|
||||||
cbf_formspec = function(tabview, name, tabdata)
|
cbf_formspec = function(tabview, name, tabdata)
|
||||||
local version = core.get_version()
|
local version = core.get_version()
|
||||||
return "label[0.1,0;MultiCraft Open Source Project, ver. " .. version.string .. "]" ..
|
return "label[0.1,-0.1;MultiCraft Open Source Project, ver. " .. version.string .. "]" ..
|
||||||
"label[0.1,0.25;Copyright (c) 2014-2019 MultiCraft Developement Team]" ..
|
"label[0.1,0.2;Copyright (c) 2014-2019 MultiCraft Developement Team]" ..
|
||||||
"label[0.1,0.5;Home page: https://github.com/MultiCraftProject/MultiCraft]" ..
|
"label[0.1,0.5;Home page: https://github.com/MultiCraftProject/MultiCraft]" ..
|
||||||
"label[0.1,0.75;Licence: LGPLv3.0+ and CC-BY-SA 3.0]" ..
|
"label[0.1,0.8;Licence: LGPLv3.0+ and CC-BY-SA 3.0]" ..
|
||||||
"tablecolumns[color;text]" ..
|
"tablecolumns[color;text]" ..
|
||||||
"tableoptions[background=#999999;highlight=#00000000;border=true]" ..
|
"tableoptions[background=#999999;highlight=#00000000;border=true]" ..
|
||||||
"table[0,1.6;11.8,3.8;list_credits;" ..
|
"table[0,1.6;11.8,3.8;list_credits;" ..
|
||||||
|
@ -49,7 +49,7 @@ local function get_formspec(tabview, name, tabdata)
|
|||||||
"local_creative_" ..
|
"local_creative_" ..
|
||||||
tostring(creative_mode) .. "_btn.png") ..
|
tostring(creative_mode) .. "_btn.png") ..
|
||||||
";cb_creative_mode;;true;false]" ..
|
";cb_creative_mode;;true;false]" ..
|
||||||
"textlist[0,0;6.24,4.6;sp_worlds;" ..
|
"textlist[-0.025,0.01;6.3,4.63;sp_worlds;" ..
|
||||||
menu_render_worldlist() ..
|
menu_render_worldlist() ..
|
||||||
";" .. index .. ";true]"
|
";" .. index .. ";true]"
|
||||||
return retval
|
return retval
|
||||||
|
@ -50,9 +50,9 @@ local function get_formspec(tabview, name, tabdata)
|
|||||||
-- Name / Password
|
-- Name / Password
|
||||||
"label[7.1,0.85;" .. fgettext("Name:") .. "]" ..
|
"label[7.1,0.85;" .. fgettext("Name:") .. "]" ..
|
||||||
"label[10.22,0.85;" .. fgettext("Password:") .. "]" ..
|
"label[10.22,0.85;" .. fgettext("Password:") .. "]" ..
|
||||||
"field[7.4,1.75;2.86,0.5;te_name;;" ..
|
"field[7.4,1.75;3.2,0.5;te_name;;" ..
|
||||||
core.formspec_escape(core.settings:get("name")) .. "]" ..
|
core.formspec_escape(core.settings:get("name")) .. "]" ..
|
||||||
"pwdfield[10.5,1.8;1.86,0.5;te_pwd;]" ..
|
"pwdfield[10.5,1.8;1.86,0.39;te_pwd;]" ..
|
||||||
|
|
||||||
-- Description Background
|
-- Description Background
|
||||||
"box[7.1,2.1;4.8,2.65;#999999]"..
|
"box[7.1,2.1;4.8,2.65;#999999]"..
|
||||||
@ -72,7 +72,9 @@ local function get_formspec(tabview, name, tabdata)
|
|||||||
end
|
end
|
||||||
|
|
||||||
--favourites
|
--favourites
|
||||||
retval = retval .. "tablecolumns[" ..
|
retval = retval ..
|
||||||
|
"tableoptions[background=#00000000;border=false]" ..
|
||||||
|
"tablecolumns[" ..
|
||||||
image_column(fgettext("")) .. ";" ..
|
image_column(fgettext("")) .. ";" ..
|
||||||
image_column(fgettext("Favorite"), "favorite") .. ";" ..
|
image_column(fgettext("Favorite"), "favorite") .. ";" ..
|
||||||
image_column(fgettext("Ping")) .. ",padding=0.25;" ..
|
image_column(fgettext("Ping")) .. ",padding=0.25;" ..
|
||||||
|
Binary file not shown.
Before Width: | Height: | Size: 5.2 KiB After Width: | Height: | Size: 5.2 KiB |
Binary file not shown.
Before Width: | Height: | Size: 1.7 KiB After Width: | Height: | Size: 2.4 KiB |
Loading…
x
Reference in New Issue
Block a user