|
@ -598,6 +598,105 @@ |
|
|
|
|
|
|
|
|
#endif // !STATUS_HEATERS_WIDTH && !STATUS_HOTEND1_WIDTH
|
|
|
#endif // !STATUS_HEATERS_WIDTH && !STATUS_HOTEND1_WIDTH
|
|
|
|
|
|
|
|
|
|
|
|
// LASER / SPINDLE
|
|
|
|
|
|
#if !STATUS_CUTTER_WIDTH && HAS_CUTTER |
|
|
|
|
|
#define STATUS_CUTTER_WIDTH 24 |
|
|
|
|
|
#define STATUS_CUTTER_X 80 |
|
|
|
|
|
#if ENABLED(LASER_FEATURE) |
|
|
|
|
|
#ifdef STATUS_CUTTER_ANIM |
|
|
|
|
|
const unsigned char status_cutter_on_bmp[] PROGMEM = { |
|
|
|
|
|
B00000000,B00100100,B00000000, |
|
|
|
|
|
B00000000,B01100110,B00000000, |
|
|
|
|
|
B00000000,B11000011,B00000000, |
|
|
|
|
|
B00000001,B10011001,B10000000, |
|
|
|
|
|
B00000011,B00100100,B11000000, |
|
|
|
|
|
B00000000,B01000010,B00000000, |
|
|
|
|
|
B00000000,B01000010,B00000000, |
|
|
|
|
|
B00000011,B00100100,B11000000, |
|
|
|
|
|
B00000001,B10011001,B10000000, |
|
|
|
|
|
B00000000,B11000011,B00000000, |
|
|
|
|
|
B00000000,B01100110,B00000000, |
|
|
|
|
|
B00000000,B00100100,B00000000 |
|
|
|
|
|
}; |
|
|
|
|
|
const unsigned char status_cutter_bmp[] PROGMEM = { |
|
|
|
|
|
B00000000,B00100100,B00000000, |
|
|
|
|
|
B00000000,B01100110,B00000000, |
|
|
|
|
|
B00000000,B00000000,B00000000, |
|
|
|
|
|
B00000001,B00000000,B10000000, |
|
|
|
|
|
B00000011,B00000000,B11000000, |
|
|
|
|
|
B00000000,B00011000,B00000000, |
|
|
|
|
|
B00000000,B00011000,B00000000, |
|
|
|
|
|
B00000011,B00000000,B11000000, |
|
|
|
|
|
B00000001,B00000000,B10000000, |
|
|
|
|
|
B00000000,B00000000,B00000000, |
|
|
|
|
|
B00000000,B01100110,B00000000, |
|
|
|
|
|
B00000000,B00100100,B00000000 |
|
|
|
|
|
}; |
|
|
|
|
|
#else |
|
|
|
|
|
const unsigned char status_cutter_bmp[] PROGMEM = { |
|
|
|
|
|
B00000000,B00100100,B00000000, |
|
|
|
|
|
B00000000,B01100110,B00000000, |
|
|
|
|
|
B00000000,B11000011,B00000000, |
|
|
|
|
|
B00000001,B10000001,B10000000, |
|
|
|
|
|
B00000011,B00000000,B11000000, |
|
|
|
|
|
B00000000,B00000000,B00000000, |
|
|
|
|
|
B00000000,B00000000,B00000000, |
|
|
|
|
|
B00000011,B00000000,B11000000, |
|
|
|
|
|
B00000001,B10000001,B10000000, |
|
|
|
|
|
B00000000,B11000011,B00000000, |
|
|
|
|
|
B00000000,B01100110,B00000000, |
|
|
|
|
|
B00000000,B00100100,B00000000 |
|
|
|
|
|
}; |
|
|
|
|
|
#endif |
|
|
|
|
|
#else |
|
|
|
|
|
#ifdef STATUS_CUTTER_ANIM |
|
|
|
|
|
const unsigned char status_cutter_on_bmp[] PROGMEM = { |
|
|
|
|
|
B00000001,B11111110,B10000000, |
|
|
|
|
|
B00000000,B11000000,B00000000, |
|
|
|
|
|
B00000001,B10000000,B10000000, |
|
|
|
|
|
B00000001,B00000000,B10000000, |
|
|
|
|
|
B00000001,B11111100,B10000000, |
|
|
|
|
|
B00000000,B11100000,B00000000, |
|
|
|
|
|
B00000001,B11000000,B10000000, |
|
|
|
|
|
B00000000,B10000001,B00000000, |
|
|
|
|
|
B00000000,B01111010,B00000000, |
|
|
|
|
|
B00000000,B00110100,B00000000, |
|
|
|
|
|
B00000000,B00011000,B00000000, |
|
|
|
|
|
B00000000,B00000000,B00000000 |
|
|
|
|
|
}; |
|
|
|
|
|
const unsigned char status_cutter_bmp[] PROGMEM = { |
|
|
|
|
|
B00000001,B11111110,B10000000, |
|
|
|
|
|
B00000000,B11000000,B00000000, |
|
|
|
|
|
B00000001,B10000000,B10000000, |
|
|
|
|
|
B00000001,B00000000,B10000000, |
|
|
|
|
|
B00000001,B11111100,B10000000, |
|
|
|
|
|
B00000000,B11100000,B00000000, |
|
|
|
|
|
B00000001,B11000000,B10000000, |
|
|
|
|
|
B00000000,B10000001,B00000000, |
|
|
|
|
|
B00000000,B01111010,B00000000, |
|
|
|
|
|
B00000000,B00110100,B00000000, |
|
|
|
|
|
B00000000,B00011000,B00000000, |
|
|
|
|
|
B00000000,B00000000,B00000000 |
|
|
|
|
|
}; |
|
|
|
|
|
#else |
|
|
|
|
|
const unsigned char status_cutter_bmp[] PROGMEM = { |
|
|
|
|
|
B00000001,B11000010,B10000000, |
|
|
|
|
|
B00000001,B00011100,B10000000, |
|
|
|
|
|
B00000000,B11100001,B00000000, |
|
|
|
|
|
B00000001,B00001110,B10000000, |
|
|
|
|
|
B00000001,B01110000,B10000000, |
|
|
|
|
|
B00000000,B10000111,B10000000, |
|
|
|
|
|
B00000001,B00111111,B10000000, |
|
|
|
|
|
B00000000,B11111111,B00000000, |
|
|
|
|
|
B00000000,B01111110,B00000000, |
|
|
|
|
|
B00000000,B00111100,B00000000, |
|
|
|
|
|
B00000000,B00011000,B00000000, |
|
|
|
|
|
B00000000,B00000000,B00000000 |
|
|
|
|
|
}; |
|
|
|
|
|
#endif |
|
|
|
|
|
#endif |
|
|
|
|
|
#endif // LASER / SPINDLE
|
|
|
|
|
|
|
|
|
//
|
|
|
//
|
|
|
// Default Status Screen Bed bitmaps
|
|
|
// Default Status Screen Bed bitmaps
|
|
|
//
|
|
|
//
|
|
@ -1467,6 +1566,51 @@ |
|
|
|
|
|
|
|
|
#endif |
|
|
#endif |
|
|
|
|
|
|
|
|
|
|
|
//
|
|
|
|
|
|
// Cutter Bitmap Properties
|
|
|
|
|
|
//
|
|
|
|
|
|
#ifndef STATUS_CUTTER_BYTEWIDTH |
|
|
|
|
|
#define STATUS_CUTTER_BYTEWIDTH BW(STATUS_CUTTER_WIDTH) |
|
|
|
|
|
#endif |
|
|
|
|
|
#if STATUS_CUTTER_WIDTH |
|
|
|
|
|
|
|
|
|
|
|
#ifndef STATUS_CUTTER_X |
|
|
|
|
|
#define STATUS_CUTTER_X (LCD_PIXEL_WIDTH - (STATUS_CUTTER_BYTEWIDTH + STATUS_CUTTER_BYTEWIDTH) * 8) |
|
|
|
|
|
#endif |
|
|
|
|
|
|
|
|
|
|
|
#ifndef STATUS_CUTTER_HEIGHT |
|
|
|
|
|
#ifdef STATUS_CUTTER_ANIM |
|
|
|
|
|
#define STATUS_CUTTER_HEIGHT(S) ((S) ? sizeof(status_cutter_on_bmp) / (STATUS_CUTTER_BYTEWIDTH) : sizeof(status_cutter_bmp) / (STATUS_CUTTER_BYTEWIDTH)) |
|
|
|
|
|
#else |
|
|
|
|
|
#define STATUS_CUTTER_HEIGHT(S) (sizeof(status_cutter_bmp) / (STATUS_CUTTER_BYTEWIDTH)) |
|
|
|
|
|
#endif |
|
|
|
|
|
#endif |
|
|
|
|
|
|
|
|
|
|
|
#ifndef STATUS_CUTTER_Y |
|
|
|
|
|
#define STATUS_CUTTER_Y(S) 4 |
|
|
|
|
|
#endif |
|
|
|
|
|
|
|
|
|
|
|
#ifndef STATUS_CUTTER_TEXT_X |
|
|
|
|
|
#define STATUS_CUTTER_TEXT_X (STATUS_CUTTER_X -1) |
|
|
|
|
|
#endif |
|
|
|
|
|
|
|
|
|
|
|
#ifndef STATUS_CUTTER_TEXT_Y |
|
|
|
|
|
#define STATUS_CUTTER_TEXT_Y 28 |
|
|
|
|
|
#endif |
|
|
|
|
|
|
|
|
|
|
|
static_assert( |
|
|
|
|
|
sizeof(status_cutter_bmp) == (STATUS_CUTTER_BYTEWIDTH) * (STATUS_CUTTER_HEIGHT(0)), |
|
|
|
|
|
"Status cutter bitmap (status_cutter_bmp) dimensions don't match data." |
|
|
|
|
|
); |
|
|
|
|
|
#ifdef STATUS_CUTTER_ANIM |
|
|
|
|
|
static_assert( |
|
|
|
|
|
sizeof(status_cutter_on_bmp) == (STATUS_CUTTER_BYTEWIDTH) * (STATUS_CUTTER_HEIGHT(1)), |
|
|
|
|
|
"Status cutter bitmap (status_cutter_on_bmp) dimensions don't match data." |
|
|
|
|
|
); |
|
|
|
|
|
#endif |
|
|
|
|
|
|
|
|
|
|
|
#endif |
|
|
|
|
|
|
|
|
//
|
|
|
//
|
|
|
// Chamber Bitmap Properties
|
|
|
// Chamber Bitmap Properties
|
|
|
//
|
|
|
//
|
|
|