mirror of
https://gitlab.com/4w/mtimer.git
synced 2024-11-28 10:13:50 +01:00
main menu update
This commit is contained in:
parent
5a0f2904fa
commit
dd4ba01c7f
@ -17,16 +17,19 @@ local fe = minetest.formspec_escape
|
|||||||
|
|
||||||
mtimer.show_formspec.main_menu = function (player_name)
|
mtimer.show_formspec.main_menu = function (player_name)
|
||||||
minetest.show_formspec(player_name, 'mtimer:main_menu', [[
|
minetest.show_formspec(player_name, 'mtimer:main_menu', [[
|
||||||
size[9.5,6]
|
size[9.5,5.75]
|
||||||
|
|
||||||
container[0,0]
|
label[0,-0.125;]]..S('mTimer')..[[]
|
||||||
|
box[0,0.35;9.25,0.02;#ffffff]
|
||||||
|
|
||||||
|
container[0,0.5]
|
||||||
label[0,0;]]..S('Visuals')..[[]
|
label[0,0;]]..S('Visuals')..[[]
|
||||||
button[0,0.5;3,1;set_visibility;]]..S('Visibility')..[[]
|
button[0,0.5;3,1;set_visibility;]]..S('Visibility')..[[]
|
||||||
button[0,1.5;3,1;set_position;]]..S('Position')..[[]
|
button[0,1.5;3,1;set_position;]]..S('Position')..[[]
|
||||||
button[0,2.5;3,1;set_color;]]..S('Color')..[[]
|
button[0,2.5;3,1;set_color;]]..S('Color')..[[]
|
||||||
container_end[]
|
container_end[]
|
||||||
|
|
||||||
container[3.25,0]
|
container[3.25,0.5]
|
||||||
label[0,0;]]..S('Time Representation')..[[]
|
label[0,0;]]..S('Time Representation')..[[]
|
||||||
button[0,0.5;3,1;ingame_time_format;]]..S('Ingame Time Format')..[[]
|
button[0,0.5;3,1;ingame_time_format;]]..S('Ingame Time Format')..[[]
|
||||||
button[0,1.5;3,1;real_world_time_format;]]..S('Real-World Time Format')..[[]
|
button[0,1.5;3,1;real_world_time_format;]]..S('Real-World Time Format')..[[]
|
||||||
@ -34,16 +37,16 @@ mtimer.show_formspec.main_menu = function (player_name)
|
|||||||
button[0,3.5;3,1;session_duration_format;]]..S('Session Duration Format')..[[]
|
button[0,3.5;3,1;session_duration_format;]]..S('Session Duration Format')..[[]
|
||||||
container_end[]
|
container_end[]
|
||||||
|
|
||||||
container[6.5,]
|
container[6.5,0.5]
|
||||||
label[0,0;]]..S('Timer Configuration')..[[]
|
label[0,0;]]..S('Timer Configuration')..[[]
|
||||||
button[0,0.5;3,1;timer_format;]]..S('Timer Format')..[[]
|
button[0,0.5;3,1;timer_format;]]..S('Timer Format')..[[]
|
||||||
button[0,1.5;3,1;timezone_offset;]]..S('Timezone Offset')..[[]
|
button[0,1.5;3,1;timezone_offset;]]..S('Timezone Offset')..[[]
|
||||||
container_end[]
|
container_end[]
|
||||||
|
|
||||||
container[0,5.25]
|
container[0,5]
|
||||||
box[0,0;9.25,0.02;#ffffff]
|
box[0,0;9.25,0.02;#ffffff]
|
||||||
button[3.49,0.125;3,1;reset_everything;]]..S('Reset Everything')..[[]
|
button[4.5,0.125;2.5,1;reset_everything;]]..S('Reset Everything')..[[]
|
||||||
button_exit[6.49,0.125;3,1;exit;]]..S('Exit')..[[]
|
button_exit[7,0.125;2.5,1;exit;]]..S('Exit')..[[]
|
||||||
container_end[]
|
container_end[]
|
||||||
]])
|
]])
|
||||||
end
|
end
|
||||||
|
Loading…
Reference in New Issue
Block a user