Prusa MINI Firmware overview
|
#include "window.h"
#include "ffconf.h"
#include "ff.h"
Go to the source code of this file.
◆ SDSORT_LIMIT
◆ FOLDER_SORTING
#define FOLDER_SORTING -1 |
◆ MAX_DIR_DEPTH
◆ F_MAXDIRNAMELENGTH
◆ F_MAXPATHNAMELENGTH
◆ window_file_list_t
◆ window_class_file_list_t
◆ WF_Sort_t
Enumerator |
---|
WF_SORT_BY_TIME | |
WF_SORT_BY_NAME | |
◆ window_file_list_load()
79 _dbg(
"Findfirst error: %d", fres);
85 for (
size_t filt_no = 0; (!pattern_match) && (filt_no < filters_cnt); ++filt_no) {
◆ window_file_set_item_index()
119 if (window->
count > index) {
120 window->
index = index;
◆ WINDOW_CLS_FILE_LIST
int16_t WINDOW_CLS_FILE_LIST |
◆ window_class_file_list
int count
Definition: window_file_list.h:69
#define AM_HID
Definition: ff.h:352
Definition: window_file_list.h:82
BYTE fattrib
Definition: ff.h:201
int file_item_cmp_by_time(const void *a, const void *b)
Definition: window_file_list.c:46
WORD fdate
Definition: ff.h:199
char altpath[F_MAXPATHNAMELENGTH - 12]
Definition: window_file_list.h:73
uint8_t i
Definition: screen_test_graph.c:72
Definition: window_file_list.h:81
int index
Definition: window_file_list.h:70
int file_item_cmp_by_name(const void *a, const void *b)
Definition: window_file_list.c:34
WORD ftime
Definition: ff.h:200
#define SDSORT_LIMIT
Definition: window_file_list.h:27
FILINFO file_items[SDSORT_LIMIT]
Definition: window_file_list.h:74
#define _dbg(...)
Definition: dbg.h:50
TCHAR fname[13]
Definition: ff.h:206
#define AM_SYS
Definition: ff.h:353
WF_Sort_t
Definition: window_file_list.h:80
FRESULT
Definition: ff.h:214
#define AM_DIR
Definition: ff.h:354
FRESULT f_findnext(DIR *dp, FILINFO *fno)
int pattern_matching(const TCHAR *pat, const TCHAR *nam, int skip, int inf)
int top_index
Definition: window_file_list.h:71
static const char * filters[]
Definition: screen_filebrowser.cpp:44
FRESULT f_closedir(DIR *dp)
Definition: ff.c:4291
FRESULT f_findfirst(DIR *dp, FILINFO *fno, const TCHAR *path, const TCHAR *pattern)
static void _window_invalidate(window_t *window)
Definition: window.h:257
uint8_t info[12]
Definition: masstorage.h:54