mirror of
https://github.com/MaSzyna-EU07/maszyna.git
synced 2026-11-04 12:35:54 +01:00
Merge branch 'feat/modern-editor' of https://github.com/MaSzyna-EU07/maszyna into feat/modern-editor
This commit is contained in:
@@ -64,6 +64,11 @@ class editor_ui : public ui_layer
|
||||
{
|
||||
m_gizmooptions = std::move(Renderer);
|
||||
}
|
||||
// switch of the structure gauge window in the menu bar (the window lives in the editor mode)
|
||||
void set_gauge_window(bool *Open)
|
||||
{
|
||||
m_gaugewindow = Open;
|
||||
}
|
||||
// actions of the file menu, performed by the editor mode
|
||||
void set_file_actions(std::function<void()> Save, std::function<void()> Export);
|
||||
// shows outcome of an operation in the layers window
|
||||
@@ -90,4 +95,5 @@ class editor_ui : public ui_layer
|
||||
std::function<void()> m_menuoptions;
|
||||
std::function<void()> m_gizmooptions;
|
||||
scene::basic_node *m_node{nullptr}; // currently bound scene node, if any
|
||||
bool *m_gaugewindow{nullptr};
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user