Changeset 1026cc4 in mainline for uspace/lib/ui/private/scrollbar.h


Ignore:
Timestamp:
2022-03-20T19:51:09Z (2 years ago)
Author:
Jiri Svoboda <jiri@…>
Branches:
master, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
26c90dd
Parents:
5ef85c0
Message:

Clicking scrollbar through to generate page up / page down

File:
1 edited

Legend:

Unmodified
Added
Removed
  • uspace/lib/ui/private/scrollbar.h

    r5ef85c0 r1026cc4  
    6363        struct ui_pbutton *btn_down;
    6464        /** Thumb is currently held down */
    65         bool held;
     65        bool thumb_held;
     66        /** Up through is currently held down */
     67        bool up_through_held;
     68        /** Down through is currently held down */
     69        bool down_through_held;
    6670        /** Position where thumb was pressed */
    6771        gfx_coord2_t press_pos;
     
    8185        /** Through rectangle */
    8286        gfx_rect_t through_rect;
     87        /** Up through rectangle */
     88        gfx_rect_t up_through_rect;
    8389        /** Thumb rectangle */
    8490        gfx_rect_t thumb_rect;
     91        /** Down through rectangle */
     92        gfx_rect_t down_through_rect;
    8593        /** Down button rectangle */
    8694        gfx_rect_t down_btn_rect;
Note: See TracChangeset for help on using the changeset viewer.