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
SidebarOpenboolWhether the settings sidebar is currently expanded (showing its full content) rather than collapsed to icon width.
RecordingSectionHeightfloatThe height, in pixels, that the Recording section's content occupied last frame.
ImageExpandedboolWhether 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.
ImageExpandedRequestedboolThe 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.
ImagePaneHeightfloatThe dragged pixel height of the image pane inside DataPanel.
ConsoleOpenboolWhether the console is expanded (showing its log content and splitter) or collapsed to its header row.
ConsoleHeightfloatThe dragged pixel height of the console.
GuiLayout()
Creates a layout with the default state used to seed the workflow's Layout subject.
public GuiLayout()