Ignore:
File:
1 edited

Legend:

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

    r03145ee rc0757e1f  
    11/*
    2  * Copyright (c) 2020 Jiri Svoboda
     2 * Copyright (c) 2021 Jiri Svoboda
    33 * All rights reserved.
    44 *
     
    4242#include <types/ui/control.h>
    4343#include <types/ui/entry.h>
    44 #include <types/ui/resource.h>
     44#include <types/ui/window.h>
    4545
    46 extern errno_t ui_entry_create(ui_resource_t *, const char *,
     46extern errno_t ui_entry_create(ui_window_t *, const char *,
    4747    ui_entry_t **);
    4848extern void ui_entry_destroy(ui_entry_t *);
     
    5050extern void ui_entry_set_rect(ui_entry_t *, gfx_rect_t *);
    5151extern void ui_entry_set_halign(ui_entry_t *, gfx_halign_t);
     52extern void ui_entry_set_read_only(ui_entry_t *, bool);
    5253extern errno_t ui_entry_set_text(ui_entry_t *, const char *);
     54extern const char *ui_entry_get_text(ui_entry_t *);
    5355extern errno_t ui_entry_paint(ui_entry_t *);
     56extern errno_t ui_entry_insert_str(ui_entry_t *, const char *);
     57extern void ui_entry_activate(ui_entry_t *);
     58extern void ui_entry_deactivate(ui_entry_t *);
     59extern void ui_entry_backspace(ui_entry_t *);
     60extern void ui_entry_delete(ui_entry_t *);
     61extern void ui_entry_copy(ui_entry_t *);
     62extern void ui_entry_cut(ui_entry_t *);
     63extern void ui_entry_paste(ui_entry_t *);
     64extern void ui_entry_seek_start(ui_entry_t *, bool);
     65extern void ui_entry_seek_end(ui_entry_t *, bool);
     66extern void ui_entry_seek_prev_char(ui_entry_t *, bool);
     67extern void ui_entry_seek_next_char(ui_entry_t *, bool);
     68extern ui_evclaim_t ui_entry_kbd_event(ui_entry_t *, kbd_event_t *);
     69extern ui_evclaim_t ui_entry_pos_event(ui_entry_t *, pos_event_t *);
    5470
    5571#endif
Note: See TracChangeset for help on using the changeset viewer.