|
@@ -21,7 +21,7 @@
|
21
|
21
|
*/
|
22
|
22
|
|
23
|
23
|
/**
|
24
|
|
- * Standard Marlin Boot and Status Screen bitmaps
|
|
24
|
+ * Standard Marlin Status Screen bitmaps
|
25
|
25
|
*
|
26
|
26
|
* Use the Marlin Bitmap Converter to make your own:
|
27
|
27
|
* http://marlinfw.org/tools/u8glib/converter.html
|
|
@@ -31,109 +31,18 @@
|
31
|
31
|
|
32
|
32
|
#include "../../inc/MarlinConfig.h"
|
33
|
33
|
|
34
|
|
-#if ENABLED(SHOW_BOOTSCREEN)
|
35
|
|
-
|
36
|
|
- //#define START_BMPHIGH // Costs 399 bytes more flash
|
37
|
|
-
|
38
|
|
- #if ENABLED(SHOW_CUSTOM_BOOTSCREEN)
|
39
|
|
-
|
40
|
|
- #include "../../../_Bootscreen.h"
|
41
|
|
-
|
42
|
|
- #ifndef CUSTOM_BOOTSCREEN_TIMEOUT
|
43
|
|
- #define CUSTOM_BOOTSCREEN_TIMEOUT 2500
|
44
|
|
- #endif
|
45
|
|
-
|
46
|
|
- #endif
|
47
|
|
-
|
48
|
|
- #if ENABLED(START_BMPHIGH)
|
49
|
|
-
|
50
|
|
- #define START_BMPWIDTH 112
|
51
|
|
-
|
52
|
|
- const unsigned char start_bmp[] PROGMEM = {
|
53
|
|
- B00000001,B11111111,B11111111,B11111111,B11111111,B11111111,B11111111,B11111111,B11111111,B11111111,B11111111,B11111111,B11111111,B11111111,
|
54
|
|
- B00001111,B11111111,B11111111,B11111111,B11111111,B11111111,B11111111,B11111111,B11111111,B11111111,B11111111,B11111111,B11111111,B11111111,
|
55
|
|
- B00011110,B00000000,B00000000,B00000000,B00000000,B00000000,B00000000,B00000000,B00000000,B00000000,B00000000,B00000111,B11111111,B11111111,
|
56
|
|
- B00111000,B00000000,B00000000,B00000000,B00000000,B00000000,B00000000,B00000000,B00000000,B00000000,B00000000,B00000011,B11111111,B11111111,
|
57
|
|
- B01110000,B00000000,B00000000,B00000000,B00000000,B00000000,B00000000,B00000000,B00000000,B00000000,B00000000,B00000001,B11111111,B11111111,
|
58
|
|
- B01100000,B00000000,B00000000,B00000000,B00000000,B00000000,B00000000,B00000000,B00000000,B00000000,B00000000,B00000000,B11111111,B11111111,
|
59
|
|
- B01100000,B00000000,B00000000,B00000000,B00000000,B00000000,B00000000,B00000000,B00000000,B00000000,B00000000,B00000000,B01111111,B11111111,
|
60
|
|
- B11000000,B00000000,B00000000,B00000000,B00000000,B00000000,B00000000,B00000000,B00000000,B01111000,B00000000,B00000000,B00111111,B11111111,
|
61
|
|
- B11000000,B00001111,B11000000,B11111100,B00000000,B00000000,B00000000,B00000000,B00000000,B01111000,B00011000,B00000000,B00011111,B11111111,
|
62
|
|
- B11000000,B00111111,B11100001,B11111111,B00000000,B00000000,B00000000,B00000000,B00000000,B01111000,B00111100,B00000000,B00001111,B11111111,
|
63
|
|
- B11000000,B01111111,B11110011,B11111111,B10000000,B00000000,B00000000,B00000000,B00000000,B01111000,B00111100,B00000000,B00000111,B11111111,
|
64
|
|
- B11000000,B11111111,B11111111,B11111111,B11000000,B00000000,B00000000,B00000000,B00000000,B01111000,B00111100,B00000000,B00000011,B11111111,
|
65
|
|
- B11000001,B11111000,B01111111,B10000111,B11100000,B00000000,B00000000,B00000000,B00000000,B01111000,B00000000,B00000000,B00000001,B11111111,
|
66
|
|
- B11000001,B11110000,B00111111,B00000011,B11100000,B00000000,B00000000,B00000000,B00000000,B01111000,B00000000,B00000000,B00000000,B11111111,
|
67
|
|
- B11000001,B11100000,B00011110,B00000001,B11100000,B00011111,B00000000,B00000011,B11100000,B01111000,B00111100,B00000011,B11110000,B01111111,
|
68
|
|
- B11000001,B11100000,B00011110,B00000001,B11100000,B01111111,B11000000,B00001111,B11111000,B01111000,B00111100,B00000111,B11111100,B00111111,
|
69
|
|
- B11000001,B11100000,B00011110,B00000001,B11100001,B11111111,B11100000,B00011111,B11111100,B01111000,B00111100,B00001111,B11111110,B00011111,
|
70
|
|
- B11000001,B11100000,B00011110,B00000001,B11100011,B11111111,B11110000,B00111111,B11111110,B01111000,B00111100,B00011111,B11111110,B00001111,
|
71
|
|
- B11000001,B11100000,B00011110,B00000001,B11100011,B11110011,B11111000,B00111111,B00111110,B01111000,B00111100,B00111111,B00111111,B00000111,
|
72
|
|
- B11000001,B11100000,B00011110,B00000001,B11100111,B11100000,B11111100,B01111100,B00011111,B01111000,B00111100,B00111110,B00011111,B00000111,
|
73
|
|
- B11000001,B11100000,B00011110,B00000001,B11100111,B11000000,B01111100,B01111100,B00001111,B01111000,B00111100,B00111100,B00001111,B00000011,
|
74
|
|
- B11000001,B11100000,B00011110,B00000001,B11100111,B10000000,B01111100,B01111000,B00001111,B01111000,B00111100,B00111100,B00001111,B00000011,
|
75
|
|
- B11000001,B11100000,B00011110,B00000001,B11100111,B10000000,B00111100,B01111000,B00000000,B01111000,B00111100,B00111100,B00001111,B00000011,
|
76
|
|
- B11000001,B11100000,B00011110,B00000001,B11100111,B10000000,B00111100,B01111000,B00000000,B01111000,B00111100,B00111100,B00001111,B00000011,
|
77
|
|
- B11000001,B11100000,B00011110,B00000001,B11100111,B10000000,B00111100,B01111000,B00000000,B01111000,B00111100,B00111100,B00001111,B00000011,
|
78
|
|
- B11000001,B11100000,B00011110,B00000001,B11100111,B11000000,B00111100,B01111000,B00000000,B01111000,B00111100,B00111100,B00001111,B00000011,
|
79
|
|
- B11000001,B11100000,B00011110,B00000001,B11100011,B11100000,B00111100,B01111000,B00000000,B01111100,B00111100,B00111100,B00001111,B00000011,
|
80
|
|
- B11000001,B11100000,B00011110,B00000001,B11100011,B11111111,B00111111,B11111000,B00000000,B01111111,B10111100,B00111100,B00001111,B00000011,
|
81
|
|
- B11000001,B11100000,B00011110,B00000001,B11100001,B11111111,B00111111,B11111000,B00000000,B00111111,B10111111,B11111100,B00001111,B00000011,
|
82
|
|
- B11000001,B11100000,B00011110,B00000001,B11100000,B11111111,B00111111,B11111000,B00000000,B00011111,B10111111,B11111100,B00001111,B00000011,
|
83
|
|
- B11000001,B11100000,B00011110,B00000001,B11100000,B01111111,B00111111,B11111000,B00000000,B00001111,B10111111,B11111100,B00001111,B00000011,
|
84
|
|
- B01100000,B00000000,B00000000,B00000000,B00000000,B00000000,B00000000,B00000000,B00000000,B00000000,B00000000,B00000000,B00000000,B00000111,
|
85
|
|
- B01100000,B00000000,B00000000,B00000000,B00000000,B00000000,B00000000,B00000000,B00000000,B00000000,B00000000,B00000000,B00000000,B00000110,
|
86
|
|
- B01110000,B00000000,B00000000,B00000000,B00000000,B00000000,B00000000,B00000000,B00000000,B00000000,B00000000,B00000000,B00000000,B00001110,
|
87
|
|
- B00111000,B00000000,B00000000,B00000000,B00000000,B00000000,B00000000,B00000000,B00000000,B00000000,B00000000,B00000000,B00000000,B00011100,
|
88
|
|
- B00011110,B00000000,B00000000,B00000000,B00000000,B00000000,B00000000,B00000000,B00000000,B00000000,B00000000,B00000000,B00000000,B01111000,
|
89
|
|
- B00001111,B11111111,B11111111,B11111111,B11111111,B11111111,B11111111,B11111111,B11111111,B11111111,B11111111,B11111111,B11111111,B11110000,
|
90
|
|
- B00000001,B11111111,B11111111,B11111111,B11111111,B11111111,B11111111,B11111111,B11111111,B11111111,B11111111,B11111111,B11111111,B10000000
|
91
|
|
- };
|
92
|
|
-
|
93
|
|
- #else
|
94
|
|
-
|
95
|
|
- #define START_BMPWIDTH 56
|
96
|
|
-
|
97
|
|
- const unsigned char start_bmp[] PROGMEM = {
|
98
|
|
- B00011111,B11111111,B11111111,B11111111,B11111111,B11111111,B11111111,
|
99
|
|
- B01100000,B00000000,B00000000,B00000000,B00000000,B00000001,B11111111,
|
100
|
|
- B01000000,B00000000,B00000000,B00000000,B00000000,B00000000,B11111111,
|
101
|
|
- B10000000,B00000000,B00000000,B00000000,B00000000,B00000000,B01111111,
|
102
|
|
- B10000011,B11001111,B00000000,B00000000,B00001100,B00110000,B00111111,
|
103
|
|
- B10000111,B11111111,B10000000,B00000000,B00001100,B00110000,B00011111,
|
104
|
|
- B10000110,B01111001,B10000000,B00000000,B00001100,B00000000,B00001111,
|
105
|
|
- B10001100,B00110000,B11000111,B10000011,B10001100,B00110000,B11100111,
|
106
|
|
- B10001100,B00110000,B11001111,B11000111,B11001100,B00110001,B11110011,
|
107
|
|
- B10001100,B00110000,B11011100,B11101100,B11101100,B00110011,B10111001,
|
108
|
|
- B10001100,B00110000,B11011000,B01101100,B01101100,B00110011,B00011001,
|
109
|
|
- B10001100,B00110000,B11010000,B01101100,B00001100,B00110011,B00011001,
|
110
|
|
- B10001100,B00110000,B11011000,B01101100,B00001100,B00110011,B00011001,
|
111
|
|
- B10001100,B00110000,B11011100,B01101100,B00001110,B00111011,B00011001,
|
112
|
|
- B10001100,B00110000,B11001111,B01111100,B00000111,B10011111,B00011001,
|
113
|
|
- B10001100,B00110000,B11000111,B01111100,B00000011,B10001111,B00011001,
|
114
|
|
- B01000000,B00000000,B00000000,B00000000,B00000000,B00000000,B00000010,
|
115
|
|
- B01100000,B00000000,B00000000,B00000000,B00000000,B00000000,B00000110,
|
116
|
|
- B00011111,B11111111,B11111111,B11111111,B11111111,B11111111,B11111000
|
117
|
|
- };
|
118
|
|
-
|
119
|
|
- #endif
|
120
|
|
-
|
121
|
|
- #ifndef START_BMP_BYTEWIDTH
|
122
|
|
- #define START_BMP_BYTEWIDTH ((START_BMPWIDTH + 7) / 8)
|
123
|
|
- #endif
|
124
|
|
- #ifndef START_BMPHEIGHT
|
125
|
|
- #define START_BMPHEIGHT (sizeof(start_bmp) / (START_BMP_BYTEWIDTH))
|
126
|
|
- #endif
|
127
|
|
-
|
128
|
|
- static_assert(sizeof(start_bmp) == (START_BMP_BYTEWIDTH) * (START_BMPHEIGHT), "Bootscreen (start_bmp) dimensions don't match data.");
|
129
|
|
-
|
130
|
|
-#endif
|
131
|
|
-
|
132
|
34
|
#if ENABLED(CUSTOM_STATUS_SCREEN_IMAGE)
|
133
|
35
|
|
134
|
|
- // This file must define STATUS_SCREENWIDTH and status_screen[012]_bmp.
|
135
|
|
- // It can also define STATUS_SCREEN_X, STATUS_SCREEN_{BED,FAN}_TEXT_X and
|
136
|
|
- // STATUS_SCREEN_HOTEND_TEXT_X(i) to modify draw locations.
|
|
36
|
+ /**
|
|
37
|
+ * Custom _Statusscreen.h files must define STATUS_SCREENWIDTH and status_screen[012]_bmp.
|
|
38
|
+ * There's no need to define STATUS_SCREENHEIGHT since it's calculated automatically.
|
|
39
|
+ * You can also define these to modify drawing and animation:
|
|
40
|
+ *
|
|
41
|
+ * - STATUS_SCREEN_X
|
|
42
|
+ * - STATUS_SCREEN_{BED,FAN}_TEXT_X
|
|
43
|
+ * - STATUS_SCREEN_HOTEND_TEXT_X(i)
|
|
44
|
+ * - FAN_ANIM_FRAMES
|
|
45
|
+ */
|
137
|
46
|
#include "../../../_Statusscreen.h"
|
138
|
47
|
|
139
|
48
|
#else // !CUSTOM_STATUS_SCREEN_IMAGE
|
|
@@ -1161,106 +1070,6 @@
|
1161
|
1070
|
|
1162
|
1071
|
#endif // !CUSTOM_STATUS_SCREEN_IMAGE
|
1163
|
1072
|
|
1164
|
|
-#if ENABLED(BABYSTEP_ZPROBE_GFX_OVERLAY) || ENABLED(MESH_EDIT_GFX_OVERLAY)
|
1165
|
|
-
|
1166
|
|
- const unsigned char cw_bmp[] PROGMEM = {
|
1167
|
|
- B00000011,B11111000,B00000000,
|
1168
|
|
- B00001111,B11111110,B00000000,
|
1169
|
|
- B00011110,B00001111,B00000000,
|
1170
|
|
- B00111000,B00000111,B00000000,
|
1171
|
|
- B00111000,B00000011,B10000000,
|
1172
|
|
- B01110000,B00000011,B10000000,
|
1173
|
|
- B01110000,B00001111,B11100000,
|
1174
|
|
- B01110000,B00000111,B11000000,
|
1175
|
|
- B01110000,B00000011,B10000000,
|
1176
|
|
- B01110000,B00000001,B00000000,
|
1177
|
|
- B01110000,B00000000,B00000000,
|
1178
|
|
- B00111000,B00000000,B00000000,
|
1179
|
|
- B00111000,B00000111,B00000000,
|
1180
|
|
- B00011110,B00001111,B00000000,
|
1181
|
|
- B00001111,B11111110,B00000000,
|
1182
|
|
- B00000011,B11111000,B00000000
|
1183
|
|
- };
|
1184
|
|
-
|
1185
|
|
- const unsigned char ccw_bmp[] PROGMEM = {
|
1186
|
|
- B00000000,B11111110,B00000000,
|
1187
|
|
- B00000011,B11111111,B10000000,
|
1188
|
|
- B00000111,B10000011,B11000000,
|
1189
|
|
- B00001110,B00000001,B11000000,
|
1190
|
|
- B00001110,B00000000,B11100000,
|
1191
|
|
- B00011100,B00000000,B11100000,
|
1192
|
|
- B01111111,B00000000,B11100000,
|
1193
|
|
- B00111110,B00000000,B11100000,
|
1194
|
|
- B00011100,B00000000,B11100000,
|
1195
|
|
- B00001000,B00000000,B11100000,
|
1196
|
|
- B00000000,B00000000,B11100000,
|
1197
|
|
- B00000000,B00000001,B11000000,
|
1198
|
|
- B00001110,B00000001,B11000000,
|
1199
|
|
- B00001111,B00000111,B10000000,
|
1200
|
|
- B00000111,B11111111,B00000000,
|
1201
|
|
- B00000001,B11111100,B00000000
|
1202
|
|
- };
|
1203
|
|
-
|
1204
|
|
- const unsigned char up_arrow_bmp[] PROGMEM = {
|
1205
|
|
- B00000100,B00000000,
|
1206
|
|
- B00001110,B00000000,
|
1207
|
|
- B00011111,B00000000,
|
1208
|
|
- B00111111,B10000000,
|
1209
|
|
- B01111111,B11000000,
|
1210
|
|
- B00001110,B00000000,
|
1211
|
|
- B00001110,B00000000,
|
1212
|
|
- B00001110,B00000000,
|
1213
|
|
- B00001110,B00000000,
|
1214
|
|
- B00001110,B00000000,
|
1215
|
|
- B00001110,B00000000,
|
1216
|
|
- B00001110,B00000000,
|
1217
|
|
- B00001110,B00000000
|
1218
|
|
- };
|
1219
|
|
-
|
1220
|
|
- const unsigned char down_arrow_bmp[] PROGMEM = {
|
1221
|
|
- B00001110,B00000000,
|
1222
|
|
- B00001110,B00000000,
|
1223
|
|
- B00001110,B00000000,
|
1224
|
|
- B00001110,B00000000,
|
1225
|
|
- B00001110,B00000000,
|
1226
|
|
- B00001110,B00000000,
|
1227
|
|
- B00001110,B00000000,
|
1228
|
|
- B00001110,B00000000,
|
1229
|
|
- B01111111,B11000000,
|
1230
|
|
- B00111111,B10000000,
|
1231
|
|
- B00011111,B00000000,
|
1232
|
|
- B00001110,B00000000,
|
1233
|
|
- B00000100,B00000000
|
1234
|
|
- };
|
1235
|
|
-
|
1236
|
|
- const unsigned char offset_bedline_bmp[] PROGMEM = {
|
1237
|
|
- B11111111,B11111111,B11111111
|
1238
|
|
- };
|
1239
|
|
-
|
1240
|
|
- const unsigned char nozzle_bmp[] PROGMEM = {
|
1241
|
|
- B01111111,B10000000,
|
1242
|
|
- B11111111,B11000000,
|
1243
|
|
- B11111111,B11000000,
|
1244
|
|
- B11111111,B11000000,
|
1245
|
|
- B01111111,B10000000,
|
1246
|
|
- B01111111,B10000000,
|
1247
|
|
- B11111111,B11000000,
|
1248
|
|
- B11111111,B11000000,
|
1249
|
|
- B11111111,B11000000,
|
1250
|
|
- B00111111,B00000000,
|
1251
|
|
- B00011110,B00000000,
|
1252
|
|
- B00001100,B00000000
|
1253
|
|
- };
|
1254
|
|
-
|
1255
|
|
-#endif // BABYSTEP_ZPROBE_GFX_OVERLAY || MESH_EDIT_GFX_OVERLAY
|
1256
|
|
-
|
1257
|
|
-#ifndef CUSTOM_BOOTSCREEN_BMP_BYTEWIDTH
|
1258
|
|
- #define CUSTOM_BOOTSCREEN_BMP_BYTEWIDTH ((CUSTOM_BOOTSCREEN_BMPWIDTH + 7) / 8)
|
1259
|
|
-#endif
|
1260
|
|
-#ifndef CUSTOM_BOOTSCREEN_BMPHEIGHT
|
1261
|
|
- #define CUSTOM_BOOTSCREEN_BMPHEIGHT (sizeof(custom_start_bmp) / (CUSTOM_BOOTSCREEN_BMP_BYTEWIDTH))
|
1262
|
|
-#endif
|
1263
|
|
-
|
1264
|
1073
|
#ifndef FAN_ANIM_FRAMES
|
1265
|
1074
|
#define FAN_ANIM_FRAMES 2
|
1266
|
1075
|
#elif FAN_ANIM_FRAMES > 3
|