mirror of
https://github.com/MaSzyna-EU07/maszyna.git
synced 2026-07-21 00:09:19 +02:00
vehicle params window, aware system rewrite, sifa
This commit is contained in:
@@ -28,6 +28,7 @@ driver_ui::driver_ui() {
|
||||
push_back( &m_transcriptspanel );
|
||||
|
||||
//push_back( &m_vehiclelist );
|
||||
push_back( &m_vehicleparams );
|
||||
push_back( &m_timepanel );
|
||||
push_back( &m_mappanel );
|
||||
push_back( &m_logpanel );
|
||||
@@ -57,6 +58,8 @@ void driver_ui::render_menu_contents() {
|
||||
if (ImGui::MenuItem(m_timepanel.get_name().c_str()))
|
||||
m_timepanel.open();
|
||||
|
||||
ImGui::MenuItem(m_vehicleparams.get_name().c_str(), nullptr, &m_vehicleparams.is_open);
|
||||
|
||||
ImGui::EndMenu();
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user