Changeset 453f9645 in mainline for uspace/lib/ui/private/filelist.h


Ignore:
Timestamp:
2022-06-16T10:05:17Z (2 years ago)
Author:
Jiri Svoboda <jiri@…>
Branches:
master, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
54ddb59
Parents:
fdf55a3
git-author:
Jiri Svoboda <jiri@…> (2022-06-15 17:05:06)
git-committer:
Jiri Svoboda <jiri@…> (2022-06-16 10:05:17)
Message:

Add scroll bar to file list control

File:
1 edited

Legend:

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

    rfdf55a3 r453f9645  
    9393        gfx_rect_t rect;
    9494
     95        /** Scrollbar */
     96        struct ui_scrollbar *scrollbar;
     97
    9598        /** Directory-type entry color */
    9699        gfx_color_t *dir_color;
     
    131134extern unsigned ui_file_list_page_size(ui_file_list_t *);
    132135extern void ui_file_list_inside_rect(ui_file_list_t *, gfx_rect_t *);
     136extern void ui_file_list_scrollbar_rect(ui_file_list_t *, gfx_rect_t *);
     137extern gfx_coord_t ui_file_list_scrollbar_pos(ui_file_list_t *);
     138extern void ui_file_list_scrollbar_update(ui_file_list_t *);
    133139extern bool ui_file_list_is_active(ui_file_list_t *);
    134140extern void ui_file_list_entry_delete(ui_file_list_entry_t *);
     
    153159extern void ui_file_list_page_up(ui_file_list_t *);
    154160extern void ui_file_list_page_down(ui_file_list_t *);
     161extern void ui_file_list_scroll_up(ui_file_list_t *);
     162extern void ui_file_list_scroll_down(ui_file_list_t *);
     163extern void ui_file_list_scroll_page_up(ui_file_list_t *);
     164extern void ui_file_list_scroll_page_down(ui_file_list_t *);
     165extern void ui_file_list_scroll_pos(ui_file_list_t *, size_t);
    155166extern errno_t ui_file_list_open(ui_file_list_t *, ui_file_list_entry_t *);
    156167extern errno_t ui_file_list_open_dir(ui_file_list_t *, ui_file_list_entry_t *);
Note: See TracChangeset for help on using the changeset viewer.