TachyonUI 0.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

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

Detailed Description

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

Member Data Documentation

◆ drag

PointerDrag tachyon::ScrollbarDragState::drag

a drag from the press on

◆ thumbGrabOffset

int tachyon::ScrollbarDragState::thumbGrabOffset = 0

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

◆ startScroll

int tachyon::ScrollbarDragState::startScroll = 0

scroll position before the press; put back by Escape


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