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


Ignore:
Timestamp:
2021-06-23T08:15:00Z (3 years ago)
Author:
Jiri Svoboda <jiri@…>
Branches:
master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
a977e37
Parents:
034ce6bb
git-author:
Jiri Svoboda <jiri@…> (2021-06-22 17:14:40)
git-committer:
Jiri Svoboda <jiri@…> (2021-06-23 08:15:00)
Message:

Basic editable text entry

File:
1 edited

Legend:

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

    r034ce6bb r7481ee19  
    5454        /** Horizontal alignment */
    5555        gfx_halign_t halign;
     56        /** Text entry is read-only */
     57        bool read_only;
    5658        /** Text */
    5759        char *text;
    5860        /** Pointer is currently inside */
    5961        bool pointer_inside;
     62        /** Entry is activated */
     63        bool active;
    6064};
     65
     66extern errno_t ui_entry_insert_str(ui_entry_t *, const char *);
     67extern void ui_entry_backspace(ui_entry_t *);
     68extern ui_evclaim_t ui_entry_key_press_unmod(ui_entry_t *, kbd_event_t *);
    6169
    6270#endif
Note: See TracChangeset for help on using the changeset viewer.