mirror of
https://github.com/MaSzyna-EU07/maszyna.git
synced 2026-11-02 20:56:27 +01:00
Sieć trakcyjna: przęsła wg typów sieci, wysięgniki z katalogu, bramki, kotwienia i edytor sieci
Sam kod exe z gałęzi siec-trakcyjna (bez testów, notatek i danych z tests/catenary). Dane (data/traction_*.txt) leżą poza repozytorium. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_019Tqn7T8D1Gx3ptKtZgNtX5
This commit is contained in:
@@ -55,6 +55,8 @@ class editor_ui : public ui_layer
|
||||
m_filloptions = std::move(Renderer);
|
||||
}
|
||||
// the open track window takes the mouse over, whichever toolset tab is chosen
|
||||
// the title of the tool options of the tracks; empty: "Tracks"
|
||||
void set_track_title(std::string Title) { m_tracktitle = std::move(Title); }
|
||||
void set_track(bool const Track)
|
||||
{
|
||||
m_track = Track;
|
||||
@@ -207,6 +209,7 @@ class editor_ui : public ui_layer
|
||||
bool m_sceneopen{true};
|
||||
std::function<void(scene::basic_node *, bool)> m_sceneselect;
|
||||
std::function<void()> m_tracktools;
|
||||
std::string m_tracktitle;
|
||||
std::function<void()> m_trackselection;
|
||||
int m_toolmode{-1}; // edit mode or field of work the tool options were drawn for the last time
|
||||
workspace m_workspace{workspace::none};
|
||||
|
||||
Reference in New Issue
Block a user