mirror of
https://github.com/cyberarm/i-mic-fps.git
synced 2025-12-15 15:42:35 +00:00
Added icons for settings menu, refreshed menus to unify layouts
This commit is contained in:
@@ -3,17 +3,22 @@
|
||||
class IMICFPS
|
||||
class MultiplayerProfileMenu < Menu
|
||||
def setup
|
||||
label "Profile", text_size: 100, color: Gosu::Color::BLACK
|
||||
|
||||
flow(width: 1.0, height: 1.0) do
|
||||
stack(width: 0.25, height: 1.0) do
|
||||
button "Edit Profile", width: 1.0
|
||||
button "Log Out", width: 1.0
|
||||
button I18n.t("menus.back"), width: 1.0, margin_top: 64 do
|
||||
pop_state
|
||||
end
|
||||
end
|
||||
|
||||
stack(width: 0.5, height: 1.0) do
|
||||
label "Profile", text_size: 100, color: Gosu::Color::BLACK, width: 1.0, text_align: :center
|
||||
|
||||
flow width: 1.0 do
|
||||
link I18n.t("menus.back"), width: 0.32 do
|
||||
pop_state
|
||||
end
|
||||
|
||||
button "Edit Profile", width: 0.32
|
||||
button "Log Out", width: 0.32
|
||||
end
|
||||
|
||||
flow(width: 1.0, padding: 4) do
|
||||
background 0x88_222222
|
||||
|
||||
@@ -25,7 +30,7 @@ class IMICFPS
|
||||
end
|
||||
end
|
||||
|
||||
flow(margin_top: 4, margin_right: 4) do
|
||||
flow(margin_top: 4) do
|
||||
stack do
|
||||
label "Kiil/Death Ratio"
|
||||
label "Kills"
|
||||
@@ -36,7 +41,7 @@ class IMICFPS
|
||||
label "Repair Points"
|
||||
end
|
||||
|
||||
stack do
|
||||
stack margin_left: 16 do
|
||||
label "0.72"
|
||||
label "21"
|
||||
label "28"
|
||||
|
||||
Reference in New Issue
Block a user