mirror of
https://gitlab.com/4w/mtimer.git
synced 2024-11-24 16:23:44 +01:00
update main menu design
This commit is contained in:
parent
0c04bb9f50
commit
9f47f58e64
@ -14,6 +14,11 @@ Timer Format=Timerformat
|
||||
Reset Everything=Alles zurücksetzen
|
||||
Open Main Menu=Hauptmenü öffnen
|
||||
|
||||
# Main Menu
|
||||
Visuals=Aussehen
|
||||
Time Representation=Zeit-Repräsentation
|
||||
Timer Configuration=Timerkonfiguration
|
||||
|
||||
# Visibility
|
||||
Visible=Sichtbar
|
||||
Invisible=Unsichtbar
|
||||
|
@ -6,20 +6,34 @@ local fe = minetest.formspec_escape
|
||||
|
||||
mtimer.show_formspec.main_menu = function (player_name)
|
||||
minetest.show_formspec(player_name, 'mtimer:main_menu', [[
|
||||
size[4,11.25]
|
||||
label[0,-0.125;]]..S('mTimer Configuration')..[[]
|
||||
size[9.5,6]
|
||||
|
||||
button[0,0.5;4,1;set_visibility;]]..S('Visibility')..[[]
|
||||
button[0,1.5;4,1;set_position;]]..S('Position')..[[]
|
||||
button[0,2.5;4,1;set_color;]]..S('Color')..[[]
|
||||
button[0,3.5;4,1;timezone_offset;]]..S('Timezone Offset')..[[]
|
||||
button[0,4.5;4,1;ingame_time_format;]]..S('Ingame Time Format')..[[]
|
||||
button[0,5.5;4,1;real_world_time_format;]]..S('Real-World Time Format')..[[]
|
||||
button[0,6.5;4,1;session_start_time_format;]]..S('Session Start Time Format')..[[]
|
||||
button[0,7.5;4,1;session_duration_format;]]..S('Session Duration Format')..[[]
|
||||
button[0,8.5;4,1;timer_format;]]..S('Timer Format')..[[]
|
||||
button[0,9.5;4,1;reset_everything;]]..S('Reset Everything')..[[]
|
||||
button_exit[0,10.5;4,1;exit;]]..S('Exit')..[[]
|
||||
container[0,0]
|
||||
label[0,0;]]..S('Visuals')..[[]
|
||||
button[0,0.5;3,1;set_visibility;]]..S('Visibility')..[[]
|
||||
button[0,1.5;3,1;set_position;]]..S('Position')..[[]
|
||||
button[0,2.5;3,1;set_color;]]..S('Color')..[[]
|
||||
container_end[]
|
||||
|
||||
container[3.25,0]
|
||||
label[0,0;]]..S('Time Representation')..[[]
|
||||
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,2.5;3,1;session_start_time_format;]]..S('Session Start Time Format')..[[]
|
||||
button[0,3.5;3,1;session_duration_format;]]..S('Session Duration Format')..[[]
|
||||
container_end[]
|
||||
|
||||
container[6.5,]
|
||||
label[0,0;]]..S('Timer Configuration')..[[]
|
||||
button[0,0.5;3,1;timer_format;]]..S('Timer Format')..[[]
|
||||
button[0,1.5;3,1;timezone_offset;]]..S('Timezone Offset')..[[]
|
||||
container_end[]
|
||||
|
||||
container[0,5.25]
|
||||
box[0,0;9.25,0.02;#ffffff]
|
||||
button[3.49,0.125;3,1;reset_everything;]]..S('Reset Everything')..[[]
|
||||
button_exit[6.49,0.125;3,1;exit;]]..S('Exit')..[[]
|
||||
container_end[]
|
||||
]])
|
||||
end
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user