Added increment_pressed and decrement_pressed icons to scrollbars

This commit is contained in:
skysphr 2021-08-17 22:06:19 +03:00
parent 819aa47fee
commit e27ab2708f
6 changed files with 47 additions and 2 deletions

View file

@ -51,6 +51,9 @@ class ScrollBar : public Range {
HighlightStatus highlight = HIGHLIGHT_NONE;
bool incr_active = false;
bool decr_active = false;
struct Drag {
bool active = false;
float pos_at_click = 0.0;