Changeset d63623f in mainline for uspace/lib/ui/private/entry.h


Ignore:
Timestamp:
2021-07-16T17:45:12Z (3 years ago)
Author:
Jiri Svoboda <jiri@…>
Branches:
master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
4afb6c9
Parents:
61bf9dd9
Message:

Seeking in entry text using mouse

File:
1 edited

Legend:

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

    r61bf9dd9 rd63623f  
    6666};
    6767
     68/** Text entry geometry.
     69 *
     70 * Computed geometry of text entry elements.
     71 */
     72typedef struct {
     73        /** Interior rectangle */
     74        gfx_rect_t interior_rect;
     75        /** Text anchor position */
     76        gfx_coord2_t text_pos;
     77} ui_entry_geom_t;
     78
    6879extern errno_t ui_entry_insert_str(ui_entry_t *, const char *);
    6980extern ui_evclaim_t ui_entry_key_press_unmod(ui_entry_t *, kbd_event_t *);
     81extern void ui_entry_get_geom(ui_entry_t *, ui_entry_geom_t *);
     82extern size_t ui_entry_find_pos(ui_entry_t *, gfx_coord2_t *);
    7083extern void ui_entry_activate(ui_entry_t *);
    7184extern void ui_entry_deactivate(ui_entry_t *);
Note: See TracChangeset for help on using the changeset viewer.