|
TachyonUI 1.1.0
High-performance UI for building tools.
|
A wire being dragged. Committed wires are the reciprocal endpoints on NodeProperty. More...
#include <gui_controls/gui_node_view_types.h>
Public Member Functions | |
| bool | IsActive () const |
| A wire drag is in progress: the press has become a drag. | |
Public Attributes | |
| tachyon::Gesture | press |
| The socket's press. | |
| PropertyEndpoint | source = {} |
| The socket the wire starts from: an output, or an unwired input when fromInput. | |
| bool | fromInput = false |
| dragged from an input, towards an output | |
| tachyon::int2 | currentScreen = {} |
| most recent mouse screen pos | |
| PropertyEndpoint | target = {} |
| This frame: the socket it is over and may connect to (an input, or an output when fromInput). | |
| std::optional< PropertyEndpoint > | detachedInput |
| the input the wire was pulled off, if any | |
A wire being dragged. Committed wires are the reciprocal endpoints on NodeProperty.
|
inline |
A wire drag is in progress: the press has become a drag.
| tachyon::Gesture tachyon::PendingConnection::press |
The socket's press.
The drag manager decides when it becomes a drag (its threshold), and the wire is real from then on.
| PropertyEndpoint tachyon::PendingConnection::source = {} |
The socket the wire starts from: an output, or an unwired input when fromInput.
| bool tachyon::PendingConnection::fromInput = false |
dragged from an input, towards an output
| tachyon::int2 tachyon::PendingConnection::currentScreen = {} |
most recent mouse screen pos
| PropertyEndpoint tachyon::PendingConnection::target = {} |
This frame: the socket it is over and may connect to (an input, or an output when fromInput).
| std::optional<PropertyEndpoint> tachyon::PendingConnection::detachedInput |
the input the wire was pulled off, if any