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

A floating toolbar window dragged by its thumb; one drag at a time. More...

#include <gui_controls/subsystems/gui_subsystem_state.h>

Public Member Functions

bool Active () const

Public Attributes

Gesture< IntRect > press
 the thumb's press, a drag from the start; the window before it, put back by Escape
ID windowID = ID::Invalid()
int2 currentMousePos {}
 screen pixels
ToolbarDockState * sourceDockState = nullptr

Detailed Description

A floating toolbar window dragged by its thumb; one drag at a time.

currentMousePos is read by the construction-time drop visualization.

Member Function Documentation

◆ Active()

bool tachyon::ToolbarWindowDragSubsystem::Active ( ) const
inline

Member Data Documentation

◆ press

Gesture<IntRect> tachyon::ToolbarWindowDragSubsystem::press

the thumb's press, a drag from the start; the window before it, put back by Escape

◆ windowID

ID tachyon::ToolbarWindowDragSubsystem::windowID = ID::Invalid()

◆ currentMousePos

int2 tachyon::ToolbarWindowDragSubsystem::currentMousePos {}

screen pixels

◆ sourceDockState

ToolbarDockState* tachyon::ToolbarWindowDragSubsystem::sourceDockState = nullptr

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