Prusa MINI Firmware overview
window_file_list.h
Go to the documentation of this file.
1 /*
2  * window_file_list.h
3  *
4  * Created on: 23. 7. 2019
5  * Author: mcbig
6  */
7 
8 #ifndef API_WINDOW_FILE_LIST_H_
9 #define API_WINDOW_FILE_LIST_H_
10 
11 #include "window.h"
12 #include "ffconf.h"
13 #include "ff.h"
14 
15 /*
16  * Using limits from marlin:
17  * SDSORT_LIMIT 64
18  * FOLDER_SORTING -1 dir above
19  * FILENAME_LENGTH 13
20  * LONG_FILENAME_LENGTH 13 * 5 + 1
21  * MAX_DIR_DEPTH 10
22  * MAXDIRNAMELENGTH 8
23  * MAXPATHNAMELENGTH (1 + (MAXDIRNAMELENGTH + 1) * (MAX_DIR_DEPTH) + 1 + FILENAME_LENGTH)
24  * */
25 
26 #ifndef SDSORT_LIMIT
27  #define SDSORT_LIMIT 64 // DOS folder name size
28 #endif
29 
30 #ifndef FOLDER_SORTING
31  #define FOLDER_SORTING -1 // DOS folder name size
32 #endif
33 
34 #ifndef MAX_DIR_DEPTH
35  #define MAX_DIR_DEPTH 10 // Maximum folder depth
36 #endif
37 
38 #ifndef MAXDIRNAMELENGTH
39  #define F_MAXDIRNAMELENGTH _MAX_LFN + 1
40 #endif
41 
42 #ifndef MAXPATHNAMELENGTH
43  #define F_MAXPATHNAMELENGTH (1 + (F_MAXDIRNAMELENGTH + 1) * (MAX_DIR_DEPTH) + 1 + _MAX_LFN)
44 #endif
45 
47 
48 #pragma pack(push)
49 #pragma pack(1)
50 
51 typedef struct _window_class_file_list_t {
54 /*
55 typedef struct _file_item_t {
56  char name[_MAX_LFN];
57  uint8_t dir;
58  WORD ftime;
59  WORD fdate;
60 } file_item_t;
61 */
62 typedef struct _window_file_list_t {
69  int count;
70  int index;
71  int top_index;
72  //char path[F_MAXPATHNAMELENGTH-_MAX_LFN];
76 
77 #pragma pack(pop)
78 
79 // This enum value is stored to eeprom as file sort settings
80 typedef enum {
83 
84 } WF_Sort_t;
85 
86 #ifdef __cplusplus
87 extern "C" {
88 #endif //__cplusplus
89 
90 extern int16_t WINDOW_CLS_FILE_LIST;
91 
93 
94 extern void window_file_list_load(window_file_list_t *window, const char **filters,
95  size_t filters_cnt, WF_Sort_t sort);
96 
97 extern void window_file_set_item_index(window_file_list_t *window, int index);
98 
99 #ifdef __cplusplus
100 }
101 #endif //__cplusplus
102 
103 #endif /* API_WINDOW_FILE_LIST_H_ */
RENDER_FLG
#define RENDER_FLG(a, r)
Definition: display_helper.h:10
window_draw_t
void() window_draw_t(void *window)
Definition: window.h:57
_window_temp_graph_t::win
window_t win
Definition: window_temp_graph.h:19
window_get_item_index
int window_get_item_index(int16_t id)
Definition: window.c:623
printfan_range
const int32_t printfan_range[3]
Definition: menu_vars.cpp:33
fatfs.h
Header for fatfs applications.
spi_prescaler
int16_t spi_prescaler
Definition: menu_service.cpp:13
_window_text_t
Definition: window_text.h:15
printDirectHex
void printDirectHex(size_t rect_index, size_t rect_count, size_t col, size_t row, size_t row_space)
Definition: screen_test_disp_mem.c:434
pd
#define pd
Definition: screen_test_msgbox.c:29
_window_class_file_list_t
Definition: window_file_list.h:51
window_file_set_item_index
void window_file_set_item_index(window_file_list_t *window, int index)
Definition: window_file_list.c:118
inversions
static const char * inversions[]
Definition: screen_test_disp_mem.c:74
sim_heater_temp2val
int sim_heater_temp2val(float temp)
st7789v_set_pixel_directColor
void st7789v_set_pixel_directColor(point_ui16_t pt, uint16_t noClr)
Definition: st7789v.c:383
screen_test_event
int screen_test_event(screen_t *screen, window_t *window, uint8_t event, void *param)
Definition: screen_test.c:108
WINDOW_EVENT_CAPT_1
#define WINDOW_EVENT_CAPT_1
Definition: window.h:45
MSGBOX_BTN_OKCANCEL
#define MSGBOX_BTN_OKCANCEL
Definition: window_msgbox.h:21
isBrightness_ena_last
static int8_t isBrightness_ena_last
Definition: screen_test_disp_mem.c:96
TCHAR
char TCHAR
Definition: ff.h:62
screen_test_disp_mem_data_t::textMode
window_text_t textMode
Definition: screen_test_disp_mem.c:27
screen_mesh_bed_lv_data_t::footer
status_footer_t footer
Definition: screen_mesh_bed_lv.cpp:43
screen_test_gui_data_t::icon1
window_icon_t icon1
Definition: screen_test_gui.c:24
window_class_file_list_t
struct _window_class_file_list_t window_class_file_list_t
COLOR_MAROON
#define COLOR_MAROON
Definition: guitypes.h:51
st7789v_gamma_set
void st7789v_gamma_set(uint8_t gamma)
clrR
static uint8_t clrR
Definition: screen_test_disp_mem.c:86
_rect_ui16_t::y
uint16_t y
Definition: guitypes.h:71
_font_t::h
uint8_t h
Definition: guitypes.h:78
screen_test_disp_mem_data_t::spinStrHx3
window_spin_t spinStrHx3
Definition: screen_test_disp_mem.c:49
_display_t::h
uint16_t h
Definition: display.h:26
dispRamTest
void dispRamTest(size_t test_ID, size_t row)
Definition: screen_test_disp_mem.c:452
_rect_ui16_t::w
uint16_t w
Definition: guitypes.h:72
screen_menu_draw
void screen_menu_draw(screen_t *screen)
Definition: screen_menu.c:90
window_file_list_t
struct _window_file_list_t window_file_list_t
Definition: window_file_list.h:46
gui_free
void gui_free(void *ptr)
Definition: gui.c:39
_font_t
Definition: guitypes.h:76
_padding_ui8_t::bottom
uint8_t bottom
Definition: guitypes.h:90
COLOR_NAVY
#define COLOR_NAVY
Definition: guitypes.h:56
st7789v_brightness_disable
void st7789v_brightness_disable(void)
readCol
void readCol(size_t col, size_t row, size_t len, uint16_t *directColorBuff)
Definition: screen_test_disp_mem.c:376
IDR_PNG_menu_icon_spool
#define IDR_PNG_menu_icon_spool
Definition: resource.h:30
Temperature::degTargetHotend
static FORCE_INLINE int16_t degTargetHotend(const uint8_t E_NAME)
Definition: temperature.h:562
marlin_client.h
screen_mesh_bed_lv_data_t::id_term
int16_t id_term
Definition: screen_mesh_bed_lv.cpp:38
_window_file_list_t::count
int count
Definition: window_file_list.h:69
screen_test_data_t::back
window_text_t back
Definition: screen_test.c:23
MSGBOX_MSK_BTN
#define MSGBOX_MSK_BTN
Definition: window_msgbox.h:9
screen_test_disp_mem_init
void screen_test_disp_mem_init(screen_t *screen)
Definition: screen_test_disp_mem.c:179
screen_test_term_t
struct _screen_test_term_t screen_test_term_t
fptrArr
drawCol_t * fptrArr[]
Definition: screen_test_disp_mem.c:159
AM_HID
#define AM_HID
Definition: ff.h:352
_window_frame_t
Definition: window_frame.h:18
_display_t::draw_char
display_draw_char_t * draw_char
Definition: display.h:34
screen_test_disp_mem_data_t::spinGamma
window_spin_t spinGamma
Definition: screen_test_disp_mem.c:39
sys_spi_set_prescaler
void sys_spi_set_prescaler(int prescaler_num)
Definition: sys.cpp:230
COLOR_WHITE
#define COLOR_WHITE
Definition: guitypes.h:41
MI_HEATBED
Definition: screen_test_temperature.cpp:26
COLOR_TEAL
#define COLOR_TEAL
Definition: guitypes.h:55
osThreadId
TaskHandle_t osThreadId
Definition: cmsis_os.h:283
screen_test_disp_mem_data_t::textSpiClk
window_text_t textSpiClk
Definition: screen_test_disp_mem.c:26
window_get_value
float window_get_value(int16_t id)
Definition: window.c:390
_gui_defaults_t::color_text
color_t color_text
Definition: guitypes.h:108
_padding_ui8_t::top
uint8_t top
Definition: guitypes.h:88
screen_test_gui_data_t::progress
window_progress_t progress
Definition: screen_test_gui.c:26
window_set_color_back
void window_set_color_back(int16_t id, color_t clr)
Definition: window.c:431
IDR_PNG_filescreen_icon_folder
#define IDR_PNG_filescreen_icon_folder
Definition: resource.h:41
screen_test_disp_mem_data_t::spinStrHx1
window_spin_t spinStrHx1
Definition: screen_test_disp_mem.c:47
WINDOW_CLS_TERM
#define WINDOW_CLS_TERM
Definition: window.h:17
pscreen_test
const screen_t * pscreen_test
Definition: screen_test.c:157
marlin_event
int marlin_event(uint8_t evt_id)
Definition: marlin_client.c:232
screen_mesh_bed_lv_data_t::terminal
term_t terminal
Definition: screen_mesh_bed_lv.cpp:39
unit
png_const_structrp png_const_inforp int * unit
Definition: png.h:2161
_window_spin_t
Definition: window_spin.h:12
screen_test_term_data_t::id_graph
int16_t id_graph
Definition: screen_test_graph.c:22
WF_SORT_BY_NAME
Definition: window_file_list.h:82
FILINFO::fattrib
BYTE fattrib
Definition: ff.h:201
file_item_cmp_by_time
int file_item_cmp_by_time(const void *a, const void *b)
Definition: window_file_list.c:46
pscreen_test_term
screen_t * pscreen_test_term
Definition: screen_test_term.c:78
window_file_list_dec
void window_file_list_dec(window_file_list_t *window, int dif)
Definition: window_file_list.c:238
window_file_list_load
void window_file_list_load(window_file_list_t *window, const char **filters, size_t filters_cnt, WF_Sort_t sort)
Definition: window_file_list.c:63
WINDOW_CLS_NUMB
#define WINDOW_CLS_NUMB
Definition: window.h:11
window_temp_graph.h
MS_home
Definition: screen_mesh_bed_lv.cpp:19
modes
static const char * modes[]
Definition: screen_test_disp_mem.c:71
MSGBOX_SHI_ICO
#define MSGBOX_SHI_ICO
Definition: window_msgbox.h:14
screen_test_term_data_t::graph
window_temp_graph_t graph
Definition: screen_test_graph.c:23
screen_test_disp_mem_data_t::spinStrG1
window_spin_t spinStrG1
Definition: screen_test_disp_mem.c:54
screen_menu_event
int screen_menu_event(screen_t *screen, window_t *window, uint8_t event, void *param)
Definition: screen_menu.c:92
_term_t
Definition: term.h:43
MS_mesh
Definition: screen_mesh_bed_lv.cpp:22
screen.h
pd
#define pd
Definition: screen_filebrowser.cpp:39
gamma_actual
static int16_t gamma_actual
Definition: screen_test_disp_mem.c:91
window_set_format
void window_set_format(int16_t id, const char *format)
Definition: window.c:403
screen_test_disp_mem_data_t::spinStrR1
window_spin_t spinStrR1
Definition: screen_test_disp_mem.c:52
screen_test_gui_data_t::spin0
window_spin_t spin0
Definition: screen_test_gui.c:20
screen_test_disp_mem_event
int screen_test_disp_mem_event(screen_t *screen, window_t *window, uint8_t event, void *param)
Definition: screen_test_disp_mem.c:533
clrB
static uint8_t clrB
Definition: screen_test_disp_mem.c:88
MS_idle
Definition: screen_mesh_bed_lv.cpp:18
WINDOW_EVENT_ENC_UP
#define WINDOW_EVENT_ENC_UP
Definition: window.h:41
col_0
Definition: screen_test_disp_mem.c:166
ALIGN_CENTER
#define ALIGN_CENTER
Definition: guitypes.h:19
screen_test_data_t::tst_disp_memory
window_text_t tst_disp_memory
Definition: screen_test.c:30
COLOR_RED
#define COLOR_RED
Definition: guitypes.h:42
screen_test_done
void screen_test_done(screen_t *screen)
Definition: screen_test.c:101
window_invalidate
void window_invalidate(int16_t id)
Definition: window.c:304
COLOR_MAGENTA
#define COLOR_MAGENTA
Definition: guitypes.h:48
rect_ui16
static rect_ui16_t rect_ui16(uint16_t x, uint16_t y, uint16_t w, uint16_t h)
Definition: guitypes.h:159
test_display_t
void() test_display_t(uint16_t cnt)
Definition: test_display.c:10
_gui_defaults_t::font
font_t * font
Definition: guitypes.h:110
_window_file_list_t::font
font_t * font
Definition: window_file_list.h:66
bsod.h
gui_malloc
void * gui_malloc(unsigned int size)
Definition: gui.c:35
FILINFO::fdate
WORD fdate
Definition: ff.h:199
screen_menu_done
void screen_menu_done(screen_t *screen)
Definition: screen_menu.c:78
window_destroy
void window_destroy(int16_t id)
Definition: window.c:132
screen_test_disp_mem_data_t::textMenuName
window_text_t textMenuName
Definition: screen_test_disp_mem.c:25
_window_file_list_t::altpath
char altpath[F_MAXPATHNAMELENGTH - 12]
Definition: window_file_list.h:73
screen_test_gui_data_t::text_terminal
window_text_t text_terminal
Definition: screen_test_gui.c:27
padding_ui8
static padding_ui8_t padding_ui8(uint8_t l, uint8_t t, uint8_t r, uint8_t b)
Definition: guitypes.h:164
pscreen_test
const screen_t * pscreen_test
Definition: screen_test.c:157
IDR_FNT_NORMAL
#define IDR_FNT_NORMAL
Definition: resource.h:10
i
uint8_t i
Definition: screen_test_graph.c:72
WINDOW_CLS_USER
#define WINDOW_CLS_USER
Definition: window.h:21
WF_SORT_BY_TIME
Definition: window_file_list.h:81
IDR_NULL
#define IDR_NULL
Definition: resource.h:6
col_2_w
Definition: screen_test_disp_mem.c:170
_microseconds
uint32_t _microseconds(void)
Definition: dbg.c:113
pwm_size
static const size_t pwm_size
Definition: screen_test_temperature.cpp:20
window_file_list.h
window_set_icon_id
void window_set_icon_id(int16_t id, uint16_t id_res)
Definition: window.c:659
SCREEN_MENU_NO_SCREEN
#define SCREEN_MENU_NO_SCREEN
Definition: screen_menu.h:39
_dbg3
#define _dbg3(...)
Definition: dbg.h:15
screen_test_term_draw
void screen_test_term_draw(screen_t *screen)
Definition: screen_test_term.c:49
IDR_PNG_menu_icon_preheat
#define IDR_PNG_menu_icon_preheat
Definition: resource.h:29
MI_t
MI_t
Definition: screen_test_temperature.cpp:22
screen_mesh_bed_lv_data_t::textExit
window_text_t textExit
Definition: screen_mesh_bed_lv.cpp:42
window_list_spi_item
void window_list_spi_item(window_list_t *pwindow_list, uint16_t index, const char **pptext, uint16_t *pid_icon)
Definition: screen_test_disp_mem.c:99
COLOR_LIME
#define COLOR_LIME
Definition: guitypes.h:44
rect_in_rect_ui16
static int rect_in_rect_ui16(rect_ui16_t rc, rect_ui16_t rc1)
Definition: guitypes.h:173
spinSpiClkVal_actual
static int16_t spinSpiClkVal_actual
Definition: screen_test_disp_mem.c:81
_window_icon_t
Definition: window_icon.h:11
period_pwm_range
static const char * period_pwm_range[]
Definition: screen_test_temperature.cpp:16
WI_SPIN
Definition: window_menu.h:15
_display_t::draw_text
display_draw_text_t * draw_text
Definition: display.h:35
st7789v_get_pixel_directColor
uint16_t st7789v_get_pixel_directColor(point_ui16_t pt)
Definition: st7789v.c:422
WINDOW_CLS_FILE_LIST
int16_t WINDOW_CLS_FILE_LIST
Definition: window_file_list.c:24
screen_mesh_bed_lv_data_t::mesh_bt_id
int mesh_bt_id
Definition: screen_mesh_bed_lv.cpp:47
MS_meshed
Definition: screen_mesh_bed_lv.cpp:24
screen_open
void screen_open(int16_t screen_id)
Definition: screen.c:62
dbg.h
IDR_PNG_filescreen_icon_home
#define IDR_PNG_filescreen_icon_home
Definition: resource.h:40
screen_test_term_data_t::term
window_term_t term
Definition: screen_test_term.c:16
screen_test_data_t::tst_heat_err
window_text_t tst_heat_err
Definition: screen_test.c:29
test_display
void test_display(void)
Definition: test_display.c:39
MI_NOZZLE
Definition: screen_test_temperature.cpp:24
screen_event_t
int() screen_event_t(screen_t *screen, window_t *window, uint8_t event, void *param)
Definition: screen.h:13
draw_read_drawCol
void draw_read_drawCol(size_t col, size_t row, size_t row_space, size_t len, uint16_t directColor, uint16_t *directColorBuff)
Definition: screen_test_disp_mem.c:382
pscreen_test_graph
const screen_t * pscreen_test_graph
Definition: screen_test_graph.c:111
WINDOW_EVENT_CHANGE
#define WINDOW_EVENT_CHANGE
Definition: window.h:47
spinSpiClkVal_last
static int16_t spinSpiClkVal_last
Definition: screen_test_disp_mem.c:80
MSGBOX_BTN_MAX
#define MSGBOX_BTN_MAX
Definition: window_msgbox.h:29
NULL
#define NULL
Definition: usbd_def.h:53
screen_test_disp_mem_data_t::spinStrHx2
window_spin_t spinStrHx2
Definition: screen_test_disp_mem.c:48
screen_test_msgbox_done
void screen_test_msgbox_done(screen_t *screen)
Definition: screen_test_msgbox.c:97
screen_test_msgbox_event
int screen_test_msgbox_event(screen_t *screen, window_t *window, uint8_t event, void *param)
Definition: screen_test_msgbox.c:104
F
#define F(str)
Definition: UHS_macros.h:164
screen_test_gui_data_t::icon2
window_icon_t icon2
Definition: screen_test_gui.c:25
MSGBOX_ICO_INFO
#define MSGBOX_ICO_INFO
Definition: window_msgbox.h:36
col_1_w
Definition: screen_test_disp_mem.c:169
screen_test_disp_mem_data_t::numbSpiPattern
window_numb_t numbSpiPattern
Definition: screen_test_disp_mem.c:37
WINDOW_CLS_LOGO
int16_t WINDOW_CLS_LOGO
Definition: window_logo.c:11
window_file_list_draw
void window_file_list_draw(window_file_list_t *window)
Definition: window_file_list.c:138
directColorBuff
uint16_t directColorBuff[directColorBuff_sz]
Definition: screen_test_disp_mem.c:408
_window_file_list_t::alignment
uint8_t alignment
Definition: window_file_list.h:68
marlin_error_clr
int marlin_error_clr(uint8_t err_id)
Definition: marlin_client.c:324
_window_file_list_t::index
int index
Definition: window_file_list.h:70
screen_test_disp_mem_data_t::spinStrG0
window_spin_t spinStrG0
Definition: screen_test_disp_mem.c:53
math.h
screen_menu.h
MSGBOX_BTN_OK
#define MSGBOX_BTN_OK
Definition: window_msgbox.h:20
screen_test_msgbox_data_t::tst_ico_question
window_text_t tst_ico_question
Definition: screen_test_msgbox.c:22
window_class_file_list
const window_class_file_list_t window_class_file_list
Definition: window_file_list.c:250
osDelay
osStatus osDelay(uint32_t millisec)
Wait for Timeout (Time Delay)
Definition: cmsis_os.c:365
hwio_pwm_get_prescaler_log2
int hwio_pwm_get_prescaler_log2(int i_pwm)
Definition: hwio_a3ides_2209_02.c:349
menu_item_t
struct _menu_item_t menu_item_t
screen_test_msgbox_data_t::tst_yesnocancel
window_text_t tst_yesnocancel
Definition: screen_test_msgbox.c:17
file_item_cmp_by_is_dir
int file_item_cmp_by_is_dir(const FILINFO *ia, const FILINFO *ib)
Definition: window_file_list.c:30
_display_t::fill_rect
display_fill_rect_t * fill_rect
Definition: display.h:33
screen_test_term_data_t
Definition: screen_test_graph.c:14
screen_mesh_bed_lv_data_t
Definition: screen_mesh_bed_lv.cpp:28
HAL_GetTick
uint32_t HAL_GetTick(void)
Provides a tick value in millisecond.
Definition: stm32f4xx_hal.c:339
window_file_list_load
void window_file_list_load(window_file_list_t *window, const char **filters, size_t filters_cnt, WF_Sort_t sort)
Definition: window_file_list.c:63
_window_t::id
int16_t id
Definition: window.h:79
screen_close
void screen_close(void)
Definition: screen.c:80
test_display_random_dots
void test_display_random_dots(uint16_t cnt)
Definition: test_display.c:57
screen_test_term_data_t::text
window_text_t text
Definition: screen_test_graph.c:17
screen_test_msgbox_init
void screen_test_msgbox_init(screen_t *screen)
Definition: screen_test_msgbox.c:33
_padding_ui8_t::left
uint8_t left
Definition: guitypes.h:87
screen_test_disp_mem_data_t
Definition: screen_test_disp_mem.c:22
screen_test_gui
screen_t screen_test_gui
Definition: screen_test_gui.c:120
window_progress.h
COLOR_GRAY
#define COLOR_GRAY
Definition: guitypes.h:50
test_window
void test_window(void)
Definition: test_window.c:57
screen_test_data_t::tst_term
window_text_t tst_term
Definition: screen_test.c:25
screen_test_disp_mem_data_t::spinStrB0
window_spin_t spinStrB0
Definition: screen_test_disp_mem.c:55
COLOR_YELLOW
#define COLOR_YELLOW
Definition: guitypes.h:46
MARLIN_ERR_ProbingFailed
#define MARLIN_ERR_ProbingFailed
Definition: marlin_errors.h:9
brightness_actual
static int16_t brightness_actual
Definition: screen_test_disp_mem.c:93
_window_class_file_list_t::cls
window_class_t cls
Definition: window_file_list.h:52
HWIO_PWM_HEATER_BED
#define HWIO_PWM_HEATER_BED
Definition: hwio_a3ides.h:54
modes_sz
#define modes_sz
Definition: screen_test_disp_mem.c:72
hwio_pwm_set_prescaler_exp2
void hwio_pwm_set_prescaler_exp2(int i_pwm, int exp)
Definition: hwio_a3ides_2209_02.c:343
_window_temp_graph_t
Definition: window_temp_graph.h:18
WINDOW_CLS_LIST
#define WINDOW_CLS_LIST
Definition: window.h:13
MI_COOLDOWN
Definition: screen_test_temperature.cpp:29
MI_FAN_PWM_PERIOD
Definition: screen_test_temperature.cpp:27
RECT_MACRO
#define RECT_MACRO(col)
Definition: screen_test_disp_mem.c:171
screen_test_data_t::frame
window_frame_t frame
Definition: screen_test.c:21
_window_numb_t
Definition: window_numb.h:17
window_done_t
void() window_done_t(void *window)
Definition: window.h:56
window_disable
void window_disable(int16_t id)
Definition: window.c:523
screen_mesh_bed_lv_init
void screen_mesh_bed_lv_init(screen_t *screen)
Definition: screen_mesh_bed_lv.cpp:92
screen_test_disp_mem_data_t::spinSpiClk
window_list_t spinSpiClk
Definition: screen_test_disp_mem.c:42
IDR_FNT_TERMINAL
#define IDR_FNT_TERMINAL
Definition: resource.h:12
screen_mesh_bed_lv_data_t::text_mesh_state
window_text_t text_mesh_state
Definition: screen_mesh_bed_lv.cpp:34
mesh_state_t
mesh_state_t
Definition: screen_mesh_bed_lv.cpp:17
window_set_text
void window_set_text(int16_t id, const char *text)
Definition: window.c:340
pscreen_test_msgbox
const screen_t * pscreen_test_msgbox
Definition: screen_test_msgbox.c:147
window_file_list_done
void window_file_list_done(window_file_list_t *window)
Definition: window_file_list.c:136
screen_test_disp_mem_data_t::textExit
window_text_t textExit
Definition: screen_test_disp_mem.c:58
gui_invalidate
void gui_invalidate(void)
Definition: gui.c:66
screen_test_disp_mem_data_t::spinBrigt_ena
window_list_t spinBrigt_ena
Definition: screen_test_disp_mem.c:45
screen_menu_init
void screen_menu_init(screen_t *screen, const char *label, int count, uint8_t footer, uint8_t help)
Definition: screen_menu.c:25
opt_spi_sz
#define opt_spi_sz
Definition: screen_test_disp_mem.c:68
WINDOW_CLS_SPIN
#define WINDOW_CLS_SPIN
Definition: window.h:15
screen_test_disp_mem_data_t::text0x
window_text_t text0x
Definition: screen_test_disp_mem.c:29
gui_state_mesh_off
static void gui_state_mesh_off(screen_t *screen)
Definition: screen_mesh_bed_lv.cpp:67
file_item_cmp_by_name
int file_item_cmp_by_name(const void *a, const void *b)
Definition: window_file_list.c:34
screen_test_msgbox
screen_t screen_test_msgbox
Definition: screen_test_msgbox.c:136
pscreen_test_gui
const screen_t * pscreen_test_gui
Definition: screen_test_gui.c:131
screen_test_term_data_t::frame
window_frame_t frame
Definition: screen_test_graph.c:16
WINDOW_CLS_PROGRESS
#define WINDOW_CLS_PROGRESS
Definition: window.h:20
_window_file_list_t::color_text
color_t color_text
Definition: window_file_list.h:65
test_display_random_chars_big
void test_display_random_chars_big(uint16_t cnt)
Definition: test_display.c:182
screen_test_gui_data_t::text0
window_text_t text0
Definition: screen_test_gui.c:15
COLOR_GREEN
#define COLOR_GREEN
Definition: guitypes.h:53
screen_test_temperature_init
void screen_test_temperature_init(screen_t *screen)
Definition: screen_test_temperature.cpp:33
gui_state_mesh_on
static void gui_state_mesh_on(screen_t *screen)
Definition: screen_mesh_bed_lv.cpp:78
opt_spi
static const char * opt_spi[]
Definition: screen_test_disp_mem.c:67
_window_t
Definition: window.h:76
MI_RETURN
Definition: screen_test_temperature.cpp:23
screen_test_msgbox_data_t
Definition: screen_test_msgbox.c:9
test_display_random_chars_normal
void test_display_random_chars_normal(uint16_t cnt)
Definition: test_display.c:177
screen_mesh_bed_lv_data_t::btMesh
window_text_t btMesh
Definition: screen_mesh_bed_lv.cpp:33
screen_test_msgbox_data_t::tst_ico_warning
window_text_t tst_ico_warning
Definition: screen_test_msgbox.c:23
_font_t::asc_max
char asc_max
Definition: guitypes.h:83
MSGBOX_BTN_RETRYCANCEL
#define MSGBOX_BTN_RETRYCANCEL
Definition: window_msgbox.h:25
resource.h
menu_vars.h
MI_HEAT_PWM_PERIOD
Definition: screen_test_temperature.cpp:25
WINDOW_FLG_NUMB_FLOAT2INT
#define WINDOW_FLG_NUMB_FLOAT2INT
Definition: window_numb.h:8
_window_file_list_t::padding
padding_ui8_t padding
Definition: window_file_list.h:67
WINDOW_CLS_FRAME
#define WINDOW_CLS_FRAME
Definition: window.h:9
FILINFO::ftime
WORD ftime
Definition: ff.h:200
void
void
Definition: png.h:1083
screen_test_data_t::tst
window_text_t tst
Definition: screen_test.c:22
screen_test_msgbox_data_t::tst_retrycancel
window_text_t tst_retrycancel
Definition: screen_test_msgbox.c:19
window_set_value
void window_set_value(int16_t id, float value)
Definition: window.c:363
screen_test_gui_data_t::icon0
window_icon_t icon0
Definition: screen_test_gui.c:23
png_icon_64x64_noise
const uint8_t png_icon_64x64_noise[]
Definition: png_icon_64x64_noise.c:4
window_list_bright_enas_item
void window_list_bright_enas_item(window_list_t *pwindow_list, uint16_t index, const char **pptext, uint16_t *pid_icon)
Definition: screen_test_disp_mem.c:126
COLOR_PURPLE
#define COLOR_PURPLE
Definition: guitypes.h:54
screen_init_t
void() screen_init_t(screen_t *screen)
Definition: screen.h:10
screen_test_data_t
Definition: screen_test.c:19
_gui_defaults_t::color_back
color_t color_back
Definition: guitypes.h:107
test_display_random_filled_rects
void test_display_random_filled_rects(uint16_t cnt)
Definition: test_display.c:122
_font_t::w
uint8_t w
Definition: guitypes.h:77
screen_test_term_init
void screen_test_term_init(screen_t *screen)
Definition: screen_test_term.c:28
screen_test_msgbox_data_t::frame
window_frame_t frame
Definition: screen_test_msgbox.c:11
screen_test_gui_data_t::logo_prusa_mini
window_logo_t logo_prusa_mini
Definition: screen_test_gui.c:14
gamma_last
static int16_t gamma_last
Definition: screen_test_disp_mem.c:90
MSGBOX_BTN_YESNOCANCEL
#define MSGBOX_BTN_YESNOCANCEL
Definition: window_msgbox.h:23
ffconf.h
screen_test_gui_done
void screen_test_gui_done(screen_t *screen)
Definition: screen_test_gui.c:97
SDSORT_LIMIT
#define SDSORT_LIMIT
Definition: window_file_list.h:27
screen_test_gui_draw
void screen_test_gui_draw(screen_t *screen)
Definition: screen_test_gui.c:101
screen_test_temperature
screen_t screen_test_temperature
Definition: screen_test_temperature.cpp:98
drawCol_t
void() drawCol_t(size_t rect_index, size_t rect_count, size_t col, size_t row2draw, size_t row_space)
Definition: screen_test_disp_mem.c:157
F_MAXPATHNAMELENGTH
#define F_MAXPATHNAMELENGTH
Definition: window_file_list.h:43
screen_test_gui_data_t::text2
window_text_t text2
Definition: screen_test_gui.c:17
screen_test_disp_mem_data_t::frame
window_frame_t frame
Definition: screen_test_disp_mem.c:24
screen_test_graph
screen_test_term_t screen_test_graph
Definition: screen_test_graph.c:97
_display_t::draw_png
display_draw_png_t * draw_png
Definition: display.h:37
screen_test_disp_mem_data_t::spinInversion
window_list_t spinInversion
Definition: screen_test_disp_mem.c:44
psmd
#define psmd
Definition: screen_menu.h:40
pscreen_mesh_bed_lv
const screen_t * pscreen_mesh_bed_lv
Definition: screen_mesh_bed_lv.cpp:228
png_icon_64x64_noise_size
const uint16_t png_icon_64x64_noise_size
Definition: png_icon_64x64_noise.c:5101
do_test
void do_test(test_display_t *func, int cnt, char *name, char *unit)
Definition: test_display.c:24
screen_test_msgbox_draw
void screen_test_msgbox_draw(screen_t *screen)
Definition: screen_test_msgbox.c:101
screen_test
screen_t screen_test
Definition: screen_test.c:146
test_display_random_chars_small
void test_display_random_chars_small(uint16_t cnt)
Definition: test_display.c:172
IDR_PNG_filescreen_icon_up_folder
#define IDR_PNG_filescreen_icon_up_folder
Definition: resource.h:42
_padding_ui8_t
Definition: guitypes.h:86
TAG_QUIT
Definition: screen_mesh_bed_lv.cpp:87
_window_logo_t
Definition: window_logo.h:20
ff.h
ROPFN_SWAPBW
#define ROPFN_SWAPBW
Definition: guitypes.h:32
window_set_tag
void window_set_tag(int16_t id, uint8_t tag)
Definition: window.c:329
st7789v_inversion_on
void st7789v_inversion_on(void)
draw_read_drawRect
void draw_read_drawRect(size_t col, size_t row, size_t len, size_t w, uint16_t directColor, uint16_t *directColorBuff)
st7789v_brightness_get
uint8_t st7789v_brightness_get(void)
createSpeedLookupTable.a
list a
Definition: createSpeedLookupTable.py:29
_window_file_list_t::file_items
FILINFO file_items[SDSORT_LIMIT]
Definition: window_file_list.h:74
_display_t::set_pixel
display_set_pixel_t * set_pixel
Definition: display.h:30
_screen_test_term_t::scr
screen_t scr
Definition: screen_test_graph.c:27
screen_test_term_data_t::id_frame
int16_t id_frame
Definition: screen_test_graph.c:19
WINDOW_EVENT_CHANGING
#define WINDOW_EVENT_CHANGING
Definition: window.h:48
_screen_test_term_t
Definition: screen_test_graph.c:26
window_file_list_inc
void window_file_list_inc(window_file_list_t *window, int dif)
Definition: window_file_list.c:224
pd
#define pd
Definition: screen_test_gui.c:32
st7789v.h
screen_test_term_data_t::terminal
term_t terminal
Definition: screen_test_term.c:20
_display_t::clear
display_clear_t * clear
Definition: display.h:29
user_value
static int16_t user_value
Definition: screen_test_disp_mem.c:83
_window_file_list_t::color_back
color_t color_back
Definition: window_file_list.h:64
test_display_random_png_64x64
void test_display_random_png_64x64(uint16_t count)
Definition: test_display.c:325
pscreen_menu_service
screen_t * pscreen_menu_service
Definition: screen_menu_service.c:147
window_event_t
void() window_event_t(void *window, uint8_t event, void *param)
Definition: window.h:58
_rect_ui16_t
Definition: guitypes.h:69
screen_test_disp_mem_data_t::textGamma
window_text_t textGamma
Definition: screen_test_disp_mem.c:33
screen_test_term_data_t::id_term
int16_t id_term
Definition: screen_test_term.c:19
WI_LABEL
Definition: window_menu.h:14
render_text_align
void render_text_align(rect_ui16_t rc, const char *text, font_t *font, color_t clr0, color_t clr1, padding_ui8_t padding, uint16_t flags)
Definition: display_helper.c:6
screen_mesh_bed_lv_data_t::mesh_state
mesh_state_t mesh_state
Definition: screen_mesh_bed_lv.cpp:45
pscreen_test_term
const screen_t * pscreen_test_term
Definition: screen_test_term.c:78
HWIO_PWM_FAN
#define HWIO_PWM_FAN
Definition: hwio_a3ides.h:57
screen_test_disp_mem_data_t::textG0x
window_text_t textG0x
Definition: screen_test_disp_mem.c:31
uint8_t
const uint8_t[]
Definition: 404_html.c:3
_window_class_t
Definition: window.h:67
isBrightness_ena_actual
static int8_t isBrightness_ena_actual
Definition: screen_test_disp_mem.c:97
IDR_FNT_BIG
#define IDR_FNT_BIG
Definition: resource.h:11
_dbg
#define _dbg(...)
Definition: dbg.h:50
screen_test_draw
void screen_test_draw(screen_t *screen)
Definition: screen_test.c:105
screen_test_gui_data_t
Definition: screen_test_gui.c:11
col_1
Definition: screen_test_disp_mem.c:167
FILINFO::fname
TCHAR fname[13]
Definition: ff.h:206
AM_SYS
#define AM_SYS
Definition: ff.h:353
screen_test_temperature_event
int screen_test_temperature_event(screen_t *screen, window_t *window, uint8_t event, void *param)
Definition: screen_test_temperature.cpp:61
screen_test_disp_mem
screen_t screen_test_disp_mem
Definition: screen_test_disp_mem.c:618
display
display_t * display
Definition: display.c:6
WINDOW_FLG_GRAPH_INVALID
#define WINDOW_FLG_GRAPH_INVALID
Definition: window_temp_graph.h:8
_rect_ui16_t::h
uint16_t h
Definition: guitypes.h:73
screen_test_gui_data_t::spin1
window_spin_t spin1
Definition: screen_test_gui.c:21
window_file_list_event
void window_file_list_event(window_file_list_t *window, uint8_t event, void *param)
Definition: window_file_list.c:207
_screen_t
Definition: screen.h:18
_window_t::rect
rect_ui16_t rect
Definition: window.h:101
TAG_MESH
Definition: screen_mesh_bed_lv.cpp:88
screen_test_term_data_t::button
window_text_t button
Definition: screen_test_graph.c:18
pscreen_test_disp_mem
const screen_t * pscreen_test_disp_mem
Definition: screen_test_disp_mem.c:629
_window_frame_t::win
window_t win
Definition: window_frame.h:19
COLOR_BLUE
#define COLOR_BLUE
Definition: guitypes.h:45
MS_homeing
Definition: screen_mesh_bed_lv.cpp:20
WINDOW_CLS_ICON
#define WINDOW_CLS_ICON
Definition: window.h:12
menu_item_return
const menu_item_t menu_item_return
Definition: screen_menu.c:14
_screen_test_term_t::pd
screen_test_term_data_t * pd
Definition: screen_test_graph.c:28
screen_test_gui_event
int screen_test_gui_event(screen_t *screen, window_t *window, uint8_t event, void *param)
Definition: screen_test_gui.c:104
printRGB_DirHx
void printRGB_DirHx(size_t rect_index, size_t rect_count, size_t col, size_t row, size_t row_space)
Definition: screen_test_disp_mem.c:447
screen_test_gui_data_t::list
window_list_t list
Definition: screen_test_gui.c:22
_getRectIndex
int _getRectIndex(size_t col_x, size_t rect_w, size_t rect_space, size_t border_w)
Definition: screen_test_disp_mem.c:491
WF_Sort_t
WF_Sort_t
Definition: window_file_list.h:80
__write
int __write(struct _reent *_r, void *pv, const char *pc, int n)
Definition: test_display.c:346
screen_test_graph_draw
void screen_test_graph_draw(screen_test_term_t *screen)
Definition: screen_test_graph.c:69
_display_t::draw_rect
display_draw_rect_t * draw_rect
Definition: display.h:32
TAG_QUIT
Definition: screen_test_disp_mem.c:174
test_display2
void test_display2(void)
Definition: test_display.c:350
WINDOW_CLS_TEXT
#define WINDOW_CLS_TEXT
Definition: window.h:10
screen_test_msgbox_data_t::tst_ico_custom
window_text_t tst_ico_custom
Definition: screen_test_msgbox.c:20
pd
#define pd
Definition: screen_test_disp_mem.c:63
FRESULT
FRESULT
Definition: ff.h:214
screen_test_msgbox_data_t::tst_abortretryignore
window_text_t tst_abortretryignore
Definition: screen_test_msgbox.c:16
screen_test_term_data_t::id_button
int16_t id_button
Definition: screen_test_graph.c:21
window_logo.h
fptrArr_sz
#define fptrArr_sz
Definition: screen_test_disp_mem.c:160
AM_DIR
#define AM_DIR
Definition: ff.h:354
isInverted_last
static int8_t isInverted_last
Definition: screen_test_disp_mem.c:94
f_findnext
FRESULT f_findnext(DIR *dp, FILINFO *fno)
resource_font
font_t * resource_font(uint16_t id)
Definition: guitypes.c:186
WINDOW_EVENT_CLICK
#define WINDOW_EVENT_CLICK
Definition: window.h:46
COLOR_CYAN
#define COLOR_CYAN
Definition: guitypes.h:47
pscreen_test_graph
screen_t * pscreen_test_graph
Definition: screen_test_graph.c:111
jogwheel.h
WINDOW_FLG_FOCUSED
#define WINDOW_FLG_FOCUSED
Definition: window.h:27
term_init
void term_init(term_t *pt, uint8_t cols, uint8_t rows, uint8_t *buff)
Definition: term.c:6
gui_timer_create_periodical
int8_t gui_timer_create_periodical(uint32_t ms, int16_t win_id)
Definition: gui_timer.c:70
meshStrings
const char * meshStrings[]
Definition: screen_mesh_bed_lv.cpp:58
WINDOW_CLS_FILE_LIST
int16_t WINDOW_CLS_FILE_LIST
Definition: window_file_list.c:24
gui_timer_create_oneshot
int8_t gui_timer_create_oneshot(uint32_t ms, int16_t win_id)
Definition: gui_timer.c:66
MSGBOX_BTN_YESNO
#define MSGBOX_BTN_YESNO
Definition: window_msgbox.h:24
FR_OK
Definition: ff.h:215
stm32f4xx_hal.h
This file contains all the functions prototypes for the HAL module driver.
screen_test_term_event
int screen_test_term_event(screen_t *screen, window_t *window, uint8_t event, void *param)
Definition: screen_test_term.c:52
window_create_ptr
int16_t window_create_ptr(int16_t cls_id, int16_t id_parent, rect_ui16_t rect, void *ptr)
Definition: window.c:102
screen_test_term_data_t::id_text
int16_t id_text
Definition: screen_test_graph.c:20
screen_test_msgbox_data_t::tst_yesno
window_text_t tst_yesno
Definition: screen_test_msgbox.c:18
window_enable
void window_enable(int16_t id)
Definition: window.c:517
screen_menu_data_t
Definition: screen_menu.h:24
IDR_FNT_SMALL
#define IDR_FNT_SMALL
Definition: resource.h:9
COLOR_BLACK
#define COLOR_BLACK
Definition: guitypes.h:40
screen_test_gui_data_t::numb0
window_numb_t numb0
Definition: screen_test_gui.c:18
drawCol
void drawCol(size_t col, size_t row, size_t len, uint16_t directColor)
Definition: screen_test_disp_mem.c:363
screen_mesh_bed_lv_data_t::textMenuName
window_text_t textMenuName
Definition: screen_mesh_bed_lv.cpp:31
st7789v_gamma_get
uint8_t st7789v_gamma_get(void)
screen_test_disp_mem_data_t::spinStrHx0
window_spin_t spinStrHx0
Definition: screen_test_disp_mem.c:46
screen_mesh_bed_lv_data_t::exit_bt_id
int exit_bt_id
Definition: screen_mesh_bed_lv.cpp:46
window_temp_scope_add
void window_temp_scope_add(float temp_ext, float temp_bed)
displayTaskHandle
osThreadId displayTaskHandle
Definition: main.c:98
TAG_BRIGHTNESS
Definition: screen_test_disp_mem.c:175
pscreen_test_msgbox
screen_t * pscreen_test_msgbox
Definition: screen_test_msgbox.c:147
_screen_t::id
int16_t id
Definition: screen.h:19
screen_mesh_bed_lv_draw
void screen_mesh_bed_lv_draw(screen_t *screen)
Definition: screen_mesh_bed_lv.cpp:141
MARLIN_EVT_Ready
#define MARLIN_EVT_Ready
Definition: marlin_events.h:31
window.h
DIR
Definition: ff.h:178
screen_test_data_t::id_tim
int8_t id_tim
Definition: screen_test.c:31
screen_test_term
screen_t screen_test_term
Definition: screen_test_term.c:67
MI_PRINTFAN
Definition: screen_test_temperature.cpp:28
window_list_inversions_item
void window_list_inversions_item(window_list_t *pwindow_list, uint16_t index, const char **pptext, uint16_t *pid_icon)
Definition: screen_test_disp_mem.c:117
WI_SELECT
Definition: window_menu.h:17
screen_test_term_done
void screen_test_term_done(screen_t *screen)
Definition: screen_test_term.c:45
screen_test_data_t::id_tim1
int8_t id_tim1
Definition: screen_test.c:32
pscreen_test_temperature
const screen_t * pscreen_test_temperature
Definition: screen_test_temperature.cpp:109
_window_term_t
Definition: window_term.h:15
_rect_ui16_t::x
uint16_t x
Definition: guitypes.h:70
window_class_file_list
const window_class_file_list_t window_class_file_list
Definition: window_file_list.c:250
window_set_min_max_step
void window_set_min_max_step(int16_t id, float min, float max, float step)
Definition: window.c:767
_display_t::w
uint16_t w
Definition: display.h:25
pattern_matching
int pattern_matching(const TCHAR *pat, const TCHAR *nam, int skip, int inf)
_window_file_list_t::top_index
int top_index
Definition: window_file_list.h:71
screen_test_disp_mem_data_t::spinStrB1
window_spin_t spinStrB1
Definition: screen_test_disp_mem.c:56
screen_test_disp_mem_draw
void screen_test_disp_mem_draw(screen_t *screen)
Definition: screen_test_disp_mem.c:530
col_0_w
Definition: screen_test_disp_mem.c:168
pd
#define pd
Definition: screen_mesh_bed_lv.cpp:53
window_file_set_item_index
void window_file_set_item_index(window_file_list_t *window, int index)
Definition: window_file_list.c:118
screen_test_disp_mem_data_t::numbSpiClk
window_numb_t numbSpiClk
Definition: screen_test_disp_mem.c:36
WINDOW_EVENT_LOOP
#define WINDOW_EVENT_LOOP
Definition: window.h:49
__read
int __read(struct _reent *_r, void *pv, char *pc, int n)
Definition: test_display.c:342
screen_draw_t
void() screen_draw_t(screen_t *screen)
Definition: screen.h:12
screen_test_data_t::tst_msgbox
window_text_t tst_msgbox
Definition: screen_test.c:26
IDR_PNG_menu_icon_print
#define IDR_PNG_menu_icon_print
Definition: resource.h:28
createSpeedLookupTable.int
int
Definition: createSpeedLookupTable.py:15
MS_meshing
Definition: screen_mesh_bed_lv.cpp:23
screen_test_msgbox_data_t::tst_ok
window_text_t tst_ok
Definition: screen_test_msgbox.c:14
config.h
screen_test_gui_data_t::numb1
window_numb_t numb1
Definition: screen_test_gui.c:19
color_rgb
static color_t color_rgb(uint8_t r, uint8_t g, uint8_t b)
Definition: guitypes.h:128
marlin_error
int marlin_error(uint8_t err_id)
Definition: marlin_client.c:304
color_t
uint32_t color_t
Definition: guitypes.h:62
COLOR_SILVER
#define COLOR_SILVER
Definition: guitypes.h:49
window_init_t
void() window_init_t(void *window)
Definition: window.h:55
bright_enas_sz
#define bright_enas_sz
Definition: screen_test_disp_mem.c:78
bright_enas
static const char * bright_enas[]
Definition: screen_test_disp_mem.c:77
btnMeshStrings
const char * btnMeshStrings[]
Definition: screen_mesh_bed_lv.cpp:55
MI_COUNT
Definition: screen_test_temperature.cpp:30
st7789v_brightness_set
void st7789v_brightness_set(uint8_t brightness)
TERM_BUFF_SIZE
#define TERM_BUFF_SIZE(c, r)
Definition: term.h:36
hwio_a3ides.h
gui.h
screen_mesh_bed_lv_data_t::frame
window_frame_t frame
Definition: screen_mesh_bed_lv.cpp:30
filters
static const char * filters[]
Definition: screen_filebrowser.cpp:44
screen_done_t
void() screen_done_t(screen_t *screen)
Definition: screen.h:11
gui_defaults
gui_defaults_t gui_defaults
Definition: gui.c:20
COLOR_OLIVE
#define COLOR_OLIVE
Definition: guitypes.h:52
render_icon_align
void render_icon_align(rect_ui16_t rc, uint16_t id_res, color_t clr0, uint16_t flags)
Definition: display_helper.c:55
WINDOW_EVENT_BTN_DN
#define WINDOW_EVENT_BTN_DN
Definition: window.h:38
printRGB
void printRGB(size_t rect_index, size_t rect_count, size_t col, size_t row, size_t row_space)
Definition: screen_test_disp_mem.c:438
window_set_item_count
void window_set_item_count(int16_t id, int count)
Definition: window.c:573
screen_mesh_bed_lv_data_t::term
window_term_t term
Definition: screen_mesh_bed_lv.cpp:36
nozzle_range
const int32_t nozzle_range[3]
Definition: menu_vars.cpp:31
display_fill_rect_sub_rect
void display_fill_rect_sub_rect(rect_ui16_t rc, rect_ui16_t rc1, color_t clr)
Definition: test_display.c:251
MESH_DEFAULT_CL
#define MESH_DEFAULT_CL
Definition: screen_mesh_bed_lv.cpp:63
WINDOW_EVENT_TIMER
#define WINDOW_EVENT_TIMER
Definition: window.h:50
window_file_list_init
void window_file_list_init(window_file_list_t *window)
Definition: window_file_list.c:125
f_closedir
FRESULT f_closedir(DIR *dp)
Definition: ff.c:4291
_font_t::asc_min
char asc_min
Definition: guitypes.h:82
test_display_random_chars
void test_display_random_chars(uint16_t cnt, font_t *font)
Definition: test_display.c:145
screen_test_gui_init
void screen_test_gui_init(screen_t *screen)
Definition: screen_test_gui.c:34
isInverted_actual
static int8_t isInverted_actual
Definition: screen_test_disp_mem.c:95
displayTaskHandle
osThreadId displayTaskHandle
Definition: main.c:98
_window_list_t
Definition: window_list.h:15
clrG
static uint8_t clrG
Definition: screen_test_disp_mem.c:87
test_display_fade
void test_display_fade(uint16_t cnt)
Definition: test_display.c:240
test_display_random_rects
void test_display_random_rects(uint16_t cnt)
Definition: test_display.c:99
screen_test_disp_mem_data_t::textSpiUserPattern1
window_text_t textSpiUserPattern1
Definition: screen_test_disp_mem.c:28
mode
static int16_t mode
Definition: screen_test_disp_mem.c:82
test_display_random_chars_terminal
void test_display_random_chars_terminal(uint16_t cnt)
Definition: test_display.c:187
test_display_random_lines
void test_display_random_lines(uint16_t cnt)
Definition: test_display.c:76
st7789v_inversion_off
void st7789v_inversion_off(void)
screen_test_msgbox_data_t::tst_ico_error
window_text_t tst_ico_error
Definition: screen_test_msgbox.c:21
spectral_color
void spectral_color(float l, float *pr, float *pg, float *pb)
Definition: test_display.c:194
_window_file_list_t
Definition: window_file_list.h:62
screen_test_data_t::tst_graph
window_text_t tst_graph
Definition: screen_test.c:27
screen_test_disp_mem_data_t::spinStrR0
window_spin_t spinStrR0
Definition: screen_test_disp_mem.c:51
pd
#define pd
Definition: screen_test_term.c:26
MSGBOX_MSK_ICO
#define MSGBOX_MSK_ICO
Definition: window_msgbox.h:8
screen_test_disp_mem_data_t::textR0x
window_text_t textR0x
Definition: screen_test_disp_mem.c:30
_window_t::flg
uint32_t flg
Definition: window.h:81
screen_test_gui_data_t::text1
window_text_t text1
Definition: screen_test_gui.c:16
window_set_item_callback
void window_set_item_callback(int16_t id, window_list_item_t *fnc)
Definition: window.c:787
MSGBOX_BTN_ABORTRETRYIGNORE
#define MSGBOX_BTN_ABORTRETRYIGNORE
Definition: window_msgbox.h:22
pscreen_test_disp_mem
screen_t * pscreen_test_disp_mem
Definition: screen_test_disp_mem.c:629
f_findfirst
FRESULT f_findfirst(DIR *dp, FILINFO *fno, const TCHAR *path, const TCHAR *pattern)
createSpeedLookupTable.b
list b
Definition: createSpeedLookupTable.py:30
screen_dispatch_event
void screen_dispatch_event(window_t *window, uint8_t event, void *param)
Definition: screen.c:103
pd
#define pd
Definition: screen_test.c:37
_window_progress_t
Definition: window_progress.h:15
temp_error
void temp_error(const char *error, const char *module, float t_noz, float tt_noz, float t_bed, float tt_bed)
Definition: bsod.c:207
window_set_item_index
void window_set_item_index(int16_t id, int index)
Definition: window.c:598
pscreen_test_gui
screen_t * pscreen_test_gui
Definition: screen_test_gui.c:131
pscreen_test_temperature
screen_t * pscreen_test_temperature
Definition: screen_test_temperature.cpp:109
drawCol_buff
void drawCol_buff(size_t col, size_t row, size_t len, uint16_t *directColorBuff)
Definition: screen_test_disp_mem.c:369
screen_test_init
void screen_test_init(screen_t *screen)
Definition: screen_test.c:39
screen_test_msgbox_data_t::tst_ico_info
window_text_t tst_ico_info
Definition: screen_test_msgbox.c:24
test_display_spectrum
void test_display_spectrum(uint16_t cnt)
Definition: test_display.c:298
_display_t::draw_line
display_draw_line_t * draw_line
Definition: display.h:31
screen_test_disp_mem_data_t::textBrightness
window_text_t textBrightness
Definition: screen_test_disp_mem.c:34
cmsis_os.h
Header of cmsis_os.c A new set of APIs are added in addition to existing ones, these APIs are specifi...
directColorBuff_sz
#define directColorBuff_sz
Definition: screen_test_disp_mem.c:407
marlin_gcode_printf
int marlin_gcode_printf(const char *format,...)
Definition: marlin_client.c:206
FILINFO
Definition: ff.h:197
test_text
const char * test_text
Definition: screen_test_msgbox.c:31
screen_test_graph_init
void screen_test_graph_init(screen_test_term_t *screen)
Definition: screen_test_graph.c:35
screen_test_msgbox_data_t::tst
window_text_t tst
Definition: screen_test_msgbox.c:12
row2draw
static int16_t row2draw
Definition: screen_test_disp_mem.c:84
test_display_rgbcolors
void test_display_rgbcolors(uint16_t cnt)
Definition: test_display.c:263
MESH_ACTIVE_CL
#define MESH_ACTIVE_CL
Definition: screen_mesh_bed_lv.cpp:64
thermalManager
Temperature thermalManager
Definition: temperature.cpp:89
screen_test_graph_done
void screen_test_graph_done(screen_test_term_t *screen)
Definition: screen_test_graph.c:61
window_set_color_text
void window_set_color_text(int16_t id, color_t clr)
Definition: window.c:457
WINDOW_FLG_ENABLED
#define WINDOW_FLG_ENABLED
Definition: window.h:25
_window_invalidate
static void _window_invalidate(window_t *window)
Definition: window.h:257
screen_test_graph_event
int screen_test_graph_event(screen_test_term_t *screen, window_t *window, uint8_t event, void *param)
Definition: screen_test_graph.c:74
screen_test_disp_mem_data_t::spinBrightness
window_spin_t spinBrightness
Definition: screen_test_disp_mem.c:40
screen_test_data_t::tst_gui
window_text_t tst_gui
Definition: screen_test.c:24
screen_mesh_bed_lv
screen_t screen_mesh_bed_lv
Definition: screen_mesh_bed_lv.cpp:217
WINDOW_CLS_TEMP_GRAPH
int16_t WINDOW_CLS_TEMP_GRAPH
Definition: window_temp_graph.c:8
WINDOW_EVENT_ENC_DN
#define WINDOW_EVENT_ENC_DN
Definition: window.h:40
screen_test_disp_mem_data_t::spinMode
window_list_t spinMode
Definition: screen_test_disp_mem.c:43
screen_test_data_t::tst_temperature
window_text_t tst_temperature
Definition: screen_test.c:28
dispRamTest_NextCol
size_t dispRamTest_NextCol(size_t row_pos, size_t rect_w, size_t rect_space, size_t rect_count, size_t border_w)
Definition: screen_test_disp_mem.c:477
screen_test_msgbox_data_t::tst_okcancel
window_text_t tst_okcancel
Definition: screen_test_msgbox.c:15
brightness_last
static int16_t brightness_last
Definition: screen_test_disp_mem.c:92
screen_test_disp_mem_done
void screen_test_disp_mem_done(screen_t *screen)
Definition: screen_test_disp_mem.c:526
heatbed_range
const int32_t heatbed_range[3]
Definition: menu_vars.cpp:32
_window_file_list_t::win
window_t win
Definition: window_file_list.h:63
marlin_event_clr
int marlin_event_clr(uint8_t evt_id)
Definition: marlin_client.c:252
term_printf
int term_printf(term_t *pt, const char *fmt,...)
Definition: term.c:178
point_ui16
static point_ui16_t point_ui16(uint16_t x, uint16_t y)
Definition: guitypes.h:154
screen_mesh_bed_lv_event
int screen_mesh_bed_lv_event(screen_t *screen, window_t *window, uint8_t event, void *param)
Definition: screen_mesh_bed_lv.cpp:144
screen_test_disp_mem_data_t::textB0x
window_text_t textB0x
Definition: screen_test_disp_mem.c:32
inversions_sz
#define inversions_sz
Definition: screen_test_disp_mem.c:75
printRGBWscale
void printRGBWscale(size_t rect_index, size_t rect_count, size_t col, size_t row, size_t row_space)
Definition: screen_test_disp_mem.c:410
st7789v_brightness_enable
void st7789v_brightness_enable(void)
screen_test_msgbox_data_t::back
window_text_t back
Definition: screen_test_msgbox.c:13
screen_mesh_bed_lv_done
void screen_mesh_bed_lv_done(screen_t *screen)
Definition: screen_mesh_bed_lv.cpp:137
window_list_modes_item
void window_list_modes_item(window_list_t *pwindow_list, uint16_t index, const char **pptext, uint16_t *pid_icon)
Definition: screen_test_disp_mem.c:108
MS_homed
Definition: screen_mesh_bed_lv.cpp:21
ALIGN_LEFT_CENTER
#define ALIGN_LEFT_CENTER
Definition: guitypes.h:21
screen_test_gui_data_t::frame
window_frame_t frame
Definition: screen_test_gui.c:13
info
uint8_t info[12]
Definition: masstorage.h:54