Stubbed game clock page

This commit is contained in:
2021-09-29 09:08:15 -05:00
parent a34d4bbeb2
commit 7d2d44c52f
3 changed files with 33 additions and 4 deletions

View File

@@ -65,10 +65,6 @@ class Editor < CyberarmEngine::GuiState
page(TAC::Pages::TACNET)
end
button get_image("#{TAC::ROOT_PATH}/media/icons/right.png"), margin: 4, tip: "Simulator", image_width: 1.0 do
page(TAC::Pages::Simulator)
end
button get_image("#{TAC::ROOT_PATH}/media/icons/gear.png"), margin: 4, tip: "Configurations", image_width: 1.0 do
page(TAC::Pages::Configurations)
end
@@ -81,6 +77,15 @@ class Editor < CyberarmEngine::GuiState
page(TAC::Pages::Search)
end
stack(margin_left: 4, width: 1.0, margin_right: 4) do
background 0xff_444444
para "Tools", width: 1.0, text_align: :center
end
button get_image("#{TAC::ROOT_PATH}/media/icons/right.png"), margin: 4, tip: "Simulator", image_width: 1.0 do
page(TAC::Pages::Simulator)
end
button get_image("#{TAC::ROOT_PATH}/media/icons/joystickLeft.png"), margin: 4, tip: "Field Planner", image_width: 1.0 do
page(TAC::Pages::FieldPlanner)
end
@@ -88,6 +93,10 @@ class Editor < CyberarmEngine::GuiState
button get_image("#{TAC::ROOT_PATH}/media/icons/massiveMultiplayer.png"), margin: 4, tip: "Drive Team Rotation Generator", image_width: 1.0 do
page(TAC::Pages::DriveTeamRotationGenerator)
end
button get_image("#{TAC::ROOT_PATH}/media/icons/trophy.png"), margin: 4, tip: "Practice Game Clock", image_width: 1.0 do
page(TAC::Pages::GameClock)
end
end
@content = stack(width: window.width - @navigation.style.width, height: 1.0) do