mirror of
https://github.com/MaSzyna-EU07/maszyna.git
synced 2026-10-17 02:49:19 +02:00
feat: structure gauge window in the menu bar, gauge tunnel around the hit, fixed reach
This commit is contained in:
@@ -143,6 +143,12 @@ void editor_ui::render_menu_contents()
|
||||
ImGui::MenuItem(STR_C("Include database"), nullptr, &m_includespanel.is_open);
|
||||
ImGui::EndMenu();
|
||||
}
|
||||
if (m_gaugewindow != nullptr)
|
||||
{
|
||||
ImGui::MenuItem(STR_C("Structure gauge"), nullptr, m_gaugewindow);
|
||||
if (ImGui::IsItemHovered())
|
||||
ImGui::SetTooltip("%s", STR_C("Checks which models enter the structure gauge of the tracks (skrajnia budowli)"));
|
||||
}
|
||||
}
|
||||
|
||||
void editor_ui::set_file_actions(std::function<void()> Save, std::function<void()> Export)
|
||||
|
||||
Reference in New Issue
Block a user