Table of Contents

Constructor ContactState

Namespace
OpenEphys.EphysVisualization.Design
Assembly
OpenEphys.EphysVisualization.Design.dll

ContactState(bool, bool, bool)

Represents where one contact of an ImGuiProbeSelector stands in its selection.

public ContactState(bool Selected, bool Inspected, bool InDragBox)

Parameters

Selected bool

Whether the contact is selected: the selection an owner acts on. It accumulates across gestures (Shift+drag adds, Ctrl+Shift+drag removes) and leaves out blocked contacts while SelectionSkipsBlocked is set.

Inspected bool

Whether the contact was swept up by the same gestures, blocked or not, for showing what was swept without letting blocked contacts be acted on. Always set where Selected is.

InDragBox bool

Whether the contact lies inside the current drag box, or under the last plain click, whatever the drag's intent. Unlike the selection, this does not accumulate across gestures.