Browse Source

MarlinUI percent methods for all

vanilla_fb_2.0.x
Scott Lahteine 4 years ago
parent
commit
56ed55ddba
  1. 44
      Marlin/src/lcd/ultralcd.h

44
Marlin/src/lcd/ultralcd.h

@ -328,28 +328,6 @@ public:
static inline void init_lcd() {}
#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_PERMYRIAD
typedef uint16_t progress_t;
@ -381,6 +359,28 @@ public:
static constexpr uint8_t get_progress_percent() { return 0; }
#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
static millis_t next_button_update_ms;

Loading…
Cancel
Save