Changeset 54ddb59 in mainline for uspace/lib/ui
- Timestamp:
- 2022-06-20T13:10:08Z (3 years ago)
- Branches:
- master, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- 52214a2
- Parents:
- 453f9645
- git-author:
- Jiri Svoboda <jiri@…> (2022-06-19 18:09:49)
- git-committer:
- Jiri Svoboda <jiri@…> (2022-06-20 13:10:08)
- Location:
- uspace/lib/ui
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/lib/ui/include/ui/filelist.h
r453f9645 r54ddb59 54 54 extern errno_t ui_file_list_activate(ui_file_list_t *); 55 55 extern void ui_file_list_deactivate(ui_file_list_t *); 56 extern errno_t ui_file_list_open(ui_file_list_t *, ui_file_list_entry_t *); 57 extern ui_file_list_entry_t *ui_file_list_get_cursor(ui_file_list_t *); 56 58 57 59 #endif -
uspace/lib/ui/private/filelist.h
r453f9645 r54ddb59 164 164 extern void ui_file_list_scroll_page_down(ui_file_list_t *); 165 165 extern void ui_file_list_scroll_pos(ui_file_list_t *, size_t); 166 extern errno_t ui_file_list_open(ui_file_list_t *, ui_file_list_entry_t *);167 166 extern errno_t ui_file_list_open_dir(ui_file_list_t *, ui_file_list_entry_t *); 168 167 extern errno_t ui_file_list_open_file(ui_file_list_t *, ui_file_list_entry_t *); -
uspace/lib/ui/src/filelist.c
r453f9645 r54ddb59 1079 1079 } 1080 1080 1081 /** Get entry under cursor. 1082 * 1083 * @param flist File list 1084 * @return Current cursor 1085 */ 1086 ui_file_list_entry_t *ui_file_list_get_cursor(ui_file_list_t *flist) 1087 { 1088 return flist->cursor; 1089 } 1090 1081 1091 /** Move cursor to a new position, possibly scrolling. 1082 1092 *
Note:
See TracChangeset
for help on using the changeset viewer.