Changes in uspace/lib/ui/private/entry.h [a106037:c0757e1f] in mainline
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/lib/ui/private/entry.h
ra106037 rc0757e1f 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 87 extern errno_t ui_entry_insert_str(ui_entry_t *, const char *);88 94 extern ui_evclaim_t ui_entry_key_press_ctrl(ui_entry_t *, kbd_event_t *); 89 95 extern ui_evclaim_t ui_entry_key_press_shift(ui_entry_t *, kbd_event_t *); … … 92 98 extern size_t ui_entry_find_pos(ui_entry_t *, gfx_coord2_t *); 93 99 extern void ui_entry_delete_sel(ui_entry_t *); 94 extern void ui_entry_activate(ui_entry_t *); 95 extern void ui_entry_deactivate(ui_entry_t *); 100 extern void ui_entry_scroll_update(ui_entry_t *, bool); 96 101 97 102 #endif
Note:
See TracChangeset
for help on using the changeset viewer.