ソースを参照

Touch UI fixes for Cocoa Press (#15847)

Marcio Teixeira 5年前
コミット
5639b8ca20
84個のファイルの変更1025行の追加983行の削除
  1. 9
    0
      Marlin/src/HAL/HAL_DUE/usb/sd_mmc_spi_mem.cpp
  2. 6
    2
      Marlin/src/inc/SanityCheck.h
  3. 1
    1
      Marlin/src/lcd/extensible_ui/lib/lulzbot/archim2-flash/flash_storage.h
  4. 2
    2
      Marlin/src/lcd/extensible_ui/lib/lulzbot/ftdi_eve_lib/basic/commands.cpp
  5. 1
    0
      Marlin/src/lcd/extensible_ui/lib/lulzbot/ftdi_eve_lib/compat.h
  6. 6
    6
      Marlin/src/lcd/extensible_ui/lib/lulzbot/ftdi_eve_lib/extended/dl_cache.cpp
  7. 6
    6
      Marlin/src/lcd/extensible_ui/lib/lulzbot/ftdi_eve_lib/extended/rgb_t.h
  8. 2
    1
      Marlin/src/lcd/extensible_ui/lib/lulzbot/ftdi_eve_lib/extended/sound_player.cpp
  9. 6
    5
      Marlin/src/lcd/extensible_ui/lib/lulzbot/ftdi_eve_lib/extras/poly_ui.h
  10. 1
    1
      Marlin/src/lcd/extensible_ui/lib/lulzbot/ftdi_eve_lib/extras/svg2cpp.py
  11. 0
    2
      Marlin/src/lcd/extensible_ui/lib/lulzbot/language/language.h
  12. 0
    78
      Marlin/src/lcd/extensible_ui/lib/lulzbot/language/language_de.h
  13. 132
    203
      Marlin/src/lcd/extensible_ui/lib/lulzbot/language/language_en.h
  14. 0
    84
      Marlin/src/lcd/extensible_ui/lib/lulzbot/language/language_fr.h
  15. 1
    1
      Marlin/src/lcd/extensible_ui/lib/lulzbot/marlin_events.cpp
  16. 15
    15
      Marlin/src/lcd/extensible_ui/lib/lulzbot/screens/about_screen.cpp
  17. 33
    33
      Marlin/src/lcd/extensible_ui/lib/lulzbot/screens/advanced_settings_menu.cpp
  18. 9
    9
      Marlin/src/lcd/extensible_ui/lib/lulzbot/screens/backlash_compensation_screen.cpp
  19. 8
    8
      Marlin/src/lcd/extensible_ui/lib/lulzbot/screens/base_numeric_adjustment_screen.cpp
  20. 16
    16
      Marlin/src/lcd/extensible_ui/lib/lulzbot/screens/bio_advanced_settings.cpp
  21. 5
    5
      Marlin/src/lcd/extensible_ui/lib/lulzbot/screens/bio_confirm_home_e.cpp
  22. 3
    3
      Marlin/src/lcd/extensible_ui/lib/lulzbot/screens/bio_confirm_home_xyz.cpp
  23. 12
    12
      Marlin/src/lcd/extensible_ui/lib/lulzbot/screens/bio_main_menu.cpp
  24. 82
    0
      Marlin/src/lcd/extensible_ui/lib/lulzbot/screens/bio_printer_ui_landscape.h
  25. 0
    0
      Marlin/src/lcd/extensible_ui/lib/lulzbot/screens/bio_printer_ui_portrait.h
  26. 1
    1
      Marlin/src/lcd/extensible_ui/lib/lulzbot/screens/bio_printing_dialog_box.cpp
  27. 155
    56
      Marlin/src/lcd/extensible_ui/lib/lulzbot/screens/bio_status_screen.cpp
  28. 9
    9
      Marlin/src/lcd/extensible_ui/lib/lulzbot/screens/bio_tune_menu.cpp
  29. 19
    15
      Marlin/src/lcd/extensible_ui/lib/lulzbot/screens/boot_screen.cpp
  30. 44
    23
      Marlin/src/lcd/extensible_ui/lib/lulzbot/screens/change_filament_screen.cpp
  31. 1
    1
      Marlin/src/lcd/extensible_ui/lib/lulzbot/screens/confirm_abort_print_dialog_box.cpp
  32. 2
    2
      Marlin/src/lcd/extensible_ui/lib/lulzbot/screens/confirm_auto_calibration_dialog_box.cpp
  33. 4
    4
      Marlin/src/lcd/extensible_ui/lib/lulzbot/screens/confirm_erase_flash_dialog_box.cpp
  34. 3
    3
      Marlin/src/lcd/extensible_ui/lib/lulzbot/screens/confirm_start_print_dialog_box.cpp
  35. 6
    6
      Marlin/src/lcd/extensible_ui/lib/lulzbot/screens/default_acceleration_screen.cpp
  36. 1
    1
      Marlin/src/lcd/extensible_ui/lib/lulzbot/screens/developer_menu.cpp
  37. 3
    3
      Marlin/src/lcd/extensible_ui/lib/lulzbot/screens/dialog_box_base_class.cpp
  38. 5
    5
      Marlin/src/lcd/extensible_ui/lib/lulzbot/screens/display_tuning_screen.cpp
  39. 24
    26
      Marlin/src/lcd/extensible_ui/lib/lulzbot/screens/endstop_state_screen.cpp
  40. 3
    3
      Marlin/src/lcd/extensible_ui/lib/lulzbot/screens/feedrate_percent_screen.cpp
  41. 8
    8
      Marlin/src/lcd/extensible_ui/lib/lulzbot/screens/filament_menu.cpp
  42. 5
    5
      Marlin/src/lcd/extensible_ui/lib/lulzbot/screens/filament_runout_screen.cpp
  43. 3
    3
      Marlin/src/lcd/extensible_ui/lib/lulzbot/screens/files_screen.cpp
  44. 21
    21
      Marlin/src/lcd/extensible_ui/lib/lulzbot/screens/interface_settings_screen.cpp
  45. 8
    8
      Marlin/src/lcd/extensible_ui/lib/lulzbot/screens/interface_sounds_screen.cpp
  46. 6
    6
      Marlin/src/lcd/extensible_ui/lib/lulzbot/screens/jerk_screen.cpp
  47. 2
    2
      Marlin/src/lcd/extensible_ui/lib/lulzbot/screens/junction_deviation_screen.cpp
  48. 2
    2
      Marlin/src/lcd/extensible_ui/lib/lulzbot/screens/kill_screen.cpp
  49. 6
    6
      Marlin/src/lcd/extensible_ui/lib/lulzbot/screens/linear_advance_screen.cpp
  50. 4
    4
      Marlin/src/lcd/extensible_ui/lib/lulzbot/screens/lock_screen.cpp
  51. 33
    22
      Marlin/src/lcd/extensible_ui/lib/lulzbot/screens/main_menu.cpp
  52. 10
    10
      Marlin/src/lcd/extensible_ui/lib/lulzbot/screens/max_acceleration_screen.cpp
  53. 10
    10
      Marlin/src/lcd/extensible_ui/lib/lulzbot/screens/max_velocity_screen.cpp
  54. 10
    10
      Marlin/src/lcd/extensible_ui/lib/lulzbot/screens/move_axis_screen.cpp
  55. 6
    6
      Marlin/src/lcd/extensible_ui/lib/lulzbot/screens/nozzle_offsets_screen.cpp
  56. 9
    9
      Marlin/src/lcd/extensible_ui/lib/lulzbot/screens/nudge_nozzle_screen.cpp
  57. 2
    2
      Marlin/src/lcd/extensible_ui/lib/lulzbot/screens/restore_failsafe_dialog_box.cpp
  58. 2
    2
      Marlin/src/lcd/extensible_ui/lib/lulzbot/screens/save_settings_dialog_box.cpp
  59. 4
    1
      Marlin/src/lcd/extensible_ui/lib/lulzbot/screens/screen_data.h
  60. 2
    2
      Marlin/src/lcd/extensible_ui/lib/lulzbot/screens/screens.cpp
  61. 7
    4
      Marlin/src/lcd/extensible_ui/lib/lulzbot/screens/screens.h
  62. 1
    1
      Marlin/src/lcd/extensible_ui/lib/lulzbot/screens/spinner_dialog_box.cpp
  63. 7
    7
      Marlin/src/lcd/extensible_ui/lib/lulzbot/screens/statistics_screen.cpp
  64. 10
    10
      Marlin/src/lcd/extensible_ui/lib/lulzbot/screens/status_screen.cpp
  65. 4
    4
      Marlin/src/lcd/extensible_ui/lib/lulzbot/screens/stepper_bump_sensitivity_screen.cpp
  66. 10
    10
      Marlin/src/lcd/extensible_ui/lib/lulzbot/screens/stepper_current_screen.cpp
  67. 10
    10
      Marlin/src/lcd/extensible_ui/lib/lulzbot/screens/steps_screen.cpp
  68. 2
    1
      Marlin/src/lcd/extensible_ui/lib/lulzbot/screens/stress_test_screen.cpp
  69. 6
    6
      Marlin/src/lcd/extensible_ui/lib/lulzbot/screens/string_format.cpp
  70. 13
    13
      Marlin/src/lcd/extensible_ui/lib/lulzbot/screens/temperature_screen.cpp
  71. 2
    2
      Marlin/src/lcd/extensible_ui/lib/lulzbot/screens/touch_calibration_screen.cpp
  72. 1
    1
      Marlin/src/lcd/extensible_ui/lib/lulzbot/screens/touch_registers_screen.cpp
  73. 19
    19
      Marlin/src/lcd/extensible_ui/lib/lulzbot/screens/tune_menu.cpp
  74. 2
    2
      Marlin/src/lcd/extensible_ui/lib/lulzbot/screens/widget_demo_screen.cpp
  75. 3
    3
      Marlin/src/lcd/extensible_ui/lib/lulzbot/screens/z_offset_screen.cpp
  76. 0
    43
      Marlin/src/lcd/extensible_ui/lib/lulzbot/theme/bootscreen_logo_landscape.h
  77. 0
    43
      Marlin/src/lcd/extensible_ui/lib/lulzbot/theme/bootscreen_logo_portrait.h
  78. 24
    14
      Marlin/src/lcd/extensible_ui/lib/lulzbot/theme/colors.h
  79. 43
    0
      Marlin/src/lcd/extensible_ui/lib/lulzbot/theme/marlin_bootscreen_landscape.h
  80. 42
    0
      Marlin/src/lcd/extensible_ui/lib/lulzbot/theme/marlin_bootscreen_portrait.h
  81. 7
    0
      Marlin/src/lcd/extensible_ui/ui_api.cpp
  82. 19
    0
      Marlin/src/module/configuration_store.cpp
  83. 1
    0
      Marlin/src/module/temperature.h
  84. 3
    0
      config/default/Configuration_adv.h

+ 9
- 0
Marlin/src/HAL/HAL_DUE/usb/sd_mmc_spi_mem.cpp ファイルの表示

@@ -19,6 +19,9 @@ void sd_mmc_spi_mem_init() {
19 19
 }
20 20
 
21 21
 Ctrl_status sd_mmc_spi_test_unit_ready() {
22
+  #if defined(DISABLE_DUE_SD_MMC)
23
+    return CTRL_NO_PRESENT;
24
+  #endif
22 25
   if (!IS_SD_INSERTED() || IS_SD_PRINTING() || IS_SD_FILE_OPEN() || !card.isMounted())
23 26
     return CTRL_NO_PRESENT;
24 27
   return CTRL_GOOD;
@@ -55,6 +58,9 @@ uint8_t sector_buf[SD_MMC_BLOCK_SIZE];
55 58
 // #define DEBUG_MMC
56 59
 
57 60
 Ctrl_status sd_mmc_spi_usb_read_10(uint32_t addr, uint16_t nb_sector) {
61
+  #if defined(DISABLE_DUE_SD_MMC)
62
+    return CTRL_NO_PRESENT;
63
+  #endif
58 64
   if (!IS_SD_INSERTED() || IS_SD_PRINTING() || IS_SD_FILE_OPEN() || !card.isMounted())
59 65
     return CTRL_NO_PRESENT;
60 66
 
@@ -92,6 +98,9 @@ Ctrl_status sd_mmc_spi_usb_read_10(uint32_t addr, uint16_t nb_sector) {
92 98
 }
93 99
 
94 100
 Ctrl_status sd_mmc_spi_usb_write_10(uint32_t addr, uint16_t nb_sector) {
101
+  #if defined(DISABLE_DUE_SD_MMC)
102
+    return CTRL_NO_PRESENT;
103
+  #endif
95 104
   if (!IS_SD_INSERTED() || IS_SD_PRINTING() || IS_SD_FILE_OPEN() || !card.isMounted())
96 105
     return CTRL_NO_PRESENT;
97 106
 

+ 6
- 2
Marlin/src/inc/SanityCheck.h ファイルの表示

@@ -598,8 +598,12 @@ static_assert(Y_MAX_LENGTH >= Y_BED_SIZE, "Movement bounds (Y_MIN_POS, Y_MAX_POS
598 598
 /**
599 599
  * Custom Boot and Status screens
600 600
  */
601
-#if EITHER(SHOW_CUSTOM_BOOTSCREEN, CUSTOM_STATUS_SCREEN_IMAGE) && !HAS_GRAPHICAL_LCD
602
-  #error "Graphical LCD is required for SHOW_CUSTOM_BOOTSCREEN and CUSTOM_STATUS_SCREEN_IMAGE."
601
+#if ENABLED(SHOW_CUSTOM_BOOTSCREEN) && !HAS_GRAPHICAL_LCD && !ENABLED(LULZBOT_TOUCH_UI)
602
+  #error "Graphical LCD is required for SHOW_CUSTOM_BOOTSCREEN."
603
+#endif
604
+
605
+#if ENABLED(CUSTOM_STATUS_SCREEN_IMAGE) && !HAS_GRAPHICAL_LCD
606
+  #error "Graphical LCD is required for CUSTOM_STATUS_SCREEN_IMAGE."
603 607
 #endif
604 608
 
605 609
 /**

+ 1
- 1
Marlin/src/lcd/extensible_ui/lib/lulzbot/archim2-flash/flash_storage.h ファイルの表示

@@ -68,7 +68,7 @@ class UIFlashStorage : private SPIFlash {
68 68
     static void     set_media_file_size(uint8_t slot, uint32_t size);
69 69
     static uint32_t get_media_file_size(uint8_t slot);
70 70
 
71
-    static constexpr uint32_t delimiter = 0x4C554C5A; // 'LULZ'
71
+    static constexpr uint32_t delimiter = 0x4D524C4E; // 'MRLN'
72 72
   public:
73 73
     enum error_t {
74 74
       SUCCESS,

+ 2
- 2
Marlin/src/lcd/extensible_ui/lib/lulzbot/ftdi_eve_lib/basic/commands.cpp ファイルの表示

@@ -1015,8 +1015,8 @@ template <class T> bool CLCD::CommandFifo::write(T data, uint16_t len) {
1015 1015
   if (Command_Space < (len + padding)) {
1016 1016
     #if ENABLED(TOUCH_UI_DEBUG)
1017 1017
       SERIAL_ECHO_START();
1018
-      SERIAL_ECHOPAIR("Waiting for ", len + padding,
1019
-                      " bytes in command queue, now free: ", Command_Space);
1018
+      SERIAL_ECHOPAIR("Waiting for ", len + padding);
1019
+      SERIAL_ECHOLNPAIR(" bytes in command queue, now free: ", Command_Space);
1020 1020
     #endif
1021 1021
     do {
1022 1022
       Command_Space = mem_read_32(REG::CMDB_SPACE) & 0x0FFF;

+ 1
- 0
Marlin/src/lcd/extensible_ui/lib/lulzbot/ftdi_eve_lib/compat.h ファイルの表示

@@ -197,6 +197,7 @@
197 197
   #define SERIAL_ECHO_START()
198 198
   #define SERIAL_ECHOLNPGM(str)        Serial.println(F(str))
199 199
   #define SERIAL_ECHOPGM(str)          Serial.print(F(str))
200
+  #define SERIAL_ECHO_MSG(str)         Serial.println(str)
200 201
   #define SERIAL_ECHOLNPAIR(str, val) {Serial.print(F(str)); Serial.println(val);}
201 202
   #define SERIAL_ECHOPAIR(str, val)   {Serial.print(F(str)); Serial.print(val);}
202 203
 

+ 6
- 6
Marlin/src/lcd/extensible_ui/lib/lulzbot/ftdi_eve_lib/extended/dl_cache.cpp ファイルの表示

@@ -129,15 +129,15 @@ bool DLCache::store(uint32_t num_bytes /* = 0*/) {
129 129
     // Not enough memory to cache the display list.
130 130
     #if ENABLED(TOUCH_UI_DEBUG)
131 131
       SERIAL_ECHO_START();
132
-      SERIAL_ECHOLNPAIR("Not enough space in GRAM to cache display list, free space: ", free_space,
133
-                        " Required: ", dl_size);
132
+      SERIAL_ECHOPAIR  ("Not enough space in GRAM to cache display list, free space: ", free_space);
133
+      SERIAL_ECHOLNPAIR(  " Required: ", dl_size);
134 134
     #endif
135 135
     return false;
136 136
   } else {
137 137
     #if ENABLED(TOUCH_UI_DEBUG)
138 138
       SERIAL_ECHO_START();
139
-      SERIAL_ECHOLNPAIR("Saving DL to RAMG cache, bytes: ", dl_size,
140
-                        " Free space: ", free_space);
139
+      SERIAL_ECHOPAIR  ("Saving DL to RAMG cache, bytes: ", dl_size);
140
+      SERIAL_ECHOLNPAIR(" Free space: ", free_space);
141 141
     #endif
142 142
     cmd.memcpy(dl_addr, MAP::RAM_DL, dl_size);
143 143
     cmd.execute();
@@ -167,8 +167,8 @@ void DLCache::append() {
167 167
     cmd.execute();
168 168
     wait_until_idle();
169 169
     SERIAL_ECHO_START();
170
-    SERIAL_ECHOLNPAIR("Appending to DL from RAMG cache, bytes: ", dl_size,
171
-                      " REG_CMD_DL: ", CLCD::mem_read_32(REG::CMD_DL));
170
+    SERIAL_ECHOPAIR  ("Appending to DL from RAMG cache, bytes: ", dl_size);
171
+    SERIAL_ECHOLNPAIR(" REG_CMD_DL: ", CLCD::mem_read_32(REG::CMD_DL));
172 172
   #endif
173 173
 }
174 174
 

+ 6
- 6
Marlin/src/lcd/extensible_ui/lib/lulzbot/ftdi_eve_lib/extended/rgb_t.h ファイルの表示

@@ -31,25 +31,25 @@ constexpr float _hsl_fmod(float x, float y) {
31 31
   return x - int(x/y)*y;
32 32
 }
33 33
 
34
-constexpr float _hsl_c(int, float S, float L) {
34
+constexpr float _hsl_c(float, float S, float L) {
35 35
   return (1.0f - fabs(2*L-1.0f)) * S;
36 36
 }
37 37
 
38
-constexpr float _hsl_x(int H, float S, float L) {
39
-  return _hsl_c(H,S,L) * (1.0f - fabs(_hsl_fmod(float(H)/60, 2) - 1));
38
+constexpr float _hsl_x(float H, float S, float L) {
39
+  return _hsl_c(H,S,L) * (1.0f - fabs(_hsl_fmod(H/60, 2) - 1));
40 40
 }
41 41
 
42
-constexpr float _hsl_m(int H, float S, float L) {
42
+constexpr float _hsl_m(float H, float S, float L) {
43 43
   return L - _hsl_c(H,S,L)/2;
44 44
 }
45 45
 
46
-constexpr float _hsl_rgb(int H, float S, float L, float r, float g, float b) {
46
+constexpr float _hsl_rgb(float H, float S, float L, float r, float g, float b) {
47 47
   return ((uint32_t((r + _hsl_m(H,S,L))*255+0.5) << 16) |
48 48
           (uint32_t((g + _hsl_m(H,S,L))*255+0.5) <<  8) |
49 49
           (uint32_t((b + _hsl_m(H,S,L))*255+0.5) <<  0));
50 50
 }
51 51
 
52
-constexpr uint32_t hsl_to_rgb(int H, float S, float L) {
52
+constexpr uint32_t hsl_to_rgb(float H, float S, float L) {
53 53
   return (H <  60) ? _hsl_rgb(H,S,L,_hsl_c(H,S,L), _hsl_x(H,S,L), 0) :
54 54
          (H < 120) ? _hsl_rgb(H,S,L,_hsl_x(H,S,L), _hsl_c(H,S,L), 0) :
55 55
          (H < 180) ? _hsl_rgb(H,S,L,            0, _hsl_c(H,S,L), _hsl_x(H,S,L)) :

+ 2
- 1
Marlin/src/lcd/extensible_ui/lib/lulzbot/ftdi_eve_lib/extended/sound_player.cpp ファイルの表示

@@ -38,7 +38,8 @@ namespace FTDI {
38 38
 
39 39
     #if ENABLED(TOUCH_UI_DEBUG)
40 40
       SERIAL_ECHO_START();
41
-      SERIAL_ECHOLNPAIR("Playing note ", int(note), ", instrument ", int(effect));
41
+      SERIAL_ECHOPAIR("Playing note ", int(note));
42
+      SERIAL_ECHOLNPAIR(", instrument ", int(effect));
42 43
     #endif
43 44
 
44 45
     // Play the note

+ 6
- 5
Marlin/src/lcd/extensible_ui/lib/lulzbot/ftdi_eve_lib/extras/poly_ui.h ファイルの表示

@@ -53,9 +53,10 @@
53 53
  */
54 54
 
55 55
 class PolyReader {
56
-  private:
56
+  public:
57 57
     typedef uint16_t type_t;
58 58
 
59
+  private:
59 60
     static constexpr type_t eol = 0xFFFF;
60 61
 
61 62
     const type_t *p, *top, *end;
@@ -321,10 +322,10 @@ class GenericPolyUI {
321 322
       int16_t x_max = INT16_MIN;
322 323
       int16_t y_max = INT16_MIN;
323 324
       for(r.start(); r.has_more(); r.next()) {
324
-        x_min = min(x_min, r.x);
325
-        x_max = max(x_max, r.x);
326
-        y_min = min(y_min, r.y);
327
-        y_max = max(y_max, r.y);
325
+        x_min = min(x_min, int16_t(r.x));
326
+        x_max = max(x_max, int16_t(r.x));
327
+        y_min = min(y_min, int16_t(r.y));
328
+        y_max = max(y_max, int16_t(r.y));
328 329
       }
329 330
       x = x_min;
330 331
       y = y_min;

+ 1
- 1
Marlin/src/lcd/extensible_ui/lib/lulzbot/ftdi_eve_lib/extras/svg2cpp.py ファイルの表示

@@ -126,7 +126,7 @@ class WriteDataStructure:
126 126
     self.hex_words = []
127 127
 
128 128
   def push(self, value):
129
-    self.hex_words.append("0x%04X" % value)
129
+    self.hex_words.append("0x%04X" % (0xffff & int(value)))
130 130
 
131 131
   def command(self, type, x, y):
132 132
     if type == "M":

+ 0
- 2
Marlin/src/lcd/extensible_ui/lib/lulzbot/language/language.h ファイルの表示

@@ -21,5 +21,3 @@
21 21
 #pragma once
22 22
 
23 23
 #include "language_en.h"
24
-#include "language_de.h"
25
-#include "language_fr.h"

+ 0
- 78
Marlin/src/lcd/extensible_ui/lib/lulzbot/language/language_de.h ファイルの表示

@@ -1,78 +0,0 @@
1
-/*****************
2
- * language_de.h *
3
- *****************/
4
-
5
-/****************************************************************************
6
- *   Written By Marcio Teixeira 2019 - Aleph Objects, Inc.                  *
7
- *                                                                          *
8
- *   This program is free software: you can redistribute it and/or modify   *
9
- *   it under the terms of the GNU General Public License as published by   *
10
- *   the Free Software Foundation, either version 3 of the License, or      *
11
- *   (at your option) any later version.                                    *
12
- *                                                                          *
13
- *   This program is distributed in the hope that it will be useful,        *
14
- *   but WITHOUT ANY WARRANTY; without even the implied warranty of         *
15
- *   MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the          *
16
- *   GNU General Public License for more details.                           *
17
- *                                                                          *
18
- *   To view a copy of the GNU General Public License, go to the following  *
19
- *   location: <http://www.gnu.org/licenses/>.                              *
20
- ****************************************************************************/
21
-
22
-#pragma once
23
-
24
-namespace Language_de {
25
-  using namespace Language_en; // Inherit undefined strings from English
26
-
27
-  PROGMEM Language_Str YES                      = u8"JA";
28
-  PROGMEM Language_Str NO                       = u8"NEIN";
29
-  PROGMEM Language_Str BACK                     = u8"Zurück";
30
-
31
-  PROGMEM Language_Str MOVE_AXIS                = u8"Achsen bewegen";
32
-  PROGMEM Language_Str MOTORS_OFF               = u8"Motoren deaktivieren";
33
-  PROGMEM Language_Str TEMPERATURE              = u8"Temperatur";
34
-  PROGMEM Language_Str CHANGE_FILAMENT          = u8"Filament wechseln";
35
-  PROGMEM Language_Str ADVANCED_SETTINGS        = u8"Erw. Einstellungen";
36
-  PROGMEM Language_Str ABOUT_PRINTER            = u8"Über den Drucker";
37
-  PROGMEM Language_Str PRINTER_STATISTICS       = u8"Drucker-Statistik";
38
-
39
-  PROGMEM Language_Str ZPROBE_ZOFFSET           = u8"Sondenversatz Z";
40
-  PROGMEM Language_Str TOOL_OFFSETS             = u8"Werkzeugversätze";
41
-  PROGMEM Language_Str VELOCITY                 = u8"Geschwindigkeit";
42
-  PROGMEM Language_Str ACCELERATION             = u8"Beschleunigung";
43
-  PROGMEM Language_Str ACCEL_PRINTING           = u8"Beschleunigung";
44
-  PROGMEM Language_Str ACCEL_TRAVEL             = u8"A Einzug";
45
-  PROGMEM Language_Str ACCEL_RETRACT            = u8"A Leerfahrt";
46
-  PROGMEM Language_Str BACKLASH                 = u8"Spiel";
47
-  PROGMEM Language_Str SMOOTHING                = u8"Glätten";
48
-  PROGMEM Language_Str CORRECTION               = u8"Korrektur";
49
-  PROGMEM Language_Str ENDSTOPS                 = u8"Endstopp";
50
-  PROGMEM Language_Str SOFT_ENDSTOPS            = u8"Software-Endstopp";
51
-  PROGMEM Language_Str RESTORE_DEFAULTS         = u8"Standardwerte laden";
52
-
53
-
54
-  PROGMEM Language_Str HOTEND                   = u8"Düse";
55
-  PROGMEM Language_Str HOTEND1                  = u8"Düse 1";
56
-  PROGMEM Language_Str HOTEND2                  = u8"Düse 2";
57
-  PROGMEM Language_Str HOTEND3                  = u8"Düse 3";
58
-  PROGMEM Language_Str HOTEND4                  = u8"Düse 4";
59
-  PROGMEM Language_Str BED                      = u8"Bett";
60
-  PROGMEM Language_Str AXIS_ALL                 = u8"Alle";
61
-
62
-  PROGMEM Language_Str FAN_SPEED                = u8"Lüfter";
63
-
64
-  PROGMEM Language_Str PRINT_FILE               = u8"Drucken";
65
-
66
-  PROGMEM Language_Str RESUME_PRINT             = u8"SD-Druck fortsetzen";
67
-  PROGMEM Language_Str PAUSE_PRINT              = u8"SD-Druck pausieren";
68
-  PROGMEM Language_Str STOP_PRINT               = u8"SD-Druck abbrechen";
69
-
70
-  PROGMEM Language_Str INFO_PRINT_COUNT         = u8"Gesamte Drucke";
71
-  PROGMEM Language_Str INFO_COMPLETED_PRINTS    = u8"Komplette Drucke";
72
-  PROGMEM Language_Str INFO_PRINT_TIME          = u8"Gesamte Druckzeit";
73
-  PROGMEM Language_Str INFO_PRINT_LONGEST       = u8"Längste Druckzeit";
74
-  PROGMEM Language_Str INFO_PRINT_FILAMENT      = u8"Gesamt Extrudiert";
75
-
76
-  PROGMEM Language_Str PRINTER_HALTED           = u8"DRUCKER GESTOPPT";
77
-  PROGMEM Language_Str PLEASE_RESET             = u8"Bitte neustarten";
78
-}; // namespace Language_de

+ 132
- 203
Marlin/src/lcd/extensible_ui/lib/lulzbot/language/language_en.h ファイルの表示

@@ -23,210 +23,139 @@
23 23
 
24 24
 #include "language.h"
25 25
 
26
-namespace Language_en {
27
-  PROGMEM Language_Str YES                      = u8"Yes";
28
-  PROGMEM Language_Str NO                       = u8"No";
29
-  PROGMEM Language_Str BACK                     = u8"Back";
30
-  PROGMEM Language_Str OKAY                     = u8"Okay";
31
-  PROGMEM Language_Str MENU                     = u8"Menu";
32
-  PROGMEM Language_Str MEDIA                    = u8"Media";
33
-
34
-  PROGMEM Language_Str AUTO_HOME                = u8"Auto Home";
35
-  PROGMEM Language_Str CLEAN_NOZZLE             = u8"Clean Nozzle";
36
-  PROGMEM Language_Str MOVE_AXIS                = u8"Move Axis";
37
-  PROGMEM Language_Str MOTORS_OFF               = u8"Motors Off";
38
-  PROGMEM Language_Str TEMPERATURE              = u8"Temperature";
39
-  PROGMEM Language_Str CHANGE_FILAMENT          = u8"Change Filament";
40
-  PROGMEM Language_Str ADVANCED_SETTINGS        = u8"Advanced Settings";
41
-  PROGMEM Language_Str ABOUT_PRINTER            = u8"About Printer";
42
-  PROGMEM Language_Str PRINTER_STATISTICS       = u8"Printer Statistics";
43
-
44
-  PROGMEM Language_Str ZPROBE_ZOFFSET           = u8"Z Offset";
45
-  PROGMEM Language_Str STEPS_PER_MM             = u8"Steps/mm";
46
-  PROGMEM Language_Str TOOL_OFFSETS             = u8"Tool Offsets";
47
-  PROGMEM Language_Str VELOCITY                 = u8"Velocity";
48
-  PROGMEM Language_Str VMAX_X                   = u8"Vmax X";
49
-  PROGMEM Language_Str VMAX_Y                   = u8"Vmax Y";
50
-  PROGMEM Language_Str VMAX_Z                   = u8"Vmax Z";
51
-  PROGMEM Language_Str VMAX_E1                  = u8"Vmax E1";
52
-  PROGMEM Language_Str VMAX_E2                  = u8"Vmax E2";
53
-  PROGMEM Language_Str VMAX_E3                  = u8"Vmax E3";
54
-  PROGMEM Language_Str VMAX_E4                  = u8"Vmax E4";
55
-  PROGMEM Language_Str ACCELERATION             = u8"Acceleration";
56
-  PROGMEM Language_Str ACCEL_PRINTING           = u8"Printing";
57
-  PROGMEM Language_Str ACCEL_TRAVEL             = u8"Travel";
58
-  PROGMEM Language_Str ACCEL_RETRACT            = u8"Retraction";
59
-  PROGMEM Language_Str AMAX_X                   = u8"Amax X";
60
-  PROGMEM Language_Str AMAX_Y                   = u8"Amax Y";
61
-  PROGMEM Language_Str AMAX_Z                   = u8"Amax Z";
62
-  PROGMEM Language_Str AMAX_E1                  = u8"Amax E1";
63
-  PROGMEM Language_Str AMAX_E2                  = u8"Amax E2";
64
-  PROGMEM Language_Str AMAX_E3                  = u8"Amax E3";
65
-  PROGMEM Language_Str AMAX_E4                  = u8"Amax E4";
66
-  PROGMEM Language_Str JERK                     = u8"Jerk";
67
-  PROGMEM Language_Str JUNC_DEVIATION           = u8"Junc Dev";
68
-  PROGMEM Language_Str BACKLASH                 = u8"Backlash";
69
-  PROGMEM Language_Str SMOOTHING                = u8"Smoothing";
70
-  PROGMEM Language_Str CORRECTION               = u8"Correction";
71
-  PROGMEM Language_Str MOTOR_CURRENT            = u8"Currents";
72
-  PROGMEM Language_Str FILAMENT                 = u8"Filament";
73
-  PROGMEM Language_Str ENDSTOPS                 = u8"Endstops";
74
-  PROGMEM Language_Str SOFT_ENDSTOPS            = u8"Soft Endstops";
75
-  PROGMEM Language_Str RESTORE_DEFAULTS         = u8"Restore Defaults";
76
-
77
-  PROGMEM Language_Str HOTEND                   = u8"Hot End";
78
-  PROGMEM Language_Str HOTEND1                  = u8"Hot End 1";
79
-  PROGMEM Language_Str HOTEND2                  = u8"Hot End 2";
80
-  PROGMEM Language_Str HOTEND3                  = u8"Hot End 3";
81
-  PROGMEM Language_Str HOTEND4                  = u8"Hot End 4";
82
-  PROGMEM Language_Str BED                      = u8"Bed";
83
-  PROGMEM Language_Str AXIS_X                   = u8"X";
84
-  PROGMEM Language_Str AXIS_Y                   = u8"Y";
85
-  PROGMEM Language_Str AXIS_Z                   = u8"Z";
86
-  PROGMEM Language_Str AXIS_E                   = u8"E";
87
-  PROGMEM Language_Str AXIS_E1                  = u8"E1";
88
-  PROGMEM Language_Str AXIS_E2                  = u8"E2";
89
-  PROGMEM Language_Str AXIS_E3                  = u8"E3";
90
-  PROGMEM Language_Str AXIS_E4                  = u8"E4";
91
-  PROGMEM Language_Str AXIS_ALL                 = u8"All";
92
-  PROGMEM Language_Str HOME                     = u8"Home";
93
-
94
-  PROGMEM Language_Str FAN_SPEED                = u8"Fan Speed";
95
-  PROGMEM Language_Str RUNOUT_SENSOR            = u8"Runout Sensor";
96
-
97
-  PROGMEM Language_Str OPEN_DIR                 = u8"Open";
98
-  PROGMEM Language_Str PRINT_FILE               = u8"Print";
99
-
100
-  PROGMEM Language_Str RESUME_PRINT             = u8"Resume Print";
101
-  PROGMEM Language_Str PAUSE_PRINT              = u8"Pause Print";
102
-  PROGMEM Language_Str STOP_PRINT               = u8"Stop Print";
103
-
104
-  PROGMEM Language_Str PRINT_STARTING           = u8"Print starting";
105
-  PROGMEM Language_Str PRINT_FINISHED           = u8"Print finished";
106
-  PROGMEM Language_Str PRINT_ERROR              = u8"Print error";
107
-
108
-  PROGMEM Language_Str INFO_PRINT_COUNT         = u8"Print Count";
109
-  PROGMEM Language_Str INFO_COMPLETED_PRINTS    = u8"Total Prints";
110
-  PROGMEM Language_Str INFO_PRINT_TIME          = u8"Total Print Time";
111
-  PROGMEM Language_Str INFO_PRINT_LONGEST       = u8"Longest Print";
112
-  PROGMEM Language_Str INFO_PRINT_FILAMENT      = u8"Filament Used";
113
-
114
-  PROGMEM Language_Str PRINTER_HALTED           = u8"PRINTER HALTED";
115
-  PROGMEM Language_Str PLEASE_RESET             = u8"Please reset";
26
+#if ENABLED(TOUCH_UI_UTF8_COPYRIGHT)
27
+  #define COPYRIGHT_SIGN    u8"©"
28
+#else
29
+  #define COPYRIGHT_SIGN    u8"(c)"
30
+#endif
31
+
32
+#if ENABLED(TOUCH_UI_UTF8_SUPERSCRIPTS)
33
+  #define SUPERSCRIPT_TWO   u8"²"
34
+#else
35
+  #define SUPERSCRIPT_TWO   u8"^2"
36
+#endif
37
+
38
+#if ENABLED(TOUCH_UI_UTF8_WESTERN_CHARSET)
39
+  #define DEGREE_SIGN       u8"°"
40
+#else
41
+  #define DEGREE_SIGN       u8" "
42
+#endif
116 43
 
117
-  PROGMEM Language_Str COLOR_TOUCH_PANEL        = u8"Color Touch Panel";
118
-  #if ENABLED(TOUCH_UI_UTF8_COPYRIGHT)
119
-    PROGMEM Language_Str ABOUT_ALEPH_OBJECTS    = u8"© 2019 Aleph Objects, Inc.\n\nwww.lulzbot.com";
120
-  #else
121
-    PROGMEM Language_Str ABOUT_ALEPH_OBJECTS    = u8"(C) 2019 Aleph Objects, Inc.\n\nwww.lulzbot.com";
122
-  #endif
123
-
124
-  PROGMEM Language_Str FIRMWARE_FOR_TOOLHEAD    = u8"Firmware for toolhead:\n%s\n\n";
125
-
126
-  PROGMEM Language_Str HOME_SENSE               = u8"Home Sense";
127
-  PROGMEM Language_Str X_MAX                    = u8"X Max";
128
-  PROGMEM Language_Str X_MIN                    = u8"X Min";
129
-  PROGMEM Language_Str Y_MAX                    = u8"Y Max";
130
-  PROGMEM Language_Str Y_MIN                    = u8"Y Min";
131
-  PROGMEM Language_Str Z_MAX                    = u8"Z Max";
132
-  PROGMEM Language_Str Z_MIN                    = u8"Z Min";
133
-  PROGMEM Language_Str Z_PROBE                  = u8"Z Probe";
134
-  PROGMEM Language_Str RUNOUT_1                 = u8"Runout 1";
135
-  PROGMEM Language_Str RUNOUT_2                 = u8"Runout 2";
136
-  PROGMEM Language_Str DISPLAY_MENU             = u8"Display";
137
-  PROGMEM Language_Str INTERFACE_SETTINGS       = u8"Interface Settings";
138
-  PROGMEM Language_Str MEASURE_AUTOMATICALLY    = u8"Measure automatically";
139
-  PROGMEM Language_Str H_OFFSET                 = u8"H Offset";
140
-  PROGMEM Language_Str V_OFFSET                 = u8"V Offset";
141
-  PROGMEM Language_Str TOUCH_SCREEN             = u8"Touch Screen";
142
-  PROGMEM Language_Str CALIBRATE                = u8"Calibrate";
143
-
144
-  PROGMEM Language_Str UNITS_MILLIAMP           = u8"mA";
145
-  PROGMEM Language_Str UNITS_MM                 = u8"mm";
146
-  PROGMEM Language_Str UNITS_MM_S               = u8"mm/s";
147
-  #if ENABLED(TOUCH_UI_UTF8_WESTERN_CHARSET)
148
-    PROGMEM Language_Str UNITS_MM_S2            = u8"mm/s²";
149
-  #else
150
-    PROGMEM Language_Str UNITS_MM_S2            = u8"mm/s^2";
151
-  #endif
152
-  PROGMEM Language_Str UNITS_STEP_MM            = u8"st/mm";
153
-  PROGMEM Language_Str UNITS_PERCENT            = u8"%";
154
-  #if ENABLED(TOUCH_UI_UTF8_WESTERN_CHARSET)
155
-    PROGMEM Language_Str UNITS_C                = u8"°C";
156
-  #else
157
-    PROGMEM Language_Str UNITS_C                = u8" C";
44
+namespace Language_en {
45
+  PROGMEM Language_Str MSG_BUTTON_OKAY              = u8"Okay";
46
+  PROGMEM Language_Str MSG_BUTTON_MENU              = u8"Menu";
47
+  PROGMEM Language_Str MSG_BUTTON_MEDIA             = u8"Media";
48
+  PROGMEM Language_Str MSG_BUTTON_OPEN              = u8"Open";
49
+  PROGMEM Language_Str MSG_CLEAN_NOZZLE             = u8"Clean Nozzle";
50
+  PROGMEM Language_Str MSG_VMAX_X                   = u8"Vmax X";
51
+  PROGMEM Language_Str MSG_VMAX_Y                   = u8"Vmax Y";
52
+  PROGMEM Language_Str MSG_VMAX_Z                   = u8"Vmax Z";
53
+  PROGMEM Language_Str MSG_ACCEL_PRINTING           = u8"Printing";
54
+  PROGMEM Language_Str MSG_ACCEL_TRAVEL             = u8"Travel";
55
+  PROGMEM Language_Str MSG_ACCEL_RETRACT            = u8"Retraction";
56
+  PROGMEM Language_Str MSG_AMAX_X                   = u8"Amax X";
57
+  PROGMEM Language_Str MSG_AMAX_Y                   = u8"Amax Y";
58
+  PROGMEM Language_Str MSG_AMAX_Z                   = u8"Amax Z";
59
+  PROGMEM Language_Str MSG_AXIS_X                   = u8"X";
60
+  PROGMEM Language_Str MSG_AXIS_Y                   = u8"Y";
61
+  PROGMEM Language_Str MSG_AXIS_Z                   = u8"Z";
62
+  PROGMEM Language_Str MSG_AXIS_E                   = u8"E";
63
+  PROGMEM Language_Str MSG_AXIS_E1                  = u8"E1";
64
+  PROGMEM Language_Str MSG_AXIS_E2                  = u8"E2";
65
+  PROGMEM Language_Str MSG_AXIS_E3                  = u8"E3";
66
+  PROGMEM Language_Str MSG_AXIS_E4                  = u8"E4";
67
+  PROGMEM Language_Str MSG_AXIS_ALL                 = u8"All";
68
+  PROGMEM Language_Str MSG_HOME                     = u8"Home";
69
+  PROGMEM Language_Str MSG_PRINT_STARTING           = u8"Print starting";
70
+  PROGMEM Language_Str MSG_PRINT_FINISHED           = u8"Print finished";
71
+  PROGMEM Language_Str MSG_PRINT_ERROR              = u8"Print error";
72
+  PROGMEM Language_Str MSG_ABOUT_TOUCH_PANEL_1      = u8"Color Touch Panel";
73
+  PROGMEM Language_Str MSG_ABOUT_TOUCH_PANEL_2      = u8"Portions " COPYRIGHT_SIGN " 2019 Aleph Objects, Inc.";
74
+  PROGMEM Language_Str MSG_FIRMWARE_FOR_TOOLHEAD    = u8"Firmware for toolhead:\n%s\n\n";
75
+  PROGMEM Language_Str MSG_RUNOUT_1                 = u8"Runout 1";
76
+  PROGMEM Language_Str MSG_RUNOUT_2                 = u8"Runout 2";
77
+  PROGMEM Language_Str MSG_DISPLAY_MENU             = u8"Display";
78
+  PROGMEM Language_Str MSG_INTERFACE_SETTINGS       = u8"Interface Settings";
79
+  PROGMEM Language_Str MSG_MEASURE_AUTOMATICALLY    = u8"Measure automatically";
80
+  PROGMEM Language_Str MSG_H_OFFSET                 = u8"H Offset";
81
+  PROGMEM Language_Str MSG_V_OFFSET                 = u8"V Offset";
82
+  PROGMEM Language_Str MSG_TOUCH_SCREEN             = u8"Touch Screen";
83
+  PROGMEM Language_Str MSG_CALIBRATE                = u8"Calibrate";
84
+  PROGMEM Language_Str MSG_UNITS_MILLIAMP           = u8"mA";
85
+  PROGMEM Language_Str MSG_UNITS_MM                 = u8"mm";
86
+  PROGMEM Language_Str MSG_UNITS_MM_S               = u8"mm/s";
87
+  PROGMEM Language_Str MSG_UNITS_MM_S2              = u8"mm/s" SUPERSCRIPT_TWO;
88
+  PROGMEM Language_Str MSG_UNITS_STEP_MM            = u8"st/mm";
89
+  PROGMEM Language_Str MSG_UNITS_PERCENT            = u8"%";
90
+  PROGMEM Language_Str MSG_UNITS_C                  = DEGREE_SIGN u8"C";
91
+  PROGMEM Language_Str MSG_MATERIAL_PLA             = u8"PLA";
92
+  PROGMEM Language_Str MSG_MATERIAL_ABS             = u8"ABS";
93
+  PROGMEM Language_Str MSG_MATERIAL_HIGH_TEMP       = u8"High";
94
+  PROGMEM Language_Str MSG_IDLE                     = u8"idle";
95
+  PROGMEM Language_Str MSG_SET_MAXIMUM              = u8"Set Maximum";
96
+  PROGMEM Language_Str MSG_PRINT_SPEED              = u8"Print Speed";
97
+  PROGMEM Language_Str MSG_LINEAR_ADVANCE           = u8"Linear Advance";
98
+  PROGMEM Language_Str MSG_LINEAR_ADVANCE_K         = u8"K";
99
+  PROGMEM Language_Str MSG_LINEAR_ADVANCE_K1        = u8"K E1";
100
+  PROGMEM Language_Str MSG_LINEAR_ADVANCE_K2        = u8"K E2";
101
+  PROGMEM Language_Str MSG_LINEAR_ADVANCE_K3        = u8"K E3";
102
+  PROGMEM Language_Str MSG_LINEAR_ADVANCE_K4        = u8"K E4";
103
+  PROGMEM Language_Str MSG_NUDGE_NOZZLE             = u8"Nudge Nozzle";
104
+  PROGMEM Language_Str MSG_ADJUST_BOTH_NOZZLES      = u8"Adjust Both Nozzles";
105
+  PROGMEM Language_Str MSG_SHOW_OFFSETS             = u8"Show Offsets";
106
+  PROGMEM Language_Str MSG_INCREMENT                = u8"Increment";
107
+  PROGMEM Language_Str MSG_ERASE_FLASH_WARNING      = u8"Are you sure? SPI flash will be erased.";
108
+  PROGMEM Language_Str MSG_ERASING                  = u8"Erasing...";
109
+  PROGMEM Language_Str MSG_ERASED                   = u8"SPI flash erased";
110
+  PROGMEM Language_Str MSG_CALIBRATION_WARNING      = u8"For best results, unload the filament and clean the hotend prior to starting calibration. Continue?";
111
+  PROGMEM Language_Str MSG_START_PRINT_CONFIRMATION = u8"Start printing %s?";
112
+  PROGMEM Language_Str MSG_ABORT_WARNING            = u8"Are you sure you want to cancel the print?";
113
+  PROGMEM Language_Str MSG_EXTRUDER_SELECTION       = u8"Extruder Selection";
114
+  PROGMEM Language_Str MSG_CURRENT_TEMPERATURE      = u8"Current Temp";
115
+  PROGMEM Language_Str MSG_REMOVAL_TEMPERATURE      = u8"Removal Temp";
116
+  PROGMEM Language_Str MSG_CAUTION                  = u8"Caution:";
117
+  PROGMEM Language_Str MSG_HOT                      = u8"Hot!";
118
+  PROGMEM Language_Str MSG_UNLOAD_FILAMENT          = u8"Unload/Retract";
119
+  PROGMEM Language_Str MSG_LOAD_FILAMENT            = u8"Load/Extruder";
120
+  PROGMEM Language_Str MSG_MOMENTARY                = u8"Momentary";
121
+  PROGMEM Language_Str MSG_CONTINUOUS               = u8"Continuous";
122
+  PROGMEM Language_Str MSG_PLEASE_WAIT              = u8"Please wait...";
123
+  PROGMEM Language_Str MSG_PRINT_MENU               = u8"Print Menu";
124
+  PROGMEM Language_Str MSG_FINE_MOTION              = u8"Fine motion";
125
+  PROGMEM Language_Str MSG_ENABLE_MEDIA             = u8"Enable Media";
126
+  PROGMEM Language_Str MSG_INSERT_MEDIA             = u8"Insert Media...";
127
+  PROGMEM Language_Str MSG_LCD_BRIGHTNESS           = u8"LCD brightness";
128
+  PROGMEM Language_Str MSG_SOUND_VOLUME             = u8"Sound volume";
129
+  PROGMEM Language_Str MSG_SCREEN_LOCK              = u8"Screen lock";
130
+  PROGMEM Language_Str MSG_BOOT_SCREEN              = u8"Boot screen";
131
+  PROGMEM Language_Str MSG_INTERFACE_SOUNDS         = u8"Interface Sounds";
132
+  PROGMEM Language_Str MSG_CLICK_SOUNDS             = u8"Click sounds";
133
+  PROGMEM Language_Str MSG_EEPROM_RESTORED          = u8"Settings restored from backup";
134
+  PROGMEM Language_Str MSG_EEPROM_RESET             = u8"Settings restored to default";
135
+  PROGMEM Language_Str MSG_EEPROM_SAVED             = u8"Settings saved!";
136
+  PROGMEM Language_Str MSG_EEPROM_SAVE_PROMPT       = u8"Do you wish to save these settings as defaults?";
137
+  PROGMEM Language_Str MSG_EEPROM_RESET_WARNING     = u8"Are you sure? Customizations will be lost.";
138
+
139
+  PROGMEM Language_Str MSG_PASSCODE_REJECTED        = u8"Wrong passcode!";
140
+  PROGMEM Language_Str MSG_PASSCODE_ACCEPTED        = u8"Passcode accepted!";
141
+  PROGMEM Language_Str MSG_PASSCODE_SELECT          = u8"Select Passcode:";
142
+  PROGMEM Language_Str MSG_PASSCODE_REQUEST         = u8"Enter Passcode:";
143
+
144
+  PROGMEM Language_Str MSG_TOUCH_CALIBRATION_START  = u8"Release to begin screen calibration";
145
+  PROGMEM Language_Str MSG_TOUCH_CALIBRATION_PROMPT = u8"Touch the dots to calibrate";
146
+
147
+  #ifdef TOUCH_UI_LULZBOT_BIO
148
+    PROGMEM Language_Str MSG_MOVE_TO_HOME           = u8"Move to Home";
149
+    PROGMEM Language_Str MSG_RAISE_PLUNGER          = u8"Raise Plunger";
150
+    PROGMEM Language_Str MSG_RELEASE_XY_AXIS        = u8"Release X and Y Axis";
151
+    PROGMEM Language_Str MSG_AUTOLEVEL_X_AXIS       = u8"Auto-level X Axis";
152
+    PROGMEM Language_Str MSG_BED_TEMPERATURE        = u8"Bed Temperature";
153
+    PROGMEM Language_Str MSG_HOME_XYZ_WARNING       = u8"About to move to home position. Ensure the top and the bed of the printer are clear.\n\nContinue?";
154
+    PROGMEM Language_Str MSG_HOME_E_WARNING         = u8"About to re-home plunger and auto-level. Remove syringe prior to proceeding.\n\nContinue?";
158 155
   #endif
159
-  PROGMEM Language_Str MATERIAL_PLA             = u8"PLA";
160
-  PROGMEM Language_Str MATERIAL_ABS             = u8"ABS";
161
-  PROGMEM Language_Str MATERIAL_HIGH_TEMP       = u8"High";
162
-  PROGMEM Language_Str TEMP_IDLE                = u8"idle";
163
-
164
-  PROGMEM Language_Str PRINTING                 = u8"Printing";
165
-  PROGMEM Language_Str SET_MAXIMUM              = u8"Set Maximum";
166
-  PROGMEM Language_Str DETECTION_THRESHOLD      = u8"Detection Threshold";
167
-  PROGMEM Language_Str DISTANCE                 = u8"Distance";
168
-  PROGMEM Language_Str COOLDOWN                 = u8"Cooldown (All Off)";
169
-  PROGMEM Language_Str PRINT_SPEED              = u8"Print Speed";
170
-  PROGMEM Language_Str SPEED                    = u8"Speed";
171
-  PROGMEM Language_Str LINEAR_ADVANCE           = u8"Linear Advance";
172
-  PROGMEM Language_Str LINEAR_ADVANCE_K         = u8"K";
173
-  PROGMEM Language_Str LINEAR_ADVANCE_K1        = u8"K E1";
174
-  PROGMEM Language_Str LINEAR_ADVANCE_K2        = u8"K E2";
175
-  PROGMEM Language_Str LINEAR_ADVANCE_K3        = u8"K E3";
176
-  PROGMEM Language_Str LINEAR_ADVANCE_K4        = u8"K E4";
177
-  PROGMEM Language_Str NUDGE_NOZZLE             = u8"Nudge Nozzle";
178
-  PROGMEM Language_Str ADJUST_BOTH_NOZZLES      = u8"Adjust Both Nozzles";
179
-  PROGMEM Language_Str SHOW_OFFSETS             = u8"Show Offsets";
180
-  PROGMEM Language_Str INCREMENT                = u8"Increment";
181
-  PROGMEM Language_Str ERASE_FLASH_WARNING      = u8"Are you sure? SPI flash will be erased.";
182
-  PROGMEM Language_Str ERASING                  = u8"Erasing...";
183
-  PROGMEM Language_Str ERASED                   = u8"SPI flash erased";
184
-  PROGMEM Language_Str CALIBRATION_WARNING      = u8"For best results, unload the filament and clean the hotend prior to starting calibration. Continue?";
185
-  PROGMEM Language_Str START_PRINT_CONFIRMATION = u8"Start printing %s?";
186
-  PROGMEM Language_Str ABORT_WARNING            = u8"Are you sure you want to cancel the print?";
187
-  PROGMEM Language_Str EXTRUDER_SELECTION       = u8"Extruder Selection";
188
-  PROGMEM Language_Str CURRENT_TEMPERATURE      = u8"Current Temp";
189
-  PROGMEM Language_Str REMOVAL_TEMPERATURE      = u8"Removal Temp";
190
-  PROGMEM Language_Str HEATING                  = u8"Heating";
191
-  PROGMEM Language_Str CAUTION                  = u8"Caution:";
192
-  PROGMEM Language_Str HOT                      = u8"Hot!";
193
-  PROGMEM Language_Str UNLOAD_FILAMENT          = u8"Unload";
194
-  PROGMEM Language_Str LOAD_FILAMENT            = u8"Load/Extruder";
195
-  PROGMEM Language_Str MOMENTARY                = u8"Momentary";
196
-  PROGMEM Language_Str CONTINUOUS               = u8"Continuous";
197
-  PROGMEM Language_Str PLEASE_WAIT              = u8"Please wait...";
198
-  PROGMEM Language_Str PRINT_MENU               = u8"Print Menu";
199
-  PROGMEM Language_Str FINE_MOTION              = u8"Fine motion";
200
-  PROGMEM Language_Str ENABLE_MEDIA             = u8"Enable Media";
201
-  PROGMEM Language_Str INSERT_MEDIA             = u8"Insert Media...";
202
-  PROGMEM Language_Str LCD_BRIGHTNESS           = u8"LCD brightness";
203
-  PROGMEM Language_Str SOUND_VOLUME             = u8"Sound volume";
204
-  PROGMEM Language_Str SCREEN_LOCK              = u8"Screen lock";
205
-  PROGMEM Language_Str BOOT_SCREEN              = u8"Boot screen";
206
-  PROGMEM Language_Str INTERFACE_SOUNDS         = u8"Interface Sounds";
207
-  PROGMEM Language_Str CLICK_SOUNDS             = u8"Click sounds";
208
-  PROGMEM Language_Str EEPROM_RESTORED          = u8"Settings restored from backup";
209
-  PROGMEM Language_Str EEPROM_RESET             = u8"Settings restored to default";
210
-  PROGMEM Language_Str EEPROM_SAVED             = u8"Settings saved!";
211
-  PROGMEM Language_Str EEPROM_SAVE_PROMPT       = u8"Do you wish to save these settings as defaults?";
212
-  PROGMEM Language_Str EEPROM_RESET_WARNING     = u8"Are you sure? Customizations will be lost.";
213
-
214
-  PROGMEM Language_Str PASSCODE_REJECTED        = u8"Wrong passcode!";
215
-  PROGMEM Language_Str PASSCODE_ACCEPTED        = u8"Passcode accepted!";
216
-  PROGMEM Language_Str PASSCODE_SELECT          = u8"Select Passcode:";
217
-  PROGMEM Language_Str PASSCODE_REQUEST         = u8"Enter Passcode:";
218
-
219
-  PROGMEM Language_Str TOUCH_CALIBRATION_START  = u8"Release to begin screen calibration";
220
-  PROGMEM Language_Str TOUCH_CALIBRATION_PROMPT = u8"Touch the dots to calibrate";
221
-
222
-  #ifdef LULZBOT_USE_BIOPRINTER_UI
223
-    PROGMEM Language_Str MAIN_MENU              = u8"Main Menu";
224
-    PROGMEM Language_Str MOVE_TO_HOME           = u8"Move To Home";
225
-    PROGMEM Language_Str RAISE_PLUNGER          = u8"Raise Plunger";
226
-    PROGMEM Language_Str RELEASE_XY_AXIS        = u8"Release X and Y Axis";
227
-    PROGMEM Language_Str AUTOLEVEL_X_AXIS       = u8"Auto-level X Axis";
228
-    PROGMEM Language_Str BED_TEMPERATURE        = u8"Bed Temperature";
229
-    PROGMEM Language_Str HOME_XYZ_WARNING       = u8"About to move to home position. Ensure the top and the bed of the printer are clear.\n\nContinue?";
230
-    PROGMEM Language_Str HOME_E_WARNING         = u8"About to re-home plunger and auto-level. Remove syringe prior to proceeding.\n\nContinue?";
156
+  
157
+  #ifdef TOUCH_UI_COCOA_PRESS
158
+    PROGMEM Language_Str MSG_ZONE_1                 = u8"Zone 1:";
159
+    PROGMEM Language_Str MSG_ZONE_2                 = u8"Zone 2:";
231 160
   #endif
232 161
 }; // namespace Language_en

+ 0
- 84
Marlin/src/lcd/extensible_ui/lib/lulzbot/language/language_fr.h ファイルの表示

@@ -1,84 +0,0 @@
1
-/*****************
2
- * language_fr.h *
3
- *****************/
4
-
5
-/****************************************************************************
6
- *   Written By Marcio Teixeira 2019 - Aleph Objects, Inc.                  *
7
- *                                                                          *
8
- *   This program is free software: you can redistribute it and/or modify   *
9
- *   it under the terms of the GNU General Public License as published by   *
10
- *   the Free Software Foundation, either version 3 of the License, or      *
11
- *   (at your option) any later version.                                    *
12
- *                                                                          *
13
- *   This program is distributed in the hope that it will be useful,        *
14
- *   but WITHOUT ANY WARRANTY; without even the implied warranty of         *
15
- *   MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the          *
16
- *   GNU General Public License for more details.                           *
17
- *                                                                          *
18
- *   To view a copy of the GNU General Public License, go to the following  *
19
- *   location: <http://www.gnu.org/licenses/>.                              *
20
- ****************************************************************************/
21
-
22
-#pragma once
23
-
24
-namespace Language_fr {
25
-  using namespace Language_en; // Inherit undefined strings from English
26
-
27
-  PROGMEM Language_Str YES                      = u8"oui";
28
-  PROGMEM Language_Str NO                       = u8"non";
29
-  PROGMEM Language_Str BACK                     = u8"Retour";
30
-
31
-  PROGMEM Language_Str AUTO_HOME                = u8"Origine auto";
32
-  //PROGMEM Language_Str CLEAN_NOZZLE             = u8"Clean Nozzle";
33
-  PROGMEM Language_Str MOVE_AXIS                = u8"Déplacer un axe";
34
-  PROGMEM Language_Str MOTORS_OFF               = u8"Arrêter moteurs";
35
-  PROGMEM Language_Str TEMPERATURE              = u8"Température";
36
-  PROGMEM Language_Str CHANGE_FILAMENT          = u8"Changer filament";
37
-  PROGMEM Language_Str ADVANCED_SETTINGS        = u8"Config. avancée";
38
-  PROGMEM Language_Str ABOUT_PRINTER            = u8"Infos imprimante";
39
-  PROGMEM Language_Str PRINTER_STATISTICS       = u8"Stats. imprimante";
40
-
41
-  PROGMEM Language_Str ZPROBE_ZOFFSET           = u8"Décalage Z";
42
-  PROGMEM Language_Str STEPS_PER_MM             = u8"Pas/mm";
43
-  PROGMEM Language_Str TOOL_OFFSETS             = u8"Offsets Outil";
44
-  PROGMEM Language_Str VELOCITY                 = u8"Vélocité";
45
-  PROGMEM Language_Str ACCELERATION             = u8"Accélération";
46
-  PROGMEM Language_Str ACCEL_PRINTING           = u8"A impr.";
47
-  PROGMEM Language_Str ACCEL_TRAVEL             = u8"A dépl.";
48
-  PROGMEM Language_Str ACCEL_RETRACT            = u8"A retrait";
49
-  PROGMEM Language_Str JUNC_DEVIATION           = u8"Déviat. jonct.";
50
-  //PROGMEM Language_Str BACKLASH                 = u8"Backlash";
51
-  PROGMEM Language_Str SMOOTHING                = u8"Lissage";
52
-  PROGMEM Language_Str MOTOR_CURRENT            = u8"Courant";
53
-  PROGMEM Language_Str ENDSTOPS                 = u8"Butées";
54
-  PROGMEM Language_Str SOFT_ENDSTOPS            = u8"Butées SW";
55
-  PROGMEM Language_Str RESTORE_DEFAULTS         = u8"Restaurer défauts";
56
-
57
-
58
-  PROGMEM Language_Str HOTEND                   = u8"Buse";
59
-  PROGMEM Language_Str HOTEND1                  = u8"Buse 1";
60
-  PROGMEM Language_Str HOTEND2                  = u8"Buse 2";
61
-  PROGMEM Language_Str HOTEND3                  = u8"Buse 3";
62
-  PROGMEM Language_Str HOTEND4                  = u8"Buse 4";
63
-  PROGMEM Language_Str BED                      = u8"Lit";
64
-  PROGMEM Language_Str AXIS_ALL                 = u8"Tous";
65
-  PROGMEM Language_Str HOME                     = u8"Origine";
66
-
67
-  PROGMEM Language_Str FAN_SPEED                = u8"Vitesse ventil.";
68
-  PROGMEM Language_Str RUNOUT_SENSOR            = u8"Capteur fil.";
69
-
70
-  PROGMEM Language_Str PRINT_FILE               = u8"Imprimer";
71
-
72
-  PROGMEM Language_Str RESUME_PRINT             = u8"Reprendre impr.";
73
-  PROGMEM Language_Str PAUSE_PRINT              = u8"Pause impression";
74
-  PROGMEM Language_Str STOP_PRINT               = u8"Arrêter impr.";
75
-
76
-  PROGMEM Language_Str INFO_PRINT_COUNT         = u8"Nbre impressions";
77
-  PROGMEM Language_Str INFO_COMPLETED_PRINTS    = u8"Terminées";
78
-  PROGMEM Language_Str INFO_PRINT_TIME          = u8"Tps impr. total";
79
-  PROGMEM Language_Str INFO_PRINT_LONGEST       = u8"Impr. la + longue";
80
-  PROGMEM Language_Str INFO_PRINT_FILAMENT      = u8"Total filament";
81
-
82
-  PROGMEM Language_Str PRINTER_HALTED           = u8"IMPR. STOPPÉE";
83
-  PROGMEM Language_Str PLEASE_RESET             = u8"Redémarrer SVP";
84
-}; // namespace Language_fr

+ 1
- 1
Marlin/src/lcd/extensible_ui/lib/lulzbot/marlin_events.cpp ファイルの表示

@@ -103,7 +103,7 @@ namespace ExtUI {
103 103
   }
104 104
 
105 105
   void onConfigurationStoreWritten(bool success) {
106
-    #ifdef LULZBOT_EEPROM_BACKUP_SIZE
106
+    #ifdef ARCHIM2_SPI_FLASH_EEPROM_BACKUP_SIZE
107 107
       if (success && InterfaceSettingsScreen::backupEEPROM()) {
108 108
         SERIAL_ECHOLNPGM("Made backup of EEPROM to SPI Flash");
109 109
       }

+ 15
- 15
Marlin/src/lcd/extensible_ui/lib/lulzbot/screens/about_screen.cpp ファイルの表示

@@ -45,43 +45,43 @@ void AboutScreen::onRedraw(draw_mode_t) {
45 45
      .cmd(COLOR_RGB(bg_text_enabled))
46 46
      .tag(0);
47 47
 
48
-  draw_text_box(cmd, BTN_POS(1,2), BTN_SIZE(4,1), F(
49
-      #ifdef LULZBOT_LCD_MACHINE_NAME
50
-      LULZBOT_LCD_MACHINE_NAME
48
+  draw_text_box(cmd, BTN_POS(1,2), BTN_SIZE(4,1),
49
+      #ifdef CUSTOM_MACHINE_NAME
50
+        F(CUSTOM_MACHINE_NAME)
51 51
       #else
52
-      GET_TEXT_F(COLOR_TOUCH_PANEL)
52
+        GET_TEXT_F(MSG_ABOUT_TOUCH_PANEL_1)
53 53
       #endif
54
-    ), OPT_CENTER, font_xlarge);
55
-
56
-  #ifdef LULZBOT_LCD_TOOLHEAD_NAME
54
+  , OPT_CENTER, font_xlarge);
55
+  
56
+  #ifdef TOOLHEAD_NAME
57 57
    char about_str[
58 58
      strlen_P(GET_TEXT(FIRMWARE_FOR_TOOLHEAD)) +
59
-     strlen_P(LULZBOT_LCD_TOOLHEAD_NAME) +
60
-     strlen_P(GET_TEXT(ABOUT_ALEPH_OBJECTS)) + 1];
59
+     strlen_P(TOOLHEAD_NAME) +
60
+     strlen_P(GET_TEXT(ABOUT_TOUCH_PANEL_2)) + 1];
61 61
 
62
-   sprintf_P(about_str, GET_TEXT(FIRMWARE_FOR_TOOLHEAD), LULZBOT_LCD_TOOLHEAD_NAME);
63
-   strcat_P(about_str,  GET_TEXT(ABOUT_ALEPH_OBJECTS));
62
+   sprintf_P(about_str, GET_TEXT(FIRMWARE_FOR_TOOLHEAD), TOOLHEAD_NAME);
63
+   strcat_P (about_str, GET_TEXT(ABOUT_TOUCH_PANEL_2));
64 64
   #endif
65 65
 
66 66
   cmd.tag(2);
67 67
   draw_text_box(cmd, BTN_POS(1,3), BTN_SIZE(4,3),
68
-      #ifdef LULZBOT_LCD_TOOLHEAD_NAME
68
+      #ifdef TOOLHEAD_NAME
69 69
         about_str
70 70
       #else
71
-        GET_TEXT_F(ABOUT_ALEPH_OBJECTS)
71
+        GET_TEXT_F(MSG_ABOUT_TOUCH_PANEL_2)
72 72
       #endif
73 73
   , OPT_CENTER, font_medium);
74 74
 
75 75
   cmd.tag(0);
76 76
   draw_text_box(cmd, BTN_POS(1,6), BTN_SIZE(4,2), progmem_str(getFirmwareName_str()), OPT_CENTER, font_medium);
77 77
 
78
-  cmd.font(font_medium).colors(action_btn).tag(1).button(BTN_POS(2,8), BTN_SIZE(2,1), GET_TEXT_F(OKAY));
78
+  cmd.font(font_medium).colors(action_btn).tag(1).button(BTN_POS(2,8), BTN_SIZE(2,1), GET_TEXT_F(MSG_BUTTON_OKAY));
79 79
 }
80 80
 
81 81
 bool AboutScreen::onTouchEnd(uint8_t tag) {
82 82
   switch (tag) {
83 83
     case 1: GOTO_PREVIOUS();            return true;
84
-#if ENABLED(DEVELOPER_SCREENS)
84
+#if ENABLED(TOUCH_UI_DEVELOPER_MENU)
85 85
     case 2: GOTO_SCREEN(DeveloperMenu); return true;
86 86
 #endif
87 87
     default:                            return false;

+ 33
- 33
Marlin/src/lcd/extensible_ui/lib/lulzbot/screens/advanced_settings_menu.cpp ファイルの表示

@@ -22,7 +22,7 @@
22 22
 
23 23
 #include "../config.h"
24 24
 
25
-#if ENABLED(LULZBOT_TOUCH_UI) && !defined(LULZBOT_USE_BIOPRINTER_UI)
25
+#if ENABLED(LULZBOT_TOUCH_UI) && !defined(TOUCH_UI_LULZBOT_BIO)
26 26
 
27 27
 #include "screens.h"
28 28
 
@@ -49,52 +49,52 @@ void AdvancedSettingsMenu::onRedraw(draw_mode_t what) {
49 49
       #else
50 50
         .enabled(0)
51 51
       #endif
52
-      .tag(2) .button( BTN_POS(1,1), BTN_SIZE(1,1), GET_TEXT_F(ZPROBE_ZOFFSET))
52
+      .tag(2) .button( BTN_POS(1,1), BTN_SIZE(1,1), GET_TEXT_F(MSG_ZPROBE_ZOFFSET))
53 53
       .enabled(1)
54
-      .tag(3) .button( BTN_POS(2,1), BTN_SIZE(1,1), GET_TEXT_F(STEPS_PER_MM))
54
+      .tag(3) .button( BTN_POS(2,1), BTN_SIZE(1,1), GET_TEXT_F(MSG_STEPS_PER_MM))
55 55
       #if HAS_TRINAMIC
56 56
         .enabled(1)
57 57
       #else
58 58
         .enabled(0)
59 59
       #endif
60
-      .tag(13).button( BTN_POS(1,5), BTN_SIZE(1,1), GET_TEXT_F(MOTOR_CURRENT))
60
+      .tag(13).button( BTN_POS(1,5), BTN_SIZE(1,1), GET_TEXT_F(MSG_TMC_CURRENT))
61 61
       #if HAS_TRINAMIC
62 62
         .enabled(1)
63 63
       #else
64 64
         .enabled(0)
65 65
       #endif
66
-      .tag(14).button( BTN_POS(1,4), BTN_SIZE(1,1), GET_TEXT_F(HOME_SENSE))
66
+      .tag(14).button( BTN_POS(1,4), BTN_SIZE(1,1), GET_TEXT_F(MSG_TMC_HOMING_THRS))
67 67
       #if HOTENDS > 1
68 68
       .enabled(1)
69 69
       #else
70 70
       .enabled(0)
71 71
       #endif
72
-      .tag(4) .button( BTN_POS(1,2), BTN_SIZE(1,1), GET_TEXT_F(TOOL_OFFSETS))
72
+      .tag(4) .button( BTN_POS(1,2), BTN_SIZE(1,1), GET_TEXT_F(MSG_OFFSETS_MENU))
73 73
       #if EITHER(LIN_ADVANCE, FILAMENT_RUNOUT_SENSOR)
74 74
       .enabled(1)
75 75
       #else
76 76
       .enabled(0)
77 77
       #endif
78
-      .tag(11).button( BTN_POS(1,3), BTN_SIZE(1,1), GET_TEXT_F(FILAMENT))
79
-      .tag(12).button( BTN_POS(1,6), BTN_SIZE(1,1), GET_TEXT_F(ENDSTOPS))
80
-      .tag(15).button( BTN_POS(2,6), BTN_SIZE(1,1), GET_TEXT_F(DISPLAY_MENU))
81
-      .tag(9) .button( BTN_POS(1,7), BTN_SIZE(2,1), GET_TEXT_F(INTERFACE_SETTINGS))
82
-      .tag(10).button( BTN_POS(1,8), BTN_SIZE(2,1), GET_TEXT_F(RESTORE_DEFAULTS))
83
-      .tag(5) .button( BTN_POS(2,2), BTN_SIZE(1,1), GET_TEXT_F(VELOCITY))
84
-      .tag(6) .button( BTN_POS(2,3), BTN_SIZE(1,1), GET_TEXT_F(ACCELERATION))
78
+      .tag(11).button( BTN_POS(1,3), BTN_SIZE(1,1), GET_TEXT_F(MSG_FILAMENT))
79
+      .tag(12).button( BTN_POS(1,6), BTN_SIZE(1,1), GET_TEXT_F(MSG_LCD_ENDSTOPS))
80
+      .tag(15).button( BTN_POS(2,6), BTN_SIZE(1,1), GET_TEXT_F(MSG_DISPLAY_MENU))
81
+      .tag(9) .button( BTN_POS(1,7), BTN_SIZE(2,1), GET_TEXT_F(MSG_INTERFACE_SETTINGS))
82
+      .tag(10).button( BTN_POS(1,8), BTN_SIZE(2,1), GET_TEXT_F(MSG_RESTORE_FAILSAFE))
83
+      .tag(5) .button( BTN_POS(2,2), BTN_SIZE(1,1), GET_TEXT_F(MSG_VELOCITY))
84
+      .tag(6) .button( BTN_POS(2,3), BTN_SIZE(1,1), GET_TEXT_F(MSG_ACCELERATION))
85 85
       #if DISABLED(CLASSIC_JERK)
86
-      .tag(7) .button( BTN_POS(2,4), BTN_SIZE(1,1), GET_TEXT_F(JUNC_DEVIATION))
86
+      .tag(7) .button( BTN_POS(2,4), BTN_SIZE(1,1), GET_TEXT_F(MSG_JUNCTION_DEVIATION))
87 87
       #else
88
-      .tag(7) .button( BTN_POS(2,4), BTN_SIZE(1,1), GET_TEXT_F(JERK))
88
+      .tag(7) .button( BTN_POS(2,4), BTN_SIZE(1,1), GET_TEXT_F(MSG_JERK))
89 89
       #endif
90 90
       #if ENABLED(BACKLASH_GCODE)
91 91
       .enabled(1)
92 92
       #else
93 93
       .enabled(0)
94 94
       #endif
95
-      .tag(8).button( BTN_POS(2,5), BTN_SIZE(1,1), GET_TEXT_F(BACKLASH))
95
+      .tag(8).button( BTN_POS(2,5), BTN_SIZE(1,1), GET_TEXT_F(MSG_BACKLASH))
96 96
       .colors(action_btn)
97
-      .tag(1) .button( BTN_POS(1,9), BTN_SIZE(2,1), GET_TEXT_F(BACK));
97
+      .tag(1) .button( BTN_POS(1,9), BTN_SIZE(2,1), GET_TEXT_F(MSG_BACK));
98 98
       #undef GRID_COLS
99 99
       #undef GRID_ROWS
100 100
     #else
@@ -105,47 +105,47 @@ void AdvancedSettingsMenu::onRedraw(draw_mode_t what) {
105 105
       #else
106 106
         .enabled(0)
107 107
       #endif
108
-      .tag(2) .button( BTN_POS(1,1),  BTN_SIZE(1,2), GET_TEXT_F(ZPROBE_ZOFFSET))
108
+      .tag(2) .button( BTN_POS(1,1),  BTN_SIZE(1,2), GET_TEXT_F(MSG_ZPROBE_ZOFFSET))
109 109
       .enabled(1)
110
-      .tag(3) .button( BTN_POS(2,1),  BTN_SIZE(1,1), GET_TEXT_F(STEPS_PER_MM))
110
+      .tag(3) .button( BTN_POS(2,1),  BTN_SIZE(1,1), GET_TEXT_F(MSG_STEPS_PER_MM))
111 111
       #if HAS_TRINAMIC
112 112
         .enabled(1)
113 113
       #else
114 114
         .enabled(0)
115 115
       #endif
116
-      .tag(13).button( BTN_POS(3,1), BTN_SIZE(1,1), GET_TEXT_F(MOTOR_CURRENT))
116
+      .tag(13).button( BTN_POS(3,1), BTN_SIZE(1,1), GET_TEXT_F(MSG_TMC_CURRENT))
117 117
       #if HAS_TRINAMIC
118 118
         .enabled(1)
119 119
       #else
120 120
         .enabled(0)
121 121
       #endif
122
-      .tag(14).button( BTN_POS(3,2), BTN_SIZE(1,1), GET_TEXT_F(HOME_SENSE))
122
+      .tag(14).button( BTN_POS(3,2), BTN_SIZE(1,1), GET_TEXT_F(MSG_TMC_HOMING_THRS))
123 123
       #if ENABLED(BACKLASH_GCODE)
124 124
       .enabled(1)
125 125
       #else
126 126
       .enabled(0)
127 127
       #endif
128
-      .tag(8).button( BTN_POS(3,3),  BTN_SIZE(1,1), GET_TEXT_F(BACKLASH))
128
+      .tag(8).button( BTN_POS(3,3),  BTN_SIZE(1,1), GET_TEXT_F(MSG_BACKLASH))
129 129
       #if HOTENDS > 1
130 130
       .enabled(1)
131 131
       #else
132 132
       .enabled(0)
133 133
       #endif
134
-      .tag(4) .button( BTN_POS(1,3),  BTN_SIZE(1,1), GET_TEXT_F(TOOL_OFFSETS))
135
-      .tag(12).button( BTN_POS(3,4),  BTN_SIZE(1,1), GET_TEXT_F(ENDSTOPS))
136
-      .tag(5) .button( BTN_POS(2,2),  BTN_SIZE(1,1), GET_TEXT_F(VELOCITY))
137
-      .tag(6) .button( BTN_POS(2,3),  BTN_SIZE(1,1), GET_TEXT_F(ACCELERATION))
134
+      .tag(4) .button( BTN_POS(1,3),  BTN_SIZE(1,1), GET_TEXT_F(MSG_OFFSETS_MENU))
135
+      .tag(12).button( BTN_POS(3,4),  BTN_SIZE(1,1), GET_TEXT_F(MSG_LCD_ENDSTOPS))
136
+      .tag(5) .button( BTN_POS(2,2),  BTN_SIZE(1,1), GET_TEXT_F(MSG_VELOCITY))
137
+      .tag(6) .button( BTN_POS(2,3),  BTN_SIZE(1,1), GET_TEXT_F(MSG_ACCELERATION))
138 138
       #if DISABLED(CLASSIC_JERK)
139
-      .tag(7) .button( BTN_POS(2,4),  BTN_SIZE(1,1), GET_TEXT_F(JUNC_DEVIATION))
139
+      .tag(7) .button( BTN_POS(2,4),  BTN_SIZE(1,1), GET_TEXT_F(MSG_JUNCTION_DEVIATION))
140 140
       #else
141
-      .tag(7) .button( BTN_POS(2,4),  BTN_SIZE(1,1), GET_TEXT_F(JERK))
141
+      .tag(7) .button( BTN_POS(2,4),  BTN_SIZE(1,1), GET_TEXT_F(MSG_JERK))
142 142
       #endif
143
-      .tag(11).button( BTN_POS(1,4),  BTN_SIZE(1,1), GET_TEXT_F(FILAMENT))
144
-      .tag(15).button( BTN_POS(3,5),  BTN_SIZE(1,1), GET_TEXT_F(DISPLAY_MENU))
145
-      .tag(9) .button( BTN_POS(1,5),  BTN_SIZE(2,1), GET_TEXT_F(INTERFACE_SETTINGS))
146
-      .tag(10).button( BTN_POS(1,6),  BTN_SIZE(2,1), GET_TEXT_F(RESTORE_DEFAULTS))
143
+      .tag(11).button( BTN_POS(1,4),  BTN_SIZE(1,1), GET_TEXT_F(MSG_FILAMENT))
144
+      .tag(15).button( BTN_POS(3,5),  BTN_SIZE(1,1), GET_TEXT_F(MSG_DISPLAY_MENU))
145
+      .tag(9) .button( BTN_POS(1,5),  BTN_SIZE(2,1), GET_TEXT_F(MSG_INTERFACE_SETTINGS))
146
+      .tag(10).button( BTN_POS(1,6),  BTN_SIZE(2,1), GET_TEXT_F(MSG_RESTORE_FAILSAFE))
147 147
       .colors(action_btn)
148
-      .tag(1) .button( BTN_POS(3,6),  BTN_SIZE(1,1), GET_TEXT_F(BACK));
148
+      .tag(1) .button( BTN_POS(3,6),  BTN_SIZE(1,1), GET_TEXT_F(MSG_BACK));
149 149
     #endif
150 150
   }
151 151
 }

+ 9
- 9
Marlin/src/lcd/extensible_ui/lib/lulzbot/screens/backlash_compensation_screen.cpp ファイルの表示

@@ -32,17 +32,17 @@ using namespace Theme;
32 32
 
33 33
 void BacklashCompensationScreen::onRedraw(draw_mode_t what) {
34 34
   widgets_t w(what);
35
-  w.precision(2).units(       GET_TEXT_F(UNITS_MM));
36
-  w.heading(                  GET_TEXT_F(BACKLASH));
37
-  w.color(x_axis).adjuster(2, GET_TEXT_F(AXIS_X), getAxisBacklash_mm(X));
38
-  w.color(y_axis).adjuster(4, GET_TEXT_F(AXIS_Y), getAxisBacklash_mm(Y));
39
-  w.color(z_axis).adjuster(6, GET_TEXT_F(AXIS_Z), getAxisBacklash_mm(Z));
35
+  w.precision(2).units(       GET_TEXT_F(MSG_UNITS_MM));
36
+  w.heading(                  GET_TEXT_F(MSG_BACKLASH));
37
+  w.color(x_axis).adjuster(2, GET_TEXT_F(MSG_AXIS_X), getAxisBacklash_mm(X));
38
+  w.color(y_axis).adjuster(4, GET_TEXT_F(MSG_AXIS_Y), getAxisBacklash_mm(Y));
39
+  w.color(z_axis).adjuster(6, GET_TEXT_F(MSG_AXIS_Z), getAxisBacklash_mm(Z));
40 40
   #if ENABLED(CALIBRATION_GCODE)
41
-  w.button(12, GET_TEXT_F(MEASURE_AUTOMATICALLY));
41
+  w.button(12, GET_TEXT_F(MSG_MEASURE_AUTOMATICALLY));
42 42
   #endif
43
-  w.color(other).adjuster(8,  GET_TEXT_F(SMOOTHING), getBacklashSmoothing_mm());
44
-  w.precision(0).units(GET_TEXT_F(UNITS_PERCENT))
45
-                .adjuster(10, GET_TEXT_F(CORRECTION), getBacklashCorrection_percent());
43
+  w.color(other).adjuster(8,  GET_TEXT_F(MSG_SMOOTHING), getBacklashSmoothing_mm());
44
+  w.precision(0).units(GET_TEXT_F(MSG_UNITS_PERCENT))
45
+                .adjuster(10, GET_TEXT_F(MSG_CORRECTION), getBacklashCorrection_percent());
46 46
   w.precision(2).increments();
47 47
 }
48 48
 

+ 8
- 8
Marlin/src/lcd/extensible_ui/lib/lulzbot/screens/base_numeric_adjustment_screen.cpp ファイルの表示

@@ -58,7 +58,7 @@ BaseNumericAdjustmentScreen::widgets_t::widgets_t(draw_mode_t what) : _what(what
58 58
     #else
59 59
       BTN_POS(15,7), BTN_SIZE(4,1),
60 60
     #endif
61
-    GET_TEXT_F(BACK), true, true
61
+    GET_TEXT_F(MSG_BACK), true, true
62 62
   );
63 63
 
64 64
   _line = 1;
@@ -197,7 +197,7 @@ void BaseNumericAdjustmentScreen::widgets_t::increments() {
197 197
       #else
198 198
         BTN_POS(15,    1), BTN_SIZE(4,1),
199 199
       #endif
200
-      GET_TEXT_F(INCREMENT)
200
+      GET_TEXT_F(MSG_INCREMENT)
201 201
     );
202 202
   }
203 203
 
@@ -328,7 +328,7 @@ void BaseNumericAdjustmentScreen::widgets_t::toggle(uint8_t tag, progmem_str lab
328 328
         #else
329 329
           BTN_POS(10,_line), BTN_SIZE(4,1),
330 330
         #endif
331
-        GET_TEXT_F(NO), GET_TEXT_F(YES), value
331
+        GET_TEXT_F(MSG_NO), GET_TEXT_F(MSG_YES), value
332 332
        );
333 333
   }
334 334
 
@@ -341,14 +341,14 @@ void BaseNumericAdjustmentScreen::widgets_t::home_buttons(uint8_t tag) {
341 341
   if (_what & BACKGROUND) {
342 342
     _button_style(cmd, TEXT_LABEL);
343 343
     cmd.font(font_small)
344
-       .text(BTN_POS(1, _line), BTN_SIZE(4,1), GET_TEXT_F(HOME));
344
+       .text(BTN_POS(1, _line), BTN_SIZE(4,1), GET_TEXT_F(MSG_HOME));
345 345
   }
346 346
 
347 347
   cmd.font(LAYOUT_FONT);
348
- _button(cmd, tag+0, BTN_POS(5,_line),  BTN_SIZE(2,1), GET_TEXT_F(AXIS_X));
349
- _button(cmd, tag+1, BTN_POS(7,_line),  BTN_SIZE(2,1), GET_TEXT_F(AXIS_Y));
350
- _button(cmd, tag+2, BTN_POS(9,_line),  BTN_SIZE(2,1), GET_TEXT_F(AXIS_Z));
351
- _button(cmd, tag+3, BTN_POS(11,_line), BTN_SIZE(3,1), GET_TEXT_F(AXIS_ALL));
348
+ _button(cmd, tag+0, BTN_POS(5,_line),  BTN_SIZE(2,1), GET_TEXT_F(MSG_AXIS_X));
349
+ _button(cmd, tag+1, BTN_POS(7,_line),  BTN_SIZE(2,1), GET_TEXT_F(MSG_AXIS_Y));
350
+ _button(cmd, tag+2, BTN_POS(9,_line),  BTN_SIZE(2,1), GET_TEXT_F(MSG_AXIS_Z));
351
+ _button(cmd, tag+3, BTN_POS(11,_line), BTN_SIZE(3,1), GET_TEXT_F(MSG_AXIS_ALL));
352 352
 
353 353
   _line++;
354 354
 }

+ 16
- 16
Marlin/src/lcd/extensible_ui/lib/lulzbot/screens/bio_advanced_settings.cpp ファイルの表示

@@ -22,7 +22,7 @@
22 22
 
23 23
 #include "../config.h"
24 24
 
25
-#if ENABLED(LULZBOT_TOUCH_UI) && defined(LULZBOT_USE_BIOPRINTER_UI)
25
+#if ENABLED(LULZBOT_TOUCH_UI) && defined(TOUCH_UI_LULZBOT_BIO)
26 26
 
27 27
 #include "screens.h"
28 28
 
@@ -43,52 +43,52 @@ void AdvancedSettingsMenu::onRedraw(draw_mode_t what) {
43 43
     #define GRID_ROWS 9
44 44
     #define GRID_COLS 2
45 45
 
46
-      .tag(2) .button( BTN_POS(1,1), BTN_SIZE(1,1), GET_TEXT_F(DISPLAY_MENU))
46
+      .tag(2) .button( BTN_POS(1,1), BTN_SIZE(1,1), GET_TEXT_F(MSG_DISPLAY_MENU))
47 47
       #if HAS_TRINAMIC
48 48
        .enabled(1)
49 49
       #else
50 50
        .enabled(0)
51 51
       #endif
52
-      .tag(3) .button( BTN_POS(1,2), BTN_SIZE(1,1), GET_TEXT_F(MOTOR_CURRENT))
52
+      .tag(3) .button( BTN_POS(1,2), BTN_SIZE(1,1), GET_TEXT_F(MSG_TMC_CURRENT))
53 53
       #if HAS_TRINAMIC
54 54
        .enabled(1)
55 55
       #else
56 56
        .enabled(0)
57 57
       #endif
58
-      .tag(4) .button( BTN_POS(1,3), BTN_SIZE(1,1), GET_TEXT_F(HOME_SENSE))
59
-      .tag(5) .button( BTN_POS(1,4), BTN_SIZE(1,1), GET_TEXT_F(ENDSTOPS))
58
+      .tag(4) .button( BTN_POS(1,3), BTN_SIZE(1,1), GET_TEXT_F(MSG_TMC_HOMING_THRS))
59
+      .tag(5) .button( BTN_POS(1,4), BTN_SIZE(1,1), GET_TEXT_F(MSG_LCD_ENDSTOPS))
60 60
       #if HOTENDS > 1
61 61
       .enabled(1)
62 62
       #else
63 63
       .enabled(0)
64 64
       #endif
65
-      .tag(6) .button( BTN_POS(1,5), BTN_SIZE(1,1), GET_TEXT_F(TOOL_OFFSETS))
65
+      .tag(6) .button( BTN_POS(1,5), BTN_SIZE(1,1), GET_TEXT_F(MSG_OFFSETS_MENU))
66 66
 
67 67
 
68
-      .tag(7) .button( BTN_POS(2,1), BTN_SIZE(1,1), GET_TEXT_F(STEPS_PER_MM))
69
-      .tag(8) .button( BTN_POS(2,2), BTN_SIZE(1,1), GET_TEXT_F(VELOCITY))
70
-      .tag(9) .button( BTN_POS(2,3), BTN_SIZE(1,1), GET_TEXT_F(ACCELERATION))
68
+      .tag(7) .button( BTN_POS(2,1), BTN_SIZE(1,1), GET_TEXT_F(MSG_STEPS_PER_MM))
69
+      .tag(8) .button( BTN_POS(2,2), BTN_SIZE(1,1), GET_TEXT_F(MSG_VELOCITY))
70
+      .tag(9) .button( BTN_POS(2,3), BTN_SIZE(1,1), GET_TEXT_F(MSG_ACCELERATION))
71 71
       #if DISABLED(CLASSIC_JERK)
72
-        .tag(10) .button( BTN_POS(2,4), BTN_SIZE(1,1), GET_TEXT_F(JUNC_DEVIATION))
72
+        .tag(10) .button( BTN_POS(2,4), BTN_SIZE(1,1), GET_TEXT_F(MSG_JUNCTION_DEVIATION))
73 73
       #else
74
-        .tag(10) .button( BTN_POS(2,4), BTN_SIZE(1,1), GET_TEXT_F(JERK))
74
+        .tag(10) .button( BTN_POS(2,4), BTN_SIZE(1,1), GET_TEXT_F(MSG_JERK))
75 75
       #endif
76 76
       #if ENABLED(BACKLASH_GCODE)
77 77
       .enabled(1)
78 78
       #else
79 79
       .enabled(0)
80 80
       #endif
81
-      .tag(11) .button( BTN_POS(2,5), BTN_SIZE(1,1), GET_TEXT_F(BACKLASH))
81
+      .tag(11) .button( BTN_POS(2,5), BTN_SIZE(1,1), GET_TEXT_F(MSG_BACKLASH))
82 82
       #if ENABLED(LIN_ADVANCE)
83 83
       .enabled(1)
84 84
       #else
85 85
       .enabled(0)
86 86
       #endif
87
-      .tag(12) .button( BTN_POS(1,6), BTN_SIZE(2,1), GET_TEXT_F(LINEAR_ADVANCE))
88
-      .tag(13) .button( BTN_POS(1,7), BTN_SIZE(2,1), GET_TEXT_F(INTERFACE_SETTINGS))
89
-      .tag(14) .button( BTN_POS(1,8), BTN_SIZE(2,1), GET_TEXT_F(RESTORE_DEFAULTS))
87
+      .tag(12) .button( BTN_POS(1,6), BTN_SIZE(2,1), GET_TEXT_F(MSG_LINEAR_ADVANCE))
88
+      .tag(13) .button( BTN_POS(1,7), BTN_SIZE(2,1), GET_TEXT_F(MSG_INTERFACE_SETTINGS))
89
+      .tag(14) .button( BTN_POS(1,8), BTN_SIZE(2,1), GET_TEXT_F(MSG_RESTORE_FAILSAFE))
90 90
       .colors(action_btn)
91
-      .tag(1). button( BTN_POS(1,9), BTN_SIZE(2,1), GET_TEXT_F(BACK));
91
+      .tag(1). button( BTN_POS(1,9), BTN_SIZE(2,1), GET_TEXT_F(MSG_BACK));
92 92
     #undef GRID_COLS
93 93
     #undef GRID_ROWS
94 94
   }

+ 5
- 5
Marlin/src/lcd/extensible_ui/lib/lulzbot/screens/bio_confirm_home_e.cpp ファイルの表示

@@ -22,14 +22,14 @@
22 22
 
23 23
 #include "../config.h"
24 24
 
25
-#if ENABLED(LULZBOT_TOUCH_UI) && defined(LULZBOT_USE_BIOPRINTER_UI)
25
+#if ENABLED(LULZBOT_TOUCH_UI) && defined(TOUCH_UI_LULZBOT_BIO)
26 26
 
27 27
 #include "screens.h"
28 28
 
29 29
 using namespace FTDI;
30 30
 
31 31
 void BioConfirmHomeE::onRedraw(draw_mode_t) {
32
-  drawMessage(GET_TEXT_F(HOME_E_WARNING));
32
+  drawMessage(GET_TEXT_F(MSG_HOME_E_WARNING));
33 33
   drawYesNoButtons(1);
34 34
 }
35 35
 
@@ -37,9 +37,9 @@ bool BioConfirmHomeE::onTouchEnd(uint8_t tag) {
37 37
   switch (tag) {
38 38
     case 1:
39 39
       SpinnerDialogBox::enqueueAndWait_P(F(
40
-        "G112\n"
41
-        LULZBOT_AXIS_LEVELING_COMMANDS "\n"
42
-        LULZBOT_PARK_AND_RELEASE_COMMANDS
40
+        "G28 E\n"
41
+        AXIS_LEVELING_COMMANDS "\n"
42
+        PARK_AND_RELEASE_COMMANDS
43 43
       ));
44 44
       current_screen.forget();
45 45
       break;

+ 3
- 3
Marlin/src/lcd/extensible_ui/lib/lulzbot/screens/bio_confirm_home_xyz.cpp ファイルの表示

@@ -22,14 +22,14 @@
22 22
 
23 23
 #include "../config.h"
24 24
 
25
-#if ENABLED(LULZBOT_TOUCH_UI) && defined(LULZBOT_USE_BIOPRINTER_UI)
25
+#if ENABLED(LULZBOT_TOUCH_UI) && defined(TOUCH_UI_LULZBOT_BIO)
26 26
 
27 27
 #include "screens.h"
28 28
 
29 29
 using namespace FTDI;
30 30
 
31 31
 void BioConfirmHomeXYZ::onRedraw(draw_mode_t) {
32
-  drawMessage(GET_TEXT_F(HOME_XYZ_WARNING));
32
+  drawMessage(GET_TEXT_F(MSG_HOME_XYZ_WARNING));
33 33
   drawYesNoButtons(1);
34 34
 }
35 35
 
@@ -38,7 +38,7 @@ bool BioConfirmHomeXYZ::onTouchEnd(uint8_t tag) {
38 38
     case 1:
39 39
       SpinnerDialogBox::enqueueAndWait_P(F(
40 40
        "G28\n"
41
-       LULZBOT_PARK_AND_RELEASE_COMMANDS
41
+       PARK_AND_RELEASE_COMMANDS
42 42
       ));
43 43
       current_screen.forget();
44 44
       break;

+ 12
- 12
Marlin/src/lcd/extensible_ui/lib/lulzbot/screens/bio_main_menu.cpp ファイルの表示

@@ -22,7 +22,7 @@
22 22
 
23 23
 #include "../config.h"
24 24
 
25
-#if ENABLED(LULZBOT_TOUCH_UI) && defined(LULZBOT_USE_BIOPRINTER_UI)
25
+#if ENABLED(LULZBOT_TOUCH_UI) && defined(TOUCH_UI_LULZBOT_BIO)
26 26
 
27 27
 #include "screens.h"
28 28
 
@@ -43,19 +43,19 @@ void MainMenu::onRedraw(draw_mode_t what) {
43 43
   if (what & FOREGROUND) {
44 44
     CommandProcessor cmd;
45 45
     cmd.cmd(COLOR_RGB(bg_text_enabled))
46
-       .font(font_large).text( BTN_POS(1,1), BTN_SIZE(2,1), GET_TEXT_F(MAIN_MENU))
46
+       .font(font_large).text( BTN_POS(1,1), BTN_SIZE(2,1), GET_TEXT_F(MSG_MAIN))
47 47
        .colors(normal_btn)
48 48
        .font(font_medium)
49
-       .tag(2).button( BTN_POS(1,2), BTN_SIZE(2,1), GET_TEXT_F(MOVE_TO_HOME))
50
-       .tag(3).button( BTN_POS(1,3), BTN_SIZE(2,1), GET_TEXT_F(RAISE_PLUNGER))
51
-       .tag(4).button( BTN_POS(1,4), BTN_SIZE(2,1), GET_TEXT_F(RELEASE_XY_AXIS))
52
-       .tag(5).button( BTN_POS(1,5), BTN_SIZE(2,1), GET_TEXT_F(AUTOLEVEL_X_AXIS))
53
-       .tag(6).button( BTN_POS(1,6), BTN_SIZE(2,1), GET_TEXT_F(BED_TEMPERATURE))
54
-       .tag(7).button( BTN_POS(1,7), BTN_SIZE(2,1), GET_TEXT_F(INTERFACE_SETTINGS))
55
-       .tag(8).button( BTN_POS(1,8), BTN_SIZE(2,1), GET_TEXT_F(ADVANCED_SETTINGS))
56
-       .tag(9).button( BTN_POS(1,9), BTN_SIZE(2,1), GET_TEXT_F(ABOUT_PRINTER))
49
+       .tag(2).button( BTN_POS(1,2), BTN_SIZE(2,1), GET_TEXT_F(MSG_MOVE_TO_HOME))
50
+       .tag(3).button( BTN_POS(1,3), BTN_SIZE(2,1), GET_TEXT_F(MSG_RAISE_PLUNGER))
51
+       .tag(4).button( BTN_POS(1,4), BTN_SIZE(2,1), GET_TEXT_F(MSG_RELEASE_XY_AXIS))
52
+       .tag(5).button( BTN_POS(1,5), BTN_SIZE(2,1), GET_TEXT_F(MSG_AUTOLEVEL_X_AXIS))
53
+       .tag(6).button( BTN_POS(1,6), BTN_SIZE(2,1), GET_TEXT_F(MSG_BED_TEMPERATURE))
54
+       .tag(7).button( BTN_POS(1,7), BTN_SIZE(2,1), GET_TEXT_F(MSG_INTERFACE_SETTINGS))
55
+       .tag(8).button( BTN_POS(1,8), BTN_SIZE(2,1), GET_TEXT_F(MSG_ADVANCED_SETTINGS))
56
+       .tag(9).button( BTN_POS(1,9), BTN_SIZE(2,1), GET_TEXT_F(MSG_INFO_MENU))
57 57
        .colors(action_btn)
58
-       .tag(1).button( BTN_POS(1,10), BTN_SIZE(2,1), GET_TEXT_F(BACK));
58
+       .tag(1).button( BTN_POS(1,10), BTN_SIZE(2,1), GET_TEXT_F(MSG_BACK));
59 59
   }
60 60
 
61 61
   #undef GRID_COLS
@@ -72,7 +72,7 @@ bool MainMenu::onTouchEnd(uint8_t tag) {
72 72
     case 2: GOTO_SCREEN(BioConfirmHomeXYZ);                                              break;
73 73
     case 3: SpinnerDialogBox::enqueueAndWait_P(e_homed ? F("G0 E0 F120") : F("G112"));   break;
74 74
     case 4: StatusScreen::unlockMotors();                                                break;
75
-    case 5: SpinnerDialogBox::enqueueAndWait_P(F(LULZBOT_AXIS_LEVELING_COMMANDS));       break;
75
+    case 5: SpinnerDialogBox::enqueueAndWait_P(F(AXIS_LEVELING_COMMANDS));               break;
76 76
     case 6: GOTO_SCREEN(TemperatureScreen);                                              break;
77 77
     case 7: GOTO_SCREEN(InterfaceSettingsScreen);                                        break;
78 78
     case 8: GOTO_SCREEN(AdvancedSettingsMenu);                                           break;

+ 82
- 0
Marlin/src/lcd/extensible_ui/lib/lulzbot/screens/bio_printer_ui_landscape.h ファイルの表示

@@ -0,0 +1,82 @@
1
+
2
+/****************************************************************************
3
+ *   This program is free software: you can redistribute it and/or modify   *
4
+ *   it under the terms of the GNU General Public License as published by   *
5
+ *   the Free Software Foundation, either version 3 of the License, or      *
6
+ *   (at your option) any later version.                                    *
7
+ *                                                                          *
8
+ *   This program is distributed in the hope that it will be useful,        *
9
+ *   but WITHOUT ANY WARRANTY; without even the implied warranty of         *
10
+ *   MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the          *
11
+ *   GNU General Public License for more details.                           *
12
+ *                                                                          *
13
+ *   To view a copy of the GNU General Public License, go to the following  *
14
+ *   location: <http://www.gnu.org/licenses/>.                              *
15
+ ****************************************************************************/
16
+
17
+/**
18
+ * This file was auto-generated using "svg2cpp.pl"
19
+ *
20
+ * The encoding consists of x,y pairs with the min and max scaled to
21
+ * 0x0000 and 0xFFFE. A single 0xFFFF in the data stream indicates the
22
+ * start of a new closed path.
23
+ */
24
+
25
+#pragma once
26
+
27
+constexpr float x_min = 0.000000;
28
+
29
+constexpr float x_max = 480.000000;
30
+
31
+constexpr float y_min = 0.000000;
32
+
33
+constexpr float y_max = 272.000000;
34
+
35
+const PROGMEM uint16_t z_neg[] = {0x7950, 0x51EA, 0x824E, 0x51EA, 0x824E, 0x71E2, 0x86CD, 0x71E2, 0x7DCF, 0x81DF, 0x74D1, 0x71E2, 0x7950, 0x71E2, 0x7950, 0x51EA};
36
+
37
+const PROGMEM uint16_t z_pos[] = {0x7950, 0x41EE, 0x824E, 0x41EE, 0x824E, 0x21F5, 0x86CD, 0x21F5, 0x7DCF, 0x11F9, 0x74D0, 0x21F5, 0x7950, 0x21F5, 0x7950, 0x41EE};
38
+
39
+const PROGMEM uint16_t y_neg[] = {0x3479, 0x56CF, 0x3EC6, 0x56CF, 0x3747, 0x7281, 0x3C6D, 0x7281, 0x2E61, 0x8059, 0x27D4, 0x7281, 0x2CFA, 0x7281, 0x3479, 0x56CF};
40
+
41
+const PROGMEM uint16_t y_pos[] = {0x3BF9, 0x3B1D, 0x4645, 0x3B1D, 0x4DC4, 0x1F6B, 0x52EB, 0x1F6B, 0x4C5E, 0x1192, 0x3E52, 0x1F6B, 0x4378, 0x1F6B, 0x3BF9, 0x3B1D};
42
+
43
+const PROGMEM uint16_t x_neg[] = {0x350E, 0x4209, 0x314E, 0x4FE2, 0x1CB5, 0x4FE2, 0x1AD6, 0x56CF, 0x1449, 0x48F6, 0x2255, 0x3B1D, 0x2075, 0x4209, 0x350E, 0x4209};
44
+
45
+const PROGMEM uint16_t x_pos[] = {0x498C, 0x4209, 0x45CC, 0x4FE2, 0x5A65, 0x4FE2, 0x5885, 0x56CF, 0x6691, 0x48F6, 0x6004, 0x3B1D, 0x5E25, 0x4209, 0x498C, 0x4209};
46
+
47
+const PROGMEM uint16_t syringe_fluid[] = {0xB4E9, 0x78BE, 0xBB12, 0x7C44, 0xBDE3, 0x7C44, 0xC426, 0x78BE, 0xC426, 0x250D, 0xB4E9, 0x250D, 0xB4E9, 0x78BE};
48
+
49
+const PROGMEM uint16_t syringe[] = {0xB8AD, 0x6BB1, 0xB8AD, 0x6E0C, 0xBE02, 0x6E0C, 0xBE02, 0x6BB1, 0xFFFF, 0xB8AD, 0x6248, 0xB8AD, 0x64A2, 0xBE02, 0x64A2, 0xBE02, 0x6248, 0xFFFF, 0xB8AD, 0x58DF, 0xB8AD, 0x5B39, 0xBE02, 0x5B39, 0xBE02, 0x58DF, 0xFFFF, 0xB8AD, 0x4F75, 0xB8AD, 0x51D0, 0xBE02, 0x51D0, 0xBE02, 0x4F75, 0xFFFF, 0xB8AD, 0x460C, 0xB8AD, 0x4866, 0xBE02, 0x4866, 0xBE02, 0x460C, 0xFFFF, 0xB8AD, 0x3CA3, 0xB8AD, 0x3EFD, 0xBE02, 0x3EFD, 0xBE02, 0x3CA3, 0xFFFF, 0xB8AD, 0x3339, 0xB8AD, 0x3594, 0xBE02, 0x3594, 0xBE02, 0x3339, 0xFFFF, 0xB396, 0x110A, 0xB396, 0x1818, 0xB995, 0x1818, 0xB995, 0x22AD, 0xB396, 0x22AD, 0xB396, 0x7ADA, 0xB995, 0x7E61, 0xB995, 0x88F5, 0xBB95, 0x88F5, 0xBB95, 0xA8B4, 0xBD94, 0xAC3B, 0xBD94, 0x88F5, 0xBF94, 0x88F5, 0xBF94, 0x7E61, 0xC593, 0x7ADA, 0xC593, 0x22AD, 0xBF94, 0x22AD, 0xBF94, 0x1818, 0xC593, 0x1818, 0xC593, 0x110A, 0xFFFF, 0xBB95, 0x1818, 0xBD94, 0x1818, 0xBD94, 0x22AD, 0xBB95, 0x22AD, 0xBB95, 0x1818, 0xFFFF, 0xB596, 0x2634, 0xC393, 0x2634, 0xC393, 0x7753, 0xBD94, 0x7ADA, 0xBB95, 0x7ADA, 0xB596, 0x7753, 0xB596, 0x2634};
50
+
51
+const PROGMEM uint16_t syringe_outline[] = {0xB396, 0x110A, 0xB396, 0x1818, 0xB995, 0x1818, 0xB995, 0x22AD, 0xB396, 0x22AD, 0xB396, 0x7ADA, 0xB995, 0x7E61, 0xB995, 0x88F5, 0xBB95, 0x88F5, 0xBB95, 0xA8B4, 0xBD94, 0xAC3B, 0xBD94, 0x88F5, 0xBF94, 0x88F5, 0xBF94, 0x7E61, 0xC593, 0x7ADA, 0xC593, 0x22AD, 0xBF94, 0x22AD, 0xBF94, 0x1818, 0xC593, 0x1818, 0xC593, 0x110A, 0xB396, 0x110A};
52
+
53
+const PROGMEM uint16_t padlock[] = {0x3FE3, 0x2A04, 0x3D34, 0x2AF9, 0x3AFF, 0x2D93, 0x397D, 0x316D, 0x38E8, 0x3626, 0x38E8, 0x3A14, 0x39B3, 0x3C8F, 0x3B50, 0x3C8F, 0x3C1C, 0x3A14, 0x3C1C, 0x363C, 0x3C6B, 0x33A9, 0x3D3A, 0x3193, 0x3E6C, 0x302D, 0x3FE3, 0x2FAA, 0x415A, 0x302D, 0x428C, 0x3192, 0x435B, 0x33A8, 0x43AB, 0x363C, 0x43AB, 0x4492, 0x38C3, 0x4492, 0x3741, 0x45AC, 0x36A1, 0x4856, 0x36A1, 0x5C41, 0x3741, 0x5EEC, 0x38C3, 0x6005, 0x4703, 0x6005, 0x4886, 0x5EEC, 0x4925, 0x5C41, 0x4925, 0x4856, 0x4886, 0x45AC, 0x4703, 0x4492, 0x46DE, 0x362B, 0x4649, 0x316D, 0x44C7, 0x2D92, 0x4292, 0x2AF9};
54
+
55
+const PROGMEM uint16_t home_z[] = {0x80BB, 0x2B43, 0x712C, 0x46B9, 0x750F, 0x46B9, 0x750F, 0x622F, 0x7CD7, 0x622F, 0x7CD7, 0x5474, 0x849F, 0x5474, 0x849F, 0x622F, 0x8C67, 0x622F, 0x8C67, 0x46B9, 0x904B, 0x46B9, 0x8A48, 0x3C1D, 0x8A48, 0x2ECD, 0x8664, 0x2ECD, 0x8664, 0x3540};
56
+
57
+const PROGMEM uint16_t usb_btn[] = {0x0558, 0xC0D6, 0x44A4, 0xC0D6, 0x44A4, 0xF431, 0x0558, 0xF431, 0x0558, 0xC0D6};
58
+
59
+const PROGMEM uint16_t menu_btn[] = {0x4B18, 0xC0D6, 0x8A64, 0xC0D6, 0x8A64, 0xF431, 0x4B18, 0xF431, 0x4B18, 0xC0D6};
60
+
61
+const PROGMEM uint16_t e_pos[] = {0xE04E, 0x5E7B, 0xE94C, 0x5E7B, 0xE94C, 0x7E74, 0xEDCB, 0x7E74, 0xE4CD, 0x8E70, 0xDBCF, 0x7E74, 0xE04E, 0x7E74, 0xE04E, 0x5E7B};
62
+
63
+const PROGMEM uint16_t e_neg[] = {0xE04E, 0x4E7F, 0xE94C, 0x4E7F, 0xE94C, 0x2E87, 0xEDCB, 0x2E87, 0xE4CD, 0x1E8A, 0xDBCF, 0x2E87, 0xE04E, 0x2E87, 0xE04E, 0x4E7F};
64
+
65
+const PROGMEM uint16_t home_e[] = {0xD705, 0x3885, 0xC775, 0x53FB, 0xCB59, 0x53FB, 0xCB59, 0x6F71, 0xD321, 0x6F71, 0xD321, 0x61B6, 0xDAE9, 0x61B6, 0xDAE9, 0x6F71, 0xE2B1, 0x6F71, 0xE2B1, 0x53FB, 0xE695, 0x53FB, 0xE092, 0x495F, 0xE092, 0x3C0E, 0xDCAE, 0x3C0E, 0xDCAE, 0x4281};
66
+
67
+const PROGMEM uint16_t fine_label[] = {0x0D92, 0x9444, 0x5211, 0x9444, 0x5211, 0xA9EA, 0x0D92, 0xA9EA};
68
+
69
+const PROGMEM uint16_t fine_toggle[] = {0x56E7, 0x9444, 0x8007, 0x9444, 0x8007, 0xA9EA, 0x56E7, 0xA9EA};
70
+
71
+const PROGMEM uint16_t zone2_temp[] = {0xC620, 0xD35A, 0xFD0E, 0xD35A, 0xFD0E, 0xF075, 0xC620, 0xF075};
72
+
73
+const PROGMEM uint16_t zone1_temp[] = {0x8E04, 0xD35A, 0xC4F3, 0xD35A, 0xC4F3, 0xF075, 0x8E04, 0xF075};
74
+
75
+const PROGMEM uint16_t zone2_label[] = {0xC620, 0xB4AD, 0xFD0A, 0xB4AD, 0xFD0A, 0xD1C8, 0xC620, 0xD1C8};
76
+
77
+const PROGMEM uint16_t zone1_label[] = {0x8E04, 0xB4AD, 0xC4F3, 0xB4AD, 0xC4F3, 0xD1C8, 0x8E04, 0xD1C8};
78
+
79
+const PROGMEM uint16_t actual_temp[] = {0xCDF6, 0xD037, 0xF7CA, 0xD037, 0xF7CA, 0xF424, 0xCDF6, 0xF424};
80
+
81
+const PROGMEM uint16_t bed_icon[] = {0xCDF6, 0xA5CC, 0xF7CA, 0xA5CC, 0xF7CA, 0xC9B9, 0xCDF6, 0xC9B9};
82
+

Marlin/src/lcd/extensible_ui/lib/lulzbot/screens/bio_printer_ui.h → Marlin/src/lcd/extensible_ui/lib/lulzbot/screens/bio_printer_ui_portrait.h ファイルの表示


+ 1
- 1
Marlin/src/lcd/extensible_ui/lib/lulzbot/screens/bio_printing_dialog_box.cpp ファイルの表示

@@ -22,7 +22,7 @@
22 22
 
23 23
 #include "../config.h"
24 24
 
25
-#if ENABLED(LULZBOT_TOUCH_UI) && defined(LULZBOT_USE_BIOPRINTER_UI)
25
+#if ENABLED(LULZBOT_TOUCH_UI) && defined(TOUCH_UI_LULZBOT_BIO)
26 26
 
27 27
 #include "screens.h"
28 28
 

+ 155
- 56
Marlin/src/lcd/extensible_ui/lib/lulzbot/screens/bio_status_screen.cpp ファイルの表示

@@ -5,6 +5,7 @@
5 5
 /****************************************************************************
6 6
  *   Written By Mark Pelletier  2017 - Aleph Objects, Inc.                  *
7 7
  *   Written By Marcio Teixeira 2018 - Aleph Objects, Inc.                  *
8
+ *   Written By Marcio Teixeira 2019 - Cocoa Press                          *
8 9
  *                                                                          *
9 10
  *   This program is free software: you can redistribute it and/or modify   *
10 11
  *   it under the terms of the GNU General Public License as published by   *
@@ -22,12 +23,17 @@
22 23
 
23 24
 #include "../config.h"
24 25
 
25
-#if ENABLED(LULZBOT_TOUCH_UI) && defined(LULZBOT_USE_BIOPRINTER_UI)
26
+#if ENABLED(LULZBOT_TOUCH_UI) && (ENABLED(TOUCH_UI_LULZBOT_BIO) || ENABLED(TOUCH_UI_COCOA_PRESS))
26 27
 
27 28
 #include "screens.h"
28 29
 
29 30
 #include "../ftdi_eve_lib/extras/poly_ui.h"
30
-#include "bio_printer_ui.h"
31
+
32
+#ifdef TOUCH_UI_PORTRAIT
33
+  #include "bio_printer_ui_portrait.h"
34
+#else
35
+  #include "bio_printer_ui_landscape.h"
36
+#endif
31 37
 
32 38
 #define GRID_COLS 2
33 39
 #define GRID_ROWS 9
@@ -64,22 +70,46 @@ void StatusScreen::draw_temperature(draw_mode_t what) {
64 70
   if (what & BACKGROUND) {
65 71
     cmd.cmd(COLOR_RGB(bg_color));
66 72
 
67
-    // Draw touch surfaces
68
-    ui.bounds(POLY(target_temp), x, y, h, v);
69
-    cmd.rectangle(x, y, h, v);
70
-    ui.bounds(POLY(actual_temp), x, y, h, v);
71
-    cmd.rectangle(x, y, h, v);
72
-    ui.bounds(POLY(bed_icon), x, y, h, v);
73
-    cmd.rectangle(x, y, h, v);
74
-
75
-    // Draw bed icon
76
-    cmd.cmd(BITMAP_SOURCE(Bed_Heat_Icon_Info))
77
-       .cmd(BITMAP_LAYOUT(Bed_Heat_Icon_Info))
78
-       .cmd(BITMAP_SIZE  (Bed_Heat_Icon_Info))
79
-       .cmd(COLOR_RGB(shadow_rgb))
80
-       .icon (x + 2, y + 2, h, v, Bed_Heat_Icon_Info, icon_scale * 2)
81
-       .cmd(COLOR_RGB(bg_text_enabled))
82
-       .icon (x, y, h, v, Bed_Heat_Icon_Info, icon_scale * 2);
73
+    #if ENABLED(TOUCH_UI_LULZBOT_BIO)
74
+       // The LulzBot Bio shows the temperature for
75
+       // the bed.
76
+      
77
+      #ifdef TOUCH_UI_PORTRAIT
78
+        // Draw touch surfaces
79
+        ui.bounds(POLY(target_temp), x, y, h, v);
80
+        cmd.rectangle(x, y, h, v);
81
+        ui.bounds(POLY(actual_temp), x, y, h, v);
82
+        cmd.rectangle(x, y, h, v);
83
+      #else
84
+        ui.bounds(POLY(bed_temp), x, y, h, v);
85
+        cmd.rectangle(x, y, h, v);
86
+      #endif
87
+      ui.bounds(POLY(bed_icon), x, y, h, v);
88
+      cmd.rectangle(x, y, h, v);
89
+    
90
+      // Draw bed icon
91
+      cmd.cmd(BITMAP_SOURCE(Bed_Heat_Icon_Info))
92
+         .cmd(BITMAP_LAYOUT(Bed_Heat_Icon_Info))
93
+         .cmd(BITMAP_SIZE  (Bed_Heat_Icon_Info))
94
+         .cmd(COLOR_RGB(shadow_rgb))
95
+         .icon (x + 2, y + 2, h, v, Bed_Heat_Icon_Info, icon_scale * 2)
96
+         .cmd(COLOR_RGB(bg_text_enabled))
97
+         .icon (x, y, h, v, Bed_Heat_Icon_Info, icon_scale * 2);
98
+    #endif
99
+    
100
+    #if ENABLED(TOUCH_UI_COCOA_PRESS)
101
+      // The CocoaPress shows the temperature for two
102
+      // heating zones, but has no bed temperature
103
+      
104
+      cmd.cmd(COLOR_RGB(bg_text_enabled));
105
+      cmd.font(font_medium);
106
+      
107
+      ui.bounds(POLY(zone1_label), x, y, h, v);
108
+      cmd.text(x, y, h, v, GET_TEXT_F(MSG_ZONE_1));
109
+      
110
+      ui.bounds(POLY(zone2_label), x, y, h, v);
111
+      cmd.text(x, y, h, v, GET_TEXT_F(MSG_ZONE_2));
112
+    #endif
83 113
 
84 114
     #ifdef TOUCH_UI_USE_UTF8
85 115
       load_utf8_bitmaps(cmd); // Restore font bitmap handles
@@ -87,33 +117,71 @@ void StatusScreen::draw_temperature(draw_mode_t what) {
87 117
   }
88 118
 
89 119
   if (what & FOREGROUND) {
90
-    char bed_str[15];
91
-
92
-    cmd.font(font_xlarge)
93
-       .cmd(COLOR_RGB(bg_text_enabled));
94
-
95
-    if (!isHeaterIdle(BED) && getTargetTemp_celsius(BED) > 0)
96
-      format_temp(bed_str, getTargetTemp_celsius(BED));
97
-    else
98
-      strcpy_P(bed_str, PSTR(MSG_BED));
99
-
100
-    ui.bounds(POLY(target_temp), x, y, h, v);
101
-    cmd.text(x, y, h, v, bed_str);
102
-
103
-    format_temp(bed_str, getActualTemp_celsius(BED));
104
-    ui.bounds(POLY(actual_temp), x, y, h, v);
105
-    cmd.text(x, y, h, v, bed_str);
120
+    char str[15];
121
+    cmd.cmd(COLOR_RGB(bg_text_enabled));
122
+    #if ENABLED(TOUCH_UI_LULZBOT_BIO)
123
+      cmd.font(font_medium);
124
+       
125
+      #ifdef TOUCH_UI_PORTRAIT
126
+        if (!isHeaterIdle(BED) && getTargetTemp_celsius(BED) > 0)
127
+          format_temp(str, getTargetTemp_celsius(BED));
128
+        else
129
+          strcpy_P(str, GET_TEXT(MSG_BED));
130
+    
131
+        ui.bounds(POLY(target_temp), x, y, h, v);
132
+        cmd.text(x, y, h, v, str);
133
+
134
+        format_temp(str, getActualTemp_celsius(BED));
135
+        ui.bounds(POLY(actual_temp), x, y, h, v);
136
+        cmd.text(x, y, h, v, str);
137
+      #else
138
+        if (!isHeaterIdle(BED) && getTargetTemp_celsius(BED) > 0)
139
+          format_temp_and_temp(str, getActualTemp_celsius(BED), getTargetTemp_celsius(BED));
140
+        else
141
+          format_temp_and_idle(str, getActualTemp_celsius(BED));
142
+        
143
+        ui.bounds(POLY(bed_temp), x, y, h, v);
144
+        cmd.text(x, y, h, v, str);
145
+      #endif
146
+    #endif
147
+    
148
+    #if ENABLED(TOUCH_UI_COCOA_PRESS)
149
+      // The CocoaPress shows the temperature for two
150
+      // heating zones, but has no bed temperature
151
+      
152
+      cmd.font(font_large);
153
+      
154
+      if (!isHeaterIdle(E0) && getTargetTemp_celsius(E0) > 0)
155
+        format_temp_and_temp(str, getActualTemp_celsius(E0), getTargetTemp_celsius(E0));
156
+      else
157
+        format_temp_and_idle(str, getActualTemp_celsius(E0));
158
+      
159
+      ui.bounds(POLY(zone1_temp), x, y, h, v);
160
+      cmd.text(x, y, h, v, str);
161
+      
162
+      if (!isHeaterIdle(E1) && getTargetTemp_celsius(E1) > 0)
163
+        format_temp_and_temp(str, getActualTemp_celsius(E1), getTargetTemp_celsius(E1));
164
+      else
165
+        format_temp_and_idle(str, getActualTemp_celsius(E1));
166
+      
167
+      ui.bounds(POLY(zone2_temp), x, y, h, v);
168
+      cmd.text(x, y, h, v, str);
169
+    #endif
106 170
   }
107 171
 }
108 172
 
109 173
 void StatusScreen::draw_syringe(draw_mode_t what) {
110 174
   int16_t x, y, h, v;
111
-  #ifdef LULZBOT_E_TRAVEL_LIMIT
112
-    const float fill_level = 1.0 - min(1.0, max(0.0, getAxisPosition_mm(E0) / LULZBOT_E_TRAVEL_LIMIT));
175
+  #ifdef E_MAX_POS
176
+    const float fill_level = 1.0 - min(1.0, max(0.0, getAxisPosition_mm(E0) / E_MAX_POS));
113 177
   #else
114 178
     const float fill_level = 0.75;
115 179
   #endif
116
-  const bool  e_homed = isAxisPositionKnown(E0);
180
+  #if ENABLED(TOUCH_UI_LULZBOT_BIO)
181
+    const bool  e_homed = isAxisPositionKnown(E0);
182
+  #else
183
+    const bool  e_homed = true;
184
+  #endif
117 185
 
118 186
   CommandProcessor cmd;
119 187
   PolyUI ui(cmd, what);
@@ -143,7 +211,11 @@ void StatusScreen::draw_syringe(draw_mode_t what) {
143 211
 }
144 212
 
145 213
 void StatusScreen::draw_arrows(draw_mode_t what) {
146
-  const bool  e_homed = isAxisPositionKnown(E0);
214
+  #if ENABLED(TOUCH_UI_LULZBOT_BIO)
215
+    const bool  e_homed = isAxisPositionKnown(E0);
216
+  #else
217
+    const bool  e_homed = true;
218
+  #endif
147 219
   const bool  z_homed = isAxisPositionKnown(Z);
148 220
 
149 221
   CommandProcessor cmd;
@@ -176,25 +248,34 @@ void StatusScreen::draw_fine_motion(draw_mode_t what) {
176 248
   CommandProcessor cmd;
177 249
   PolyUI ui(cmd, what);
178 250
 
179
-  cmd.font(font_medium)
180
-     .tag(16);
251
+  cmd.font(
252
+    #ifdef TOUCH_UI_PORTRAIT
253
+      font_medium
254
+    #else
255
+      font_small
256
+    #endif
257
+  )
258
+  .tag(16); 
181 259
 
182 260
   if (what & BACKGROUND) {
183
-
184 261
     ui.bounds(POLY(fine_label), x, y, h, v);
185 262
     cmd.cmd(COLOR_RGB(bg_text_enabled))
186
-       .text(x, y, h, v, GET_TEXT_F(FINE_MOTION));
263
+       .text(x, y, h, v, GET_TEXT_F(MSG_FINE_MOTION));
187 264
   }
188 265
 
189 266
   if (what & FOREGROUND) {
190 267
     ui.bounds(POLY(fine_toggle), x, y, h, v);
191 268
     cmd.colors(ui_toggle)
192
-       .toggle2(x, y, h, v, GET_TEXT_F(NO), GET_TEXT_F(YES), fine_motion);
269
+       .toggle2(x, y, h, v, GET_TEXT_F(MSG_NO), GET_TEXT_F(MSG_YES), fine_motion);
193 270
   }
194 271
 }
195 272
 
196 273
 void StatusScreen::draw_overlay_icons(draw_mode_t what) {
197
-  const bool  e_homed = isAxisPositionKnown(E0);
274
+  #if ENABLED(TOUCH_UI_LULZBOT_BIO)
275
+    const bool  e_homed = isAxisPositionKnown(E0);
276
+  #else
277
+    const bool  e_homed = true;
278
+  #endif
198 279
   const bool  z_homed = isAxisPositionKnown(Z);
199 280
 
200 281
   CommandProcessor cmd;
@@ -211,22 +292,27 @@ void StatusScreen::draw_overlay_icons(draw_mode_t what) {
211 292
   }
212 293
 }
213 294
 
214
-void StatusScreen::draw_buttons(draw_mode_t) {
295
+void StatusScreen::draw_buttons(draw_mode_t what) {
296
+  int16_t x, y, h, v;
297
+  
215 298
   const bool has_media = isMediaInserted() && !isPrintingFromMedia();
216 299
 
217 300
   CommandProcessor cmd;
218
-
301
+  PolyUI ui(cmd, what);
302
+  
303
+  ui.bounds(POLY(usb_btn), x, y, h, v);
219 304
   cmd.font(font_medium)
220 305
      .colors(normal_btn)
221 306
      .enabled(has_media)
222 307
      .colors(has_media ? action_btn : normal_btn)
223
-     .tag(9).button(BTN_POS(1,9), BTN_SIZE(1,1),
308
+     .tag(9).button(x, y, h, v,
224 309
         isPrintingFromMedia() ?
225
-          GET_TEXT_F(PRINTING) :
226
-          GET_TEXT_F(MEDIA)
310
+          GET_TEXT_F(MSG_PRINTING) :
311
+          GET_TEXT_F(MSG_BUTTON_MEDIA)
227 312
       );
228
-
229
-  cmd.colors(!has_media ? action_btn : normal_btn).tag(10).button(BTN_POS(2,9), BTN_SIZE(1,1), GET_TEXT_F(MENU));
313
+      
314
+  ui.bounds(POLY(menu_btn), x, y, h, v);
315
+  cmd.colors(!has_media ? action_btn : normal_btn).tag(10).button(x, y, h, v, GET_TEXT_F(MSG_BUTTON_MENU));
230 316
 }
231 317
 
232 318
 void StatusScreen::loadBitmaps() {
@@ -280,7 +366,9 @@ bool StatusScreen::onTouchEnd(uint8_t tag) {
280 366
       break;
281 367
     case  9: GOTO_SCREEN(FilesScreen); break;
282 368
     case 10: GOTO_SCREEN(MainMenu); break;
283
-    case 13: GOTO_SCREEN(BioConfirmHomeE); break;
369
+    #if ENABLED(TOUCH_UI_LULZBOT_BIO)
370
+      case 13: GOTO_SCREEN(BioConfirmHomeE); break;
371
+    #endif
284 372
     case 14: SpinnerDialogBox::enqueueAndWait_P(F("G28 Z")); break;
285 373
     case 15: GOTO_SCREEN(TemperatureScreen);  break;
286 374
     case 16: fine_motion = !fine_motion; break;
@@ -320,19 +408,30 @@ bool StatusScreen::onTouchHeld(uint8_t tag) {
320 408
 }
321 409
 
322 410
 void StatusScreen::setStatusMessage(progmem_str pstr) {
323
-  BioPrintingDialogBox::setStatusMessage(pstr);
411
+  #if defined(TOUCH_UI_LULZBOT_BIO)
412
+    BioPrintingDialogBox::setStatusMessage(pstr);
413
+  #else
414
+    UNUSED(pstr);
415
+  #endif
324 416
 }
325 417
 
326 418
 void StatusScreen::setStatusMessage(const char * const str) {
327
-  BioPrintingDialogBox::setStatusMessage(str);
419
+  #if defined(TOUCH_UI_LULZBOT_BIO)
420
+    BioPrintingDialogBox::setStatusMessage(str);
421
+  #else
422
+    UNUSED(str);
423
+  #endif
328 424
 }
329 425
 
330 426
 void StatusScreen::onIdle() {
427
+  reset_menu_timeout();
331 428
   if (refresh_timer.elapsed(STATUS_UPDATE_INTERVAL)) {
332 429
     if (!EventLoop::is_touch_held())
333 430
       onRefresh();
334
-    if (isPrintingFromMedia())
335
-      BioPrintingDialogBox::show();
431
+    #if defined(TOUCH_UI_LULZBOT_BIO)
432
+      if (isPrintingFromMedia())
433
+        BioPrintingDialogBox::show();
434
+    #endif
336 435
     refresh_timer.start();
337 436
   }
338 437
 }

+ 9
- 9
Marlin/src/lcd/extensible_ui/lib/lulzbot/screens/bio_tune_menu.cpp ファイルの表示

@@ -22,7 +22,7 @@
22 22
 
23 23
 #include "../config.h"
24 24
 
25
-#if ENABLED(LULZBOT_TOUCH_UI) && defined(LULZBOT_USE_BIOPRINTER_UI)
25
+#if ENABLED(LULZBOT_TOUCH_UI) && defined(TOUCH_UI_LULZBOT_BIO)
26 26
 
27 27
 #include "screens.h"
28 28
 
@@ -41,25 +41,25 @@ void TuneMenu::onRedraw(draw_mode_t what) {
41 41
        .cmd(COLOR_RGB(bg_text_enabled))
42 42
        .tag(0)
43 43
        .font(font_large)
44
-       .text( BTN_POS(1,1), BTN_SIZE(2,1), GET_TEXT_F(PRINT_MENU));
44
+       .text( BTN_POS(1,1), BTN_SIZE(2,1), GET_TEXT_F(MSG_PRINT_MENU));
45 45
   }
46 46
 
47 47
   if (what & FOREGROUND) {
48 48
     CommandProcessor cmd;
49 49
     cmd.colors(normal_btn)
50 50
        .font(font_medium)
51
-       .enabled( isPrinting()).tag(2).button( BTN_POS(1,2), BTN_SIZE(2,1), GET_TEXT_F(PRINT_SPEED))
52
-                              .tag(3).button( BTN_POS(1,3), BTN_SIZE(2,1), GET_TEXT_F(BED_TEMPERATURE))
51
+       .enabled( isPrinting()).tag(2).button( BTN_POS(1,2), BTN_SIZE(2,1), GET_TEXT_F(MSG_PRINT_SPEED))
52
+                              .tag(3).button( BTN_POS(1,3), BTN_SIZE(2,1), GET_TEXT_F(MSG_BED_TEMPERATURE))
53 53
         #if ENABLED(BABYSTEPPING)
54 54
           .enabled(true)
55 55
         #else
56 56
           .enabled(false)
57 57
         #endif
58
-                              .tag(4).button( BTN_POS(1,4), BTN_SIZE(2,1), GET_TEXT_F(NUDGE_NOZZLE))
59
-       .enabled(!isPrinting()).tag(5).button( BTN_POS(1,5), BTN_SIZE(2,1), GET_TEXT_F(MOVE_TO_HOME))
60
-       .enabled(!isPrinting()).tag(6).button( BTN_POS(1,6), BTN_SIZE(2,1), GET_TEXT_F(RAISE_PLUNGER))
61
-       .enabled(!isPrinting()).tag(7).button( BTN_POS(1,7), BTN_SIZE(2,1), GET_TEXT_F(RELEASE_XY_AXIS))
62
-       .colors(action_btn)    .tag(1).button( BTN_POS(1,8), BTN_SIZE(2,1), GET_TEXT_F(BACK));
58
+                              .tag(4).button( BTN_POS(1,4), BTN_SIZE(2,1), GET_TEXT_F(MSG_NUDGE_NOZZLE))
59
+       .enabled(!isPrinting()).tag(5).button( BTN_POS(1,5), BTN_SIZE(2,1), GET_TEXT_F(MSG_MOVE_TO_HOME))
60
+       .enabled(!isPrinting()).tag(6).button( BTN_POS(1,6), BTN_SIZE(2,1), GET_TEXT_F(MSG_RAISE_PLUNGER))
61
+       .enabled(!isPrinting()).tag(7).button( BTN_POS(1,7), BTN_SIZE(2,1), GET_TEXT_F(MSG_RELEASE_XY_AXIS))
62
+       .colors(action_btn)    .tag(1).button( BTN_POS(1,8), BTN_SIZE(2,1), GET_TEXT_F(MSG_BACK));
63 63
   }
64 64
   #undef GRID_COLS
65 65
   #undef GRID_ROWS

+ 19
- 15
Marlin/src/lcd/extensible_ui/lib/lulzbot/screens/boot_screen.cpp ファイルの表示

@@ -5,6 +5,7 @@
5 5
 /****************************************************************************
6 6
  *   Written By Mark Pelletier  2017 - Aleph Objects, Inc.                  *
7 7
  *   Written By Marcio Teixeira 2018 - Aleph Objects, Inc.                  *
8
+ *   Written By Marcio Teixeira 2019 - Cocoa Press                          *
8 9
  *                                                                          *
9 10
  *   This program is free software: you can redistribute it and/or modify   *
10 11
  *   it under the terms of the GNU General Public License as published by   *
@@ -29,10 +30,18 @@
29 30
 #include "../ftdi_eve_lib/extras/poly_ui.h"
30 31
 #include "../archim2-flash/flash_storage.h"
31 32
 
32
-#ifdef TOUCH_UI_PORTRAIT
33
-  #include "../theme/bootscreen_logo_portrait.h"
33
+#ifdef SHOW_CUSTOM_BOOTSCREEN
34
+  #ifdef TOUCH_UI_PORTRAIT
35
+    #include "../theme/_bootscreen_portrait.h"
36
+  #else
37
+    #include "../theme/_bootscreen_landscape.h"
38
+  #endif
34 39
 #else
35
-  #include "../theme/bootscreen_logo_landscape.h"
40
+  #ifdef TOUCH_UI_PORTRAIT
41
+    #include "../theme/marlin_bootscreen_portrait.h"
42
+  #else
43
+    #include "../theme/marlin_bootscreen_landscape.h"
44
+  #endif
36 45
 #endif
37 46
 
38 47
 using namespace FTDI;
@@ -62,10 +71,11 @@ void BootScreen::onIdle() {
62 71
     GOTO_SCREEN(TouchCalibrationScreen);
63 72
     current_screen.forget();
64 73
     PUSH_SCREEN(StatusScreen);
74
+    StatusScreen::setStatusMessage(GET_TEXT_F(WELCOME_MSG));
65 75
   } else {
66 76
     if (!UIFlashStorage::is_valid()) {
67 77
       StatusScreen::loadBitmaps();
68
-      SpinnerDialogBox::show(GET_TEXT_F(PLEASE_WAIT));
78
+      SpinnerDialogBox::show(GET_TEXT_F(MSG_PLEASE_WAIT));
69 79
       UIFlashStorage::format_flash();
70 80
       SpinnerDialogBox::hide();
71 81
     }
@@ -79,7 +89,7 @@ void BootScreen::onIdle() {
79 89
 
80 90
     StatusScreen::loadBitmaps();
81 91
 
82
-    #ifdef LULZBOT_USE_BIOPRINTER_UI
92
+    #ifdef TOUCH_UI_LULZBOT_BIO
83 93
       GOTO_SCREEN(BioConfirmHomeXYZ);
84 94
       current_screen.forget();
85 95
       PUSH_SCREEN(StatusScreen);
@@ -97,21 +107,15 @@ void BootScreen::onIdle() {
97 107
 void BootScreen::showSplashScreen() {
98 108
   CommandProcessor cmd;
99 109
   cmd.cmd(CMD_DLSTART);
100
-  cmd.cmd(CLEAR_COLOR_RGB(logo_bg));
110
+  cmd.cmd(CLEAR_COLOR_RGB(LOGO_BACKGROUND));
101 111
   cmd.cmd(CLEAR(true,true,true));
102 112
 
103 113
   #define POLY(A) PolyUI::poly_reader_t(A, sizeof(A)/sizeof(A[0]))
104
-
114
+  #define LOGO_PAINT_PATH(rgb, path) cmd.cmd(COLOR_RGB(rgb)); ui.fill(POLY(path));
115
+  
105 116
   PolyUI ui(cmd);
106 117
 
107
-  cmd.cmd(COLOR_RGB(logo_fg));
108
-  ui.fill(POLY(logo_green));
109
-  cmd.cmd(COLOR_RGB(logo_stroke));
110
-  ui.fill(POLY(logo_black));
111
-  ui.fill(POLY(logo_type));
112
-  ui.fill(POLY(logo_mark));
113
-  cmd.cmd(COLOR_RGB(0xFFFFFF));
114
-  ui.fill(POLY(logo_white));
118
+  LOGO_PAINT_PATHS
115 119
 
116 120
   cmd.cmd(DL::DL_DISPLAY);
117 121
   cmd.cmd(CMD_SWAP);

+ 44
- 23
Marlin/src/lcd/extensible_ui/lib/lulzbot/screens/change_filament_screen.cpp ファイルの表示

@@ -88,6 +88,9 @@ void ChangeFilamentScreen::onEntry() {
88 88
   screen_data.ChangeFilamentScreen.t_tag = 0;
89 89
   screen_data.ChangeFilamentScreen.repeat_tag = 0;
90 90
   screen_data.ChangeFilamentScreen.saved_extruder = getActiveTool();
91
+  #if FILAMENT_UNLOAD_PURGE_LENGTH > 0
92
+    screen_data.ChangeFilamentScreen.need_purge = true;
93
+  #endif
91 94
 }
92 95
 
93 96
 void ChangeFilamentScreen::onExit() {
@@ -114,14 +117,14 @@ void ChangeFilamentScreen::onRedraw(draw_mode_t what) {
114 117
     #else
115 118
        .font(font_medium)
116 119
     #endif
117
-       .text(BTN_POS(1,1), BTN_SIZE(2,1), GET_TEXT_F(EXTRUDER_SELECTION))
120
+       .text(BTN_POS(1,1), BTN_SIZE(2,1), GET_TEXT_F(MSG_EXTRUDER_SELECTION))
118 121
     #ifdef TOUCH_UI_PORTRAIT
119 122
        .text(BTN_POS(1,7), BTN_SIZE(1,1), F(""))
120 123
     #else
121
-       .text(BTN_POS(3,1), BTN_SIZE(2,1), GET_TEXT_F(CURRENT_TEMPERATURE))
124
+       .text(BTN_POS(3,1), BTN_SIZE(2,1), GET_TEXT_F(MSG_CURRENT_TEMPERATURE))
122 125
        .font(font_small)
123 126
     #endif
124
-       .text(BTN_POS(1,3), BTN_SIZE(2,1), GET_TEXT_F(REMOVAL_TEMPERATURE));
127
+       .text(BTN_POS(1,3), BTN_SIZE(2,1), GET_TEXT_F(MSG_REMOVAL_TEMPERATURE));
125 128
     drawTempGradient(BTN_POS(1,4), BTN_SIZE(1,3));
126 129
   }
127 130
 
@@ -154,12 +157,12 @@ void ChangeFilamentScreen::onRedraw(draw_mode_t what) {
154 157
     const bool t_ok = getActualTemp_celsius(e) > getSoftenTemp() - 10;
155 158
 
156 159
     if (screen_data.ChangeFilamentScreen.t_tag && !t_ok) {
157
-      cmd.text(BTN_POS(1,6), BTN_SIZE(1,1), GET_TEXT_F(HEATING));
160
+      cmd.text(BTN_POS(1,6), BTN_SIZE(1,1), GET_TEXT_F(MSG_HEATING));
158 161
     } else if (getActualTemp_celsius(e) > 100) {
159 162
       cmd.cmd(COLOR_RGB(0xFF0000))
160
-         .text(BTN_POS(1,4), BTN_SIZE(1,1), GET_TEXT_F(CAUTION))
163
+         .text(BTN_POS(1,4), BTN_SIZE(1,1), GET_TEXT_F(MSG_CAUTION))
161 164
          .colors(normal_btn)
162
-         .text(BTN_POS(1,6), BTN_SIZE(1,1), GET_TEXT_F(HOT));
165
+         .text(BTN_POS(1,6), BTN_SIZE(1,1), GET_TEXT_F(MSG_HOT));
163 166
     }
164 167
 
165 168
     #define TOG_STYLE(A) colors(A ? action_btn : normal_btn)
@@ -200,13 +203,13 @@ void ChangeFilamentScreen::onRedraw(draw_mode_t what) {
200 203
     {
201 204
       char str[30];
202 205
 
203
-      format_temp_and_material(str, LOW_TEMP, GET_TEXT(MATERIAL_PLA));
206
+      format_temp_and_material(str, LOW_TEMP, GET_TEXT(MSG_MATERIAL_PLA));
204 207
       cmd.tag(2) .TOG_STYLE(tog2) .button (BTN_POS(2,6), BTN_SIZE(1,1), str);
205 208
 
206
-      format_temp_and_material(str, MED_TEMP, GET_TEXT(MATERIAL_ABS));
209
+      format_temp_and_material(str, MED_TEMP, GET_TEXT(MSG_MATERIAL_ABS));
207 210
       cmd.tag(3) .TOG_STYLE(tog3) .button (BTN_POS(2,5), BTN_SIZE(1,1), str);
208 211
 
209
-      format_temp_and_material(str, HIGH_TEMP, GET_TEXT(MATERIAL_HIGH_TEMP));
212
+      format_temp_and_material(str, HIGH_TEMP, GET_TEXT(MSG_MATERIAL_HIGH_TEMP));
210 213
       cmd.tag(4) .TOG_STYLE(tog4) .button (BTN_POS(2,4), BTN_SIZE(1,1), str);
211 214
     }
212 215
     cmd.colors(normal_btn)
@@ -221,23 +224,23 @@ void ChangeFilamentScreen::onRedraw(draw_mode_t what) {
221 224
     .cmd(COLOR_RGB(t_ok ? bg_text_enabled : bg_text_disabled))
222 225
     #ifdef TOUCH_UI_PORTRAIT
223 226
        .font(font_large)
224
-       .tag(0)                              .text   (BTN_POS(1,8),  BTN_SIZE(1,1), GET_TEXT_F(UNLOAD_FILAMENT))
225
-                                            .text   (BTN_POS(2,8),  BTN_SIZE(1,1), GET_TEXT_F(LOAD_FILAMENT))
226
-       .tag(5)                .enabled(t_ok).button (BTN_POS(1,9),  BTN_SIZE(1,1), GET_TEXT_F(MOMENTARY))
227
-       .tag(6)                .enabled(t_ok).button (BTN_POS(2,9),  BTN_SIZE(1,1), GET_TEXT_F(MOMENTARY))
228
-       .tag(7).TOG_STYLE(tog7).enabled(t_ok).button (BTN_POS(1,10), BTN_SIZE(1,1), GET_TEXT_F(CONTINUOUS))
229
-       .tag(8).TOG_STYLE(tog8).enabled(t_ok).button (BTN_POS(2,10), BTN_SIZE(1,1), GET_TEXT_F(CONTINUOUS))
230
-       .tag(1).colors(action_btn)           .button (BTN_POS(1,11), BTN_SIZE(2,1), GET_TEXT_F(BACK));
227
+       .tag(0)                              .text   (BTN_POS(1,8),  BTN_SIZE(1,1), GET_TEXT_F(MSG_UNLOAD_FILAMENT))
228
+                                            .text   (BTN_POS(2,8),  BTN_SIZE(1,1), GET_TEXT_F(MSG_LOAD_FILAMENT))
229
+       .tag(5)                .enabled(t_ok).button (BTN_POS(1,9),  BTN_SIZE(1,1), GET_TEXT_F(MSG_MOMENTARY))
230
+       .tag(6)                .enabled(t_ok).button (BTN_POS(2,9),  BTN_SIZE(1,1), GET_TEXT_F(MSG_MOMENTARY))
231
+       .tag(7).TOG_STYLE(tog7).enabled(t_ok).button (BTN_POS(1,10), BTN_SIZE(1,1), GET_TEXT_F(MSG_CONTINUOUS))
232
+       .tag(8).TOG_STYLE(tog8).enabled(t_ok).button (BTN_POS(2,10), BTN_SIZE(1,1), GET_TEXT_F(MSG_CONTINUOUS))
233
+       .tag(1).colors(action_btn)           .button (BTN_POS(1,11), BTN_SIZE(2,1), GET_TEXT_F(MSG_BACK));
231 234
     #else
232 235
        .font(font_small)
233
-       .tag(0)                              .text   (BTN_POS(3,3),  BTN_SIZE(1,1), GET_TEXT_F(UNLOAD_FILAMENT))
234
-                                            .text   (BTN_POS(4,3),  BTN_SIZE(1,1), GET_TEXT_F(LOAD_FILAMENT))
235
-       .tag(5)                .enabled(t_ok).button (BTN_POS(3,4),  BTN_SIZE(1,1), GET_TEXT_F(MOMENTARY))
236
-       .tag(6)                .enabled(t_ok).button (BTN_POS(4,4),  BTN_SIZE(1,1), GET_TEXT_F(MOMENTARY))
237
-       .tag(7).TOG_STYLE(tog7).enabled(t_ok).button (BTN_POS(3,5),  BTN_SIZE(1,1), GET_TEXT_F(CONTINUOUS))
238
-       .tag(8).TOG_STYLE(tog8).enabled(t_ok).button (BTN_POS(4,5),  BTN_SIZE(1,1), GET_TEXT_F(CONTINUOUS))
236
+       .tag(0)                              .text   (BTN_POS(3,3),  BTN_SIZE(1,1), GET_TEXT_F(MSG_UNLOAD_FILAMENT))
237
+                                            .text   (BTN_POS(4,3),  BTN_SIZE(1,1), GET_TEXT_F(MSG_LOAD_FILAMENT))
238
+       .tag(5)                .enabled(t_ok).button (BTN_POS(3,4),  BTN_SIZE(1,1), GET_TEXT_F(MSG_MOMENTARY))
239
+       .tag(6)                .enabled(t_ok).button (BTN_POS(4,4),  BTN_SIZE(1,1), GET_TEXT_F(MSG_MOMENTARY))
240
+       .tag(7).TOG_STYLE(tog7).enabled(t_ok).button (BTN_POS(3,5),  BTN_SIZE(1,1), GET_TEXT_F(MSG_CONTINUOUS))
241
+       .tag(8).TOG_STYLE(tog8).enabled(t_ok).button (BTN_POS(4,5),  BTN_SIZE(1,1), GET_TEXT_F(MSG_CONTINUOUS))
239 242
        .font(font_medium)
240
-       .tag(1).colors(action_btn)           .button (BTN_POS(3,6),  BTN_SIZE(2,1), GET_TEXT_F(BACK));
243
+       .tag(1).colors(action_btn)           .button (BTN_POS(3,6),  BTN_SIZE(2,1), GET_TEXT_F(MSG_BACK));
241 244
     #endif
242 245
   }
243 246
   #undef GRID_COLS
@@ -262,10 +265,24 @@ ExtUI::extruder_t ChangeFilamentScreen::getExtruder() {
262 265
   }
263 266
 }
264 267
 
268
+void ChangeFilamentScreen::doPurge() {
269
+  #if FILAMENT_UNLOAD_PURGE_LENGTH > 0
270
+    constexpr float purge_distance_mm = FILAMENT_UNLOAD_PURGE_LENGTH;
271
+    if (screen_data.ChangeFilamentScreen.need_purge) {
272
+      screen_data.ChangeFilamentScreen.need_purge = false;
273
+      MoveAxisScreen::setManualFeedrate(getExtruder(), purge_distance_mm);
274
+      ExtUI::setAxisPosition_mm(ExtUI::getAxisPosition_mm(getExtruder()) + purge_distance_mm, getExtruder());
275
+    }
276
+  #endif
277
+}
278
+
265 279
 bool ChangeFilamentScreen::onTouchStart(uint8_t tag) {
266 280
   // Make the Momentary and Continuous buttons slightly more responsive
267 281
   switch (tag) {
268 282
     case 5: case 6: case 7: case 8:
283
+      #if FILAMENT_UNLOAD_PURGE_LENGTH > 0
284
+        if (tag == 5 || tag == 7) doPurge();
285
+      #endif
269 286
       return ChangeFilamentScreen::onTouchHeld(tag);
270 287
     default:
271 288
       return false;
@@ -295,6 +312,9 @@ bool ChangeFilamentScreen::onTouchEnd(uint8_t tag) {
295 312
       screen_data.ChangeFilamentScreen.e_tag      = tag;
296 313
       screen_data.ChangeFilamentScreen.t_tag      = 0;
297 314
       screen_data.ChangeFilamentScreen.repeat_tag = 0;
315
+      #if FILAMENT_UNLOAD_PURGE_LENGTH > 0
316
+        screen_data.ChangeFilamentScreen.need_purge = true;
317
+      #endif
298 318
       setActiveTool(getExtruder(), true);
299 319
       break;
300 320
     case 15: GOTO_SCREEN(TemperatureScreen); break;
@@ -318,6 +338,7 @@ bool ChangeFilamentScreen::onTouchHeld(uint8_t tag) {
318 338
 }
319 339
 
320 340
 void ChangeFilamentScreen::onIdle() {
341
+  reset_menu_timeout();
321 342
   if (screen_data.ChangeFilamentScreen.repeat_tag) onTouchHeld(screen_data.ChangeFilamentScreen.repeat_tag);
322 343
   if (refresh_timer.elapsed(STATUS_UPDATE_INTERVAL)) {
323 344
     onRefresh();

+ 1
- 1
Marlin/src/lcd/extensible_ui/lib/lulzbot/screens/confirm_abort_print_dialog_box.cpp ファイルの表示

@@ -29,7 +29,7 @@
29 29
 using namespace ExtUI;
30 30
 
31 31
 void ConfirmAbortPrintDialogBox::onRedraw(draw_mode_t) {
32
-  drawMessage(GET_TEXT_F(ABORT_WARNING));
32
+  drawMessage(GET_TEXT_F(MSG_ABORT_WARNING));
33 33
   drawYesNoButtons();
34 34
 }
35 35
 

+ 2
- 2
Marlin/src/lcd/extensible_ui/lib/lulzbot/screens/confirm_auto_calibration_dialog_box.cpp ファイルの表示

@@ -30,7 +30,7 @@ using namespace ExtUI;
30 30
 using namespace Theme;
31 31
 
32 32
 void ConfirmAutoCalibrationDialogBox::onRedraw(draw_mode_t) {
33
-  drawMessage(GET_TEXT_F(CALIBRATION_WARNING));
33
+  drawMessage(GET_TEXT_F(MSG_CALIBRATION_WARNING));
34 34
   drawYesNoButtons();
35 35
 }
36 36
 
@@ -38,7 +38,7 @@ bool ConfirmAutoCalibrationDialogBox::onTouchEnd(uint8_t tag) {
38 38
   switch (tag) {
39 39
     case 1:
40 40
       GOTO_SCREEN(StatusScreen);
41
-      injectCommands_P(PSTR(LULZBOT_CALIBRATION_COMMANDS));
41
+      injectCommands_P(PSTR(CALIBRATION_COMMANDS));
42 42
       return true;
43 43
     default:
44 44
       return DialogBoxBaseClass::onTouchEnd(tag);

+ 4
- 4
Marlin/src/lcd/extensible_ui/lib/lulzbot/screens/confirm_erase_flash_dialog_box.cpp ファイルの表示

@@ -22,7 +22,7 @@
22 22
 
23 23
 #include "../config.h"
24 24
 
25
-#if BOTH(LULZBOT_TOUCH_UI, DEVELOPER_SCREENS)
25
+#if BOTH(LULZBOT_TOUCH_UI, TOUCH_UI_DEVELOPER_MENU)
26 26
 
27 27
 #include "screens.h"
28 28
 
@@ -31,17 +31,17 @@
31 31
 using namespace FTDI;
32 32
 
33 33
 void ConfirmEraseFlashDialogBox::onRedraw(draw_mode_t) {
34
-  drawMessage(GET_TEXT_F(ERASE_FLASH_WARNING));
34
+  drawMessage(GET_TEXT_F(MSG_ERASE_FLASH_WARNING));
35 35
   drawYesNoButtons();
36 36
 }
37 37
 
38 38
 bool ConfirmEraseFlashDialogBox::onTouchEnd(uint8_t tag) {
39 39
   switch (tag) {
40 40
     case 1:
41
-      SpinnerDialogBox::show(GET_TEXT_F(ERASING));
41
+      SpinnerDialogBox::show(GET_TEXT_F(MSG_ERASING));
42 42
       UIFlashStorage::format_flash();
43 43
       SpinnerDialogBox::hide();
44
-      AlertDialogBox::show(GET_TEXT_F(ERASED));
44
+      AlertDialogBox::show(GET_TEXT_F(MSG_ERASED));
45 45
       // Remove ConfirmEraseFlashDialogBox from the stack
46 46
       // so the alert box doesn't return to me.
47 47
       current_screen.forget();

+ 3
- 3
Marlin/src/lcd/extensible_ui/lib/lulzbot/screens/confirm_start_print_dialog_box.cpp ファイルの表示

@@ -38,8 +38,8 @@ void ConfirmStartPrintDialogBox::onEntry() {
38 38
 
39 39
 void ConfirmStartPrintDialogBox::onRedraw(draw_mode_t) {
40 40
   const char *filename = getLongFilename();
41
-  char buffer[strlen_P(GET_TEXT(START_PRINT_CONFIRMATION)) + strlen(filename) + 1];
42
-  sprintf_P(buffer, GET_TEXT(START_PRINT_CONFIRMATION), filename);
41
+  char buffer[strlen_P(GET_TEXT(MSG_START_PRINT_CONFIRMATION)) + strlen(filename) + 1];
42
+  sprintf_P(buffer, GET_TEXT(MSG_START_PRINT_CONFIRMATION), filename);
43 43
   drawMessage((const char *)buffer);
44 44
   drawYesNoButtons(1);
45 45
 }
@@ -48,7 +48,7 @@ bool ConfirmStartPrintDialogBox::onTouchEnd(uint8_t tag) {
48 48
   switch (tag) {
49 49
     case 1:
50 50
       printFile(getShortFilename());
51
-      StatusScreen::setStatusMessage(GET_TEXT_F(PRINT_STARTING));
51
+      StatusScreen::setStatusMessage(GET_TEXT_F(MSG_PRINT_STARTING));
52 52
       GOTO_SCREEN(StatusScreen);
53 53
       return true;
54 54
     case 2: GOTO_PREVIOUS(); return true;

+ 6
- 6
Marlin/src/lcd/extensible_ui/lib/lulzbot/screens/default_acceleration_screen.cpp ファイルの表示

@@ -33,14 +33,14 @@ using namespace Theme;
33 33
 void DefaultAccelerationScreen::onRedraw(draw_mode_t what) {
34 34
   widgets_t w(what);
35 35
   w.precision(0);
36
-  w.units(GET_TEXT_F(UNITS_MM_S2));
37
-  w.heading(      GET_TEXT_F(ACCELERATION));
36
+  w.units(GET_TEXT_F(MSG_UNITS_MM_S2));
37
+  w.heading(      GET_TEXT_F(MSG_ACCELERATION));
38 38
   w.color(other);
39
-  w.adjuster(  2, GET_TEXT_F(ACCEL_PRINTING), getPrintingAcceleration_mm_s2() );
40
-  w.adjuster(  4, GET_TEXT_F(ACCEL_TRAVEL),   getTravelAcceleration_mm_s2() );
41
-  w.adjuster(  6, GET_TEXT_F(ACCEL_RETRACT),  getRetractAcceleration_mm_s2() );
39
+  w.adjuster(  2, GET_TEXT_F(MSG_ACCEL_PRINTING), getPrintingAcceleration_mm_s2() );
40
+  w.adjuster(  4, GET_TEXT_F(MSG_ACCEL_TRAVEL),   getTravelAcceleration_mm_s2() );
41
+  w.adjuster(  6, GET_TEXT_F(MSG_ACCEL_RETRACT),  getRetractAcceleration_mm_s2() );
42 42
   w.increments();
43
-  w.button(    8, GET_TEXT_F(SET_MAXIMUM));
43
+  w.button(    8, GET_TEXT_F(MSG_SET_MAXIMUM));
44 44
 }
45 45
 
46 46
 bool DefaultAccelerationScreen::onTouchHeld(uint8_t tag) {

+ 1
- 1
Marlin/src/lcd/extensible_ui/lib/lulzbot/screens/developer_menu.cpp ファイルの表示

@@ -22,7 +22,7 @@
22 22
 
23 23
 #include "../config.h"
24 24
 
25
-#if BOTH(LULZBOT_TOUCH_UI, DEVELOPER_SCREENS)
25
+#if BOTH(LULZBOT_TOUCH_UI, TOUCH_UI_DEVELOPER_MENU)
26 26
 
27 27
 #include "screens.h"
28 28
 

+ 3
- 3
Marlin/src/lcd/extensible_ui/lib/lulzbot/screens/dialog_box_base_class.cpp ファイルの表示

@@ -50,14 +50,14 @@ template void DialogBoxBaseClass::drawMessage(progmem_str, int16_t font);
50 50
 void DialogBoxBaseClass::drawYesNoButtons(uint8_t default_btn) {
51 51
   CommandProcessor cmd;
52 52
   cmd.font(font_medium)
53
-     .colors(default_btn == 1 ? action_btn : normal_btn).tag(1).button( BTN_POS(1,8), BTN_SIZE(1,1), GET_TEXT_F(YES))
54
-     .colors(default_btn == 2 ? action_btn : normal_btn).tag(2).button( BTN_POS(2,8), BTN_SIZE(1,1), GET_TEXT_F(NO));
53
+     .colors(default_btn == 1 ? action_btn : normal_btn).tag(1).button( BTN_POS(1,8), BTN_SIZE(1,1), GET_TEXT_F(MSG_YES))
54
+     .colors(default_btn == 2 ? action_btn : normal_btn).tag(2).button( BTN_POS(2,8), BTN_SIZE(1,1), GET_TEXT_F(MSG_NO));
55 55
 }
56 56
 
57 57
 void DialogBoxBaseClass::drawOkayButton() {
58 58
   CommandProcessor cmd;
59 59
   cmd.font(font_medium)
60
-     .tag(1).button( BTN_POS(1,8), BTN_SIZE(2,1), GET_TEXT_F(OKAY));
60
+     .tag(1).button( BTN_POS(1,8), BTN_SIZE(2,1), GET_TEXT_F(MSG_BUTTON_OKAY));
61 61
 }
62 62
 
63 63
 void DialogBoxBaseClass::drawButton(const progmem_str label) {

+ 5
- 5
Marlin/src/lcd/extensible_ui/lib/lulzbot/screens/display_tuning_screen.cpp ファイルの表示

@@ -33,13 +33,13 @@ void DisplayTuningScreen::onRedraw(draw_mode_t what) {
33 33
   widgets_t w(what);
34 34
   w.precision(0, BaseNumericAdjustmentScreen::DEFAULT_LOWEST);
35 35
   w.units(F(""));
36
-  w.heading(GET_TEXT_F(DISPLAY_MENU));
36
+  w.heading(GET_TEXT_F(MSG_DISPLAY_MENU));
37 37
   w.color(other);
38
-  w.adjuster( 2, GET_TEXT_F(H_OFFSET), CLCD::mem_read_16(CLCD::REG::HOFFSET) );
39
-  w.adjuster( 4, GET_TEXT_F(V_OFFSET), CLCD::mem_read_16(CLCD::REG::VOFFSET) );
38
+  w.adjuster( 2, GET_TEXT_F(MSG_H_OFFSET), CLCD::mem_read_16(CLCD::REG::HOFFSET) );
39
+  w.adjuster( 4, GET_TEXT_F(MSG_V_OFFSET), CLCD::mem_read_16(CLCD::REG::VOFFSET) );
40 40
   w.increments();
41
-  w.heading(     GET_TEXT_F(TOUCH_SCREEN));
42
-  w.button(6,    GET_TEXT_F(CALIBRATE));
41
+  w.heading(     GET_TEXT_F(MSG_TOUCH_SCREEN));
42
+  w.button(6,    GET_TEXT_F(MSG_CALIBRATE));
43 43
 }
44 44
 
45 45
 bool DisplayTuningScreen::onTouchHeld(uint8_t tag) {

+ 24
- 26
Marlin/src/lcd/extensible_ui/lib/lulzbot/screens/endstop_state_screen.cpp ファイルの表示

@@ -32,12 +32,10 @@ using namespace ExtUI;
32 32
 
33 33
 void EndstopStatesScreen::onEntry() {
34 34
   BaseScreen::onEntry();
35
-  enable_emi_pins(true);
36 35
 }
37 36
 
38 37
 void EndstopStatesScreen::onExit() {
39 38
   BaseScreen::onExit();
40
-  enable_emi_pins(false);
41 39
 }
42 40
 
43 41
 void EndstopStatesScreen::onRedraw(draw_mode_t) {
@@ -51,60 +49,60 @@ void EndstopStatesScreen::onRedraw(draw_mode_t) {
51 49
   #define GRID_COLS 6
52 50
 
53 51
   #define PIN_BTN(X,Y,PIN,LABEL)          button(BTN_POS(X,Y), BTN_SIZE(2,1), LABEL)
54
-  #define PIN_ENABLED(LABEL,PIN,INV,X,Y)  cmd.enabled(1).colors(READ(PIN##_PIN) != INV ? action_btn : normal_btn).PIN_BTN(X,Y,PIN,LABEL);
55
-  #define PIN_DISABLED(LABEL,PIN,INV,X,Y) cmd.enabled(0).PIN_BTN(X,Y,PIN,LABEL);
52
+  #define PIN_ENABLED(X,Y,LABEL,PIN,INV)  cmd.enabled(1).colors(READ(PIN##_PIN) != INV ? action_btn : normal_btn).PIN_BTN(X,Y,PIN,LABEL);
53
+  #define PIN_DISABLED(X,Y,LABEL,PIN)     cmd.enabled(0).PIN_BTN(X,Y,PIN,LABEL);
56 54
 
57 55
   #ifdef TOUCH_UI_PORTRAIT
58 56
   cmd.font(font_large)
59 57
   #else
60 58
   cmd.font(font_medium)
61 59
   #endif
62
-     .text(BTN_POS(1,1), BTN_SIZE(6,1), GET_TEXT_F(ENDSTOPS))
60
+     .text(BTN_POS(1,1), BTN_SIZE(6,1), GET_TEXT_F(MSG_LCD_ENDSTOPS))
63 61
      .font(font_tiny);
64 62
   #if PIN_EXISTS(X_MAX)
65
-    PIN_ENABLED (GET_TEXT_F(X_MAX), X_MAX,X_MAX_ENDSTOP_INVERTING,1,2)
63
+    PIN_ENABLED (1, 2, PSTR(MSG_X_MAX), X_MAX, X_MAX_ENDSTOP_INVERTING)
66 64
   #else
67
-    PIN_DISABLED(GET_TEXT_F(X_MAX),X_MAX,X_MAX_ENDSTOP_INVERTING,1,2)
65
+    PIN_DISABLED(1, 2, PSTR(MSG_X_MAX), X_MAX)
68 66
   #endif
69 67
   #if PIN_EXISTS(Y_MAX)
70
-    PIN_ENABLED (GET_TEXT_F(Y_MAX),Y_MAX,Y_MAX_ENDSTOP_INVERTING,3,2)
68
+    PIN_ENABLED (3, 2, PSTR(MSG_Y_MAX), Y_MAX, Y_MAX_ENDSTOP_INVERTING)
71 69
   #else
72
-    PIN_DISABLED(GET_TEXT_F(Y_MAX),Y_MAX,Y_MAX_ENDSTOP_INVERTING,3,2)
70
+    PIN_DISABLED(3, 2, PSTR(MSG_Y_MAX), Y_MAX)
73 71
   #endif
74 72
   #if PIN_EXISTS(Z_MAX)
75
-    PIN_ENABLED (GET_TEXT_F(Z_MAX),Z_MAX,Z_MAX_ENDSTOP_INVERTING,5,2)
73
+    PIN_ENABLED (5, 2, PSTR(MSG_Z_MAX), Z_MAX, Z_MAX_ENDSTOP_INVERTING)
76 74
   #else
77
-    PIN_DISABLED(GET_TEXT_F(Z_MAX),Z_MAX,Z_MAX_ENDSTOP_INVERTING,5,2)
75
+    PIN_DISABLED(5, 2, PSTR(MSG_Z_MAX), Z_MAX)
78 76
   #endif
79 77
   #if PIN_EXISTS(X_MIN)
80
-    PIN_ENABLED (GET_TEXT_F(X_MIN),X_MIN,X_MIN_ENDSTOP_INVERTING,1,3)
78
+    PIN_ENABLED (1, 3, PSTR(MSG_X_MIN), X_MIN, X_MIN_ENDSTOP_INVERTING)
81 79
   #else
82
-    PIN_DISABLED(GET_TEXT_F(X_MIN),X_MIN,X_MIN_ENDSTOP_INVERTING,1,3)
80
+    PIN_DISABLED(1, 3, PSTR(MSG_X_MIN), X_MIN)
83 81
   #endif
84 82
   #if PIN_EXISTS(Y_MIN)
85
-    PIN_ENABLED (GET_TEXT_F(Y_MIN),Y_MIN,Y_MIN_ENDSTOP_INVERTING,3,3)
83
+    PIN_ENABLED (3, 3, PSTR(MSG_Y_MIN), Y_MIN, Y_MIN_ENDSTOP_INVERTING)
86 84
   #else
87
-    PIN_DISABLED(GET_TEXT_F(Y_MIN),Y_MIN,Y_MIN_ENDSTOP_INVERTING,3,3)
85
+    PIN_DISABLED(3, 3, PSTR(MSG_Y_MIN), Y_MIN)
88 86
   #endif
89 87
   #if PIN_EXISTS(Z_MIN)
90
-    PIN_ENABLED (GET_TEXT_F(Z_MIN),Z_MIN,Z_MIN_ENDSTOP_INVERTING,5,3)
88
+    PIN_ENABLED (5, 3, PSTR(MSG_Z_MIN), Z_MIN, Z_MIN_ENDSTOP_INVERTING)
91 89
   #else
92
-    PIN_DISABLED(GET_TEXT_F(Z_MIN),Z_MIN,Z_MIN_ENDSTOP_INVERTING,5,3)
90
+    PIN_DISABLED(5, 3, PSTR(MSG_Z_MIN), Z_MIN)
93 91
   #endif
94 92
   #if ENABLED(FILAMENT_RUNOUT_SENSOR) && PIN_EXISTS(FIL_RUNOUT)
95
-    PIN_ENABLED (GET_TEXT_F(RUNOUT_1),FIL_RUNOUT, FIL_RUNOUT_INVERTING,1,4)
93
+    PIN_ENABLED (1, 4, GET_TEXT_F(MSG_RUNOUT_1), FIL_RUNOUT, FIL_RUNOUT_INVERTING)
96 94
   #else
97
-    PIN_DISABLED(GET_TEXT_F(RUNOUT_1),FIL_RUNOUT, FIL_RUNOUT_INVERTING,1,4)
95
+    PIN_DISABLED(1, 4, GET_TEXT_F(MSG_RUNOUT_1), FIL_RUNOUT)
98 96
   #endif
99 97
   #if ENABLED(FILAMENT_RUNOUT_SENSOR) && PIN_EXISTS(FIL_RUNOUT2)
100
-    PIN_ENABLED (GET_TEXT_F(RUNOUT_2),FIL_RUNOUT2,FIL_RUNOUT_INVERTING,3,4)
98
+    PIN_ENABLED (3, 4, GET_TEXT_F(MSG_RUNOUT_2), FIL_RUNOUT2, FIL_RUNOUT_INVERTING)
101 99
   #else
102
-    PIN_DISABLED(GET_TEXT_F(RUNOUT_2),FIL_RUNOUT2,FIL_RUNOUT_INVERTING,3,4)
100
+    PIN_DISABLED(3, 4, GET_TEXT_F(MSG_RUNOUT_2), FIL_RUNOUT2)
103 101
   #endif
104 102
   #if PIN_EXISTS(Z_MIN_PROBE)
105
-    PIN_ENABLED (GET_TEXT_F(Z_PROBE),Z_MIN_PROBE,Z_MIN_PROBE_ENDSTOP_INVERTING,5,4)
103
+    PIN_ENABLED (5, 4, PSTR(MSG_Z_PROBE), Z_MIN_PROBE, Z_MIN_PROBE_ENDSTOP_INVERTING)
106 104
   #else
107
-    PIN_DISABLED(GET_TEXT_F(Z_PROBE),Z_MIN_PROBE,Z_MIN_PROBE_ENDSTOP_INVERTING,5,4)
105
+    PIN_DISABLED(5, 4, PSTR(MSG_Z_PROBE), Z_MIN_PROBE)
108 106
   #endif
109 107
 
110 108
   #if HAS_SOFTWARE_ENDSTOPS
@@ -112,16 +110,16 @@ void EndstopStatesScreen::onRedraw(draw_mode_t) {
112 110
     #define EDGE_R 30
113 111
     cmd.cmd(COLOR_RGB(bg_text_enabled))
114 112
        .font(font_small)
115
-       .text         (BTN_POS(1,5), BTN_SIZE(3,1), GET_TEXT_F(SOFT_ENDSTOPS), OPT_RIGHTX | OPT_CENTERY)
113
+       .text          (BTN_POS(1,5), BTN_SIZE(3,1), GET_TEXT_F(MSG_LCD_SOFT_ENDSTOPS), OPT_RIGHTX | OPT_CENTERY)
116 114
        .colors(ui_toggle)
117
-       .tag(2).toggle2(BTN_POS(4,5), BTN_SIZE(3,1), GET_TEXT_F(NO), GET_TEXT_F(YES), getSoftEndstopState());
115
+       .tag(2).toggle2(BTN_POS(4,5), BTN_SIZE(3,1), GET_TEXT_F(MSG_NO), GET_TEXT_F(MSG_YES), getSoftEndstopState());
118 116
       #undef EDGE_R
119 117
       #define EDGE_R 0
120 118
   #endif
121 119
 
122 120
   cmd.font(font_medium)
123 121
      .colors(action_btn)
124
-     .tag(1).button( BTN_POS(1,7), BTN_SIZE(6,1), GET_TEXT_F(BACK));
122
+     .tag(1).button( BTN_POS(1,7), BTN_SIZE(6,1), GET_TEXT_F(MSG_BACK));
125 123
   #undef GRID_COLS
126 124
   #undef GRID_ROWS
127 125
 }

+ 3
- 3
Marlin/src/lcd/extensible_ui/lib/lulzbot/screens/feedrate_percent_screen.cpp ファイルの表示

@@ -31,10 +31,10 @@ using namespace ExtUI;
31 31
 
32 32
 void FeedratePercentScreen::onRedraw(draw_mode_t what) {
33 33
   widgets_t w(what);
34
-  w.precision(0).units(GET_TEXT_F(UNITS_PERCENT));
34
+  w.precision(0).units(GET_TEXT_F(MSG_UNITS_PERCENT));
35 35
 
36
-  w.heading(GET_TEXT_F(PRINT_SPEED));
37
-  w.adjuster(4,  GET_TEXT_F(SPEED), getFeedrate_percent());
36
+  w.heading(GET_TEXT_F(MSG_PRINT_SPEED));
37
+  w.adjuster(4,  GET_TEXT_F(MSG_SPEED), getFeedrate_percent());
38 38
   w.increments();
39 39
 }
40 40
 

+ 8
- 8
Marlin/src/lcd/extensible_ui/lib/lulzbot/screens/filament_menu.cpp ファイルの表示

@@ -44,43 +44,43 @@ void FilamentMenu::onRedraw(draw_mode_t what) {
44 44
     #ifdef TOUCH_UI_PORTRAIT
45 45
       #define GRID_ROWS 9
46 46
       #define GRID_COLS 2
47
-         .text  ( BTN_POS(1,1),      BTN_SIZE(2,1), GET_TEXT_F(FILAMENT))
47
+         .text  ( BTN_POS(1,1),      BTN_SIZE(2,1), GET_TEXT_F(MSG_FILAMENT))
48 48
          .font(font_medium).colors(normal_btn)
49 49
       #if ENABLED(FILAMENT_RUNOUT_SENSOR)
50 50
         .enabled(1)
51 51
       #else
52 52
         .enabled(0)
53 53
       #endif
54
-      .tag(2).button( BTN_POS(1,2),  BTN_SIZE(2,1), GET_TEXT_F(RUNOUT_SENSOR))
54
+      .tag(2).button( BTN_POS(1,2),  BTN_SIZE(2,1), GET_TEXT_F(MSG_RUNOUT_SENSOR))
55 55
       #if ENABLED(LIN_ADVANCE)
56 56
         .enabled(1)
57 57
       #else
58 58
         .enabled(0)
59 59
       #endif
60
-      .tag(3).button( BTN_POS(1,3),  BTN_SIZE(2,1), GET_TEXT_F(LINEAR_ADVANCE))
60
+      .tag(3).button( BTN_POS(1,3),  BTN_SIZE(2,1), GET_TEXT_F(MSG_LINEAR_ADVANCE))
61 61
       .colors(action_btn)
62
-      .tag(1) .button( BTN_POS(1,9), BTN_SIZE(2,1), GET_TEXT_F(BACK));
62
+      .tag(1) .button( BTN_POS(1,9), BTN_SIZE(2,1), GET_TEXT_F(MSG_BACK));
63 63
       #undef GRID_COLS
64 64
       #undef GRID_ROWS
65 65
     #else
66 66
       #define GRID_ROWS 6
67 67
       #define GRID_COLS 3
68
-         .text  ( BTN_POS(1,1),      BTN_SIZE(3,1), GET_TEXT_F(FILAMENT))
68
+         .text  ( BTN_POS(1,1),      BTN_SIZE(3,1), GET_TEXT_F(MSG_FILAMENT))
69 69
          .font(font_medium).colors(normal_btn)
70 70
       #if ENABLED(FILAMENT_RUNOUT_SENSOR)
71 71
         .enabled(1)
72 72
       #else
73 73
         .enabled(0)
74 74
       #endif
75
-      .tag(2).button( BTN_POS(1,2),  BTN_SIZE(3,1), GET_TEXT_F(RUNOUT_SENSOR))
75
+      .tag(2).button( BTN_POS(1,2),  BTN_SIZE(3,1), GET_TEXT_F(MSG_RUNOUT_SENSOR))
76 76
       #if ENABLED(LIN_ADVANCE)
77 77
         .enabled(1)
78 78
       #else
79 79
         .enabled(0)
80 80
       #endif
81
-      .tag(3).button( BTN_POS(1,3),  BTN_SIZE(3,1), GET_TEXT_F(LINEAR_ADVANCE))
81
+      .tag(3).button( BTN_POS(1,3),  BTN_SIZE(3,1), GET_TEXT_F(MSG_LINEAR_ADVANCE))
82 82
       .colors(action_btn)
83
-      .tag(1) .button( BTN_POS(1,6), BTN_SIZE(3,1), GET_TEXT_F(BACK));
83
+      .tag(1) .button( BTN_POS(1,6), BTN_SIZE(3,1), GET_TEXT_F(MSG_BACK));
84 84
     #endif
85 85
   }
86 86
 }

+ 5
- 5
Marlin/src/lcd/extensible_ui/lib/lulzbot/screens/filament_runout_screen.cpp ファイルの表示

@@ -32,15 +32,15 @@ using namespace Theme;
32 32
 
33 33
 void FilamentRunoutScreen::onRedraw(draw_mode_t what) {
34 34
   widgets_t w(what);
35
-  w.heading(   GET_TEXT_F(FILAMENT));
36
-  w.toggle( 2, GET_TEXT_F(RUNOUT_SENSOR), getFilamentRunoutEnabled());
35
+  w.heading(   GET_TEXT_F(MSG_FILAMENT));
36
+  w.toggle( 2, GET_TEXT_F(MSG_RUNOUT_SENSOR), getFilamentRunoutEnabled());
37 37
 
38 38
   #ifdef FILAMENT_RUNOUT_DISTANCE_MM
39
-    w.heading(GET_TEXT_F(DETECTION_THRESHOLD));
40
-    w.units(GET_TEXT_F(UNITS_MM));
39
+    w.heading(GET_TEXT_F(MSG_RUNOUT_DISTANCE_MM));
40
+    w.units(GET_TEXT_F(MSG_UNITS_MM));
41 41
     w.precision(0);
42 42
     w.color(e_axis);
43
-    w.adjuster( 10, GET_TEXT_F(DISTANCE), getFilamentRunoutDistance_mm(), getFilamentRunoutEnabled());
43
+    w.adjuster( 10, PSTR(""), getFilamentRunoutDistance_mm(), getFilamentRunoutEnabled());
44 44
     w.increments();
45 45
   #endif
46 46
 }

+ 3
- 3
Marlin/src/lcd/extensible_ui/lib/lulzbot/screens/files_screen.cpp ファイルの表示

@@ -167,13 +167,13 @@ void FilesScreen::drawFooter() {
167 167
   cmd.colors(normal_btn)
168 168
      .font(font_medium)
169 169
      .colors(has_selection ? normal_btn : action_btn)
170
-     .tag(back_tag).button( BTN_POS(4,y), BTN_SIZE(3,h), GET_TEXT_F(BACK))
170
+     .tag(back_tag).button( BTN_POS(4,y), BTN_SIZE(3,h), GET_TEXT_F(MSG_BACK))
171 171
      .enabled(has_selection)
172 172
      .colors(has_selection ? action_btn : normal_btn);
173 173
   if (screen_data.FilesScreen.flags.is_dir) {
174
-    cmd.tag(244).button( BTN_POS(1, y), BTN_SIZE(3,h), GET_TEXT_F(OPEN_DIR));
174
+    cmd.tag(244).button( BTN_POS(1, y), BTN_SIZE(3,h), GET_TEXT_F(MSG_BUTTON_OPEN));
175 175
   } else {
176
-    cmd.tag(243).button( BTN_POS(1, y), BTN_SIZE(3,h), GET_TEXT_F(PRINT_FILE));
176
+    cmd.tag(243).button( BTN_POS(1, y), BTN_SIZE(3,h), GET_TEXT_F(MSG_BUTTON_PRINT));
177 177
   }
178 178
 }
179 179
 

+ 21
- 21
Marlin/src/lcd/extensible_ui/lib/lulzbot/screens/interface_settings_screen.cpp ファイルの表示

@@ -69,15 +69,15 @@ void InterfaceSettingsScreen::onRedraw(draw_mode_t what) {
69 69
        .cmd(COLOR_RGB(bg_text_enabled))
70 70
        .tag(0)
71 71
        .font(font_medium)
72
-       .text(BTN_POS(1,1), BTN_SIZE(4,1), GET_TEXT_F(INTERFACE_SETTINGS))
72
+       .text(BTN_POS(1,1), BTN_SIZE(4,1), GET_TEXT_F(MSG_INTERFACE_SETTINGS))
73 73
     #undef EDGE_R
74 74
     #define EDGE_R 30
75 75
        .font(font_small)
76 76
        .tag(0)
77
-       .text(BTN_POS(1,2), BTN_SIZE(2,1), GET_TEXT_F(LCD_BRIGHTNESS), OPT_RIGHTX | OPT_CENTERY)
78
-       .text(BTN_POS(1,3), BTN_SIZE(2,1), GET_TEXT_F(SOUND_VOLUME),   OPT_RIGHTX | OPT_CENTERY)
79
-       .text(BTN_POS(1,4), BTN_SIZE(2,1), GET_TEXT_F(SCREEN_LOCK),    OPT_RIGHTX | OPT_CENTERY);
80
-    cmd.text(BTN_POS(1,5), BTN_SIZE(2,1), GET_TEXT_F(BOOT_SCREEN),    OPT_RIGHTX | OPT_CENTERY);
77
+       .text(BTN_POS(1,2), BTN_SIZE(2,1), GET_TEXT_F(MSG_LCD_BRIGHTNESS), OPT_RIGHTX | OPT_CENTERY)
78
+       .text(BTN_POS(1,3), BTN_SIZE(2,1), GET_TEXT_F(MSG_SOUND_VOLUME),   OPT_RIGHTX | OPT_CENTERY)
79
+       .text(BTN_POS(1,4), BTN_SIZE(2,1), GET_TEXT_F(MSG_SCREEN_LOCK),    OPT_RIGHTX | OPT_CENTERY);
80
+    cmd.text(BTN_POS(1,5), BTN_SIZE(2,1), GET_TEXT_F(MSG_BOOT_SCREEN),    OPT_RIGHTX | OPT_CENTERY);
81 81
     #undef EDGE_R
82 82
   }
83 83
 
@@ -94,19 +94,19 @@ void InterfaceSettingsScreen::onRedraw(draw_mode_t what) {
94 94
        .tag(2).slider(BTN_POS(3,2), BTN_SIZE(2,1), screen_data.InterfaceSettingsScreen.brightness, 128)
95 95
        .tag(3).slider(BTN_POS(3,3), BTN_SIZE(2,1), screen_data.InterfaceSettingsScreen.volume,     0xFF)
96 96
        .colors(ui_toggle)
97
-       .tag(4).toggle2(BTN_POS(3,4), BTN_SIZE(w,1), GET_TEXT_F(NO), GET_TEXT_F(YES), LockScreen::is_enabled())
98
-       .tag(5).toggle2(BTN_POS(3,5), BTN_SIZE(w,1), GET_TEXT_F(NO), GET_TEXT_F(YES), UIData::animations_enabled())
97
+       .tag(4).toggle2(BTN_POS(3,4), BTN_SIZE(w,1), GET_TEXT_F(MSG_NO), GET_TEXT_F(MSG_YES), LockScreen::is_enabled())
98
+       .tag(5).toggle2(BTN_POS(3,5), BTN_SIZE(w,1), GET_TEXT_F(MSG_NO), GET_TEXT_F(MSG_YES), UIData::animations_enabled())
99 99
     #undef EDGE_R
100 100
     #define EDGE_R 0
101 101
     #ifdef TOUCH_UI_PORTRAIT
102 102
        .colors(normal_btn)
103
-       .tag(6).button (BTN_POS(1,6), BTN_SIZE(4,1), GET_TEXT_F(INTERFACE_SOUNDS))
103
+       .tag(6).button (BTN_POS(1,6), BTN_SIZE(4,1), GET_TEXT_F(MSG_INTERFACE_SOUNDS))
104 104
        .colors(action_btn)
105
-       .tag(1).button (BTN_POS(1,7), BTN_SIZE(4,1), GET_TEXT_F(BACK));
105
+       .tag(1).button (BTN_POS(1,7), BTN_SIZE(4,1), GET_TEXT_F(MSG_BACK));
106 106
     #else
107
-       .tag(6).button (BTN_POS(1,6), BTN_SIZE(2,1), GET_TEXT_F(INTERFACE_SOUNDS))
107
+       .tag(6).button (BTN_POS(1,6), BTN_SIZE(2,1), GET_TEXT_F(MSG_INTERFACE_SOUNDS))
108 108
        .colors(action_btn)
109
-       .tag(1).button (BTN_POS(3,6), BTN_SIZE(2,1), GET_TEXT_F(BACK));
109
+       .tag(1).button (BTN_POS(3,6), BTN_SIZE(2,1), GET_TEXT_F(MSG_BACK));
110 110
     #endif
111 111
   }
112 112
 }
@@ -246,37 +246,37 @@ void InterfaceSettingsScreen::loadSettings(const char *buff) {
246 246
   for(uint8_t i = 0; i < InterfaceSoundsScreen::NUM_EVENTS; i++)
247 247
     InterfaceSoundsScreen::event_sounds[i] = eeprom.event_sounds[i];
248 248
 
249
-  #if ENABLED(DEVELOPER_SCREENS)
249
+  #if ENABLED(TOUCH_UI_DEVELOPER_MENU)
250 250
     StressTestScreen::startupCheck();
251 251
   #endif
252 252
 }
253 253
 
254
-#ifdef LULZBOT_EEPROM_BACKUP_SIZE
254
+#ifdef ARCHIM2_SPI_FLASH_EEPROM_BACKUP_SIZE
255 255
   #include "../../../../../HAL/shared/persistent_store_api.h"
256 256
 
257 257
   bool restoreEEPROM() {
258
-    uint8_t data[LULZBOT_EEPROM_BACKUP_SIZE];
258
+    uint8_t data[ARCHIM2_SPI_FLASH_EEPROM_BACKUP_SIZE];
259 259
 
260
-    bool success = UIFlashStorage::read_config_data(data, LULZBOT_EEPROM_BACKUP_SIZE);
260
+    bool success = UIFlashStorage::read_config_data(data, ARCHIM2_SPI_FLASH_EEPROM_BACKUP_SIZE);
261 261
 
262 262
     if (success)
263
-      success = persistentStore.write_data(0, data, LULZBOT_EEPROM_BACKUP_SIZE) == PERSISTENT_STORE_SUCCESS;
263
+      success = persistentStore.write_data(0, data, ARCHIM2_SPI_FLASH_EEPROM_BACKUP_SIZE) == PERSISTENT_STORE_SUCCESS;
264 264
 
265 265
     if (success)
266
-      StatusScreen::setStatusMessage(GET_TEXT_F(EEPROM_RESTORED));
266
+      StatusScreen::setStatusMessage(GET_TEXT_F(MSG_EEPROM_RESTORED));
267 267
     else
268
-      StatusScreen::setStatusMessage(GET_TEXT_F(EEPROM_RESET));
268
+      StatusScreen::setStatusMessage(GET_TEXT_F(MSG_EEPROM_RESET));
269 269
 
270 270
     return success;
271 271
   }
272 272
 
273 273
   bool InterfaceSettingsScreen::backupEEPROM() {
274
-    uint8_t data[LULZBOT_EEPROM_BACKUP_SIZE];
274
+    uint8_t data[ARCHIM2_SPI_FLASH_EEPROM_BACKUP_SIZE];
275 275
 
276
-    if (persistentStore.read_data(0, data, LULZBOT_EEPROM_BACKUP_SIZE) != PERSISTENT_STORE_SUCCESS)
276
+    if (persistentStore.read_data(0, data, ARCHIM2_SPI_FLASH_EEPROM_BACKUP_SIZE) != PERSISTENT_STORE_SUCCESS)
277 277
       return false;
278 278
 
279
-    UIFlashStorage::write_config_data(data, LULZBOT_EEPROM_BACKUP_SIZE);
279
+    UIFlashStorage::write_config_data(data, ARCHIM2_SPI_FLASH_EEPROM_BACKUP_SIZE);
280 280
 
281 281
     return true;
282 282
   }

+ 8
- 8
Marlin/src/lcd/extensible_ui/lib/lulzbot/screens/interface_sounds_screen.cpp ファイルの表示

@@ -71,15 +71,15 @@ void InterfaceSoundsScreen::onRedraw(draw_mode_t what) {
71 71
     #define GRID_ROWS 9
72 72
 
73 73
        .font(font_medium)
74
-       .text(BTN_POS(1,1), BTN_SIZE(4,1), GET_TEXT_F(INTERFACE_SOUNDS))
74
+       .text(BTN_POS(1,1), BTN_SIZE(4,1), GET_TEXT_F(MSG_INTERFACE_SOUNDS))
75 75
     #undef EDGE_R
76 76
     #define EDGE_R 30
77 77
        .font(font_small)
78
-       .tag(0).text      (BTN_POS(1,2), BTN_SIZE(2,1), GET_TEXT_F(SOUND_VOLUME),   OPT_RIGHTX | OPT_CENTERY)
79
-              .text      (BTN_POS(1,3), BTN_SIZE(2,1), GET_TEXT_F(CLICK_SOUNDS),   OPT_RIGHTX | OPT_CENTERY)
80
-              .text      (BTN_POS(1,5), BTN_SIZE(2,1), GET_TEXT_F(PRINT_STARTING), OPT_RIGHTX | OPT_CENTERY)
81
-              .text      (BTN_POS(1,6), BTN_SIZE(2,1), GET_TEXT_F(PRINT_FINISHED), OPT_RIGHTX | OPT_CENTERY)
82
-              .text      (BTN_POS(1,7), BTN_SIZE(2,1), GET_TEXT_F(PRINT_ERROR),    OPT_RIGHTX | OPT_CENTERY);
78
+       .tag(0).text      (BTN_POS(1,2), BTN_SIZE(2,1), GET_TEXT_F(MSG_SOUND_VOLUME),   OPT_RIGHTX | OPT_CENTERY)
79
+              .text      (BTN_POS(1,3), BTN_SIZE(2,1), GET_TEXT_F(MSG_CLICK_SOUNDS),   OPT_RIGHTX | OPT_CENTERY)
80
+              .text      (BTN_POS(1,5), BTN_SIZE(2,1), GET_TEXT_F(MSG_PRINT_STARTING), OPT_RIGHTX | OPT_CENTERY)
81
+              .text      (BTN_POS(1,6), BTN_SIZE(2,1), GET_TEXT_F(MSG_PRINT_FINISHED), OPT_RIGHTX | OPT_CENTERY)
82
+              .text      (BTN_POS(1,7), BTN_SIZE(2,1), GET_TEXT_F(MSG_PRINT_ERROR),    OPT_RIGHTX | OPT_CENTERY);
83 83
     #undef EDGE_R
84 84
   }
85 85
 
@@ -95,7 +95,7 @@ void InterfaceSoundsScreen::onRedraw(draw_mode_t what) {
95 95
     #define EDGE_R 30
96 96
        .tag(2).slider    (BTN_POS(3,2), BTN_SIZE(2,1), screen_data.InterfaceSettingsScreen.volume, 0xFF)
97 97
        .colors(ui_toggle)
98
-       .tag(3).toggle2   (BTN_POS(3,3), BTN_SIZE(w,1), GET_TEXT_F(NO), GET_TEXT_F(YES), UIData::touch_sounds_enabled())
98
+       .tag(3).toggle2   (BTN_POS(3,3), BTN_SIZE(w,1), GET_TEXT_F(MSG_NO), GET_TEXT_F(MSG_YES), UIData::touch_sounds_enabled())
99 99
     #undef EDGE_R
100 100
        .colors(normal_btn)
101 101
     #define EDGE_R 0
@@ -103,7 +103,7 @@ void InterfaceSoundsScreen::onRedraw(draw_mode_t what) {
103 103
        .tag(5).button    (BTN_POS(3,6), BTN_SIZE(2,1), getSoundSelection(PRINTING_FINISHED))
104 104
        .tag(6).button    (BTN_POS(3,7), BTN_SIZE(2,1), getSoundSelection(PRINTING_FAILED))
105 105
        .colors(action_btn)
106
-       .tag(1).button    (BTN_POS(1,9), BTN_SIZE(4,1), GET_TEXT_F(BACK));
106
+       .tag(1).button    (BTN_POS(1,9), BTN_SIZE(4,1), GET_TEXT_F(MSG_BACK));
107 107
   }
108 108
 }
109 109
 

+ 6
- 6
Marlin/src/lcd/extensible_ui/lib/lulzbot/screens/jerk_screen.cpp ファイルの表示

@@ -34,12 +34,12 @@ void JerkScreen::onRedraw(draw_mode_t what) {
34 34
 
35 35
   widgets_t w(what);
36 36
   w.precision(1);
37
-  w.units(GET_TEXT_F(UNITS_MM_S));
38
-  w.heading(GET_TEXT_F(JERK));
39
-  w.color(x_axis) .adjuster( 2, GET_TEXT_F(AXIS_X), getAxisMaxJerk_mm_s(X) );
40
-  w.color(y_axis) .adjuster( 4, GET_TEXT_F(AXIS_Y), getAxisMaxJerk_mm_s(Y) );
41
-  w.color(z_axis) .adjuster( 6, GET_TEXT_F(AXIS_Z), getAxisMaxJerk_mm_s(Z) );
42
-  w.color(e_axis) .adjuster( 8, GET_TEXT_F(AXIS_E), getAxisMaxJerk_mm_s(E0) );
37
+  w.units(GET_TEXT_F(MSG_UNITS_MM_S));
38
+  w.heading(GET_TEXT_F(MSG_JERK));
39
+  w.color(x_axis) .adjuster( 2, GET_TEXT_F(MSG_AXIS_X), getAxisMaxJerk_mm_s(X) );
40
+  w.color(y_axis) .adjuster( 4, GET_TEXT_F(MSG_AXIS_Y), getAxisMaxJerk_mm_s(Y) );
41
+  w.color(z_axis) .adjuster( 6, GET_TEXT_F(MSG_AXIS_Z), getAxisMaxJerk_mm_s(Z) );
42
+  w.color(e_axis) .adjuster( 8, GET_TEXT_F(MSG_AXIS_E), getAxisMaxJerk_mm_s(E0) );
43 43
   w.increments();
44 44
 }
45 45
 

+ 2
- 2
Marlin/src/lcd/extensible_ui/lib/lulzbot/screens/junction_deviation_screen.cpp ファイルの表示

@@ -33,8 +33,8 @@ using namespace Theme;
33 33
 void JunctionDeviationScreen::onRedraw(draw_mode_t what) {
34 34
   widgets_t w(what);
35 35
   w.precision(2);
36
-  w.units(GET_TEXT_F(UNITS_MM));
37
-  w.heading(GET_TEXT_F(JUNC_DEVIATION));
36
+  w.units(GET_TEXT_F(MSG_UNITS_MM));
37
+  w.heading(GET_TEXT_F(MSG_JUNCTION_DEVIATION));
38 38
   w.color(other) .adjuster( 2, F(""), getJunctionDeviation_mm() );
39 39
   w.increments();
40 40
 }

+ 2
- 2
Marlin/src/lcd/extensible_ui/lib/lulzbot/screens/kill_screen.cpp ファイルの表示

@@ -46,8 +46,8 @@ void KillScreen::show(const char *message) {
46 46
   cmd.font(Theme::font_large)
47 47
      .cmd(COLOR_RGB(Theme::bg_text_enabled))
48 48
      .text(BTN_POS(1,2), BTN_SIZE(4,1), message)
49
-     .text(BTN_POS(1,3), BTN_SIZE(4,1), GET_TEXT_F(PRINTER_HALTED))
50
-     .text(BTN_POS(1,6), BTN_SIZE(4,1), GET_TEXT_F(PLEASE_RESET));
49
+     .text(BTN_POS(1,3), BTN_SIZE(4,1), GET_TEXT_F(MSG_HALTED))
50
+     .text(BTN_POS(1,6), BTN_SIZE(4,1), GET_TEXT_F(MSG_PLEASE_RESET));
51 51
 
52 52
   #undef GRID_COLS
53 53
   #undef GRID_ROWS

+ 6
- 6
Marlin/src/lcd/extensible_ui/lib/lulzbot/screens/linear_advance_screen.cpp ファイルの表示

@@ -33,16 +33,16 @@ using namespace Theme;
33 33
 void LinearAdvanceScreen::onRedraw(draw_mode_t what) {
34 34
   widgets_t w(what);
35 35
   w.precision(2, DEFAULT_LOWEST).color(e_axis);
36
-  w.heading(           GET_TEXT_F(LINEAR_ADVANCE));
36
+  w.heading(           GET_TEXT_F(MSG_LINEAR_ADVANCE));
37 37
   #if EXTRUDERS == 1
38
-    w.adjuster(     2, GET_TEXT_F(LINEAR_ADVANCE_K),    getLinearAdvance_mm_mm_s(E0) );
38
+    w.adjuster(     2, GET_TEXT_F(MSG_LINEAR_ADVANCE_K),    getLinearAdvance_mm_mm_s(E0) );
39 39
   #else
40
-    w.adjuster(     2, GET_TEXT_F(LINEAR_ADVANCE_K1), getLinearAdvance_mm_mm_s(E0) );
41
-    w.adjuster(     4, GET_TEXT_F(LINEAR_ADVANCE_K2), getLinearAdvance_mm_mm_s(E1) );
40
+    w.adjuster(     2, GET_TEXT_F(MSG_LINEAR_ADVANCE_K1), getLinearAdvance_mm_mm_s(E0) );
41
+    w.adjuster(     4, GET_TEXT_F(MSG_LINEAR_ADVANCE_K2), getLinearAdvance_mm_mm_s(E1) );
42 42
     #if EXTRUDERS > 2
43
-      w.adjuster(   6, GET_TEXT_F(LINEAR_ADVANCE_K3), getLinearAdvance_mm_mm_s(E2) );
43
+      w.adjuster(   6, GET_TEXT_F(MSG_LINEAR_ADVANCE_K3), getLinearAdvance_mm_mm_s(E2) );
44 44
       #if EXTRUDERS > 3
45
-        w.adjuster( 8, GET_TEXT_F(LINEAR_ADVANCE_K4), getLinearAdvance_mm_mm_s(E3) );
45
+        w.adjuster( 8, GET_TEXT_F(MSG_LINEAR_ADVANCE_K4), getLinearAdvance_mm_mm_s(E3) );
46 46
       #endif
47 47
     #endif
48 48
   #endif

+ 4
- 4
Marlin/src/lcd/extensible_ui/lib/lulzbot/screens/lock_screen.cpp ファイルの表示

@@ -66,16 +66,16 @@ void LockScreen::onRedraw(draw_mode_t what) {
66 66
     progmem_str message;
67 67
     switch (message_style()) {
68 68
       case 'w':
69
-        message = GET_TEXT_F(PASSCODE_REJECTED);
69
+        message = GET_TEXT_F(MSG_PASSCODE_REJECTED);
70 70
         break;
71 71
       case 'g':
72
-        message = GET_TEXT_F(PASSCODE_ACCEPTED);
72
+        message = GET_TEXT_F(MSG_PASSCODE_ACCEPTED);
73 73
         break;
74 74
       default:
75 75
         if (passcode == 0) {
76
-          message = GET_TEXT_F(PASSCODE_SELECT);
76
+          message = GET_TEXT_F(MSG_PASSCODE_SELECT);
77 77
         } else {
78
-          message = GET_TEXT_F(PASSCODE_REQUEST);
78
+          message = GET_TEXT_F(MSG_PASSCODE_REQUEST);
79 79
         }
80 80
     }
81 81
     message_style() = '\0'; // Terminate the string.

+ 33
- 22
Marlin/src/lcd/extensible_ui/lib/lulzbot/screens/main_menu.cpp ファイルの表示

@@ -5,6 +5,7 @@
5 5
 /****************************************************************************
6 6
  *   Written By Mark Pelletier  2017 - Aleph Objects, Inc.                  *
7 7
  *   Written By Marcio Teixeira 2018 - Aleph Objects, Inc.                  *
8
+ *   Written By Marcio Teixeira 2019 - Cocoa Press                          *
8 9
  *                                                                          *
9 10
  *   This program is free software: you can redistribute it and/or modify   *
10 11
  *   it under the terms of the GNU General Public License as published by   *
@@ -22,7 +23,7 @@
22 23
 
23 24
 #include "../config.h"
24 25
 
25
-#if ENABLED(LULZBOT_TOUCH_UI) && !defined(LULZBOT_USE_BIOPRINTER_UI)
26
+#if ENABLED(LULZBOT_TOUCH_UI) && !defined(TOUCH_UI_LULZBOT_BIO)
26 27
 
27 28
 #include "screens.h"
28 29
 
@@ -43,53 +44,63 @@ void MainMenu::onRedraw(draw_mode_t what) {
43 44
     #ifdef TOUCH_UI_PORTRAIT
44 45
       #define GRID_ROWS 8
45 46
       #define GRID_COLS 2
46
-        .tag(2).button( BTN_POS(1,1), BTN_SIZE(1,1), GET_TEXT_F(AUTO_HOME))
47
-        #ifdef NOZZLE_CLEAN_FEATURE
47
+        .tag(2).button( BTN_POS(1,1), BTN_SIZE(1,1), GET_TEXT_F(MSG_AUTO_HOME))
48
+        #if ENABLED(NOZZLE_CLEAN_FEATURE)
49
+         .enabled(1)
50
+        #else
51
+         .enabled(0)
52
+        #endif
53
+        .tag(3).button( BTN_POS(2,1), BTN_SIZE(1,1), GET_TEXT_F(MSG_CLEAN_NOZZLE))
54
+        .tag(4).button( BTN_POS(1,2), BTN_SIZE(1,1), GET_TEXT_F(MSG_MOVE_AXIS))
55
+        .tag(5).button( BTN_POS(2,2), BTN_SIZE(1,1), GET_TEXT_F(MSG_DISABLE_STEPPERS))
56
+        .tag(6).button( BTN_POS(1,3), BTN_SIZE(2,1), GET_TEXT_F(MSG_TEMPERATURE))
57
+        #if DISABLED(TOUCH_UI_LULZBOT_BIO) && DISABLED(TOUCH_UI_COCOA_PRESS)
48 58
          .enabled(1)
49 59
         #else
50 60
          .enabled(0)
51 61
         #endif
52
-        .tag(3).button( BTN_POS(2,1), BTN_SIZE(1,1), GET_TEXT_F(CLEAN_NOZZLE))
53
-        .tag(4).button( BTN_POS(1,2), BTN_SIZE(1,1), GET_TEXT_F(MOVE_AXIS))
54
-        .tag(5).button( BTN_POS(2,2), BTN_SIZE(1,1), GET_TEXT_F(MOTORS_OFF))
55
-        .tag(6).button( BTN_POS(1,3), BTN_SIZE(2,1), GET_TEXT_F(TEMPERATURE))
56
-        .tag(7).button( BTN_POS(1,4), BTN_SIZE(2,1), GET_TEXT_F(CHANGE_FILAMENT))
57
-        .tag(8).button( BTN_POS(1,5), BTN_SIZE(2,1), GET_TEXT_F(ADVANCED_SETTINGS))
62
+        .tag(7).button( BTN_POS(1,4), BTN_SIZE(2,1), GET_TEXT_F(MSG_FILAMENTCHANGE))
63
+        .tag(8).button( BTN_POS(1,5), BTN_SIZE(2,1), GET_TEXT_F(MSG_ADVANCED_SETTINGS))
58 64
         #ifdef PRINTCOUNTER
59 65
          .enabled(1)
60 66
         #else
61 67
          .enabled(0)
62 68
         #endif
63
-        .tag(9).button( BTN_POS(1,7), BTN_SIZE(2,1), GET_TEXT_F(PRINTER_STATISTICS))
64
-        .tag(10).button( BTN_POS(1,6), BTN_SIZE(2,1), GET_TEXT_F(ABOUT_PRINTER))
69
+        .tag(9).button( BTN_POS(1,7), BTN_SIZE(2,1), GET_TEXT_F(MSG_INFO_STATS_MENU))
70
+        .tag(10).button( BTN_POS(1,6), BTN_SIZE(2,1), GET_TEXT_F(MSG_INFO_MENU))
65 71
         .colors(action_btn)
66
-        .tag(1).button( BTN_POS(1,8), BTN_SIZE(2,1), GET_TEXT_F(BACK));
72
+        .tag(1).button( BTN_POS(1,8), BTN_SIZE(2,1), GET_TEXT_F(MSG_BACK));
67 73
       #undef GRID_COLS
68 74
       #undef GRID_ROWS
69 75
     #else
70 76
       #define GRID_ROWS 5
71 77
       #define GRID_COLS 2
72
-        .tag(2).button( BTN_POS(1,1), BTN_SIZE(1,1), GET_TEXT_F(AUTO_HOME))
78
+        .tag(2).button( BTN_POS(1,1), BTN_SIZE(1,1), GET_TEXT_F(MSG_AUTO_HOME))
73 79
         #if ENABLED(NOZZLE_CLEAN_FEATURE)
74 80
          .enabled(1)
75 81
         #else
76 82
          .enabled(0)
77 83
         #endif
78
-        .tag(3).button( BTN_POS(2,1), BTN_SIZE(1,1), GET_TEXT_F(CLEAN_NOZZLE))
79
-        .tag(4).button( BTN_POS(1,2), BTN_SIZE(1,1), GET_TEXT_F(MOVE_AXIS))
80
-        .tag(5).button( BTN_POS(2,2), BTN_SIZE(1,1), GET_TEXT_F(MOTORS_OFF))
81
-        .tag(6).button( BTN_POS(1,3), BTN_SIZE(1,1), GET_TEXT_F(TEMPERATURE))
82
-        .tag(7).button( BTN_POS(2,3), BTN_SIZE(1,1), GET_TEXT_F(CHANGE_FILAMENT))
83
-        .tag(8).button( BTN_POS(1,4), BTN_SIZE(1,1), GET_TEXT_F(ADVANCED_SETTINGS))
84
+        .tag(3).button( BTN_POS(2,1), BTN_SIZE(1,1), GET_TEXT_F(MSG_CLEAN_NOZZLE))
85
+        .tag(4).button( BTN_POS(1,2), BTN_SIZE(1,1), GET_TEXT_F(MSG_MOVE_AXIS))
86
+        .tag(5).button( BTN_POS(2,2), BTN_SIZE(1,1), GET_TEXT_F(MSG_DISABLE_STEPPERS))
87
+        .tag(6).button( BTN_POS(1,3), BTN_SIZE(1,1), GET_TEXT_F(MSG_TEMPERATURE))
88
+        #if DISABLED(TOUCH_UI_LULZBOT_BIO) && DISABLED(TOUCH_UI_COCOA_PRESS)
89
+         .enabled(1)
90
+        #else
91
+         .enabled(0)
92
+        #endif
93
+        .tag(7).button( BTN_POS(2,3), BTN_SIZE(1,1), GET_TEXT_F(MSG_FILAMENTCHANGE))
94
+        .tag(8).button( BTN_POS(1,4), BTN_SIZE(1,1), GET_TEXT_F(MSG_ADVANCED_SETTINGS))
84 95
         #ifdef PRINTCOUNTER
85 96
          .enabled(1)
86 97
         #else
87 98
          .enabled(0)
88 99
         #endif
89
-        .tag(9).button( BTN_POS(2,4), BTN_SIZE(1,1), GET_TEXT_F(PRINTER_STATISTICS))
90
-        .tag(10).button( BTN_POS(1,5), BTN_SIZE(1,1), GET_TEXT_F(ABOUT_PRINTER))
100
+        .tag(9).button( BTN_POS(2,4), BTN_SIZE(1,1), GET_TEXT_F(MSG_INFO_STATS_MENU))
101
+        .tag(10).button( BTN_POS(1,5), BTN_SIZE(1,1), GET_TEXT_F(MSG_INFO_MENU))
91 102
         .colors(action_btn)
92
-        .tag(1).button( BTN_POS(2,5), BTN_SIZE(1,1), GET_TEXT_F(BACK));
103
+        .tag(1).button( BTN_POS(2,5), BTN_SIZE(1,1), GET_TEXT_F(MSG_BACK));
93 104
       #undef GRID_COLS
94 105
       #undef GRID_ROWS
95 106
     #endif

+ 10
- 10
Marlin/src/lcd/extensible_ui/lib/lulzbot/screens/max_acceleration_screen.cpp ファイルの表示

@@ -33,21 +33,21 @@ using namespace Theme;
33 33
 void MaxAccelerationScreen::onRedraw(draw_mode_t what) {
34 34
   widgets_t w(what);
35 35
   w.precision(0);
36
-  w.units(GET_TEXT_F(UNITS_MM_S2));
37
-  w.heading(GET_TEXT_F(ACCELERATION));
38
-  w.color(x_axis)  .adjuster( 2, GET_TEXT_F(AMAX_X),  getAxisMaxAcceleration_mm_s2(X) );
39
-  w.color(y_axis)  .adjuster( 4, GET_TEXT_F(AMAX_Y),  getAxisMaxAcceleration_mm_s2(Y) );
40
-  w.color(z_axis)  .adjuster( 6, GET_TEXT_F(AMAX_Z),  getAxisMaxAcceleration_mm_s2(Z) );
36
+  w.units(GET_TEXT_F(MSG_UNITS_MM_S2));
37
+  w.heading(GET_TEXT_F(MSG_ACCELERATION));
38
+  w.color(x_axis)  .adjuster( 2, GET_TEXT_F(MSG_AMAX_X),  getAxisMaxAcceleration_mm_s2(X) );
39
+  w.color(y_axis)  .adjuster( 4, GET_TEXT_F(MSG_AMAX_Y),  getAxisMaxAcceleration_mm_s2(Y) );
40
+  w.color(z_axis)  .adjuster( 6, GET_TEXT_F(MSG_AMAX_Z),  getAxisMaxAcceleration_mm_s2(Z) );
41 41
   #if EXTRUDERS == 1 || DISABLED(DISTINCT_E_FACTORS)
42
-    w.color(e_axis).adjuster( 8, GET_TEXT_F(AMAX_E0), getAxisMaxAcceleration_mm_s2(E0) );
42
+    w.color(e_axis).adjuster( 8, GET_TEXT_F(MSG_AMAX_E0), getAxisMaxAcceleration_mm_s2(E0) );
43 43
   #elif EXTRUDERS > 1
44
-    w.color(e_axis).adjuster( 8, GET_TEXT_F(AMAX_E0), getAxisMaxAcceleration_mm_s2(E0) );
45
-    w.color(e_axis).adjuster(10, GET_TEXT_F(AMAX_E1), getAxisMaxAcceleration_mm_s2(E1) );
44
+    w.color(e_axis).adjuster( 8, GET_TEXT_F(MSG_AMAX_E0), getAxisMaxAcceleration_mm_s2(E0) );
45
+    w.color(e_axis).adjuster(10, GET_TEXT_F(MSG_AMAX_E1), getAxisMaxAcceleration_mm_s2(E1) );
46 46
     #if EXTRUDERS > 2
47
-    w.color(e_axis).adjuster(12, GET_TEXT_F(AMAX_E2), getAxisMaxAcceleration_mm_s2(E2) );
47
+    w.color(e_axis).adjuster(12, GET_TEXT_F(MSG_AMAX_E2), getAxisMaxAcceleration_mm_s2(E2) );
48 48
     #endif
49 49
     #if EXTRUDERS > 3
50
-    w.color(e_axis).adjuster(14, GET_TEXT_F(AMAX_E3), getAxisMaxAcceleration_mm_s2(E3) );
50
+    w.color(e_axis).adjuster(14, GET_TEXT_F(MSG_AMAX_E3), getAxisMaxAcceleration_mm_s2(E3) );
51 51
     #endif
52 52
   #endif
53 53
   w.increments();

+ 10
- 10
Marlin/src/lcd/extensible_ui/lib/lulzbot/screens/max_velocity_screen.cpp ファイルの表示

@@ -34,21 +34,21 @@ void MaxVelocityScreen::onRedraw(draw_mode_t what) {
34 34
   using namespace ExtUI;
35 35
   widgets_t w(what);
36 36
   w.precision(0);
37
-  w.units(GET_TEXT_F(UNITS_MM_S));
38
-  w.heading(                        GET_TEXT_F(VELOCITY));
39
-  w.color(x_axis)    .adjuster(  2, GET_TEXT_F(VMAX_X), getAxisMaxFeedrate_mm_s(X) );
40
-  w.color(y_axis)    .adjuster(  4, GET_TEXT_F(VMAX_Y), getAxisMaxFeedrate_mm_s(Y) );
41
-  w.color(z_axis)    .adjuster(  6, GET_TEXT_F(VMAX_Z), getAxisMaxFeedrate_mm_s(Z) );
37
+  w.units(GET_TEXT_F(MSG_UNITS_MM_S));
38
+  w.heading(                        GET_TEXT_F(MSG_VELOCITY));
39
+  w.color(x_axis)    .adjuster(  2, GET_TEXT_F(MSG_VMAX_X), getAxisMaxFeedrate_mm_s(X) );
40
+  w.color(y_axis)    .adjuster(  4, GET_TEXT_F(MSG_VMAX_Y), getAxisMaxFeedrate_mm_s(Y) );
41
+  w.color(z_axis)    .adjuster(  6, GET_TEXT_F(MSG_VMAX_Z), getAxisMaxFeedrate_mm_s(Z) );
42 42
   #if EXTRUDERS == 1 || DISABLED(DISTINCT_E_FACTORS)
43
-    w.color(e_axis)  .adjuster(  8, GET_TEXT_F(VMAX_E1), getAxisMaxFeedrate_mm_s(E0) );
43
+    w.color(e_axis)  .adjuster(  8, GET_TEXT_F(MSG_VMAX_E1), getAxisMaxFeedrate_mm_s(E0) );
44 44
   #elif EXTRUDERS > 1
45
-    w.color(e_axis)  .adjuster(  8, GET_TEXT_F(VMAX_E1), getAxisMaxFeedrate_mm_s(E0) );
46
-    w.color(e_axis)  .adjuster( 10, GET_TEXT_F(VMAX_E2), getAxisMaxFeedrate_mm_s(E1) );
45
+    w.color(e_axis)  .adjuster(  8, GET_TEXT_F(MSG_VMAX_E1), getAxisMaxFeedrate_mm_s(E0) );
46
+    w.color(e_axis)  .adjuster( 10, GET_TEXT_F(MSG_VMAX_E2), getAxisMaxFeedrate_mm_s(E1) );
47 47
     #if EXTRUDERS > 2
48
-      w.color(e_axis).adjuster( 12, GET_TEXT_F(VMAX_E3), getAxisMaxFeedrate_mm_s(E2) );
48
+      w.color(e_axis).adjuster( 12, GET_TEXT_F(MSG_VMAX_E3), getAxisMaxFeedrate_mm_s(E2) );
49 49
     #endif
50 50
     #if EXTRUDERS > 3
51
-      w.color(e_axis).adjuster( 14, GET_TEXT_F(VMAX_E4), getAxisMaxFeedrate_mm_s(E3) );
51
+      w.color(e_axis).adjuster( 14, GET_TEXT_F(MSG_VMAX_E4), getAxisMaxFeedrate_mm_s(E3) );
52 52
     #endif
53 53
   #endif
54 54
   w.increments();

+ 10
- 10
Marlin/src/lcd/extensible_ui/lib/lulzbot/screens/move_axis_screen.cpp ファイルの表示

@@ -45,24 +45,24 @@ void MoveAxisScreen::onEntry() {
45 45
 void MoveAxisScreen::onRedraw(draw_mode_t what) {
46 46
   widgets_t w(what);
47 47
   w.precision(1);
48
-  w.units(GET_TEXT_F(UNITS_MM));
49
-  w.heading(                           GET_TEXT_F(MOVE_AXIS));
48
+  w.units(GET_TEXT_F(MSG_UNITS_MM));
49
+  w.heading(                           GET_TEXT_F(MSG_MOVE_AXIS));
50 50
   w.home_buttons(20);
51
-  w.color(Theme::x_axis).adjuster(  2, GET_TEXT_F(AXIS_X),  getAxisPosition_mm(X), canMove(X));
52
-  w.color(Theme::y_axis).adjuster(  4, GET_TEXT_F(AXIS_Y),  getAxisPosition_mm(Y), canMove(Y));
53
-  w.color(Theme::z_axis).adjuster(  6, GET_TEXT_F(AXIS_Z),  getAxisPosition_mm(Z), canMove(Z));
51
+  w.color(Theme::x_axis).adjuster(  2, GET_TEXT_F(MSG_AXIS_X),  getAxisPosition_mm(X), canMove(X));
52
+  w.color(Theme::y_axis).adjuster(  4, GET_TEXT_F(MSG_AXIS_Y),  getAxisPosition_mm(Y), canMove(Y));
53
+  w.color(Theme::z_axis).adjuster(  6, GET_TEXT_F(MSG_AXIS_Z),  getAxisPosition_mm(Z), canMove(Z));
54 54
 
55 55
   w.color(Theme::e_axis);
56 56
   #if EXTRUDERS == 1
57
-    w.adjuster(  8, GET_TEXT_F(AXIS_E),  screen_data.MoveAxisScreen.e_rel[0], canMove(E0));
57
+    w.adjuster(  8, GET_TEXT_F(MSG_AXIS_E),  screen_data.MoveAxisScreen.e_rel[0], canMove(E0));
58 58
   #elif EXTRUDERS > 1
59
-    w.adjuster(  8, GET_TEXT_F(AXIS_E1), screen_data.MoveAxisScreen.e_rel[0], canMove(E0));
60
-    w.adjuster( 10, GET_TEXT_F(AXIS_E2), screen_data.MoveAxisScreen.e_rel[1], canMove(E1));
59
+    w.adjuster(  8, GET_TEXT_F(MSG_AXIS_E1), screen_data.MoveAxisScreen.e_rel[0], canMove(E0));
60
+    w.adjuster( 10, GET_TEXT_F(MSG_AXIS_E2), screen_data.MoveAxisScreen.e_rel[1], canMove(E1));
61 61
     #if EXTRUDERS > 2
62
-      w.adjuster( 12, GET_TEXT_F(AXIS_E3), screen_data.MoveAxisScreen.e_rel[2], canMove(E2));
62
+      w.adjuster( 12, GET_TEXT_F(MSG_AXIS_E3), screen_data.MoveAxisScreen.e_rel[2], canMove(E2));
63 63
     #endif
64 64
     #if EXTRUDERS > 3
65
-      w.adjuster( 14, GET_TEXT_F(AXIS_E4), screen_data.MoveAxisScreen.e_rel[3], canMove(E3));
65
+      w.adjuster( 14, GET_TEXT_F(MSG_AXIS_E4), screen_data.MoveAxisScreen.e_rel[3], canMove(E3));
66 66
     #endif
67 67
   #endif
68 68
   w.increments();

+ 6
- 6
Marlin/src/lcd/extensible_ui/lib/lulzbot/screens/nozzle_offsets_screen.cpp ファイルの表示

@@ -39,14 +39,14 @@ void NozzleOffsetScreen::onEntry() {
39 39
 
40 40
 void NozzleOffsetScreen::onRedraw(draw_mode_t what) {
41 41
   widgets_t w(what);
42
-  w.precision(2).units(GET_TEXT_F(UNITS_MM));
42
+  w.precision(2).units(GET_TEXT_F(MSG_UNITS_MM));
43 43
 
44
-  w.heading(                          GET_TEXT_F(TOOL_OFFSETS));
45
-  w.color(Theme::x_axis).adjuster(2,  GET_TEXT_F(AXIS_X), ExtUI::getNozzleOffset_mm(X, E1));
46
-  w.color(Theme::y_axis).adjuster(4,  GET_TEXT_F(AXIS_Y), ExtUI::getNozzleOffset_mm(Y, E1));
47
-  w.color(Theme::z_axis).adjuster(6,  GET_TEXT_F(AXIS_Z), ExtUI::getNozzleOffset_mm(Z, E1));
44
+  w.heading(                          GET_TEXT_F(MSG_OFFSETS_MENU));
45
+  w.color(Theme::x_axis).adjuster(2,  GET_TEXT_F(MSG_AXIS_X), ExtUI::getNozzleOffset_mm(X, E1));
46
+  w.color(Theme::y_axis).adjuster(4,  GET_TEXT_F(MSG_AXIS_Y), ExtUI::getNozzleOffset_mm(Y, E1));
47
+  w.color(Theme::z_axis).adjuster(6,  GET_TEXT_F(MSG_AXIS_Z), ExtUI::getNozzleOffset_mm(Z, E1));
48 48
   #if ENABLED(CALIBRATION_GCODE)
49
-  w.button(8, GET_TEXT_F(MEASURE_AUTOMATICALLY), !isPrinting());
49
+  w.button(8, GET_TEXT_F(MSG_MEASURE_AUTOMATICALLY), !isPrinting());
50 50
   #endif
51 51
   w.increments();
52 52
 }

+ 9
- 9
Marlin/src/lcd/extensible_ui/lib/lulzbot/screens/nudge_nozzle_screen.cpp ファイルの表示

@@ -43,21 +43,21 @@ void NudgeNozzleScreen::onEntry() {
43 43
 
44 44
 void NudgeNozzleScreen::onRedraw(draw_mode_t what) {
45 45
   widgets_t w(what);
46
-  w.precision(2, BaseNumericAdjustmentScreen::DEFAULT_MIDRANGE).units(GET_TEXT_F(UNITS_MM));
46
+  w.precision(2, BaseNumericAdjustmentScreen::DEFAULT_MIDRANGE).units(GET_TEXT_F(MSG_UNITS_MM));
47 47
 
48
-  w.heading(                   GET_TEXT_F(NUDGE_NOZZLE));
48
+  w.heading(                   GET_TEXT_F(MSG_NUDGE_NOZZLE));
49 49
   #if ENABLED(BABYSTEP_XY)
50
-  w.color(x_axis).adjuster(2,  GET_TEXT_F(AXIS_X), screen_data.NudgeNozzleScreen.rel.x / getAxisSteps_per_mm(X));
51
-  w.color(y_axis).adjuster(4,  GET_TEXT_F(AXIS_Y), screen_data.NudgeNozzleScreen.rel.y / getAxisSteps_per_mm(Y));
50
+  w.color(x_axis).adjuster(2,  GET_TEXT_F(MSG_AXIS_X), screen_data.NudgeNozzleScreen.rel.x / getAxisSteps_per_mm(X));
51
+  w.color(y_axis).adjuster(4,  GET_TEXT_F(MSG_AXIS_Y), screen_data.NudgeNozzleScreen.rel.y / getAxisSteps_per_mm(Y));
52 52
   #endif
53
-  w.color(z_axis).adjuster(6,  GET_TEXT_F(AXIS_Z), screen_data.NudgeNozzleScreen.rel.z / getAxisSteps_per_mm(Z));
53
+  w.color(z_axis).adjuster(6,  GET_TEXT_F(MSG_AXIS_Z), screen_data.NudgeNozzleScreen.rel.z / getAxisSteps_per_mm(Z));
54 54
   w.increments();
55 55
   #if EXTRUDERS > 1
56
-    w.toggle  (8,  GET_TEXT_F(ADJUST_BOTH_NOZZLES), screen_data.NudgeNozzleScreen.link_nozzles);
56
+    w.toggle  (8,  GET_TEXT_F(MSG_ADJUST_BOTH_NOZZLES), screen_data.NudgeNozzleScreen.link_nozzles);
57 57
   #endif
58 58
 
59 59
   #if EXTRUDERS > 1 || HAS_BED_PROBE
60
-    w.toggle  (9,  GET_TEXT_F(SHOW_OFFSETS), screen_data.NudgeNozzleScreen.show_offsets);
60
+    w.toggle  (9,  GET_TEXT_F(MSG_SHOW_OFFSETS), screen_data.NudgeNozzleScreen.show_offsets);
61 61
 
62 62
     if (screen_data.NudgeNozzleScreen.show_offsets) {
63 63
       char str[19];
@@ -69,12 +69,12 @@ void NudgeNozzleScreen::onRedraw(draw_mode_t what) {
69 69
         dtostrf(getZOffset_mm(), 4, 2, str);
70 70
         strcat(str, " ");
71 71
         strcat_P(str, GET_TEXT(UNITS_MM));
72
-        w.text_field  (0,  GET_TEXT_F(ZPROBE_ZOFFSET), str);
72
+        w.text_field  (0,  GET_TEXT_F(MSG_ZPROBE_ZOFFSET), str);
73 73
       #endif
74 74
 
75 75
       #if EXTRUDERS > 1
76 76
         format_position(str, getNozzleOffset_mm(X, E1), getNozzleOffset_mm(Y, E1), getNozzleOffset_mm(Z, E1));
77
-        w.text_field  (0, GET_TEXT_F(TOOL_OFFSETS), str);
77
+        w.text_field  (0, GET_TEXT_F(MSG_OFFSETS_MENU), str);
78 78
       #endif
79 79
     }
80 80
   #endif

+ 2
- 2
Marlin/src/lcd/extensible_ui/lib/lulzbot/screens/restore_failsafe_dialog_box.cpp ファイルの表示

@@ -29,7 +29,7 @@
29 29
 using namespace ExtUI;
30 30
 
31 31
 void RestoreFailsafeDialogBox::onRedraw(draw_mode_t) {
32
-  drawMessage(GET_TEXT_F(EEPROM_RESET_WARNING));
32
+  drawMessage(GET_TEXT_F(MSG_EEPROM_RESET_WARNING));
33 33
   drawYesNoButtons();
34 34
 }
35 35
 
@@ -37,7 +37,7 @@ bool RestoreFailsafeDialogBox::onTouchEnd(uint8_t tag) {
37 37
   switch (tag) {
38 38
     case 1:
39 39
       ExtUI::injectCommands_P(PSTR("M502"));
40
-      AlertDialogBox::show(GET_TEXT_F(EEPROM_RESET));
40
+      AlertDialogBox::show(GET_TEXT_F(MSG_EEPROM_RESET));
41 41
       // Remove RestoreFailsafeDialogBox from the stack
42 42
       // so the alert box doesn't return to it.
43 43
       current_screen.forget();

+ 2
- 2
Marlin/src/lcd/extensible_ui/lib/lulzbot/screens/save_settings_dialog_box.cpp ファイルの表示

@@ -31,7 +31,7 @@ using namespace ExtUI;
31 31
 bool SaveSettingsDialogBox::needs_save = false;
32 32
 
33 33
 void SaveSettingsDialogBox::onRedraw(draw_mode_t) {
34
-  drawMessage(GET_TEXT_F(EEPROM_SAVE_PROMPT));
34
+  drawMessage(GET_TEXT_F(MSG_EEPROM_SAVE_PROMPT));
35 35
   drawYesNoButtons();
36 36
 }
37 37
 
@@ -40,7 +40,7 @@ bool SaveSettingsDialogBox::onTouchEnd(uint8_t tag) {
40 40
   switch (tag) {
41 41
     case 1:
42 42
       injectCommands_P(PSTR("M500"));
43
-      AlertDialogBox::show(GET_TEXT_F(EEPROM_SAVED));
43
+      AlertDialogBox::show(GET_TEXT_F(MSG_EEPROM_SAVED));
44 44
       // Remove SaveSettingsDialogBox from the stack
45 45
       // so the alert box doesn't return to me.
46 46
       current_screen.forget();

+ 4
- 1
Marlin/src/lcd/extensible_ui/lib/lulzbot/screens/screen_data.h ファイルの表示

@@ -39,6 +39,9 @@ union screen_data_t {
39 39
   struct {
40 40
     uint8_t e_tag, t_tag, repeat_tag;
41 41
     ExtUI::extruder_t saved_extruder;
42
+    #if FILAMENT_UNLOAD_PURGE_LENGTH > 0
43
+      bool need_purge;
44
+    #endif
42 45
   } ChangeFilamentScreen;
43 46
   struct {
44 47
     struct {
@@ -57,7 +60,7 @@ union screen_data_t {
57 60
     struct base_numeric_adjustment_t placeholder;
58 61
     float e_rel[ExtUI::extruderCount];
59 62
   } MoveAxisScreen;
60
-#if ENABLED(DEVELOPER_SCREENS)
63
+#if ENABLED(TOUCH_UI_DEVELOPER_MENU)
61 64
   struct {
62 65
     uint32_t next_watchdog_trigger;
63 66
     const char*  message;

+ 2
- 2
Marlin/src/lcd/extensible_ui/lib/lulzbot/screens/screens.cpp ファイルの表示

@@ -96,12 +96,12 @@ SCREEN_TABLE {
96 96
   DECL_SCREEN(LockScreen),
97 97
   DECL_SCREEN(FilesScreen),
98 98
   DECL_SCREEN(EndstopStatesScreen),
99
-#ifdef LULZBOT_USE_BIOPRINTER_UI
99
+#ifdef TOUCH_UI_LULZBOT_BIO
100 100
   DECL_SCREEN(BioPrintingDialogBox),
101 101
   DECL_SCREEN(BioConfirmHomeXYZ),
102 102
   DECL_SCREEN(BioConfirmHomeE),
103 103
 #endif
104
-#if ENABLED(DEVELOPER_SCREENS)
104
+#if ENABLED(TOUCH_UI_DEVELOPER_MENU)
105 105
   DECL_SCREEN(DeveloperMenu),
106 106
   DECL_SCREEN(ConfirmEraseFlashDialogBox),
107 107
   DECL_SCREEN(WidgetsScreen),

+ 7
- 4
Marlin/src/lcd/extensible_ui/lib/lulzbot/screens/screens.h ファイルの表示

@@ -69,7 +69,7 @@ enum {
69 69
 #if ENABLED(FILAMENT_RUNOUT_SENSOR)
70 70
   FILAMENT_RUNOUT_SCREEN_CACHE,
71 71
 #endif
72
-#ifdef LULZBOT_USE_BIOPRINTER_UI
72
+#ifdef TOUCH_UI_LULZBOT_BIO
73 73
   PRINTING_SCREEN_CACHE,
74 74
 #endif
75 75
   CHANGE_FILAMENT_SCREEN_CACHE,
@@ -226,7 +226,7 @@ class SpinnerDialogBox : public DialogBoxBaseClass, public CachedScreen<SPINNER_
226 226
     static void enqueueAndWait_P(const progmem_str message, const progmem_str commands);
227 227
 };
228 228
 
229
-#ifndef LULZBOT_USE_BIOPRINTER_UI
229
+#if DISABLED(TOUCH_UI_LULZBOT_BIO) && DISABLED(TOUCH_UI_COCOA_PRESS)
230 230
 class StatusScreen : public BaseScreen, public CachedScreen<STATUS_SCREEN_CACHE,STATUS_SCREEN_DL_SIZE> {
231 231
   private:
232 232
     static void draw_axis_position(draw_mode_t);
@@ -273,7 +273,9 @@ class StatusScreen : public BaseScreen, public CachedScreen<STATUS_SCREEN_CACHE,
273 273
       static void onIdle();
274 274
 
275 275
   };
276
+#endif
276 277
 
278
+#if ENABLED(TOUCH_UI_LULZBOT_BIO)
277 279
   class BioPrintingDialogBox : public BaseScreen, public CachedScreen<PRINTING_SCREEN_CACHE,PRINTING_SCREEN_DL_SIZE> {
278 280
     private:
279 281
       static void draw_status_message(draw_mode_t, const char * const);
@@ -343,6 +345,7 @@ class ChangeFilamentScreen : public BaseScreen, public CachedScreen<CHANGE_FILAM
343 345
     static ExtUI::extruder_t getExtruder();
344 346
     static void drawTempGradient(uint16_t x, uint16_t y, uint16_t w, uint16_t h);
345 347
     static uint32_t getTempColor(uint32_t temp);
348
+    static void doPurge();
346 349
   public:
347 350
     static void onEntry();
348 351
     static void onExit();
@@ -597,7 +600,7 @@ class InterfaceSettingsScreen : public BaseScreen, public CachedScreen<INTERFACE
597 600
     };
598 601
 
599 602
   public:
600
-    #ifdef LULZBOT_EEPROM_BACKUP_SIZE
603
+    #ifdef ARCHIM2_SPI_FLASH_EEPROM_BACKUP_SIZE
601 604
       static bool backupEEPROM();
602 605
     #endif
603 606
 
@@ -687,7 +690,7 @@ class DisplayTuningScreen : public BaseNumericAdjustmentScreen, public CachedScr
687 690
     static bool onTouchHeld(uint8_t tag);
688 691
 };
689 692
 
690
-#if ENABLED(DEVELOPER_SCREENS)
693
+#if ENABLED(TOUCH_UI_DEVELOPER_MENU)
691 694
   class DeveloperMenu : public BaseScreen, public UncachedScreen {
692 695
     public:
693 696
       static void onRedraw(draw_mode_t);

+ 1
- 1
Marlin/src/lcd/extensible_ui/lib/lulzbot/screens/spinner_dialog_box.cpp ファイルの表示

@@ -46,7 +46,7 @@ void SpinnerDialogBox::hide() {
46 46
 }
47 47
 
48 48
 void SpinnerDialogBox::enqueueAndWait_P(const progmem_str commands) {
49
-  enqueueAndWait_P(GET_TEXT_F(PLEASE_WAIT), commands);
49
+  enqueueAndWait_P(GET_TEXT_F(MSG_PLEASE_WAIT), commands);
50 50
 }
51 51
 
52 52
 void SpinnerDialogBox::enqueueAndWait_P(const progmem_str message, const progmem_str commands) {

+ 7
- 7
Marlin/src/lcd/extensible_ui/lib/lulzbot/screens/statistics_screen.cpp ファイルの表示

@@ -44,14 +44,14 @@ void StatisticsScreen::onRedraw(draw_mode_t what) {
44 44
        .tag(0)
45 45
 
46 46
        .font(Theme::font_medium)
47
-       .text(BTN_POS(1,1), BTN_SIZE(4,1), GET_TEXT_F(PRINTER_STATISTICS))
47
+       .text(BTN_POS(1,1), BTN_SIZE(4,1), GET_TEXT_F(MSG_INFO_STATS_MENU))
48 48
        .font(Theme::font_small)
49 49
        .tag(0)
50
-       .text(BTN_POS(1,2), BTN_SIZE(2,1), GET_TEXT_F(INFO_PRINT_COUNT),      OPT_RIGHTX | OPT_CENTERY)
51
-       .text(BTN_POS(1,3), BTN_SIZE(2,1), GET_TEXT_F(INFO_COMPLETED_PRINTS), OPT_RIGHTX | OPT_CENTERY)
52
-       .text(BTN_POS(1,4), BTN_SIZE(2,1), GET_TEXT_F(INFO_PRINT_TIME),       OPT_RIGHTX | OPT_CENTERY)
53
-       .text(BTN_POS(1,5), BTN_SIZE(2,1), GET_TEXT_F(INFO_PRINT_LONGEST),    OPT_RIGHTX | OPT_CENTERY)
54
-       .text(BTN_POS(1,6), BTN_SIZE(2,1), GET_TEXT_F(INFO_PRINT_FILAMENT),   OPT_RIGHTX | OPT_CENTERY);
50
+       .text(BTN_POS(1,2), BTN_SIZE(2,1), GET_TEXT_F(MSG_INFO_PRINT_COUNT),      OPT_RIGHTX | OPT_CENTERY)
51
+       .text(BTN_POS(1,3), BTN_SIZE(2,1), GET_TEXT_F(MSG_INFO_COMPLETED_PRINTS), OPT_RIGHTX | OPT_CENTERY)
52
+       .text(BTN_POS(1,4), BTN_SIZE(2,1), GET_TEXT_F(MSG_INFO_PRINT_TIME),       OPT_RIGHTX | OPT_CENTERY)
53
+       .text(BTN_POS(1,5), BTN_SIZE(2,1), GET_TEXT_F(MSG_INFO_PRINT_LONGEST),    OPT_RIGHTX | OPT_CENTERY)
54
+       .text(BTN_POS(1,6), BTN_SIZE(2,1), GET_TEXT_F(MSG_INFO_PRINT_FILAMENT),   OPT_RIGHTX | OPT_CENTERY);
55 55
     // Don't chain the following, it causes strange issues with evaluation ordering!
56 56
     cmd.text(BTN_POS(3,2), BTN_SIZE(2,1), getTotalPrints_str(buffer));
57 57
     cmd.text(BTN_POS(3,3), BTN_SIZE(2,1), getFinishedPrints_str(buffer));
@@ -63,7 +63,7 @@ void StatisticsScreen::onRedraw(draw_mode_t what) {
63 63
   if (what & FOREGROUND) {
64 64
     cmd.font(Theme::font_medium)
65 65
        .colors(action_btn)
66
-       .tag(1).button(BTN_POS(1,7), BTN_SIZE(4,1), GET_TEXT_F(BACK));
66
+       .tag(1).button(BTN_POS(1,7), BTN_SIZE(4,1), GET_TEXT_F(MSG_BACK));
67 67
   }
68 68
 }
69 69
 

+ 10
- 10
Marlin/src/lcd/extensible_ui/lib/lulzbot/screens/status_screen.cpp ファイルの表示

@@ -22,7 +22,7 @@
22 22
 
23 23
 #include "../config.h"
24 24
 
25
-#if ENABLED(LULZBOT_TOUCH_UI) && DISABLED(LULZBOT_USE_BIOPRINTER_UI)
25
+#if ENABLED(LULZBOT_TOUCH_UI) && DISABLED(TOUCH_UI_LULZBOT_BIO) && DISABLED(TOUCH_UI_COCOA_PRESS)
26 26
 
27 27
 #include "screens.h"
28 28
 #include "screen_data.h"
@@ -53,9 +53,9 @@ void StatusScreen::draw_axis_position(draw_mode_t what) {
53 53
                          .button( BTN_POS(1,7), BTN_SIZE(2,1), F(""), OPT_FLAT)
54 54
 
55 55
         .font(Theme::font_small)
56
-                         .text  ( BTN_POS(1,5), BTN_SIZE(1,1), GET_TEXT_F(AXIS_X))
57
-                         .text  ( BTN_POS(1,6), BTN_SIZE(1,1), GET_TEXT_F(AXIS_Y))
58
-                         .text  ( BTN_POS(1,7), BTN_SIZE(1,1), GET_TEXT_F(AXIS_Z))
56
+                         .text  ( BTN_POS(1,5), BTN_SIZE(1,1), GET_TEXT_F(MSG_AXIS_X))
57
+                         .text  ( BTN_POS(1,6), BTN_SIZE(1,1), GET_TEXT_F(MSG_AXIS_Y))
58
+                         .text  ( BTN_POS(1,7), BTN_SIZE(1,1), GET_TEXT_F(MSG_AXIS_Z))
59 59
 
60 60
         .font(Theme::font_medium)
61 61
         .fgcolor(Theme::x_axis) .button( BTN_POS(2,5), BTN_SIZE(2,1), F(""), OPT_FLAT)
@@ -69,9 +69,9 @@ void StatusScreen::draw_axis_position(draw_mode_t what) {
69 69
                          .button( BTN_POS(3,5), BTN_SIZE(1,2), F(""),  OPT_FLAT)
70 70
 
71 71
         .font(Theme::font_small)
72
-                         .text  ( BTN_POS(1,5), BTN_SIZE(1,1), GET_TEXT_F(AXIS_X))
73
-                         .text  ( BTN_POS(2,5), BTN_SIZE(1,1), GET_TEXT_F(AXIS_Y))
74
-                         .text  ( BTN_POS(3,5), BTN_SIZE(1,1), GET_TEXT_F(AXIS_Z))
72
+                         .text  ( BTN_POS(1,5), BTN_SIZE(1,1), GET_TEXT_F(MSG_AXIS_X))
73
+                         .text  ( BTN_POS(2,5), BTN_SIZE(1,1), GET_TEXT_F(MSG_AXIS_Y))
74
+                         .text  ( BTN_POS(3,5), BTN_SIZE(1,1), GET_TEXT_F(MSG_AXIS_Z))
75 75
                          .font(Theme::font_medium)
76 76
 
77 77
         .fgcolor(Theme::x_axis) .button( BTN_POS(1,6), BTN_SIZE(1,1), F(""), OPT_FLAT)
@@ -279,12 +279,12 @@ void StatusScreen::draw_interaction_buttons(draw_mode_t what) {
279 279
           #else
280 280
             BTN_POS(1,7), BTN_SIZE(2,2),
281 281
           #endif
282
-          isPrintingFromMedia() ? GET_TEXT_F(PRINTING) : GET_TEXT_F(MEDIA)
282
+          isPrintingFromMedia() ? GET_TEXT_F(MSG_PRINTING) : GET_TEXT_F(MSG_BUTTON_MEDIA)
283 283
         ).colors(!has_media ? action_btn : normal_btn)
284 284
       #ifdef TOUCH_UI_PORTRAIT
285
-       .tag(4).button( BTN_POS(3,8), BTN_SIZE(2,1), GET_TEXT_F(MENU));
285
+       .tag(4).button( BTN_POS(3,8), BTN_SIZE(2,1), GET_TEXT_F(MSG_BUTTON_MENU));
286 286
       #else
287
-       .tag(4).button( BTN_POS(3,7), BTN_SIZE(2,2), GET_TEXT_F(MENU));
287
+       .tag(4).button( BTN_POS(3,7), BTN_SIZE(2,2), GET_TEXT_F(MSG_BUTTON_MENU));
288 288
     #endif
289 289
   }
290 290
   #undef  GRID_COLS

+ 4
- 4
Marlin/src/lcd/extensible_ui/lib/lulzbot/screens/stepper_bump_sensitivity_screen.cpp ファイルの表示

@@ -33,22 +33,22 @@ using namespace Theme;
33 33
 void StepperBumpSensitivityScreen::onRedraw(draw_mode_t what) {
34 34
   widgets_t w(what);
35 35
   w.precision(0, BaseNumericAdjustmentScreen::DEFAULT_LOWEST);
36
-  w.heading(                     GET_TEXT_F(HOME_SENSE));
37
-  w.color(x_axis)  .adjuster( 2, GET_TEXT_F(AXIS_X),  getTMCBumpSensitivity(X),
36
+  w.heading(                     GET_TEXT_F(MSG_TMC_HOMING_THRS));
37
+  w.color(x_axis)  .adjuster( 2, GET_TEXT_F(MSG_AXIS_X),  getTMCBumpSensitivity(X),
38 38
   #if X_SENSORLESS
39 39
     true
40 40
   #else
41 41
     false
42 42
   #endif
43 43
   );
44
-  w.color(y_axis)  .adjuster( 4, GET_TEXT_F(AXIS_Y),  getTMCBumpSensitivity(Y),
44
+  w.color(y_axis)  .adjuster( 4, GET_TEXT_F(MSG_AXIS_Y),  getTMCBumpSensitivity(Y),
45 45
    #if Y_SENSORLESS
46 46
      true
47 47
    #else
48 48
      false
49 49
    #endif
50 50
   );
51
-  w.color(z_axis)  .adjuster( 6, GET_TEXT_F(AXIS_Z),  getTMCBumpSensitivity(Z),
51
+  w.color(z_axis)  .adjuster( 6, GET_TEXT_F(MSG_AXIS_Z),  getTMCBumpSensitivity(Z),
52 52
    #if Z_SENSORLESS
53 53
      true
54 54
    #else

+ 10
- 10
Marlin/src/lcd/extensible_ui/lib/lulzbot/screens/stepper_current_screen.cpp ファイルの表示

@@ -33,21 +33,21 @@ using namespace Theme;
33 33
 void StepperCurrentScreen::onRedraw(draw_mode_t what) {
34 34
   widgets_t w(what);
35 35
   w.precision(0);
36
-  w.units(GET_TEXT_F(UNITS_MILLIAMP));
37
-  w.heading(                     GET_TEXT_F(MOTOR_CURRENT));
38
-  w.color(x_axis)  .adjuster( 2, GET_TEXT_F(AXIS_X),  getAxisCurrent_mA(X) );
39
-  w.color(y_axis)  .adjuster( 4, GET_TEXT_F(AXIS_Y),  getAxisCurrent_mA(Y) );
40
-  w.color(z_axis)  .adjuster( 6, GET_TEXT_F(AXIS_Z),  getAxisCurrent_mA(Z) );
36
+  w.units(GET_TEXT_F(MSG_UNITS_MILLIAMP));
37
+  w.heading(                     GET_TEXT_F(MSG_TMC_CURRENT));
38
+  w.color(x_axis)  .adjuster( 2, GET_TEXT_F(MSG_AXIS_X),  getAxisCurrent_mA(X) );
39
+  w.color(y_axis)  .adjuster( 4, GET_TEXT_F(MSG_AXIS_Y),  getAxisCurrent_mA(Y) );
40
+  w.color(z_axis)  .adjuster( 6, GET_TEXT_F(MSG_AXIS_Z),  getAxisCurrent_mA(Z) );
41 41
   #if EXTRUDERS == 1
42
-    w.color(e_axis).adjuster( 8, GET_TEXT_F(AXIS_E),  getAxisCurrent_mA(E0) );
42
+    w.color(e_axis).adjuster( 8, GET_TEXT_F(MSG_AXIS_E),  getAxisCurrent_mA(E0) );
43 43
   #elif EXTRUDERS > 1
44
-    w.color(e_axis).adjuster( 8, GET_TEXT_F(AXIS_E1), getAxisCurrent_mA(E0) );
45
-    w.color(e_axis).adjuster(10, GET_TEXT_F(AXIS_E2), getAxisCurrent_mA(E1) );
44
+    w.color(e_axis).adjuster( 8, GET_TEXT_F(MSG_AXIS_E1), getAxisCurrent_mA(E0) );
45
+    w.color(e_axis).adjuster(10, GET_TEXT_F(MSG_AXIS_E2), getAxisCurrent_mA(E1) );
46 46
     #if EXTRUDERS > 2
47
-    w.color(e_axis).adjuster(12, GET_TEXT_F(AXIS_E3), getAxisCurrent_mA(E2) );
47
+    w.color(e_axis).adjuster(12, GET_TEXT_F(MSG_AXIS_E3), getAxisCurrent_mA(E2) );
48 48
     #endif
49 49
     #if EXTRUDERS > 3
50
-    w.color(e_axis).adjuster(14, GET_TEXT_F(AXIS_E4), getAxisCurrent_mA(E3) );
50
+    w.color(e_axis).adjuster(14, GET_TEXT_F(MSG_AXIS_E4), getAxisCurrent_mA(E3) );
51 51
     #endif
52 52
   #endif
53 53
   w.increments();

+ 10
- 10
Marlin/src/lcd/extensible_ui/lib/lulzbot/screens/steps_screen.cpp ファイルの表示

@@ -33,21 +33,21 @@ using namespace Theme;
33 33
 void StepsScreen::onRedraw(draw_mode_t what) {
34 34
   widgets_t w(what);
35 35
   w.precision(0);
36
-  w.units(GET_TEXT_F(UNITS_STEP_MM));
37
-  w.heading(                        GET_TEXT_F(STEPS_PER_MM));
38
-  w.color(x_axis)     .adjuster( 2, GET_TEXT_F(AXIS_X),  getAxisSteps_per_mm(X) );
39
-  w.color(y_axis)     .adjuster( 4, GET_TEXT_F(AXIS_Y),  getAxisSteps_per_mm(Y) );
40
-  w.color(z_axis)     .adjuster( 6, GET_TEXT_F(AXIS_Z),  getAxisSteps_per_mm(Z) );
36
+  w.units(GET_TEXT_F(MSG_UNITS_STEP_MM));
37
+  w.heading(                        GET_TEXT_F(MSG_STEPS_PER_MM));
38
+  w.color(x_axis)     .adjuster( 2, GET_TEXT_F(MSG_AXIS_X),  getAxisSteps_per_mm(X) );
39
+  w.color(y_axis)     .adjuster( 4, GET_TEXT_F(MSG_AXIS_Y),  getAxisSteps_per_mm(Y) );
40
+  w.color(z_axis)     .adjuster( 6, GET_TEXT_F(MSG_AXIS_Z),  getAxisSteps_per_mm(Z) );
41 41
   #if EXTRUDERS == 1 || DISABLED(DISTINCT_E_FACTORS)
42
-    w.color(e_axis)   .adjuster( 8, GET_TEXT_F(AXIS_E),  getAxisSteps_per_mm(E0) );
42
+    w.color(e_axis)   .adjuster( 8, GET_TEXT_F(MSG_AXIS_E),  getAxisSteps_per_mm(E0) );
43 43
   #elif EXTRUDERS > 1
44
-    w.color(e_axis)   .adjuster( 8, GET_TEXT_F(AXIS_E1), getAxisSteps_per_mm(E0) );
45
-    w.color(e_axis)   .adjuster(10, GET_TEXT_F(AXIS_E2), getAxisSteps_per_mm(E1) );
44
+    w.color(e_axis)   .adjuster( 8, GET_TEXT_F(MSG_AXIS_E1), getAxisSteps_per_mm(E0) );
45
+    w.color(e_axis)   .adjuster(10, GET_TEXT_F(MSG_AXIS_E2), getAxisSteps_per_mm(E1) );
46 46
     #if EXTRUDERS > 2
47
-      w.color(e_axis) .adjuster(12, GET_TEXT_F(AXIS_E3), getAxisSteps_per_mm(E2) );
47
+      w.color(e_axis) .adjuster(12, GET_TEXT_F(MSG_AXIS_E3), getAxisSteps_per_mm(E2) );
48 48
     #endif
49 49
     #if EXTRUDERS > 3
50
-      w.color(e_axis) .adjuster(14, GET_TEXT_F(AXIS_E4), getAxisSteps_per_mm(E3) );
50
+      w.color(e_axis) .adjuster(14, GET_TEXT_F(MSG_AXIS_E4), getAxisSteps_per_mm(E3) );
51 51
     #endif
52 52
   #endif
53 53
   w.increments();

+ 2
- 1
Marlin/src/lcd/extensible_ui/lib/lulzbot/screens/stress_test_screen.cpp ファイルの表示

@@ -22,7 +22,7 @@
22 22
 
23 23
 #include "../config.h"
24 24
 
25
-#if BOTH(LULZBOT_TOUCH_UI, DEVELOPER_SCREENS)
25
+#if BOTH(LULZBOT_TOUCH_UI, TOUCH_UI_DEVELOPER_MENU)
26 26
 
27 27
 #include "screens.h"
28 28
 #include "screen_data.h"
@@ -121,6 +121,7 @@ void StressTestScreen::onIdle() {
121 121
 
122 122
   if (!commandsInQueue()) {
123 123
       if (!isPositionKnown()) {
124
+        extern const char G28_STR[];
124 125
         injectCommands_P(G28_STR);
125 126
       } else {
126 127
         injectCommands_P(PSTR(

+ 6
- 6
Marlin/src/lcd/extensible_ui/lib/lulzbot/screens/string_format.cpp ファイルの表示

@@ -34,28 +34,28 @@
34 34
  * Formats a temperature string (e.g. "100°C")
35 35
  */
36 36
 void format_temp(char *str, float t1) {
37
-  sprintf_P(str, PSTR("%3d" S_FMT), ROUND(t1), GET_TEXT(UNITS_C));
37
+  sprintf_P(str, PSTR("%3d" S_FMT), ROUND(t1), GET_TEXT(MSG_UNITS_C));
38 38
 }
39 39
 
40 40
 /**
41 41
  * Formats a temperature string for an idle heater (e.g. "100 °C / idle")
42 42
  */
43 43
 void format_temp_and_idle(char *str, float t1) {
44
-  sprintf_P(str, PSTR("%3d" S_FMT " / " S_FMT), ROUND(t1), GET_TEXT(UNITS_C), GET_TEXT(TEMP_IDLE));
44
+  sprintf_P(str, PSTR("%3d" S_FMT " / " S_FMT), ROUND(t1), GET_TEXT(MSG_UNITS_C), GET_TEXT(MSG_IDLE));
45 45
 }
46 46
 
47 47
 /**
48 48
  * Formats a temperature string for an active heater (e.g. "100 / 200°C")
49 49
  */
50 50
 void format_temp_and_temp(char *str, float t1, float t2) {
51
-  sprintf_P(str, PSTR("%3d / %3d" S_FMT), ROUND(t1), ROUND(t2), GET_TEXT(UNITS_C));
51
+  sprintf_P(str, PSTR("%3d / %3d" S_FMT), ROUND(t1), ROUND(t2), GET_TEXT(MSG_UNITS_C));
52 52
 }
53 53
 
54 54
 /**
55 55
  * Formats a temperature string for a material (e.g. "100°C (PLA)")
56 56
  */
57 57
 void format_temp_and_material(char *str, float t1, const char *material) {
58
-  sprintf_P(str, PSTR("%3d" S_FMT " (" S_FMT ")"), ROUND(t1), GET_TEXT(UNITS_C), material);
58
+  sprintf_P(str, PSTR("%3d" S_FMT " (" S_FMT ")"), ROUND(t1), GET_TEXT(MSG_UNITS_C), material);
59 59
 }
60 60
 
61 61
 /**
@@ -64,7 +64,7 @@ void format_temp_and_material(char *str, float t1, const char *material) {
64 64
 void format_position(char *str, float p) {
65 65
   dtostrf(p, 5, 1, str);
66 66
   strcat_P(str, PSTR(" "));
67
-  strcat_P(str, GET_TEXT(UNITS_MM));
67
+  strcat_P(str, GET_TEXT(MSG_UNITS_MM));
68 68
 }
69 69
 
70 70
 /**
@@ -75,7 +75,7 @@ void format_position(char *str, float x, float y, float z) {
75 75
   dtostrf(x, 4, 2, num1);
76 76
   dtostrf(y, 4, 2, num2);
77 77
   dtostrf(z, 4, 2, num3);
78
-  sprintf_P(str, PSTR("%s; %s; %s " S_FMT), num1, num2, num3, GET_TEXT(UNITS_MM));
78
+  sprintf_P(str, PSTR("%s; %s; %s " S_FMT), num1, num2, num3, GET_TEXT(MSG_UNITS_MM));
79 79
 }
80 80
 
81 81
 #pragma GCC diagnostic pop

+ 13
- 13
Marlin/src/lcd/extensible_ui/lib/lulzbot/screens/temperature_screen.cpp ファイルの表示

@@ -32,29 +32,29 @@ using namespace ExtUI;
32 32
 
33 33
 void TemperatureScreen::onRedraw(draw_mode_t what) {
34 34
   widgets_t w(what);
35
-  w.precision(0).color(temp).units(GET_TEXT_F(UNITS_C));
36
-  w.heading(GET_TEXT_F(TEMPERATURE));
37
-  w.button(30, GET_TEXT_F(COOLDOWN));
38
-  #ifndef LULZBOT_DISABLE_TOOLHEAD_HEATER
35
+  w.precision(0).color(temp).units(GET_TEXT_F(MSG_UNITS_C));
36
+  w.heading(GET_TEXT_F(MSG_TEMPERATURE));
37
+  w.button(30, GET_TEXT_F(MSG_COOLDOWN));
38
+  #ifndef NO_TOOLHEAD_HEATER_GCODE
39 39
     #if HOTENDS == 1
40
-      w.adjuster(   2, GET_TEXT_F(HOTEND),   getTargetTemp_celsius(E0));
40
+      w.adjuster(   2, GET_TEXT_F(MSG_NOZZLE),   getTargetTemp_celsius(E0));
41 41
     #else
42
-      w.adjuster(   2, GET_TEXT_F(HOTEND1), getTargetTemp_celsius(E0));
43
-      w.adjuster(   4, GET_TEXT_F(HOTEND2), getTargetTemp_celsius(E1));
42
+      w.adjuster(   2, GET_TEXT_F(MSG_NOZZLE_0), getTargetTemp_celsius(E0));
43
+      w.adjuster(   4, GET_TEXT_F(MSG_NOZZLE_1), getTargetTemp_celsius(E1));
44 44
       #if HOTENDS > 2
45
-        w.adjuster( 6, GET_TEXT_F(HOTEND3), getTargetTemp_celsius(E2));
45
+        w.adjuster( 6, GET_TEXT_F(MSG_NOZZLE_2), getTargetTemp_celsius(E2));
46 46
       #endif
47 47
       #if HOTENDS > 3
48
-        w.adjuster( 8, GET_TEXT_F(HOTEND4), getTargetTemp_celsius(E3));
48
+        w.adjuster( 8, GET_TEXT_F(MSG_NOZZLE_3), getTargetTemp_celsius(E3));
49 49
       #endif
50 50
     #endif
51 51
   #endif
52 52
   #if HAS_HEATED_BED
53
-    w.adjuster(    20, GET_TEXT_F(BED),     getTargetTemp_celsius(BED));
53
+    w.adjuster(    20, GET_TEXT_F(MSG_BED),     getTargetTemp_celsius(BED));
54 54
   #endif
55 55
   #if FAN_COUNT > 0
56
-    w.color(fan_speed).units(GET_TEXT_F(UNITS_PERCENT));
57
-    w.adjuster(    10, GET_TEXT_F(FAN_SPEED), getTargetFan_percent(FAN0));
56
+    w.color(fan_speed).units(GET_TEXT_F(MSG_UNITS_PERCENT));
57
+    w.adjuster(    10, GET_TEXT_F(MSG_FAN_SPEED), getTargetFan_percent(FAN0));
58 58
   #endif
59 59
   w.increments();
60 60
 }
@@ -64,7 +64,7 @@ bool TemperatureScreen::onTouchHeld(uint8_t tag) {
64 64
   switch (tag) {
65 65
     case 20: UI_DECREMENT(TargetTemp_celsius, BED); break;
66 66
     case 21: UI_INCREMENT(TargetTemp_celsius, BED); break;
67
-    #ifndef LULZBOT_DISABLE_TOOLHEAD_HEATER
67
+    #ifndef NO_TOOLHEAD_HEATER_GCODE
68 68
     case  2: UI_DECREMENT(TargetTemp_celsius, E0); break;
69 69
     case  3: UI_INCREMENT(TargetTemp_celsius, E0); break;
70 70
     #endif

+ 2
- 2
Marlin/src/lcd/extensible_ui/lib/lulzbot/screens/touch_calibration_screen.cpp ファイルの表示

@@ -45,7 +45,7 @@ void TouchCalibrationScreen::onEntry() {
45 45
        .cmd(CLEAR_COLOR_RGB(bg_color))
46 46
        .cmd(CLEAR(true,true,true))
47 47
        .cmd(COLOR_RGB(bg_text_enabled));
48
-    draw_text_box(cmd, BTN_POS(1,1), BTN_SIZE(4,16), GET_TEXT_F(TOUCH_CALIBRATION_START), OPT_CENTER, font_large);
48
+    draw_text_box(cmd, BTN_POS(1,1), BTN_SIZE(4,16), GET_TEXT_F(MSG_TOUCH_CALIBRATION_START), OPT_CENTER, font_large);
49 49
     cmd.cmd(DL::DL_DISPLAY)
50 50
        .cmd(CMD_SWAP)
51 51
        .execute();
@@ -76,7 +76,7 @@ void TouchCalibrationScreen::onRedraw(draw_mode_t) {
76 76
      .cmd(CLEAR(true,true,true))
77 77
      .cmd(COLOR_RGB(bg_text_enabled));
78 78
 
79
-  draw_text_box(cmd, BTN_POS(1,1), BTN_SIZE(4,16), GET_TEXT_F(TOUCH_CALIBRATION_PROMPT), OPT_CENTER, font_large);
79
+  draw_text_box(cmd, BTN_POS(1,1), BTN_SIZE(4,16), GET_TEXT_F(MSG_TOUCH_CALIBRATION_PROMPT), OPT_CENTER, font_large);
80 80
   cmd.cmd(CMD_CALIBRATE);
81 81
 }
82 82
 

+ 1
- 1
Marlin/src/lcd/extensible_ui/lib/lulzbot/screens/touch_registers_screen.cpp ファイルの表示

@@ -22,7 +22,7 @@
22 22
 
23 23
 #include "../config.h"
24 24
 
25
-#if BOTH(LULZBOT_TOUCH_UI, DEVELOPER_SCREENS)
25
+#if BOTH(LULZBOT_TOUCH_UI, TOUCH_UI_DEVELOPER_MENU)
26 26
 
27 27
 #include "screens.h"
28 28
 

+ 19
- 19
Marlin/src/lcd/extensible_ui/lib/lulzbot/screens/tune_menu.cpp ファイルの表示

@@ -22,7 +22,7 @@
22 22
 
23 23
 #include "../config.h"
24 24
 
25
-#if ENABLED(LULZBOT_TOUCH_UI) && !defined(LULZBOT_USE_BIOPRINTER_UI)
25
+#if ENABLED(LULZBOT_TOUCH_UI) && !defined(TOUCH_UI_LULZBOT_BIO)
26 26
 
27 27
 #include "screens.h"
28 28
 
@@ -51,79 +51,79 @@ void TuneMenu::onRedraw(draw_mode_t what) {
51 51
     cmd.colors(normal_btn)
52 52
        .font(font_medium)
53 53
     #ifdef TOUCH_UI_PORTRAIT
54
-       .tag(2).enabled(1)      .button( BTN_POS(1,1), BTN_SIZE(2,1), GET_TEXT_F(TEMPERATURE))
55
-       .tag(3).enabled(!isPrinting()).button( BTN_POS(1,2), BTN_SIZE(2,1), GET_TEXT_F(CHANGE_FILAMENT))
54
+       .tag(2).enabled(1)      .button( BTN_POS(1,1), BTN_SIZE(2,1), GET_TEXT_F(MSG_TEMPERATURE))
55
+       .tag(3).enabled(!isPrinting()).button( BTN_POS(1,2), BTN_SIZE(2,1), GET_TEXT_F(MSG_FILAMENTCHANGE))
56 56
        #if EITHER(LIN_ADVANCE, FILAMENT_RUNOUT_SENSOR)
57 57
           .enabled(1)
58 58
         #else
59 59
           .enabled(0)
60 60
         #endif
61
-       .tag(9).button( BTN_POS(1,3), BTN_SIZE(2,1), GET_TEXT_F(FILAMENT))
61
+       .tag(9).button( BTN_POS(1,3), BTN_SIZE(2,1), GET_TEXT_F(MSG_FILAMENT))
62 62
       #if ENABLED(BABYSTEPPING)
63
-       .tag(4).enabled(1)      .button( BTN_POS(1,4), BTN_SIZE(2,1), GET_TEXT_F(NUDGE_NOZZLE))
63
+       .tag(4).enabled(1)      .button( BTN_POS(1,4), BTN_SIZE(2,1), GET_TEXT_F(MSG_NUDGE_NOZZLE))
64 64
       #else
65 65
         #if HAS_BED_PROBE
66 66
           .enabled(1)
67 67
         #else
68 68
           .enabled(0)
69 69
         #endif
70
-       .tag(4)                 .button( BTN_POS(1,4), BTN_SIZE(2,1), GET_TEXT_F(ZPROBE_ZOFFSET))
70
+       .tag(4)                 .button( BTN_POS(1,4), BTN_SIZE(2,1), GET_TEXT_F(MSG_ZPROBE_ZOFFSET))
71 71
       #endif
72
-       .tag(5).enabled(1)      .button( BTN_POS(1,5), BTN_SIZE(2,1), GET_TEXT_F(PRINT_SPEED))
72
+       .tag(5).enabled(1)      .button( BTN_POS(1,5), BTN_SIZE(2,1), GET_TEXT_F(MSG_PRINT_SPEED))
73 73
        .tag(isPrintingFromMediaPaused() ? 7 : 6)
74 74
       #if ENABLED(SDSUPPORT)
75 75
         .enabled(isPrintingFromMedia())
76 76
       #else
77 77
         .enabled(0)
78 78
       #endif
79
-        .button( BTN_POS(1,6), BTN_SIZE(2,1), isPrintingFromMediaPaused() ? GET_TEXT_F(RESUME_PRINT) : GET_TEXT_F(PAUSE_PRINT))
79
+        .button( BTN_POS(1,6), BTN_SIZE(2,1), isPrintingFromMediaPaused() ? GET_TEXT_F(MSG_RESUME_PRINT) : GET_TEXT_F(MSG_PAUSE_PRINT))
80 80
       #if ENABLED(SDSUPPORT)
81 81
         .enabled(isPrintingFromMedia())
82 82
       #else
83 83
         .enabled(0)
84 84
       #endif
85
-      .tag(8)             .button( BTN_POS(1,7), BTN_SIZE(2,1), GET_TEXT_F(STOP_PRINT))
85
+      .tag(8)             .button( BTN_POS(1,7), BTN_SIZE(2,1), GET_TEXT_F(MSG_STOP_PRINT))
86 86
       .tag(1).colors(action_btn)
87
-                          .button( BTN_POS(1,8), BTN_SIZE(2,1), GET_TEXT_F(BACK));
87
+                          .button( BTN_POS(1,8), BTN_SIZE(2,1), GET_TEXT_F(MSG_BACK));
88 88
     #else // TOUCH_UI_PORTRAIT
89
-       .tag(2).enabled(1) .button( BTN_POS(1,1), BTN_SIZE(1,1), GET_TEXT_F(TEMPERATURE))
90
-       .tag(3).enabled(!isPrinting()).button( BTN_POS(1,2), BTN_SIZE(1,1), GET_TEXT_F(CHANGE_FILAMENT))
89
+       .tag(2).enabled(1) .button( BTN_POS(1,1), BTN_SIZE(1,1), GET_TEXT_F(MSG_TEMPERATURE))
90
+       .tag(3).enabled(!isPrinting()).button( BTN_POS(1,2), BTN_SIZE(1,1), GET_TEXT_F(MSG_FILAMENTCHANGE))
91 91
       #if ENABLED(BABYSTEPPING)
92 92
        .enabled(1)
93 93
       #else
94 94
        .enabled(0)
95 95
       #endif
96 96
         #if ENABLED(BABYSTEPPING)
97
-          .tag(4)         .button( BTN_POS(2,1), BTN_SIZE(1,1), GET_TEXT_F(NUDGE_NOZZLE))
97
+          .tag(4)         .button( BTN_POS(2,1), BTN_SIZE(1,1), GET_TEXT_F(MSG_NUDGE_NOZZLE))
98 98
         #else
99 99
           #if HAS_BED_PROBE
100 100
             .enabled(1)
101 101
           #else
102 102
             .enabled(0)
103 103
           #endif
104
-          .tag(4)         .button( BTN_POS(1,4), BTN_SIZE(2,1), GET_TEXT_F(ZPROBE_ZOFFSET))
104
+          .tag(4)         .button( BTN_POS(1,4), BTN_SIZE(2,1), GET_TEXT_F(MSG_ZPROBE_ZOFFSET))
105 105
         #endif
106
-       .tag(5).enabled(1) .button( BTN_POS(2,2), BTN_SIZE(1,1), GET_TEXT_F(PRINT_SPEED))
106
+       .tag(5).enabled(1) .button( BTN_POS(2,2), BTN_SIZE(1,1), GET_TEXT_F(MSG_PRINT_SPEED))
107 107
        .tag(isPrintingFromMediaPaused() ? 7 : 6)
108 108
       #if ENABLED(SDSUPPORT)
109 109
         .enabled(isPrintingFromMedia())
110 110
       #else
111 111
         .enabled(0)
112 112
       #endif
113
-                          .button( BTN_POS(1,3), BTN_SIZE(1,1), isPrintingFromMediaPaused() ? GET_TEXT_F(RESUME_PRINT) : GET_TEXT_F(PAUSE_PRINT))
113
+                          .button( BTN_POS(1,3), BTN_SIZE(1,1), isPrintingFromMediaPaused() ? GET_TEXT_F(MSG_RESUME_PRINT) : GET_TEXT_F(MSG_PAUSE_PRINT))
114 114
       #if ENABLED(SDSUPPORT)
115 115
         .enabled(isPrintingFromMedia())
116 116
       #else
117 117
         .enabled(0)
118 118
       #endif
119
-       .tag(8).           button( BTN_POS(2,3), BTN_SIZE(1,1), GET_TEXT_F(STOP_PRINT))
119
+       .tag(8).           button( BTN_POS(2,3), BTN_SIZE(1,1), GET_TEXT_F(MSG_STOP_PRINT))
120 120
        #if ENABLED(LIN_ADVANCE) || ENABLED(FILAMENT_RUNOUT_SENSOR)
121 121
           .enabled(1)
122 122
         #else
123 123
           .enabled(0)
124 124
         #endif
125
-       .tag(9).button( BTN_POS(1,4), BTN_SIZE(1,1), GET_TEXT_F(FILAMENT))
126
-       .tag(1).colors(action_btn) .button( BTN_POS(2,4), BTN_SIZE(1,1), GET_TEXT_F(BACK));
125
+       .tag(9).button( BTN_POS(1,4), BTN_SIZE(1,1), GET_TEXT_F(MSG_FILAMENT))
126
+       .tag(1).colors(action_btn) .button( BTN_POS(2,4), BTN_SIZE(1,1), GET_TEXT_F(MSG_BACK));
127 127
     #endif
128 128
   }
129 129
   #undef GRID_COLS

+ 2
- 2
Marlin/src/lcd/extensible_ui/lib/lulzbot/screens/widget_demo_screen.cpp ファイルの表示

@@ -22,7 +22,7 @@
22 22
 
23 23
 #include "../config.h"
24 24
 
25
-#if BOTH(LULZBOT_TOUCH_UI, DEVELOPER_SCREENS)
25
+#if BOTH(LULZBOT_TOUCH_UI, TOUCH_UI_DEVELOPER_MENU)
26 26
 
27 27
 #include "screens.h"
28 28
 
@@ -155,4 +155,4 @@ void WidgetsScreen::onIdle() {
155 155
   BaseScreen::onIdle();
156 156
 }
157 157
 
158
-#endif // LULZBOT_TOUCH_UI && DEVELOPER_SCREENS
158
+#endif // LULZBOT_TOUCH_UI && TOUCH_UI_DEVELOPER_MENU

+ 3
- 3
Marlin/src/lcd/extensible_ui/lib/lulzbot/screens/z_offset_screen.cpp ファイルの表示

@@ -32,10 +32,10 @@ using namespace Theme;
32 32
 
33 33
 void ZOffsetScreen::onRedraw(draw_mode_t what) {
34 34
   widgets_t w(what);
35
-  w.precision(2, BaseNumericAdjustmentScreen::DEFAULT_MIDRANGE).units(GET_TEXT_F(UNITS_MM));
35
+  w.precision(2, BaseNumericAdjustmentScreen::DEFAULT_MIDRANGE).units(GET_TEXT_F(MSG_UNITS_MM));
36 36
 
37
-  w.heading(                  GET_TEXT_F(ZPROBE_ZOFFSET));
38
-  w.color(z_axis).adjuster(4, GET_TEXT_F(ZPROBE_ZOFFSET), getZOffset_mm());
37
+  w.heading(                  GET_TEXT_F(MSG_ZPROBE_ZOFFSET));
38
+  w.color(z_axis).adjuster(4, GET_TEXT_F(MSG_ZPROBE_ZOFFSET), getZOffset_mm());
39 39
   w.increments();
40 40
 }
41 41
 

+ 0
- 43
Marlin/src/lcd/extensible_ui/lib/lulzbot/theme/bootscreen_logo_landscape.h
ファイル差分が大きすぎるため省略します
ファイルの表示


+ 0
- 43
Marlin/src/lcd/extensible_ui/lib/lulzbot/theme/bootscreen_logo_portrait.h
ファイル差分が大きすぎるため省略します
ファイルの表示


+ 24
- 14
Marlin/src/lcd/extensible_ui/lib/lulzbot/theme/colors.h ファイルの表示

@@ -5,6 +5,7 @@
5 5
 /****************************************************************************
6 6
  *   Written By Mark Pelletier  2017 - Aleph Objects, Inc.                  *
7 7
  *   Written By Marcio Teixeira 2018 - Aleph Objects, Inc.                  *
8
+ *   Written By Marcio Teixeira 2019 - Cocoa Press                          *
8 9
  *                                                                          *
9 10
  *   This program is free software: you can redistribute it and/or modify   *
10 11
  *   it under the terms of the GNU General Public License as published by   *
@@ -23,16 +24,16 @@
23 24
 #pragma once
24 25
 
25 26
 namespace Theme {
26
-  #ifdef LULZBOT_USE_BIOPRINTER_UI
27
+  #ifdef TOUCH_UI_LULZBOT_BIO
27 28
     // The Lulzbot Bio uses the color PANTONE 2175C on the case silkscreen.
28 29
     // This translates to HSL(208°, 100%, 39%) as an accent color on the GUI.
29 30
 
30 31
     constexpr int   accent_hue          = 208;
31 32
     constexpr float accent_sat          = 0.5;
32 33
 
33
-    constexpr uint32_t logo_bg          = 0xffffff;
34
-    constexpr uint32_t logo_fg          = 0xffffff;
35
-    constexpr uint32_t logo_stroke      = hsl_to_rgb(accent_hue, 1.0, 0.39);
34
+    constexpr uint32_t logo_bg_rgb      = 0xffffff;
35
+    constexpr uint32_t logo_fill_rgb    = 0xffffff;
36
+    constexpr uint32_t logo_stroke_rgb  = hsl_to_rgb(accent_hue, 1.0, 0.39);
36 37
   #else
37 38
     // The Lulzbot logo uses the color PANTONE 382c.
38 39
     // This translates to HSL(68°, 68%, 52%) as an accent color on the GUI.
@@ -40,19 +41,28 @@ namespace Theme {
40 41
     constexpr int   accent_hue          = 68;
41 42
     constexpr float accent_sat          = 0.68;
42 43
 
43
-    constexpr uint32_t logo_bg          = hsl_to_rgb(accent_hue, 0.77, 0.64);
44
-    constexpr uint32_t logo_fg          = hsl_to_rgb(accent_hue, 0.68, 0.52); // Lulzbot Green
45
-    constexpr uint32_t logo_stroke      = 0x000000;
44
+    constexpr uint32_t logo_bg_rgb      = hsl_to_rgb(accent_hue, 0.77, 0.64);
45
+    constexpr uint32_t logo_fill_rgb    = hsl_to_rgb(accent_hue, 0.68, 0.52); // Lulzbot Green
46
+    constexpr uint32_t logo_stroke_rgb  = 0x000000;
46 47
   #endif
47 48
 
48 49
   // Shades of accent color
49 50
 
50
-  constexpr uint32_t accent_color_1     = hsl_to_rgb(accent_hue, accent_sat, 0.26); // Darkest
51
-  constexpr uint32_t accent_color_2     = hsl_to_rgb(accent_hue, accent_sat, 0.39);
52
-  constexpr uint32_t accent_color_3     = hsl_to_rgb(accent_hue, accent_sat, 0.52);
53
-  constexpr uint32_t accent_color_4     = hsl_to_rgb(accent_hue, accent_sat, 0.65);
54
-  constexpr uint32_t accent_color_5     = hsl_to_rgb(accent_hue, accent_sat, 0.78);
55
-  constexpr uint32_t accent_color_6     = hsl_to_rgb(accent_hue, accent_sat, 0.91); // Lightest
51
+  #ifdef TOUCH_UI_COCOA_PRESS
52
+    constexpr uint32_t accent_color_1     = hsl_to_rgb(12.8,0.597,0.263); // Darkest
53
+    constexpr uint32_t accent_color_2     = hsl_to_rgb(12.8,0.597,0.263);
54
+    constexpr uint32_t accent_color_3     = hsl_to_rgb( 9.6,0.664,0.443);
55
+    constexpr uint32_t accent_color_4     = hsl_to_rgb(16.3,0.873,0.537);
56
+    constexpr uint32_t accent_color_5     = hsl_to_rgb(23.0,0.889,0.539);
57
+    constexpr uint32_t accent_color_6     = hsl_to_rgb(23.0,0.889,0.539); // Lightest
58
+  #else
59
+    constexpr uint32_t accent_color_1     = hsl_to_rgb(accent_hue, accent_sat, 0.26); // Darkest
60
+    constexpr uint32_t accent_color_2     = hsl_to_rgb(accent_hue, accent_sat, 0.39);
61
+    constexpr uint32_t accent_color_3     = hsl_to_rgb(accent_hue, accent_sat, 0.52);
62
+    constexpr uint32_t accent_color_4     = hsl_to_rgb(accent_hue, accent_sat, 0.65);
63
+    constexpr uint32_t accent_color_5     = hsl_to_rgb(accent_hue, accent_sat, 0.78);
64
+    constexpr uint32_t accent_color_6     = hsl_to_rgb(accent_hue, accent_sat, 0.91); // Lightest
65
+  #endif
56 66
 
57 67
   // Shades of gray
58 68
 
@@ -65,7 +75,7 @@ namespace Theme {
65 75
   constexpr uint32_t gray_color_5       = hsl_to_rgb(accent_hue, gray_sat, 0.78);
66 76
   constexpr uint32_t gray_color_6       = hsl_to_rgb(accent_hue, gray_sat, 0.91); // Lightest
67 77
 
68
-  #ifndef LULZBOT_USE_BIOPRINTER_UI
78
+  #if DISABLED(TOUCH_UI_LULZBOT_BIO) && DISABLED(TOUCH_UI_COCOA_PRESS)
69 79
     // Lulzbot TAZ Pro
70 80
     constexpr uint32_t theme_darkest    = gray_color_1;
71 81
     constexpr uint32_t theme_dark       = gray_color_2;

+ 43
- 0
Marlin/src/lcd/extensible_ui/lib/lulzbot/theme/marlin_bootscreen_landscape.h ファイルの表示

@@ -0,0 +1,43 @@
1
+
2
+/****************************************************************************
3
+ *   This program is free software: you can redistribute it and/or modify   *
4
+ *   it under the terms of the GNU General Public License as published by   *
5
+ *   the Free Software Foundation, either version 3 of the License, or      *
6
+ *   (at your option) any later version.                                    *
7
+ *                                                                          *
8
+ *   This program is distributed in the hope that it will be useful,        *
9
+ *   but WITHOUT ANY WARRANTY; without even the implied warranty of         *
10
+ *   MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the          *
11
+ *   GNU General Public License for more details.                           *
12
+ *                                                                          *
13
+ *   To view a copy of the GNU General Public License, go to the following  *
14
+ *   location: <http://www.gnu.org/licenses/>.                              *
15
+ ****************************************************************************/
16
+
17
+/**
18
+ * This file was auto-generated using "svg2cpp.pl"
19
+ *
20
+ * The encoding consists of x,y pairs with the min and max scaled to
21
+ * 0x0000 and 0xFFFE. A single 0xFFFF in the data stream indicates the
22
+ * start of a new closed path.
23
+ */
24
+
25
+#pragma once
26
+
27
+constexpr float x_min = 0.000000;
28
+
29
+constexpr float x_max = 480.000000;
30
+
31
+constexpr float y_min = 0.000000;
32
+
33
+constexpr float y_max = 272.000000;
34
+
35
+const PROGMEM uint16_t logo_fill[] = {0x419D, 0x546F, 0x3D05, 0x5615, 0x3942, 0x5A92, 0x36B7, 0x6136, 0x35C8, 0x6950, 0x35C8, 0x96B0, 0x36B7, 0x9ECA, 0x3942, 0xA56E, 0x3D05, 0xA9EB, 0x419D, 0xAB91, 0xBE60, 0xAB91, 0xC2F8, 0xA9EB, 0xC6BB, 0xA56E, 0xC946, 0x9ECA, 0xCA35, 0x96B0, 0xCA32, 0x546C, 0x419D, 0x546F};
36
+
37
+const PROGMEM uint16_t logo_stroke[] = {0xADF3, 0x546C, 0x419D, 0x546F, 0x3D05, 0x5615, 0x3942, 0x5A92, 0x36B7, 0x6136, 0x35C8, 0x6950, 0x35C8, 0x96B0, 0x36B7, 0x9ECA, 0x3942, 0xA56E, 0x3D05, 0xA9EB, 0x419D, 0xAB91, 0xBE60, 0xAB91, 0xC2F8, 0xA9EB, 0xC6BB, 0xA56E, 0xC946, 0x9ECA, 0xCA35, 0x96B0, 0xCA32, 0x546C, 0xADF3, 0x546C, 0xFFFF, 0x419D, 0x5913, 0xB08C, 0x5913, 0xC794, 0x8250, 0xC794, 0x96B0, 0xC6DA, 0x9CFF, 0xC4E1, 0xA229, 0xC1F4, 0xA5A5, 0xBE60, 0xA6ED, 0x419D, 0xA6ED, 0x3E09, 0xA5A5, 0x3B1C, 0xA229, 0x3923, 0x9CFF, 0x3869, 0x96B0, 0x3869, 0x6950, 0x3923, 0x6301, 0x3B1C, 0x5DD7, 0x3E09, 0x5A5B, 0x419D, 0x5913, 0xFFFF, 0xAC7A, 0x8620, 0xAC7A, 0x9373, 0xA767, 0x9373, 0xA767, 0x75CB, 0xA1C6, 0x75CB, 0xA1C6, 0x9373, 0xA1C6, 0x9C8E, 0xA767, 0x9C8E, 0xAC7A, 0x9C8E, 0xB21C, 0x9C8E, 0xB21C, 0x9373, 0xB21C, 0x85E7, 0xB350, 0x8093, 0xB65F, 0x7E86, 0xB9D5, 0x8165, 0xBA83, 0x85E7, 0xBA83, 0x9C8E, 0xBEFE, 0x9C8E, 0xC024, 0x99E1, 0xC024, 0x8620, 0xBF7B, 0x7F22, 0xBD8F, 0x79A9, 0xBA7E, 0x7617, 0xB65F, 0x74D0, 0xB24F, 0x7622, 0xAF30, 0x79C6, 0xAD2F, 0x7F43, 0xAC7A, 0x8620, 0xAC7A, 0x8620, 0xAC7A, 0x8620, 0xFFFF, 0x8179, 0x9C8E, 0x7CE9, 0x9C8E, 0x7747, 0x9C8E, 0x7747, 0x92EC, 0x7747, 0x8949, 0x75A2, 0x81A3, 0x71A6, 0x7E73, 0x6DAB, 0x818B, 0x6C05, 0x88FC, 0x6DAF, 0x9019, 0x71C7, 0x92EC, 0x7505, 0x92EC, 0x7505, 0x9C8E, 0x7118, 0x9C8E, 0x6CD3, 0x9B06, 0x696B, 0x96D6, 0x6729, 0x909E, 0x6658, 0x88FC, 0x672D, 0x8133, 0x6980, 0x7AC7, 0x6D13, 0x766C, 0x71A6, 0x74D0, 0x7632, 0x766D, 0x79C2, 0x7AD1, 0x7C14, 0x8153, 0x7CE9, 0x8949, 0x7CE9, 0x92EC, 0x8179, 0x92EC, 0x8179, 0x8620, 0x822E, 0x7F43, 0x842E, 0x79C6, 0x874E, 0x7622, 0x8B5E, 0x74D0, 0x8F7C, 0x7617, 0x928E, 0x79A9, 0x9479, 0x7F22, 0x9523, 0x8620, 0x9523, 0x87DB, 0x8F81, 0x87DB, 0x8F81, 0x85E7, 0x8ED4, 0x8165, 0x8B5E, 0x7E86, 0x884F, 0x8093, 0x871A, 0x85E7, 0x871A, 0x92EC, 0x871A, 0x9C8F, 0x8179, 0x9C8F, 0x8179, 0x9C8E, 0x8179, 0x9C8E, 0xFFFF, 0x6515, 0x79DB, 0x644C, 0x7281, 0x6218, 0x6C86, 0x5EB2, 0x6882, 0x5A56, 0x670A, 0x55D9, 0x68E0, 0x5272, 0x6DD0, 0x4F0B, 0x68E0, 0x4A8E, 0x670A, 0x4638, 0x6882, 0x42D5, 0x6C86, 0x40A2, 0x7281, 0x3FD9, 0x79DB, 0x3FD9, 0x9AC9, 0x40E4, 0x9C8E, 0x456F, 0x9C8E, 0x456F, 0x79B5, 0x46D4, 0x735D, 0x4A8E, 0x70C0, 0x4E3E, 0x735D, 0x4FA1, 0x79B5, 0x4FA1, 0x9C8E, 0x554D, 0x9C8E, 0x554D, 0x79B5, 0x56A7, 0x735D, 0x5A56, 0x70C0, 0x5E0C, 0x735D, 0x5F74, 0x79B5, 0x5F74, 0x9C8E, 0x6515, 0x9C8E, 0x6515, 0x79DB, 0x6515, 0x79DB, 0x6515, 0x79DB, 0xFFFF, 0x9672, 0x8C4C, 0x9714, 0x9379, 0x98F5, 0x98D2, 0x9C0B, 0x9BF4, 0xA04C, 0x9C7B, 0xA04C, 0x9373, 0x9D2B, 0x920C, 0x9C1E, 0x8C4C, 0x9C1E, 0x648E, 0x9672, 0x648E, 0x9672, 0x8C4C, 0x9672, 0x8C4C, 0x9672, 0x8C4C, 0xFFFF, 0xA767, 0x7194, 0xA767, 0x6C02, 0xA692, 0x687A, 0xA496, 0x670A, 0xA291, 0x687A, 0xA1BB, 0x6C02, 0xA1BB, 0x7194, 0xA767, 0x7194, 0xA767, 0x7194, 0xA767, 0x7194};
38
+
39
+#define LOGO_BACKGROUND logo_bg_rgb
40
+#define LOGO_PAINT_PATHS \
41
+  LOGO_PAINT_PATH(logo_stroke_rgb, logo_stroke) \
42
+  LOGO_PAINT_PATH(logo_fill_rgb,   logo_fill)
43
+

+ 42
- 0
Marlin/src/lcd/extensible_ui/lib/lulzbot/theme/marlin_bootscreen_portrait.h ファイルの表示

@@ -0,0 +1,42 @@
1
+
2
+/****************************************************************************
3
+ *   This program is free software: you can redistribute it and/or modify   *
4
+ *   it under the terms of the GNU General Public License as published by   *
5
+ *   the Free Software Foundation, either version 3 of the License, or      *
6
+ *   (at your option) any later version.                                    *
7
+ *                                                                          *
8
+ *   This program is distributed in the hope that it will be useful,        *
9
+ *   but WITHOUT ANY WARRANTY; without even the implied warranty of         *
10
+ *   MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the          *
11
+ *   GNU General Public License for more details.                           *
12
+ *                                                                          *
13
+ *   To view a copy of the GNU General Public License, go to the following  *
14
+ *   location: <http://www.gnu.org/licenses/>.                              *
15
+ ****************************************************************************/
16
+
17
+/**
18
+ * This file was auto-generated using "svg2cpp.pl"
19
+ *
20
+ * The encoding consists of x,y pairs with the min and max scaled to
21
+ * 0x0000 and 0xFFFE. A single 0xFFFF in the data stream indicates the
22
+ * start of a new closed path.
23
+ */
24
+
25
+#pragma once
26
+
27
+constexpr float x_min = 0.000000;
28
+
29
+constexpr float x_max = 272.000000;
30
+
31
+constexpr float y_min = 0.000000;
32
+
33
+constexpr float y_max = 480.000000;
34
+
35
+const PROGMEM uint16_t logo_fill[] = {0x3C19, 0x70C5, 0x371A, 0x7159, 0x3302, 0x72EA, 0x303D, 0x753C, 0x2F39, 0x7811, 0x2F39, 0x87ED, 0x303D, 0x8AC2, 0x3302, 0x8D14, 0x371A, 0x8EA5, 0x3C19, 0x8F39, 0xC3E4, 0x8F39, 0xC8E3, 0x8EA5, 0xCCFB, 0x8D14, 0xCFC0, 0x8AC2, 0xD0C4, 0x87ED, 0xD0C0, 0x70C4, 0x3C19, 0x70C5};
36
+
37
+const PROGMEM uint16_t logo_stroke[] = {0x3C19, 0x70C5, 0x371A, 0x7159, 0x3302, 0x72EA, 0x303D, 0x753C, 0x2F39, 0x7811, 0x2F39, 0x87ED, 0x303D, 0x8AC2, 0x3302, 0x8D14, 0x371A, 0x8EA5, 0x3C19, 0x8F39, 0xC3E4, 0x8F39, 0xC8E3, 0x8EA5, 0xCCFB, 0x8D14, 0xCFC0, 0x8AC2, 0xD0C4, 0x87ED, 0xD0C0, 0x70C4, 0x3C19, 0x70C5, 0xFFFF, 0x3C19, 0x7264, 0xB4D6, 0x7264, 0xCDE7, 0x80CE, 0xCDE7, 0x87ED, 0xCD1D, 0x8A21, 0xCAF7, 0x8BEF, 0xC7C8, 0x8D27, 0xC3E4, 0x8D9A, 0x3C19, 0x8D9A, 0x3835, 0x8D27, 0x3506, 0x8BEF, 0x32E0, 0x8A21, 0x3216, 0x87ED, 0x3216, 0x7811, 0x32E0, 0x75DD, 0x3506, 0x740F, 0x3835, 0x72D7, 0x3C19, 0x7264, 0xFFFF, 0xB069, 0x8223, 0xB069, 0x86CB, 0xAAE2, 0x86CB, 0xAAE2, 0x7C6E, 0xA4C2, 0x7C6E, 0xA4C2, 0x86CB, 0xA4C2, 0x89FA, 0xAAE2, 0x89FA, 0xB069, 0x89FA, 0xB689, 0x89FA, 0xB689, 0x86CB, 0xB689, 0x820F, 0xB7D9, 0x8033, 0xBB2E, 0x7F7B, 0xBEF2, 0x807C, 0xBFAE, 0x820F, 0xBFAE, 0x89FA, 0xC48F, 0x89FA, 0xC5CF, 0x890A, 0xC5CF, 0x8223, 0xC517, 0x7FB2, 0xC300, 0x7DC8, 0xBFA9, 0x7C88, 0xBB2E, 0x7C16, 0xB6C1, 0x7C8C, 0xB35B, 0x7DD2, 0xB12D, 0x7FBD, 0xB069, 0x8223, 0xB069, 0x8223, 0xB069, 0x8223, 0xFFFF, 0x819B, 0x89FA, 0x7CA3, 0x89FA, 0x7682, 0x89FA, 0x7682, 0x869C, 0x7682, 0x833E, 0x74B7, 0x8092, 0x7062, 0x7F74, 0x6C0C, 0x8089, 0x6A41, 0x8323, 0x6C10, 0x859F, 0x7085, 0x869C, 0x740C, 0x869C, 0x740C, 0x89FA, 0x6FC7, 0x89FA, 0x6B21, 0x8971, 0x676C, 0x87FA, 0x64F8, 0x85CE, 0x6414, 0x8323, 0x64FC, 0x806A, 0x6784, 0x7E2C, 0x6B67, 0x7CA6, 0x7062, 0x7C16, 0x7555, 0x7CA6, 0x7935, 0x7E2F, 0x7BBC, 0x8076, 0x7CA3, 0x833E, 0x7CA3, 0x869C, 0x819A, 0x869C, 0x819A, 0x8223, 0x825F, 0x7FBD, 0x848D, 0x7DD2, 0x87F3, 0x7C8C, 0x8C60, 0x7C16, 0x90DB, 0x7C88, 0x9432, 0x7DC8, 0x9648, 0x7FB2, 0x9701, 0x8223, 0x9701, 0x82BE, 0x90E0, 0x82BE, 0x90E0, 0x820F, 0x9024, 0x807C, 0x8C60, 0x7F7B, 0x890B, 0x8033, 0x87BB, 0x820F, 0x87BB, 0x869C, 0x87BB, 0x89FA, 0x819B, 0x89FA, 0x819B, 0x89FA, 0x819B, 0x89FA, 0xFFFF, 0x62B5, 0x7DD9, 0x61DA, 0x7B47, 0x5F73, 0x7931, 0x5BC1, 0x77C9, 0x5702, 0x7746, 0x521F, 0x77EA, 0x4E6B, 0x79A4, 0x4AB8, 0x77EA, 0x45D5, 0x7746, 0x411D, 0x77C9, 0x3D6E, 0x7931, 0x3B09, 0x7B47, 0x3A2E, 0x7DD9, 0x3A2E, 0x895C, 0x3B51, 0x89FA, 0x4043, 0x89FA, 0x4043, 0x7DCC, 0x41C6, 0x7B95, 0x45D5, 0x7AAB, 0x49D9, 0x7B95, 0x4B5B, 0x7DCC, 0x4B5B, 0x89FA, 0x5188, 0x89FA, 0x5188, 0x7DCC, 0x52FF, 0x7B95, 0x5702, 0x7AAB, 0x5B0C, 0x7B95, 0x5C94, 0x7DCC, 0x5C94, 0x89FA, 0x62B5, 0x89FA, 0x62B5, 0x7DD9, 0x62B5, 0x7DD9, 0x62B5, 0x7DD9, 0xFFFF, 0x986E, 0x844B, 0x991E, 0x86CD, 0x9B2A, 0x88AC, 0x9E85, 0x89C4, 0xA327, 0x89F3, 0xA327, 0x86CB, 0x9FBF, 0x864E, 0x9E9A, 0x844B, 0x9E9A, 0x7668, 0x986E, 0x7668, 0x986E, 0x844B, 0x986E, 0x844B, 0x986E, 0x844B, 0xFFFF, 0xAAE2, 0x7AF5, 0xAAE2, 0x7902, 0xA9FB, 0x77C7, 0xA7D2, 0x7746, 0xA59F, 0x77C7, 0xA4B6, 0x7902, 0xA4B6, 0x7AF5, 0xAAE2, 0x7AF5, 0xAAE2, 0x7AF5, 0xAAE2, 0x7AF5};
38
+
39
+#define LOGO_BACKGROUND logo_bg_rgb
40
+#define LOGO_PAINT_PATHS \
41
+  LOGO_PAINT_PATH(logo_stroke_rgb, logo_stroke) \
42
+  LOGO_PAINT_PATH(logo_fill_rgb,   logo_fill)

+ 7
- 0
Marlin/src/lcd/extensible_ui/ui_api.cpp ファイルの表示

@@ -581,6 +581,7 @@ namespace ExtUI {
581 581
   }
582 582
 
583 583
   void setAxisMaxFeedrate_mm_s(const feedRate_t value, const extruder_t extruder) {
584
+    UNUSED_E(extruder);
584 585
     planner.set_max_feedrate(E_AXIS_N(extruder - E0), value);
585 586
   }
586 587
 
@@ -598,6 +599,7 @@ namespace ExtUI {
598 599
   }
599 600
 
600 601
   void setAxisMaxAcceleration_mm_s2(const float value, const extruder_t extruder) {
602
+    UNUSED_E(extruder);
601 603
     planner.set_max_acceleration(E_AXIS_N(extruder - E0), value);
602 604
   }
603 605
 
@@ -908,6 +910,7 @@ namespace ExtUI {
908 910
   }
909 911
 
910 912
   void printFile(const char *filename) {
913
+    UNUSED(filename);
911 914
     IFSD(card.openAndPrintFile(filename), NOOP);
912 915
   }
913 916
 
@@ -961,6 +964,8 @@ namespace ExtUI {
961 964
       card.getfilename_sorted(nr);
962 965
       return card.filename[0] != '\0';
963 966
     #else
967
+      UNUSED(pos);
968
+      UNUSED(skip_range_check);
964 969
       return false;
965 970
     #endif
966 971
   }
@@ -1004,6 +1009,8 @@ namespace ExtUI {
1004 1009
     #if ENABLED(SDSUPPORT)
1005 1010
       card.cd(dirname);
1006 1011
       num_files = 0xFFFF;
1012
+    #else
1013
+      UNUSED(dirname);
1007 1014
     #endif
1008 1015
   }
1009 1016
 

+ 19
- 0
Marlin/src/module/configuration_store.cpp ファイルの表示

@@ -446,6 +446,13 @@ void MarlinSettings::postprocess() {
446 446
 
447 447
 #endif // SD_FIRMWARE_UPDATE
448 448
 
449
+#ifdef ARCHIM2_SPI_FLASH_EEPROM_BACKUP_SIZE
450
+  static_assert(
451
+      EEPROM_OFFSET + sizeof(SettingsData) < ARCHIM2_SPI_FLASH_EEPROM_BACKUP_SIZE,
452
+      "ARCHIM2_SPI_FLASH_EEPROM_BACKUP_SIZE is insufficient to capture all EEPROM data."
453
+    );
454
+#endif
455
+
449 456
 #define DEBUG_OUT ENABLED(EEPROM_CHITCHAT)
450 457
 #include "../core/debug_out.h"
451 458
 
@@ -2076,9 +2083,21 @@ void MarlinSettings::postprocess() {
2076 2083
     return !eeprom_error;
2077 2084
   }
2078 2085
 
2086
+  #ifdef ARCHIM2_SPI_FLASH_EEPROM_BACKUP_SIZE
2087
+    extern bool restoreEEPROM();
2088
+  #endif
2089
+
2079 2090
   bool MarlinSettings::validate() {
2080 2091
     validating = true;
2092
+    #ifdef ARCHIM2_SPI_FLASH_EEPROM_BACKUP_SIZE
2093
+      bool success = _load();
2094
+      if(!success && restoreEEPROM()) {
2095
+        SERIAL_ECHOLNPGM("Recovered backup EEPROM settings from SPI Flash");
2096
+        success = _load();
2097
+      }
2098
+    #else
2081 2099
     const bool success = _load();
2100
+    #endif
2082 2101
     validating = false;
2083 2102
     return success;
2084 2103
   }

+ 1
- 0
Marlin/src/module/temperature.h ファイルの表示

@@ -478,6 +478,7 @@ class Temperature {
478 478
       #endif
479 479
 
480 480
       static inline uint8_t scaledFanSpeed(const uint8_t target, const uint8_t fs) {
481
+        UNUSED(target); // Potentially unused!
481 482
         return (fs * uint16_t(
482 483
           #if ENABLED(ADAPTIVE_FAN_SLOWING)
483 484
             fan_speed_scaler[target]

+ 3
- 0
config/default/Configuration_adv.h ファイルの表示

@@ -1269,6 +1269,9 @@
1269 1269
 
1270 1270
   // Output extra debug info for Touch UI events
1271 1271
   //#define TOUCH_UI_DEBUG
1272
+  
1273
+  // Enable developers menu (access by touching the copyright text on the About Printer)
1274
+  //#define TOUCH_UI_DEVELOPER_MENU
1272 1275
 #endif
1273 1276
 
1274 1277
 //

読み込み中…
キャンセル
保存