TachyonUI 1.1.0
High-performance UI for building tools.
Loading...
Searching...
No Matches
tachyon::FrameDrag Struct Reference

A press on a frame's title or one of its edges, and what it moves. More...

#include <gui_controls/gui_node_view_types.h>

Public Attributes

tachyon::Gesture press
 a move's press becomes a drag past the drag distance; a resize's at once
tachyon::ID frameID = tachyon::ID::Invalid()
FrameEdges edges = FrameEdges::None
 None: a move, by the title.
std::vector< std::pair< int, NodeFrame > > frames
 At the press: the frames it moves (it, and those inside it) and the nodes inside them, by index, as they were.
std::vector< std::pair< int, tachyon::int2 > > nodes

Detailed Description

A press on a frame's title or one of its edges, and what it moves.

Member Data Documentation

◆ press

tachyon::Gesture tachyon::FrameDrag::press

a move's press becomes a drag past the drag distance; a resize's at once

◆ frameID

tachyon::ID tachyon::FrameDrag::frameID = tachyon::ID::Invalid()

◆ edges

FrameEdges tachyon::FrameDrag::edges = FrameEdges::None

None: a move, by the title.

◆ frames

std::vector<std::pair<int, NodeFrame> > tachyon::FrameDrag::frames

At the press: the frames it moves (it, and those inside it) and the nodes inside them, by index, as they were.

◆ nodes

std::vector<std::pair<int, tachyon::int2> > tachyon::FrameDrag::nodes

The documentation for this struct was generated from the following file: