mirror of
https://github.com/MaSzyna-EU07/maszyna.git
synced 2026-10-19 00:19:19 +02:00
feat(editor): colours of the editor: amber accents on grey panels as in the design of the layout, the rest of the simulator stays green (colours of the ui chosen by the ui of the mode drawn; Editor Settings > General, kept in eu07_editor.ini), docking preview in the accent colour in both; keys 1-5 choose the edit modes in the order of the toolbar, shown in its tooltips; Mode windows merged into Windows: the windows of the editor, model sets among them, window layout reset and unpinning of the docks; Polish translation
This commit is contained in:
@@ -100,6 +100,8 @@ bool editorSettings::load()
|
||||
m_nodebank_previews = (value == "1");
|
||||
else if (key == "nodebank_card")
|
||||
parse(value, m_nodebank_card);
|
||||
else if (key == "palette")
|
||||
parse(value, m_palette);
|
||||
else if (key.rfind(origin_prefix, 0) == 0)
|
||||
{
|
||||
// northing;easting
|
||||
@@ -142,6 +144,7 @@ bool editorSettings::save()
|
||||
stream << "signal_offset " << m_signal_offset << "\n";
|
||||
stream << "nodebank_previews " << (m_nodebank_previews ? 1 : 0) << "\n";
|
||||
stream << "nodebank_card " << m_nodebank_card << "\n";
|
||||
stream << "palette " << m_palette << "\n";
|
||||
stream << std::fixed << std::setprecision(3);
|
||||
for (auto const &origin : m_orthophoto_origins)
|
||||
stream << origin.first << " " << origin.second.first << ";" << origin.second.second << "\n";
|
||||
|
||||
Reference in New Issue
Block a user