Table of Contents

Struct ContactState

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

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

public readonly record struct ContactState : IEquatable<ContactState>
Implements
Inherited Members

Constructors

ContactState(bool, bool, bool)

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

Properties

InDragBox

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.

Inspected

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.

Selected

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.