18
0
mirror of https://github.com/MaSzyna-EU07/maszyna.git synced 2026-11-21 19:05:00 +01:00

feat(ui): memory cells section in the debug panel, to look up and set them while the simulation runs

This commit is contained in:
2026-10-22 16:42:56 +02:00
parent 1cc1ba27d2
commit 29f624024f
4 changed files with 35 additions and 5 deletions

View File

@@ -283,9 +283,13 @@ class memcells_panel : public ui_panel
memcells_panel(std::string const &Name, bool const Isopen) : ui_panel(Name, Isopen) {}
void render() override;
// panel content without the window, also drawn in the debug panel of the driver mode
void render_body();
// moves the camera to specified node; provided by the editor mode
std::function<void(scene::basic_node *)> focus;
// height of the list, 0: it takes what the window has left
float listheight{0.0f};
private:
// methods