Changeset dbb42c9 in mainline for uspace/lib/ui/private/entry.h
- Timestamp:
- 2021-08-01T14:47:33Z (3 years ago)
- Branches:
- master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- 1e242121
- Parents:
- 5de71df
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/lib/ui/private/entry.h
r5de71df rdbb42c9 40 40 #include <gfx/coord.h> 41 41 #include <gfx/text.h> 42 #include <stdbool.h> 42 43 43 44 /** Actual structure of text entry. … … 58 59 /** Text */ 59 60 char *text; 61 /** Current scroll position (in pixels) */ 62 gfx_coord_t scroll_pos; 60 63 /** Cursor position in the text (offset in bytes) */ 61 64 unsigned pos; … … 81 84 /** Interior rectangle */ 82 85 gfx_rect_t interior_rect; 86 /** Text rectangle */ 87 gfx_rect_t text_rect; 83 88 /** Text anchor position */ 84 89 gfx_coord2_t text_pos; 90 /** Text anchor X coordinate */ 91 gfx_coord_t anchor_x; 85 92 } ui_entry_geom_t; 86 93 … … 94 101 extern void ui_entry_activate(ui_entry_t *); 95 102 extern void ui_entry_deactivate(ui_entry_t *); 103 extern void ui_entry_scroll_update(ui_entry_t *, bool); 96 104 97 105 #endif
Note:
See TracChangeset
for help on using the changeset viewer.