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


Ignore:
Timestamp:
2021-06-30T16:48:54Z (3 years ago)
Author:
Jiri Svoboda <jiri@…>
Branches:
master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
d63623f
Parents:
5d1ff11
Message:

Seeking in entry text (using keyboard)

Seek using Home, End, Left Arrow and Right Arrow keys, delete character
after cursor using Delete key.

File:
1 edited

Legend:

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

    r5d1ff11 r61bf9dd9  
    5858        /** Text */
    5959        char *text;
     60        /** Cursor position in the text (offset in bytes) */
     61        unsigned pos;
    6062        /** Pointer is currently inside */
    6163        bool pointer_inside;
     
    6567
    6668extern errno_t ui_entry_insert_str(ui_entry_t *, const char *);
    67 extern void ui_entry_backspace(ui_entry_t *);
    6869extern ui_evclaim_t ui_entry_key_press_unmod(ui_entry_t *, kbd_event_t *);
    6970extern void ui_entry_activate(ui_entry_t *);
Note: See TracChangeset for help on using the changeset viewer.