TachyonUI 0.1.0
High-performance UI for building tools.
Loading...
Searching...
No Matches
gui_node_view_types.h File Reference
#include <gui_core/gui_base_types.h>
#include <gui_core/gui_id.h>
#include <gui_core/input/gui_command_manager.h>
#include <gui_core/input/gui_pointer_drag.h>
#include <gui_core/graphics/gui_custom_draw_context.h>
#include <gui_controls/gui_widget_state_types.h>
#include <functional>
#include <optional>
#include <string>
#include <unordered_map>
#include <unordered_set>
#include <vector>

Go to the source code of this file.

Classes

struct  tachyon::PropertyEndpoint
 A property on a node. Default-constructed is invalid: in a socket it means "present, unwired". More...
struct  tachyon::NodeProperty
 One row of a node: an optional input socket, a body, and an optional output socket. More...
struct  tachyon::NodeModel
 One node of a node view. More...
struct  tachyon::PendingConnection
 A wire being dragged. Committed wires are the reciprocal endpoints on NodeProperty. More...
struct  tachyon::WireLane
 A wire's place among the wires between the same two nodes, so their default lanes nest instead of coinciding or crossing (ComputeWireLaneOffsets). More...
struct  tachyon::WireRouteOverrides
 User-pinned lanes of one wire (unset = default), in the route's space. More...
struct  tachyon::WireSegmentHandle
 Draggable interior segment; vertical segments drag horizontally and vice versa. More...
struct  tachyon::WireRoute
 Polyline plus its draggable interior segments (never the end stubs). More...
struct  tachyon::CachedWireHandle
 Last frame's draggable segment (node.pos space), for laying out its grab element. More...
struct  tachyon::NodeViewEdit
 One thing the user did in a node view, as values before and after, so a host can keep the undo history (NodeView::onEdit) and undo or redo it (ApplyNodeViewEdit). More...
struct  tachyon::NodeViewEdit::Move
 A node (index) moved; positions in node.pos space. More...
struct  tachyon::NodeViewEdit::Rewire
 An input's source changed; an invalid endpoint means unwired. More...
struct  tachyon::NodeViewEdit::Collapse
 A node (index) collapsed or expanded. More...
struct  tachyon::NodeViewEdit::Lanes
 A wire's (by WireKey) lane overrides changed; default means no overrides. More...
struct  tachyon::NodeViewEdit::Node
 A node added at index (or, when !added, taken from there), with the wires from its outputs into other nodes' inputs and the lane overrides of every wire into or out of it. More...
struct  tachyon::DrawnWire
 A wire as drawn this frame, for hit-testing; points in node.pos space. More...
struct  tachyon::WireSegmentDrag
 Segment drag via mouse capture rather than DnD, so the resize cursor sticks. More...
struct  tachyon::NodeView
 All state of one node-view widget; no global state. More...

Namespaces

namespace  tachyon

Enumerations

enum class  tachyon::WireHandle : uint8_t {
  tachyon::WireHandle::None , tachyon::WireHandle::LaneX , tachyon::WireHandle::ExitX , tachyon::WireHandle::EntryX ,
  tachyon::WireHandle::LaneY
}
 Interior lane a drag handle adjusts: the corridor route's vertical lane (LaneX), or the detour route's verticals (ExitX, EntryX) and horizontal return lane (LaneY). More...