mirror of
https://github.com/MaSzyna-EU07/maszyna.git
synced 2026-11-08 19:52:47 +01:00
Merge remote-tracking branch 'jano211/siec-radio' into feat/renderers-cleanup
This commit is contained in:
@@ -202,6 +202,15 @@ void editor_mode::work_area_tools(std::vector<tool_button> &Buttons)
|
||||
Buttons.back().accent = family_colour(2);
|
||||
break;
|
||||
}
|
||||
case work_area::catenary:
|
||||
{
|
||||
// the pages of the catenary: poles with cantilevers, gantries, the wires of the chains
|
||||
auto const page{catenary_page()};
|
||||
Buttons.push_back({icon::catenary, STR_C("Poles"), nullptr, STR_C("Poles with cantilevers: LMB by a track places one, LMB on a pole selects it"), page == 0, [this]() { catenary_choose_page(0); }});
|
||||
Buttons.push_back({icon::gantry, STR_C("Gantries"), nullptr, STR_C("Gantries: masts and beams, the cantilevers on their drops and masts"), page == 1, [this]() { catenary_choose_page(1); }});
|
||||
Buttons.push_back({icon::wires, STR_C("Wires"), nullptr, STR_C("The chains: the type of the network, the wires, the spans between the poles"), page == 2, [this]() { catenary_choose_page(2); }});
|
||||
break;
|
||||
}
|
||||
case work_area::roads:
|
||||
{
|
||||
auto &tool{m_roadtool};
|
||||
|
||||
Reference in New Issue
Block a user