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

Per-element state of MakeScrollbarHandler (element data store); internal. More...

#include <gui_controls/gui_default_handlers.h>

Public Attributes

Gesture< int > drag
 a drag from the press on; before is the scroll position, put back by Escape
int thumbGrabOffset = 0
 cursor offset from the thumb's near edge at drag start, pixels

Detailed Description

Per-element state of MakeScrollbarHandler (element data store); internal.

Member Data Documentation

◆ drag

Gesture<int> tachyon::ScrollbarDragState::drag

a drag from the press on; before is the scroll position, put back by Escape

◆ thumbGrabOffset

int tachyon::ScrollbarDragState::thumbGrabOffset = 0

cursor offset from the thumb's near edge at drag start, pixels


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