Changes in uspace/lib/ui/private/entry.h [c0757e1f:a106037] in mainline
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/lib/ui/private/entry.h
rc0757e1f ra106037 40 40 #include <gfx/coord.h> 41 41 #include <gfx/text.h> 42 #include <stdbool.h>43 42 44 43 /** Actual structure of text entry. … … 59 58 /** Text */ 60 59 char *text; 61 /** Current scroll position (in pixels) */62 gfx_coord_t scroll_pos;63 60 /** Cursor position in the text (offset in bytes) */ 64 61 unsigned pos; … … 84 81 /** Interior rectangle */ 85 82 gfx_rect_t interior_rect; 86 /** Text rectangle */87 gfx_rect_t text_rect;88 83 /** Text anchor position */ 89 84 gfx_coord2_t text_pos; 90 /** Text anchor X coordinate */91 gfx_coord_t anchor_x;92 85 } ui_entry_geom_t; 93 86 87 extern errno_t ui_entry_insert_str(ui_entry_t *, const char *); 94 88 extern ui_evclaim_t ui_entry_key_press_ctrl(ui_entry_t *, kbd_event_t *); 95 89 extern ui_evclaim_t ui_entry_key_press_shift(ui_entry_t *, kbd_event_t *); … … 98 92 extern size_t ui_entry_find_pos(ui_entry_t *, gfx_coord2_t *); 99 93 extern void ui_entry_delete_sel(ui_entry_t *); 100 extern void ui_entry_scroll_update(ui_entry_t *, bool); 94 extern void ui_entry_activate(ui_entry_t *); 95 extern void ui_entry_deactivate(ui_entry_t *); 101 96 102 97 #endif
Note:
See TracChangeset
for help on using the changeset viewer.