Table of Contents

Constructor GuiLayout

Namespace
OpenEphys.Miniscope.Gui
Assembly
OpenEphys.Miniscope.Gui.dll

GuiLayout(bool, float, bool, bool, float, bool, float)

Snapshot of the shared GUI layout state, threaded through the panel chain each render tick. Every panel reads the fields it needs and returns an updated copy, so cross-panel coordination happens through the dataflow graph rather than through mutable static state.

public GuiLayout(bool SidebarOpen, float RecordingSectionHeight, bool ImageExpanded, bool ImageExpandedRequested, float ImagePaneHeight, bool ConsoleOpen, float ConsoleHeight)

Parameters

SidebarOpen bool

Whether the settings sidebar is currently expanded (showing its full content) rather than collapsed to icon width.

RecordingSectionHeight float

The height, in pixels, that the Recording section's content occupied last frame.

ImageExpanded bool

Whether the image pane fills the entire data panel. When set, the settings sidebar and the console are both fully hidden and the image/signal splitter and signal pane are skipped.

ImageExpandedRequested bool

The Expand/Collapse button has been toggled, and on the next frame it will be drawn as toggled; this is to remove the one-frame lag that can cause visual flickering in the GUI by changing the ImageExpanded value halfway through the frame, leaving some panels drawn with and some without this value.

ImagePaneHeight float

The dragged pixel height of the image pane inside DataPanel.

ConsoleOpen bool

Whether the console is expanded (showing its log content and splitter) or collapsed to its header row.

ConsoleHeight float

The dragged pixel height of the console.

GuiLayout()

Creates a layout with the default state used to seed the workflow's Layout subject.

public GuiLayout()