Changeset 8965860c in mainline for uspace/lib/ui/private/scrollbar.h
- Timestamp:
- 2022-03-23T18:35:16Z (3 years ago)
- Branches:
- master, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- 7ca7215
- Parents:
- d4ea1f6
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/lib/ui/private/scrollbar.h
rd4ea1f6 r8965860c 48 48 /** Base control object */ 49 49 struct ui_control *control; 50 /** UI resource */ 51 struct ui_resource *res; 50 /** UI */ 51 struct ui *ui; 52 /** UI window containing scrollbar */ 53 struct ui_window *window; 52 54 /** Callbacks */ 53 55 struct ui_scrollbar_cb *cb; … … 66 68 /** Up through is currently held down */ 67 69 bool up_through_held; 70 /** Pointer is inside up through */ 71 bool up_through_inside; 68 72 /** Down through is currently held down */ 69 73 bool down_through_held; 74 /** Pointer is inside down through */ 75 bool down_through_inside; 70 76 /** Position where thumb was pressed */ 71 77 gfx_coord2_t press_pos; … … 74 80 /** Thumb position */ 75 81 gfx_coord_t pos; 82 /** Last cursor position (when through is held) */ 83 gfx_coord2_t last_curs_pos; 76 84 }; 77 85 … … 97 105 extern errno_t ui_scrollbar_paint_gfx(ui_scrollbar_t *); 98 106 extern errno_t ui_scrollbar_paint_text(ui_scrollbar_t *); 99 extern errno_t ui_scrollbar_thumb_clear(ui_scrollbar_t *);100 107 extern void ui_scrollbar_get_geom(ui_scrollbar_t *, ui_scrollbar_geom_t *); 101 108
Note:
See TracChangeset
for help on using the changeset viewer.