Prusa MINI Firmware overview
resource.h
Go to the documentation of this file.
1 //resource.h
2 #ifndef _RESOURCE_H
3 #define _RESOURCE_H
4 
5 //null resource - test
6 #define IDR_NULL 0x0000
7 
8 //fonts
9 #define IDR_FNT_SMALL 0x0001
10 #define IDR_FNT_NORMAL 0x0002
11 #define IDR_FNT_BIG 0x0003
12 #define IDR_FNT_TERMINAL 0x0004
13 #define IDR_FNT_SPECIAL 0x0005
14 #define IDR_FNT_original_prusa 0x0006
15 
16 //pngs
17 #define IDR_PNG_splash_logo_marlin 0x0007
18 #define IDR_PNG_status_logo_prusa_prn 0x0008
19 
20 #define IDR_PNG_status_icon_nozzle 0x0009
21 #define IDR_PNG_status_icon_heatbed 0x000a
22 #define IDR_PNG_status_icon_prnspeed 0x000b
23 #define IDR_PNG_status_icon_filament 0x000c
24 #define IDR_PNG_status_icon_z_axis 0x000d
25 #define IDR_PNG_status_icon_home 0x000e
26 #define IDR_PNG_status_icon_printing 0x000f
27 
28 #define IDR_PNG_menu_icon_print 0x0010
29 #define IDR_PNG_menu_icon_preheat 0x0011
30 #define IDR_PNG_menu_icon_spool 0x0012
31 #define IDR_PNG_menu_icon_reprint 0x0013
32 #define IDR_PNG_menu_icon_calibration 0x0014
33 #define IDR_PNG_menu_icon_settings 0x0015
34 #define IDR_PNG_menu_icon_info 0x0016
35 #define IDR_PNG_menu_icon_pause 0x0017
36 #define IDR_PNG_menu_icon_stop 0x0018
37 #define IDR_PNG_menu_icon_resume 0x0019
38 #define IDR_PNG_menu_icon_home 0x001a
39 
40 #define IDR_PNG_filescreen_icon_home 0x001b
41 #define IDR_PNG_filescreen_icon_folder 0x001c
42 #define IDR_PNG_filescreen_icon_up_folder 0x001d
43 
44 #define IDR_PNG_icon_pepa 0x001e
45 
46 #define IDR_PNG_msgbox_icon_error 0x001f
47 #define IDR_PNG_msgbox_icon_question 0x0020
48 #define IDR_PNG_msgbox_icon_warning 0x0021
49 #define IDR_PNG_msgbox_icon_info 0x0022
50 
51 #define IDR_PNG_wizard_icon_na 0x0023
52 #define IDR_PNG_wizard_icon_ok 0x0024
53 #define IDR_PNG_wizard_icon_ng 0x0025
54 #define IDR_PNG_wizard_icon_ip0 0x0026
55 #define IDR_PNG_wizard_icon_ip1 0x0027
56 #define IDR_PNG_wizard_icon_hourglass 0x0028
57 #define IDR_PNG_wizard_icon_autohome 0x0029
58 #define IDR_PNG_wizard_icon_search 0x002a
59 #define IDR_PNG_wizard_icon_measure 0x002b
60 
61 #define IDR_PNG_icon_pepa_psod 0x002c
62 
63 #define IDR_PNG_header_icon_usb 0x002d
64 #define IDR_PNG_header_icon_lan 0x002e
65 #define IDR_PNG_header_icon_wifi 0x002f
66 #define IDR_PNG_header_icon_info 0x0030
67 #define IDR_PNG_header_icon_error 0x0031
68 #define IDR_PNG_header_icon_warning 0x0032
69 #define IDR_PNG_header_icon_question 0x0033
70 
71 #define IDR_PNG_arrow_up 0x0034
72 #define IDR_PNG_arrow_down 0x0035
73 
74 #define IDR_PNG_menu_icon_back 0x0036
75 
76 #endif //_RESOURCE_H
png_icon_64x64_noise
const uint8_t png_icon_64x64_noise[]
Definition: png_icon_64x64_noise.c:4
font_7x13
const font_t font_7x13
Definition: font_7x13.c:4999
png_msgbox_icon_info
const uint8_t png_msgbox_icon_info[]
Definition: png_msgbox_icon_info.c:1
png_arrow_down.c
png_wizard_icon_ip1
const uint8_t png_wizard_icon_ip1[]
Definition: png_wizard_icon_ip1.c:1
FIL
Definition: ff.h:155
png_menu_icon_reprint.c
png_statusscreen_icon_home_size
const uint16_t png_statusscreen_icon_home_size
Definition: png_statusscreen_icon_home.c:278
png_filescreen_icon_home
const uint8_t png_filescreen_icon_home[]
Definition: png_filescreen_icon_home.c:4
png_icon_background_64x64
const uint8_t png_icon_background_64x64[]
Definition: png_icon_background_64x64.c:4
png_header_icon_usb.c
png_arrow_up.c
FONT_FLG_SWAP
#define FONT_FLG_SWAP
Definition: guitypes.h:36
_font_t
Definition: guitypes.h:76
png_statusscreen_icon_z_axis
const uint8_t png_statusscreen_icon_z_axis[]
Definition: png_statusscreen_icon_z_axis.c:4
png_statusscreen_logo_prusa_prn
const uint8_t png_statusscreen_logo_prusa_prn[]
Definition: png_statusscreen_logo_prusamini_debug.c:1
png_menu_icon_pause.c
png_cnt
int png_cnt
Definition: pngview.c:10
RESOURCE_ENTRY_FNT
#define RESOURCE_ENTRY_FNT(v)
Definition: guitypes.h:228
png_msgbox_icon_error.c
png_filescreen_icon_up_folder_size
const uint16_t png_filescreen_icon_up_folder_size
Definition: png_filescreen_icon_up_folder.c:257
font_9x16
const font_t font_9x16
Definition: font_9x16.c:7687
png_menu_icon_print.c
png_statusscreen_icon_nozzle
const uint8_t png_statusscreen_icon_nozzle[]
Definition: png_statusscreen_icon_nozzle.c:4
png_wizard_icon_search.c
png_wizard_icon_ip0.c
png_statusscreen_logo_prusamini.c
font_11x18_data
const uint8_t font_11x18_data[]
Definition: font_11x18.c:4
f_open
FRESULT f_open(FIL *fp, const TCHAR *path, BYTE mode)
Definition: ff.c:3296
png_splashscreen_logo_marlin
const uint8_t png_splashscreen_logo_marlin[]
Definition: png_splashscreen_logo_marlin.c:4
png_menu_icon_spool_size
const uint16_t png_menu_icon_spool_size
Definition: png_menu_icon_spool.c:1670
png_header_icon_wifi
const uint8_t png_header_icon_wifi[]
Definition: png_header_icon_wifi.c:4
png_wizard_icon_ok
const uint8_t png_wizard_icon_ok[]
Definition: png_wizard_icon_ok.c:1
png_menu_icon_home
const uint8_t png_menu_icon_home[]
Definition: png_menu_icon_home.c:1
png_menu_icon_preheat_size
const uint16_t png_menu_icon_preheat_size
Definition: png_menu_icon_preheat.c:913
png_statusscreen_icon_filament_size
const uint16_t png_statusscreen_icon_filament_size
Definition: png_statusscreen_icon_filament.c:619
_f_fread
int _f_fread(struct _reent *_r, void *pv, char *pc, int n)
Definition: pngview.c:13
png_icon_64x64_noise_size
const uint16_t png_icon_64x64_noise_size
Definition: png_icon_64x64_noise.c:5101
fil
FIL fil
Definition: pngview.c:11
pngview
void pngview(void)
Definition: pngview.c:58
png_icon_background_64x64_size
const uint16_t png_icon_background_64x64_size
Definition: png_icon_background_64x64.c:489
png_menu_icon_back.c
_f_fseek
_fpos_t _f_fseek(struct _reent *_r, void *pv, _fpos_t fpos, int ipos)
Definition: pngview.c:27
font_12x12
const font_t font_12x12
Definition: font_12x12.c:102
png_statusscreen_icon_filament.c
font_original_prusa_mini
const font_t font_original_prusa_mini
Definition: font_original_prusa_mini.c:5047
png_menu_icon_square
const uint8_t png_menu_icon_square[]
Definition: png_menu_icon_square.c:4
png_statusscreen_logo_prusamini_debug.c
dbg.h
png_filescreen_icon_folder
const uint8_t png_filescreen_icon_folder[]
Definition: png_filescreen_icon_folder.c:4
RESOURCE_ENTRY_NUL
#define RESOURCE_ENTRY_NUL()
Definition: guitypes.h:226
png_statusscreen_icon_zaxis
const uint8_t png_statusscreen_icon_zaxis[]
Definition: png_statusscreen_icon_zaxis.c:4
_f_fclose
int _f_fclose(struct _reent *_r, void *pv)
Definition: pngview.c:23
RESOURCE_TABLE_BEGIN
#define RESOURCE_TABLE_BEGIN
Definition: guitypes.h:219
font_12x12_data
const uint16_t font_12x12_data[]
Definition: font_12x12.c:3
png_filescreen_icon_up_folder
const uint8_t png_filescreen_icon_up_folder[]
Definition: png_filescreen_icon_up_folder.c:4
font_8x13
const font_t font_8x13
Definition: font_8x13.c:4999
png_wizard_icon_ng
const uint8_t png_wizard_icon_ng[]
Definition: png_wizard_icon_ng.c:1
png_statusscreen_icon_printing
const uint8_t png_statusscreen_icon_printing[]
Definition: png_statusscreen_icon_printing.c:4
png_menu_icon_print
const uint8_t png_menu_icon_print[]
Definition: png_menu_icon_print.c:4
png_header_icon_lan
const uint8_t png_header_icon_lan[]
Definition: png_header_icon_lan.c:4
png_statusscreen_icon_prnspeed.c
osDelay
osStatus osDelay(uint32_t millisec)
Wait for Timeout (Time Delay)
Definition: cmsis_os.c:365
png_statusscreen_icon_progress
const uint8_t png_statusscreen_icon_progress[]
Definition: png_statusscreen_icon_progress.c:4
png_menu_icon_preheat
const uint8_t png_menu_icon_preheat[]
Definition: png_menu_icon_preheat.c:4
font_9x15_data
const uint8_t font_9x15_data[]
Definition: font_9x15.c:4
png_statusscreen_icon_z_axis_size
const uint16_t png_statusscreen_icon_z_axis_size
Definition: png_statusscreen_icon_z_axis.c:393
jogwheel_encoder_set
void jogwheel_encoder_set(int32_t val, int32_t min, int32_t max)
Definition: jogwheel.c:83
RESOURCE_ENTRY_PNG
#define RESOURCE_ENTRY_PNG(v)
Definition: guitypes.h:227
png_menu_icon_settings.c
png_menu_icon_resume_size
const uint16_t png_menu_icon_resume_size
Definition: png_menu_icon_resume.c:1641
png_statusscreen_icon_remtime_size
const uint16_t png_statusscreen_icon_remtime_size
Definition: png_statusscreen_icon_remtime.c:890
png_statusscreen_icon_printing.c
png_filescreen_icon_folder_size
const uint16_t png_filescreen_icon_folder_size
Definition: png_filescreen_icon_folder.c:169
jogwheel_encoder
int32_t jogwheel_encoder
Definition: jogwheel.c:10
font_9x16.c
png_statusscreen_icon_prnspeed
const uint8_t png_statusscreen_icon_prnspeed[]
Definition: png_statusscreen_icon_prnspeed.c:4
png_wizard_icon_autohome.c
png_menu_icon_print_size
const uint16_t png_menu_icon_print_size
Definition: png_menu_icon_print.c:1255
png_menu_icon_spool
const uint8_t png_menu_icon_spool[]
Definition: png_menu_icon_spool.c:4
FA_READ
#define FA_READ
Definition: ff.h:326
font_8x12_data
const uint8_t font_8x12_data[]
Definition: font_8x12.c:4
f_fopen
FILE * f_fopen(char *fn)
Definition: pngview.c:31
font_12x21.c
font_9x15
const font_t font_9x15
Definition: font_9x15.c:7207
RESOURCE_TABLE_END
#define RESOURCE_TABLE_END
Definition: guitypes.h:220
png_menu_icon_square_size
const uint16_t png_menu_icon_square_size
Definition: png_menu_icon_square.c:271
png_header_icon_wifi_size
const uint16_t png_header_icon_wifi_size
Definition: png_header_icon_wifi.c:464
png_menu_icon_pause
const uint8_t png_menu_icon_pause[]
Definition: png_menu_icon_pause.c:4
png_menu_icon_settings_size
const uint16_t png_menu_icon_settings_size
Definition: png_menu_icon_settings.c:1427
png_splashscreen_logo_marlin.c
font_9x15.c
png_msgbox_icon_info.c
png_wizard_icon_measure
const uint8_t png_wizard_icon_measure[]
Definition: png_wizard_icon_measure.c:1
png_icon_background_64x64_focused
const uint8_t png_icon_background_64x64_focused[]
Definition: png_icon_background_64x64_focused.c:4
png_header_icon_warning
const uint8_t png_header_icon_warning[]
Definition: png_header_icon_warning.c:1
f_opendir
FRESULT f_opendir(DIR *dp, const TCHAR *path)
Definition: ff.c:4221
_display_t::draw_png
display_draw_png_t * draw_png
Definition: display.h:37
jogwheel_button_down
uint16_t jogwheel_button_down
Definition: jogwheel.c:13
png_menu_icon_reprint_size
const uint16_t png_menu_icon_reprint_size
Definition: png_menu_icon_reprint.c:1424
ff.h
png_menu_icon_pause_size
const uint16_t png_menu_icon_pause_size
Definition: png_menu_icon_pause.c:1364
_f_fwrite
int _f_fwrite(struct _reent *_r, void *pv, const char *pc, int n)
Definition: pngview.c:19
png_filescreen_icon_up_folder.c
png_menu_icon_calibration.c
png_wizard_icon_na
const uint8_t png_wizard_icon_na[]
Definition: png_wizard_icon_na.c:1
font_8x13_data
const uint8_t font_8x13_data[]
Definition: font_8x13.c:4
f_fclose
void f_fclose(FILE *pf)
Definition: pngview.c:49
png_menu_icon_settings
const uint8_t png_menu_icon_settings[]
Definition: png_menu_icon_settings.c:4
png_menu_icon_preheat.c
png_wizard_icon_hourglass.c
uint8_t
const uint8_t[]
Definition: 404_html.c:3
_dbg
#define _dbg(...)
Definition: dbg.h:50
png_header_icon_lan.c
png_header_icon_question
const uint8_t png_header_icon_question[]
Definition: png_header_icon_question.c:1
font_original_prusa_mini.c
display
display_t * display
Definition: display.c:6
font_original_prusa_mini_data_size
const uint16_t font_original_prusa_mini_data_size
Definition: font_original_prusa_mini.c:5057
png_menu_icon_stop_size
const uint16_t png_menu_icon_stop_size
Definition: png_menu_icon_stop.c:1363
font_9x16_data
const uint8_t font_9x16_data[]
Definition: font_9x16.c:4
png_wizard_icon_hourglass
const uint8_t png_wizard_icon_hourglass[]
Definition: png_wizard_icon_hourglass.c:1
png_menu_icon_calibration_size
const uint16_t png_menu_icon_calibration_size
Definition: png_menu_icon_calibration.c:1458
png_header_icon_info
const uint8_t png_header_icon_info[]
Definition: png_header_icon_info.c:1
png_statusscreen_logo_prusa_prn
const uint8_t png_statusscreen_logo_prusa_prn[]
Definition: png_statusscreen_logo_prusamini.c:1
font_8x12
const font_t font_8x12
Definition: font_8x12.c:103
png_header_icon_info.c
png_icon_pepa.c
png_icon_pepa_psod.c
FRESULT
FRESULT
Definition: ff.h:214
display.h
png_wizard_icon_ok.c
png_header_icon_error.c
png_header_icon_warning.c
f_findnext
FRESULT f_findnext(DIR *dp, FILINFO *fno)
jogwheel.h
png_statusscreen_icon_progress_size
const uint16_t png_statusscreen_icon_progress_size
Definition: png_statusscreen_icon_progress.c:1279
main.h
: Header for main.c file. This file contains the common defines of the application.
png_menu_icon_stop
const uint8_t png_menu_icon_stop[]
Definition: png_menu_icon_stop.c:4
png_fnames
char png_fnames[256][8]
Definition: pngview.c:9
png_header_icon_usb_size
const uint16_t png_header_icon_usb_size
Definition: png_header_icon_usb.c:416
FR_OK
Definition: ff.h:215
png_msgbox_icon_warning
const uint8_t png_msgbox_icon_warning[]
Definition: png_msgbox_icon_warning.c:1
png_arrow_down_size
const uint16_t png_arrow_down_size
Definition: png_arrow_down.c:207
png_header_icon_lan_size
const uint16_t png_header_icon_lan_size
Definition: png_header_icon_lan.c:302
png_menu_icon_info.c
png_wizard_icon_na.c
png_menu_icon_info
const uint8_t png_menu_icon_info[]
Definition: png_menu_icon_info.c:4
png_msgbox_icon_error
const uint8_t png_msgbox_icon_error[]
Definition: png_msgbox_icon_error.c:1
png_filescreen_icon_home.c
DIR
Definition: ff.h:178
png_statusscreen_icon_home
const uint8_t png_statusscreen_icon_home[]
Definition: png_statusscreen_icon_home.c:4
png_statusscreen_icon_home.c
png_arrow_up_size
const uint16_t png_arrow_up_size
Definition: png_arrow_up.c:214
png_menu_icon_spool.c
png_statusscreen_icon_printing_size
const uint16_t png_statusscreen_icon_printing_size
Definition: png_statusscreen_icon_printing.c:406
png_wizard_icon_ng.c
png_statusscreen_icon_heatbed.c
png_statusscreen_icon_filament
const uint8_t png_statusscreen_icon_filament[]
Definition: png_statusscreen_icon_filament.c:4
png_header_icon_error
const uint8_t png_header_icon_error[]
Definition: png_header_icon_error.c:1
png_statusscreen_icon_prnspeed_size
const uint16_t png_statusscreen_icon_prnspeed_size
Definition: png_statusscreen_icon_prnspeed.c:376
png_filescreen_icon_folder.c
font_12x21
const font_t font_12x21
Definition: font_12x21.c:12103
font_original_prusa_mini_data
const uint8_t font_original_prusa_mini_data[]
Definition: font_original_prusa_mini.c:4
config.h
font_7x13.c
png_arrow_down
const uint8_t png_arrow_down[]
Definition: png_arrow_down.c:4
png_menu_icon_resume
const uint8_t png_menu_icon_resume[]
Definition: png_menu_icon_resume.c:4
png_wizard_icon_measure.c
png_wizard_icon_ip0
const uint8_t png_wizard_icon_ip0[]
Definition: png_wizard_icon_ip0.c:1
png_menu_icon_reprint
const uint8_t png_menu_icon_reprint[]
Definition: png_menu_icon_reprint.c:4
png_msgbox_icon_warning.c
font_12x21_data
const uint8_t font_12x21_data[]
Definition: font_12x21.c:4
png_wizard_icon_search
const uint8_t png_wizard_icon_search[]
Definition: png_wizard_icon_search.c:1
png_menu_icon_back
const uint8_t png_menu_icon_back[]
Definition: png_menu_icon_back.c:1
png_filescreen_icon_home_size
const uint16_t png_filescreen_icon_home_size
Definition: png_filescreen_icon_home.c:227
png_statusscreen_icon_zaxis_size
const uint16_t png_statusscreen_icon_zaxis_size
Definition: png_statusscreen_icon_zaxis.c:512
png_wizard_icon_ip1.c
gui.h
png_msgbox_icon_question
const uint8_t png_msgbox_icon_question[]
Definition: png_msgbox_icon_question.c:1
png_statusscreen_icon_heatbed
const uint8_t png_statusscreen_icon_heatbed[]
Definition: png_statusscreen_icon_heatbed.c:4
f_closedir
FRESULT f_closedir(DIR *dp)
Definition: ff.c:4291
png_header_icon_question.c
png_menu_icon_home.c
png_wizard_icon_autohome
const uint8_t png_wizard_icon_autohome[]
Definition: png_wizard_icon_autohome.c:1
font_7x13_data
const uint8_t font_7x13_data[]
Definition: font_7x13.c:4
font_11x18
const font_t font_11x18
Definition: font_11x18.c:10375
png_icon_pepa
const uint8_t png_icon_pepa[]
Definition: png_icon_pepa.c:1
png_header_icon_usb
const uint8_t png_header_icon_usb[]
Definition: png_header_icon_usb.c:4
png_arrow_up
const uint8_t png_arrow_up[]
Definition: png_arrow_up.c:4
png_menu_icon_info_size
const uint16_t png_menu_icon_info_size
Definition: png_menu_icon_info.c:1581
png_menu_icon_stop.c
png_menu_icon_resume.c
png_header_icon_wifi.c
f_findfirst
FRESULT f_findfirst(DIR *dp, FILINFO *fno, const TCHAR *path, const TCHAR *pattern)
png_msgbox_icon_question.c
png_statusscreen_icon_nozzle_size
const uint16_t png_statusscreen_icon_nozzle_size
Definition: png_statusscreen_icon_nozzle.c:336
png_statusscreen_icon_nozzle.c
font_11x18.c
FILINFO
Definition: ff.h:197
png_splashscreen_logo_marlin_size
const uint16_t png_splashscreen_logo_marlin_size
Definition: png_splashscreen_logo_marlin.c:3343
UINT
unsigned int UINT
Definition: onboard_sd.h:16
f_read
FRESULT f_read(FIL *fp, void *buff, UINT btr, UINT *br)
Definition: ff.c:3499
png_statusscreen_icon_remtime
const uint8_t png_statusscreen_icon_remtime[]
Definition: png_statusscreen_icon_remtime.c:4
f_close
FRESULT f_close(FIL *fp)
Definition: ff.c:3801
png_icon_background_64x64_focused_size
const uint16_t png_icon_background_64x64_focused_size
Definition: png_icon_background_64x64_focused.c:440
point_ui16
static point_ui16_t point_ui16(uint16_t x, uint16_t y)
Definition: guitypes.h:154
png_statusscreen_icon_heatbed_size
const uint16_t png_statusscreen_icon_heatbed_size
Definition: png_statusscreen_icon_heatbed.c:504
png_menu_icon_calibration
const uint8_t png_menu_icon_calibration[]
Definition: png_menu_icon_calibration.c:4
png_statusscreen_icon_z_axis.c
png_icon_pepa_psod
const uint8_t png_icon_pepa_psod[]
Definition: png_icon_pepa_psod.c:1
info
uint8_t info[12]
Definition: masstorage.h:54