Changeset f9c4c433 in mainline for uspace/lib/ui/include
- Timestamp:
- 2025-09-16T13:02:37Z (4 months ago)
- Branches:
- master
- Children:
- 283bb9f, ff4d31c
- Parents:
- 113fb4f
- Location:
- uspace/lib/ui/include
- Files:
-
- 3 edited
-
types/ui/list.h (modified) (3 diffs)
-
ui/filelist.h (modified) (1 diff)
-
ui/list.h (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
uspace/lib/ui/include/types/ui/list.h
r113fb4f rf9c4c433 1 1 /* 2 * Copyright (c) 202 3Jiri Svoboda2 * Copyright (c) 2025 Jiri Svoboda 3 3 * All rights reserved. 4 4 * … … 38 38 39 39 #include <gfx/color.h> 40 #include <stddef.h> 40 41 41 42 struct ui_list; … … 67 68 } ui_list_cb_t; 68 69 70 /** Saved list position. */ 71 typedef struct { 72 /** Page index */ 73 size_t page_idx; 74 /** Cursor index */ 75 size_t cursor_idx; 76 } ui_list_pos_t; 77 69 78 #endif 70 79 -
uspace/lib/ui/include/ui/filelist.h
r113fb4f rf9c4c433 51 51 extern errno_t ui_file_list_read_dir(ui_file_list_t *, const char *); 52 52 extern errno_t ui_file_list_activate(ui_file_list_t *); 53 extern errno_t ui_file_list_refresh(ui_file_list_t *); 53 54 extern void ui_file_list_deactivate(ui_file_list_t *); 54 55 extern errno_t ui_file_list_open(ui_file_list_t *, ui_file_list_entry_t *); -
uspace/lib/ui/include/ui/list.h
r113fb4f rf9c4c433 1 1 /* 2 * Copyright (c) 202 4Jiri Svoboda2 * Copyright (c) 2025 Jiri Svoboda 3 3 * All rights reserved. 4 4 * … … 71 71 extern ui_list_entry_t *ui_list_prev(ui_list_entry_t *); 72 72 extern bool ui_list_is_active(ui_list_t *); 73 extern void ui_list_save_pos(ui_list_t *, ui_list_pos_t *); 74 extern void ui_list_restore_pos(ui_list_t *, ui_list_pos_t *); 73 75 74 76 #endif
Note:
See TracChangeset
for help on using the changeset viewer.
