Ignore:
File:
1 edited

Legend:

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

    rc0757e1f ra106037  
    4040#include <gfx/coord.h>
    4141#include <gfx/text.h>
    42 #include <stdbool.h>
    4342
    4443/** Actual structure of text entry.
     
    5958        /** Text */
    6059        char *text;
    61         /** Current scroll position (in pixels) */
    62         gfx_coord_t scroll_pos;
    6360        /** Cursor position in the text (offset in bytes) */
    6461        unsigned pos;
     
    8481        /** Interior rectangle */
    8582        gfx_rect_t interior_rect;
    86         /** Text rectangle */
    87         gfx_rect_t text_rect;
    8883        /** Text anchor position */
    8984        gfx_coord2_t text_pos;
    90         /** Text anchor X coordinate */
    91         gfx_coord_t anchor_x;
    9285} ui_entry_geom_t;
    9386
     87extern errno_t ui_entry_insert_str(ui_entry_t *, const char *);
    9488extern ui_evclaim_t ui_entry_key_press_ctrl(ui_entry_t *, kbd_event_t *);
    9589extern ui_evclaim_t ui_entry_key_press_shift(ui_entry_t *, kbd_event_t *);
     
    9892extern size_t ui_entry_find_pos(ui_entry_t *, gfx_coord2_t *);
    9993extern void ui_entry_delete_sel(ui_entry_t *);
    100 extern void ui_entry_scroll_update(ui_entry_t *, bool);
     94extern void ui_entry_activate(ui_entry_t *);
     95extern void ui_entry_deactivate(ui_entry_t *);
    10196
    10297#endif
Note: See TracChangeset for help on using the changeset viewer.