MarlinUI percent methods for all

This commit is contained in:
Scott Lahteine 2020-09-16 05:52:01 -05:00
parent 217bae9ff1
commit 56ed55ddba

View File

@ -328,28 +328,6 @@ public:
static inline void init_lcd() {} static inline void init_lcd() {}
#endif #endif
#if HAS_DISPLAY
static void init();
static void update();
static void set_alert_status_P(PGM_P const message);
static char status_message[];
static bool has_status();
static uint8_t alert_level; // Higher levels block lower levels
static inline void reset_alert_level() { alert_level = 0; }
#if ENABLED(STATUS_MESSAGE_SCROLLING)
static uint8_t status_scroll_offset;
static void advance_status_scroll();
static char* status_and_len(uint8_t &len);
#endif
static void abort_print();
static void pause_print();
static void resume_print();
#if HAS_PRINT_PROGRESS #if HAS_PRINT_PROGRESS
#if HAS_PRINT_PROGRESS_PERMYRIAD #if HAS_PRINT_PROGRESS_PERMYRIAD
typedef uint16_t progress_t; typedef uint16_t progress_t;
@ -381,6 +359,28 @@ public:
static constexpr uint8_t get_progress_percent() { return 0; } static constexpr uint8_t get_progress_percent() { return 0; }
#endif #endif
#if HAS_DISPLAY
static void init();
static void update();
static void set_alert_status_P(PGM_P const message);
static char status_message[];
static bool has_status();
static uint8_t alert_level; // Higher levels block lower levels
static inline void reset_alert_level() { alert_level = 0; }
#if ENABLED(STATUS_MESSAGE_SCROLLING)
static uint8_t status_scroll_offset;
static void advance_status_scroll();
static char* status_and_len(uint8_t &len);
#endif
static void abort_print();
static void pause_print();
static void resume_print();
#if HAS_SPI_LCD #if HAS_SPI_LCD
static millis_t next_button_update_ms; static millis_t next_button_update_ms;