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

What a press does besides being tracked. More...

#include <gui_core/input/gui_gesture.h>

Public Attributes

MouseButtons button = MouseButtons::Left
 the button that starts it
bool atOnce = false
 a drag from the press on, never a click
bool focus = true
 take the keyboard focus (and leave any text editor)
ID focusID = ID::Invalid()
 the element to focus; Invalid: the one pressed
bool capture = true
 take the mouse capture, so the moves and release come here

Detailed Description

What a press does besides being tracked.

Member Data Documentation

◆ button

MouseButtons tachyon::PressOptions::button = MouseButtons::Left

the button that starts it

◆ atOnce

bool tachyon::PressOptions::atOnce = false

a drag from the press on, never a click

◆ focus

bool tachyon::PressOptions::focus = true

take the keyboard focus (and leave any text editor)

◆ focusID

ID tachyon::PressOptions::focusID = ID::Invalid()

the element to focus; Invalid: the one pressed

◆ capture

bool tachyon::PressOptions::capture = true

take the mouse capture, so the moves and release come here


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