mirror of
https://github.com/MaSzyna-EU07/maszyna.git
synced 2026-10-17 05:09:20 +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:
@@ -430,6 +430,8 @@ class editor_mode : public application_mode, private editor_track::observer
|
||||
void render_gizmo_options();
|
||||
// edit modes, editor windows and gizmo settings in the toolbar under the menu
|
||||
void render_toolbar();
|
||||
// an edit mode of the node bank as the field of work, from the toolbar or its key (1-5)
|
||||
void choose_edit_mode(nodebank_panel::edit_mode const Mode);
|
||||
bool m_gizmo_enabled{true}; // master switch for the in-viewport gizmo
|
||||
bool m_gizmo_using{false}; // tracks an ongoing drag, so a single undo snapshot is taken per drag
|
||||
bool m_gizmo_local{false}; // manipulate in the object's local space instead of world space
|
||||
|
||||
Reference in New Issue
Block a user