Bläddra i källkod

[Merge] Refactor LCD menus / screens (#12199)

Scott Lahteine 6 år sedan
förälder
incheckning
d632e44c8c
Inget konto är kopplat till bidragsgivarens mejladress
100 ändrade filer med 274 tillägg och 340 borttagningar
  1. 1
    1
      Marlin/Configuration_adv.h
  2. 1
    1
      Marlin/src/config/default/Configuration_adv.h
  3. 1
    1
      Marlin/src/config/examples/AlephObjects/TAZ4/Configuration_adv.h
  4. 1
    1
      Marlin/src/config/examples/Anet/A2/Configuration_adv.h
  5. 1
    1
      Marlin/src/config/examples/Anet/A2plus/Configuration_adv.h
  6. 1
    1
      Marlin/src/config/examples/Anet/A6/Configuration_adv.h
  7. 1
    1
      Marlin/src/config/examples/Anet/A8/Configuration_adv.h
  8. 1
    1
      Marlin/src/config/examples/ArmEd/Configuration_adv.h
  9. 1
    1
      Marlin/src/config/examples/BIBO/TouchX/cyclops/Configuration_adv.h
  10. 1
    1
      Marlin/src/config/examples/BIBO/TouchX/default/Configuration_adv.h
  11. 1
    1
      Marlin/src/config/examples/BQ/Hephestos/Configuration_adv.h
  12. 1
    1
      Marlin/src/config/examples/BQ/Hephestos_2/Configuration_adv.h
  13. 1
    1
      Marlin/src/config/examples/BQ/WITBOX/Configuration_adv.h
  14. 1
    1
      Marlin/src/config/examples/Cartesio/Configuration_adv.h
  15. 1
    1
      Marlin/src/config/examples/Creality/CR-10/Configuration_adv.h
  16. 1
    1
      Marlin/src/config/examples/Creality/CR-10S/Configuration_adv.h
  17. 1
    1
      Marlin/src/config/examples/Creality/CR-10mini/Configuration_adv.h
  18. 1
    1
      Marlin/src/config/examples/Creality/CR-8/Configuration_adv.h
  19. 1
    1
      Marlin/src/config/examples/Creality/Ender-2/Configuration_adv.h
  20. 1
    1
      Marlin/src/config/examples/Creality/Ender-3/Configuration_adv.h
  21. 1
    1
      Marlin/src/config/examples/Creality/Ender-4/Configuration_adv.h
  22. 1
    1
      Marlin/src/config/examples/Einstart-S/Configuration_adv.h
  23. 1
    1
      Marlin/src/config/examples/Felix/Configuration_adv.h
  24. 1
    1
      Marlin/src/config/examples/FolgerTech/i3-2020/Configuration_adv.h
  25. 1
    1
      Marlin/src/config/examples/Formbot/Raptor/Configuration_adv.h
  26. 1
    1
      Marlin/src/config/examples/Formbot/T_Rex_2+/Configuration_adv.h
  27. 1
    1
      Marlin/src/config/examples/Formbot/T_Rex_3/Configuration_adv.h
  28. 1
    1
      Marlin/src/config/examples/Geeetech/MeCreator2/Configuration_adv.h
  29. 1
    1
      Marlin/src/config/examples/Geeetech/Prusa i3 Pro C/Configuration_adv.h
  30. 1
    1
      Marlin/src/config/examples/Geeetech/Prusa i3 Pro W/Configuration_adv.h
  31. 1
    1
      Marlin/src/config/examples/Infitary/i3-M508/Configuration_adv.h
  32. 1
    1
      Marlin/src/config/examples/JGAurora/A5/Configuration_adv.h
  33. 1
    1
      Marlin/src/config/examples/MakerParts/Configuration_adv.h
  34. 1
    1
      Marlin/src/config/examples/Malyan/M150/Configuration_adv.h
  35. 1
    1
      Marlin/src/config/examples/Malyan/M200/Configuration_adv.h
  36. 1
    1
      Marlin/src/config/examples/Micromake/C1/enhanced/Configuration_adv.h
  37. 1
    1
      Marlin/src/config/examples/Mks/Sbase/Configuration_adv.h
  38. 1
    1
      Marlin/src/config/examples/RigidBot/Configuration_adv.h
  39. 1
    1
      Marlin/src/config/examples/SCARA/Configuration_adv.h
  40. 1
    1
      Marlin/src/config/examples/Sanguinololu/Configuration_adv.h
  41. 1
    1
      Marlin/src/config/examples/TheBorg/Configuration_adv.h
  42. 1
    1
      Marlin/src/config/examples/TinyBoy2/Configuration_adv.h
  43. 1
    1
      Marlin/src/config/examples/Tronxy/X3A/Configuration_adv.h
  44. 1
    1
      Marlin/src/config/examples/UltiMachine/Archim2/Configuration_adv.h
  45. 1
    1
      Marlin/src/config/examples/Velleman/K8200/Configuration_adv.h
  46. 1
    1
      Marlin/src/config/examples/Velleman/K8400/Configuration_adv.h
  47. 1
    1
      Marlin/src/config/examples/Wanhao/Duplicator 6/Configuration_adv.h
  48. 1
    1
      Marlin/src/config/examples/delta/Anycubic/Kossel/Configuration_adv.h
  49. 1
    1
      Marlin/src/config/examples/delta/FLSUN/auto_calibrate/Configuration_adv.h
  50. 1
    1
      Marlin/src/config/examples/delta/FLSUN/kossel/Configuration_adv.h
  51. 1
    1
      Marlin/src/config/examples/delta/FLSUN/kossel_mini/Configuration_adv.h
  52. 1
    1
      Marlin/src/config/examples/delta/generic/Configuration_adv.h
  53. 1
    1
      Marlin/src/config/examples/delta/kossel_mini/Configuration_adv.h
  54. 1
    1
      Marlin/src/config/examples/delta/kossel_xl/Configuration_adv.h
  55. 1
    1
      Marlin/src/config/examples/gCreate/gMax1.5+/Configuration_adv.h
  56. 1
    1
      Marlin/src/config/examples/makibox/Configuration_adv.h
  57. 1
    1
      Marlin/src/config/examples/tvrrug/Round2/Configuration_adv.h
  58. 1
    1
      Marlin/src/config/examples/wt150/Configuration_adv.h
  59. 1
    1
      Marlin/src/core/language.h
  60. 1
    1
      Marlin/src/feature/bedlevel/ubl/ubl_G29.cpp
  61. 1
    5
      Marlin/src/feature/power_loss_recovery.h
  62. 0
    1
      Marlin/src/gcode/calibrate/G28.cpp
  63. 17
    10
      Marlin/src/inc/Conditionals_LCD.h
  64. 4
    4
      Marlin/src/inc/SanityCheck.h
  65. 8
    10
      Marlin/src/lcd/HD44780/lcdprint_hd44780.cpp
  66. 8
    18
      Marlin/src/lcd/HD44780/ultralcd_common_HD44780.h
  67. 27
    24
      Marlin/src/lcd/HD44780/ultralcd_impl_HD44780.cpp
  68. 1
    6
      Marlin/src/lcd/dogm/HAL_LCD_class_defines.h
  69. 137
    0
      Marlin/src/lcd/dogm/dogm_Bootscreen.h
  70. 11
    202
      Marlin/src/lcd/dogm/dogm_Statusscreen.h
  71. 0
    0
      Marlin/src/lcd/dogm/fontdata/fontdata_6x9_marlin.h
  72. 0
    0
      Marlin/src/lcd/dogm/fontdata/fontdata_ISO10646_1.h
  73. 0
    0
      Marlin/src/lcd/dogm/fontdata/language_data_an.h
  74. 0
    0
      Marlin/src/lcd/dogm/fontdata/language_data_bg.h
  75. 0
    0
      Marlin/src/lcd/dogm/fontdata/language_data_ca.h
  76. 0
    0
      Marlin/src/lcd/dogm/fontdata/language_data_cz.h
  77. 0
    0
      Marlin/src/lcd/dogm/fontdata/language_data_da.h
  78. 0
    0
      Marlin/src/lcd/dogm/fontdata/language_data_de.h
  79. 0
    0
      Marlin/src/lcd/dogm/fontdata/language_data_el-gr.h
  80. 0
    0
      Marlin/src/lcd/dogm/fontdata/language_data_el.h
  81. 0
    0
      Marlin/src/lcd/dogm/fontdata/language_data_en.h
  82. 0
    0
      Marlin/src/lcd/dogm/fontdata/language_data_es.h
  83. 0
    0
      Marlin/src/lcd/dogm/fontdata/language_data_eu.h
  84. 0
    0
      Marlin/src/lcd/dogm/fontdata/language_data_fi.h
  85. 0
    0
      Marlin/src/lcd/dogm/fontdata/language_data_fr.h
  86. 0
    0
      Marlin/src/lcd/dogm/fontdata/language_data_gl.h
  87. 0
    0
      Marlin/src/lcd/dogm/fontdata/language_data_hr.h
  88. 0
    0
      Marlin/src/lcd/dogm/fontdata/language_data_it.h
  89. 0
    0
      Marlin/src/lcd/dogm/fontdata/language_data_jp-kana.h
  90. 0
    0
      Marlin/src/lcd/dogm/fontdata/language_data_ko_KR.h
  91. 0
    0
      Marlin/src/lcd/dogm/fontdata/language_data_nl.h
  92. 0
    0
      Marlin/src/lcd/dogm/fontdata/language_data_pl.h
  93. 0
    0
      Marlin/src/lcd/dogm/fontdata/language_data_pt-br.h
  94. 0
    0
      Marlin/src/lcd/dogm/fontdata/language_data_pt.h
  95. 0
    0
      Marlin/src/lcd/dogm/fontdata/language_data_ru.h
  96. 0
    0
      Marlin/src/lcd/dogm/fontdata/language_data_sk.h
  97. 0
    0
      Marlin/src/lcd/dogm/fontdata/language_data_test.h
  98. 0
    0
      Marlin/src/lcd/dogm/fontdata/language_data_tr.h
  99. 0
    0
      Marlin/src/lcd/dogm/fontdata/language_data_uk.h
  100. 0
    0
      Marlin/src/lcd/dogm/fontdata/language_data_zh_CN.h

+ 1
- 1
Marlin/Configuration_adv.h Visa fil

738
  * controller events, as there is a trade-off between reliable
738
  * controller events, as there is a trade-off between reliable
739
  * printing performance versus fast display updates.
739
  * printing performance versus fast display updates.
740
  */
740
  */
741
-#if ENABLED(DOGLCD)
741
+#if HAS_GRAPHICAL_LCD
742
   // Show SD percentage next to the progress bar
742
   // Show SD percentage next to the progress bar
743
   //#define DOGM_SD_PERCENT
743
   //#define DOGM_SD_PERCENT
744
 
744
 

+ 1
- 1
Marlin/src/config/default/Configuration_adv.h Visa fil

738
  * controller events, as there is a trade-off between reliable
738
  * controller events, as there is a trade-off between reliable
739
  * printing performance versus fast display updates.
739
  * printing performance versus fast display updates.
740
  */
740
  */
741
-#if ENABLED(DOGLCD)
741
+#if HAS_GRAPHICAL_LCD
742
   // Show SD percentage next to the progress bar
742
   // Show SD percentage next to the progress bar
743
   //#define DOGM_SD_PERCENT
743
   //#define DOGM_SD_PERCENT
744
 
744
 

+ 1
- 1
Marlin/src/config/examples/AlephObjects/TAZ4/Configuration_adv.h Visa fil

738
  * controller events, as there is a trade-off between reliable
738
  * controller events, as there is a trade-off between reliable
739
  * printing performance versus fast display updates.
739
  * printing performance versus fast display updates.
740
  */
740
  */
741
-#if ENABLED(DOGLCD)
741
+#if HAS_GRAPHICAL_LCD
742
   // Show SD percentage next to the progress bar
742
   // Show SD percentage next to the progress bar
743
   //#define DOGM_SD_PERCENT
743
   //#define DOGM_SD_PERCENT
744
 
744
 

+ 1
- 1
Marlin/src/config/examples/Anet/A2/Configuration_adv.h Visa fil

738
  * controller events, as there is a trade-off between reliable
738
  * controller events, as there is a trade-off between reliable
739
  * printing performance versus fast display updates.
739
  * printing performance versus fast display updates.
740
  */
740
  */
741
-#if ENABLED(DOGLCD)
741
+#if HAS_GRAPHICAL_LCD
742
   // Show SD percentage next to the progress bar
742
   // Show SD percentage next to the progress bar
743
   //#define DOGM_SD_PERCENT
743
   //#define DOGM_SD_PERCENT
744
 
744
 

+ 1
- 1
Marlin/src/config/examples/Anet/A2plus/Configuration_adv.h Visa fil

738
  * controller events, as there is a trade-off between reliable
738
  * controller events, as there is a trade-off between reliable
739
  * printing performance versus fast display updates.
739
  * printing performance versus fast display updates.
740
  */
740
  */
741
-#if ENABLED(DOGLCD)
741
+#if HAS_GRAPHICAL_LCD
742
   // Show SD percentage next to the progress bar
742
   // Show SD percentage next to the progress bar
743
   //#define DOGM_SD_PERCENT
743
   //#define DOGM_SD_PERCENT
744
 
744
 

+ 1
- 1
Marlin/src/config/examples/Anet/A6/Configuration_adv.h Visa fil

738
  * controller events, as there is a trade-off between reliable
738
  * controller events, as there is a trade-off between reliable
739
  * printing performance versus fast display updates.
739
  * printing performance versus fast display updates.
740
  */
740
  */
741
-#if ENABLED(DOGLCD)
741
+#if HAS_GRAPHICAL_LCD
742
   // Show SD percentage next to the progress bar
742
   // Show SD percentage next to the progress bar
743
   //#define DOGM_SD_PERCENT
743
   //#define DOGM_SD_PERCENT
744
 
744
 

+ 1
- 1
Marlin/src/config/examples/Anet/A8/Configuration_adv.h Visa fil

738
  * controller events, as there is a trade-off between reliable
738
  * controller events, as there is a trade-off between reliable
739
  * printing performance versus fast display updates.
739
  * printing performance versus fast display updates.
740
  */
740
  */
741
-#if ENABLED(DOGLCD)
741
+#if HAS_GRAPHICAL_LCD
742
   // Show SD percentage next to the progress bar
742
   // Show SD percentage next to the progress bar
743
   //#define DOGM_SD_PERCENT
743
   //#define DOGM_SD_PERCENT
744
 
744
 

+ 1
- 1
Marlin/src/config/examples/ArmEd/Configuration_adv.h Visa fil

731
  * controller events, as there is a trade-off between reliable
731
  * controller events, as there is a trade-off between reliable
732
  * printing performance versus fast display updates.
732
  * printing performance versus fast display updates.
733
  */
733
  */
734
-#if ENABLED(DOGLCD)
734
+#if HAS_GRAPHICAL_LCD
735
   // Show SD percentage next to the progress bar
735
   // Show SD percentage next to the progress bar
736
   //#define DOGM_SD_PERCENT
736
   //#define DOGM_SD_PERCENT
737
 
737
 

+ 1
- 1
Marlin/src/config/examples/BIBO/TouchX/cyclops/Configuration_adv.h Visa fil

738
  * controller events, as there is a trade-off between reliable
738
  * controller events, as there is a trade-off between reliable
739
  * printing performance versus fast display updates.
739
  * printing performance versus fast display updates.
740
  */
740
  */
741
-#if ENABLED(DOGLCD)
741
+#if HAS_GRAPHICAL_LCD
742
   // Show SD percentage next to the progress bar
742
   // Show SD percentage next to the progress bar
743
   //#define DOGM_SD_PERCENT
743
   //#define DOGM_SD_PERCENT
744
 
744
 

+ 1
- 1
Marlin/src/config/examples/BIBO/TouchX/default/Configuration_adv.h Visa fil

738
  * controller events, as there is a trade-off between reliable
738
  * controller events, as there is a trade-off between reliable
739
  * printing performance versus fast display updates.
739
  * printing performance versus fast display updates.
740
  */
740
  */
741
-#if ENABLED(DOGLCD)
741
+#if HAS_GRAPHICAL_LCD
742
   // Show SD percentage next to the progress bar
742
   // Show SD percentage next to the progress bar
743
   //#define DOGM_SD_PERCENT
743
   //#define DOGM_SD_PERCENT
744
 
744
 

+ 1
- 1
Marlin/src/config/examples/BQ/Hephestos/Configuration_adv.h Visa fil

738
  * controller events, as there is a trade-off between reliable
738
  * controller events, as there is a trade-off between reliable
739
  * printing performance versus fast display updates.
739
  * printing performance versus fast display updates.
740
  */
740
  */
741
-#if ENABLED(DOGLCD)
741
+#if HAS_GRAPHICAL_LCD
742
   // Show SD percentage next to the progress bar
742
   // Show SD percentage next to the progress bar
743
   //#define DOGM_SD_PERCENT
743
   //#define DOGM_SD_PERCENT
744
 
744
 

+ 1
- 1
Marlin/src/config/examples/BQ/Hephestos_2/Configuration_adv.h Visa fil

746
  * controller events, as there is a trade-off between reliable
746
  * controller events, as there is a trade-off between reliable
747
  * printing performance versus fast display updates.
747
  * printing performance versus fast display updates.
748
  */
748
  */
749
-#if ENABLED(DOGLCD)
749
+#if HAS_GRAPHICAL_LCD
750
   // Show SD percentage next to the progress bar
750
   // Show SD percentage next to the progress bar
751
   //#define DOGM_SD_PERCENT
751
   //#define DOGM_SD_PERCENT
752
 
752
 

+ 1
- 1
Marlin/src/config/examples/BQ/WITBOX/Configuration_adv.h Visa fil

738
  * controller events, as there is a trade-off between reliable
738
  * controller events, as there is a trade-off between reliable
739
  * printing performance versus fast display updates.
739
  * printing performance versus fast display updates.
740
  */
740
  */
741
-#if ENABLED(DOGLCD)
741
+#if HAS_GRAPHICAL_LCD
742
   // Show SD percentage next to the progress bar
742
   // Show SD percentage next to the progress bar
743
   //#define DOGM_SD_PERCENT
743
   //#define DOGM_SD_PERCENT
744
 
744
 

+ 1
- 1
Marlin/src/config/examples/Cartesio/Configuration_adv.h Visa fil

738
  * controller events, as there is a trade-off between reliable
738
  * controller events, as there is a trade-off between reliable
739
  * printing performance versus fast display updates.
739
  * printing performance versus fast display updates.
740
  */
740
  */
741
-#if ENABLED(DOGLCD)
741
+#if HAS_GRAPHICAL_LCD
742
   // Show SD percentage next to the progress bar
742
   // Show SD percentage next to the progress bar
743
   //#define DOGM_SD_PERCENT
743
   //#define DOGM_SD_PERCENT
744
 
744
 

+ 1
- 1
Marlin/src/config/examples/Creality/CR-10/Configuration_adv.h Visa fil

738
  * controller events, as there is a trade-off between reliable
738
  * controller events, as there is a trade-off between reliable
739
  * printing performance versus fast display updates.
739
  * printing performance versus fast display updates.
740
  */
740
  */
741
-#if ENABLED(DOGLCD)
741
+#if HAS_GRAPHICAL_LCD
742
   // Show SD percentage next to the progress bar
742
   // Show SD percentage next to the progress bar
743
   //#define DOGM_SD_PERCENT
743
   //#define DOGM_SD_PERCENT
744
 
744
 

+ 1
- 1
Marlin/src/config/examples/Creality/CR-10S/Configuration_adv.h Visa fil

738
  * controller events, as there is a trade-off between reliable
738
  * controller events, as there is a trade-off between reliable
739
  * printing performance versus fast display updates.
739
  * printing performance versus fast display updates.
740
  */
740
  */
741
-#if ENABLED(DOGLCD)
741
+#if HAS_GRAPHICAL_LCD
742
   // Show SD percentage next to the progress bar
742
   // Show SD percentage next to the progress bar
743
   #define DOGM_SD_PERCENT
743
   #define DOGM_SD_PERCENT
744
 
744
 

+ 1
- 1
Marlin/src/config/examples/Creality/CR-10mini/Configuration_adv.h Visa fil

738
  * controller events, as there is a trade-off between reliable
738
  * controller events, as there is a trade-off between reliable
739
  * printing performance versus fast display updates.
739
  * printing performance versus fast display updates.
740
  */
740
  */
741
-#if ENABLED(DOGLCD)
741
+#if HAS_GRAPHICAL_LCD
742
   // Show SD percentage next to the progress bar
742
   // Show SD percentage next to the progress bar
743
   //#define DOGM_SD_PERCENT
743
   //#define DOGM_SD_PERCENT
744
 
744
 

+ 1
- 1
Marlin/src/config/examples/Creality/CR-8/Configuration_adv.h Visa fil

738
  * controller events, as there is a trade-off between reliable
738
  * controller events, as there is a trade-off between reliable
739
  * printing performance versus fast display updates.
739
  * printing performance versus fast display updates.
740
  */
740
  */
741
-#if ENABLED(DOGLCD)
741
+#if HAS_GRAPHICAL_LCD
742
   // Show SD percentage next to the progress bar
742
   // Show SD percentage next to the progress bar
743
   //#define DOGM_SD_PERCENT
743
   //#define DOGM_SD_PERCENT
744
 
744
 

+ 1
- 1
Marlin/src/config/examples/Creality/Ender-2/Configuration_adv.h Visa fil

738
  * controller events, as there is a trade-off between reliable
738
  * controller events, as there is a trade-off between reliable
739
  * printing performance versus fast display updates.
739
  * printing performance versus fast display updates.
740
  */
740
  */
741
-#if ENABLED(DOGLCD)
741
+#if HAS_GRAPHICAL_LCD
742
   // Show SD percentage next to the progress bar
742
   // Show SD percentage next to the progress bar
743
   //#define DOGM_SD_PERCENT
743
   //#define DOGM_SD_PERCENT
744
 
744
 

+ 1
- 1
Marlin/src/config/examples/Creality/Ender-3/Configuration_adv.h Visa fil

738
  * controller events, as there is a trade-off between reliable
738
  * controller events, as there is a trade-off between reliable
739
  * printing performance versus fast display updates.
739
  * printing performance versus fast display updates.
740
  */
740
  */
741
-#if ENABLED(DOGLCD)
741
+#if HAS_GRAPHICAL_LCD
742
   // Show SD percentage next to the progress bar
742
   // Show SD percentage next to the progress bar
743
   //#define DOGM_SD_PERCENT
743
   //#define DOGM_SD_PERCENT
744
 
744
 

+ 1
- 1
Marlin/src/config/examples/Creality/Ender-4/Configuration_adv.h Visa fil

738
  * controller events, as there is a trade-off between reliable
738
  * controller events, as there is a trade-off between reliable
739
  * printing performance versus fast display updates.
739
  * printing performance versus fast display updates.
740
  */
740
  */
741
-#if ENABLED(DOGLCD)
741
+#if HAS_GRAPHICAL_LCD
742
   // Show SD percentage next to the progress bar
742
   // Show SD percentage next to the progress bar
743
   //#define DOGM_SD_PERCENT
743
   //#define DOGM_SD_PERCENT
744
 
744
 

+ 1
- 1
Marlin/src/config/examples/Einstart-S/Configuration_adv.h Visa fil

738
  * controller events, as there is a trade-off between reliable
738
  * controller events, as there is a trade-off between reliable
739
  * printing performance versus fast display updates.
739
  * printing performance versus fast display updates.
740
  */
740
  */
741
-#if ENABLED(DOGLCD)
741
+#if HAS_GRAPHICAL_LCD
742
   // Show SD percentage next to the progress bar
742
   // Show SD percentage next to the progress bar
743
   //#define DOGM_SD_PERCENT
743
   //#define DOGM_SD_PERCENT
744
 
744
 

+ 1
- 1
Marlin/src/config/examples/Felix/Configuration_adv.h Visa fil

738
  * controller events, as there is a trade-off between reliable
738
  * controller events, as there is a trade-off between reliable
739
  * printing performance versus fast display updates.
739
  * printing performance versus fast display updates.
740
  */
740
  */
741
-#if ENABLED(DOGLCD)
741
+#if HAS_GRAPHICAL_LCD
742
   // Show SD percentage next to the progress bar
742
   // Show SD percentage next to the progress bar
743
   //#define DOGM_SD_PERCENT
743
   //#define DOGM_SD_PERCENT
744
 
744
 

+ 1
- 1
Marlin/src/config/examples/FolgerTech/i3-2020/Configuration_adv.h Visa fil

738
  * controller events, as there is a trade-off between reliable
738
  * controller events, as there is a trade-off between reliable
739
  * printing performance versus fast display updates.
739
  * printing performance versus fast display updates.
740
  */
740
  */
741
-#if ENABLED(DOGLCD)
741
+#if HAS_GRAPHICAL_LCD
742
   // Show SD percentage next to the progress bar
742
   // Show SD percentage next to the progress bar
743
   //#define DOGM_SD_PERCENT
743
   //#define DOGM_SD_PERCENT
744
 
744
 

+ 1
- 1
Marlin/src/config/examples/Formbot/Raptor/Configuration_adv.h Visa fil

738
  * controller events, as there is a trade-off between reliable
738
  * controller events, as there is a trade-off between reliable
739
  * printing performance versus fast display updates.
739
  * printing performance versus fast display updates.
740
  */
740
  */
741
-#if ENABLED(DOGLCD)
741
+#if HAS_GRAPHICAL_LCD
742
   // Show SD percentage next to the progress bar
742
   // Show SD percentage next to the progress bar
743
   #define DOGM_SD_PERCENT
743
   #define DOGM_SD_PERCENT
744
 
744
 

+ 1
- 1
Marlin/src/config/examples/Formbot/T_Rex_2+/Configuration_adv.h Visa fil

742
  * controller events, as there is a trade-off between reliable
742
  * controller events, as there is a trade-off between reliable
743
  * printing performance versus fast display updates.
743
  * printing performance versus fast display updates.
744
  */
744
  */
745
-#if ENABLED(DOGLCD)
745
+#if HAS_GRAPHICAL_LCD
746
   // Show SD percentage next to the progress bar
746
   // Show SD percentage next to the progress bar
747
   //#define DOGM_SD_PERCENT
747
   //#define DOGM_SD_PERCENT
748
 
748
 

+ 1
- 1
Marlin/src/config/examples/Formbot/T_Rex_3/Configuration_adv.h Visa fil

743
  * controller events, as there is a trade-off between reliable
743
  * controller events, as there is a trade-off between reliable
744
  * printing performance versus fast display updates.
744
  * printing performance versus fast display updates.
745
  */
745
  */
746
-#if ENABLED(DOGLCD)
746
+#if HAS_GRAPHICAL_LCD
747
   // Show SD percentage next to the progress bar
747
   // Show SD percentage next to the progress bar
748
   //#define DOGM_SD_PERCENT
748
   //#define DOGM_SD_PERCENT
749
 
749
 

+ 1
- 1
Marlin/src/config/examples/Geeetech/MeCreator2/Configuration_adv.h Visa fil

738
  * controller events, as there is a trade-off between reliable
738
  * controller events, as there is a trade-off between reliable
739
  * printing performance versus fast display updates.
739
  * printing performance versus fast display updates.
740
  */
740
  */
741
-#if ENABLED(DOGLCD)
741
+#if HAS_GRAPHICAL_LCD
742
   // Show SD percentage next to the progress bar
742
   // Show SD percentage next to the progress bar
743
   //#define DOGM_SD_PERCENT
743
   //#define DOGM_SD_PERCENT
744
 
744
 

+ 1
- 1
Marlin/src/config/examples/Geeetech/Prusa i3 Pro C/Configuration_adv.h Visa fil

738
  * controller events, as there is a trade-off between reliable
738
  * controller events, as there is a trade-off between reliable
739
  * printing performance versus fast display updates.
739
  * printing performance versus fast display updates.
740
  */
740
  */
741
-#if ENABLED(DOGLCD)
741
+#if HAS_GRAPHICAL_LCD
742
   // Show SD percentage next to the progress bar
742
   // Show SD percentage next to the progress bar
743
   //#define DOGM_SD_PERCENT
743
   //#define DOGM_SD_PERCENT
744
 
744
 

+ 1
- 1
Marlin/src/config/examples/Geeetech/Prusa i3 Pro W/Configuration_adv.h Visa fil

738
  * controller events, as there is a trade-off between reliable
738
  * controller events, as there is a trade-off between reliable
739
  * printing performance versus fast display updates.
739
  * printing performance versus fast display updates.
740
  */
740
  */
741
-#if ENABLED(DOGLCD)
741
+#if HAS_GRAPHICAL_LCD
742
   // Show SD percentage next to the progress bar
742
   // Show SD percentage next to the progress bar
743
   //#define DOGM_SD_PERCENT
743
   //#define DOGM_SD_PERCENT
744
 
744
 

+ 1
- 1
Marlin/src/config/examples/Infitary/i3-M508/Configuration_adv.h Visa fil

738
  * controller events, as there is a trade-off between reliable
738
  * controller events, as there is a trade-off between reliable
739
  * printing performance versus fast display updates.
739
  * printing performance versus fast display updates.
740
  */
740
  */
741
-#if ENABLED(DOGLCD)
741
+#if HAS_GRAPHICAL_LCD
742
   // Show SD percentage next to the progress bar
742
   // Show SD percentage next to the progress bar
743
   //#define DOGM_SD_PERCENT
743
   //#define DOGM_SD_PERCENT
744
 
744
 

+ 1
- 1
Marlin/src/config/examples/JGAurora/A5/Configuration_adv.h Visa fil

738
  * controller events, as there is a trade-off between reliable
738
  * controller events, as there is a trade-off between reliable
739
  * printing performance versus fast display updates.
739
  * printing performance versus fast display updates.
740
  */
740
  */
741
-#if ENABLED(DOGLCD)
741
+#if HAS_GRAPHICAL_LCD
742
   // Show SD percentage next to the progress bar
742
   // Show SD percentage next to the progress bar
743
   //#define DOGM_SD_PERCENT
743
   //#define DOGM_SD_PERCENT
744
 
744
 

+ 1
- 1
Marlin/src/config/examples/MakerParts/Configuration_adv.h Visa fil

738
  * controller events, as there is a trade-off between reliable
738
  * controller events, as there is a trade-off between reliable
739
  * printing performance versus fast display updates.
739
  * printing performance versus fast display updates.
740
  */
740
  */
741
-#if ENABLED(DOGLCD)
741
+#if HAS_GRAPHICAL_LCD
742
   // Show SD percentage next to the progress bar
742
   // Show SD percentage next to the progress bar
743
   //#define DOGM_SD_PERCENT
743
   //#define DOGM_SD_PERCENT
744
 
744
 

+ 1
- 1
Marlin/src/config/examples/Malyan/M150/Configuration_adv.h Visa fil

738
  * controller events, as there is a trade-off between reliable
738
  * controller events, as there is a trade-off between reliable
739
  * printing performance versus fast display updates.
739
  * printing performance versus fast display updates.
740
  */
740
  */
741
-#if ENABLED(DOGLCD)
741
+#if HAS_GRAPHICAL_LCD
742
   // Show SD percentage next to the progress bar
742
   // Show SD percentage next to the progress bar
743
   //#define DOGM_SD_PERCENT
743
   //#define DOGM_SD_PERCENT
744
 
744
 

+ 1
- 1
Marlin/src/config/examples/Malyan/M200/Configuration_adv.h Visa fil

738
  * controller events, as there is a trade-off between reliable
738
  * controller events, as there is a trade-off between reliable
739
  * printing performance versus fast display updates.
739
  * printing performance versus fast display updates.
740
  */
740
  */
741
-#if ENABLED(DOGLCD)
741
+#if HAS_GRAPHICAL_LCD
742
   // Show SD percentage next to the progress bar
742
   // Show SD percentage next to the progress bar
743
   //#define DOGM_SD_PERCENT
743
   //#define DOGM_SD_PERCENT
744
 
744
 

+ 1
- 1
Marlin/src/config/examples/Micromake/C1/enhanced/Configuration_adv.h Visa fil

738
  * controller events, as there is a trade-off between reliable
738
  * controller events, as there is a trade-off between reliable
739
  * printing performance versus fast display updates.
739
  * printing performance versus fast display updates.
740
  */
740
  */
741
-#if ENABLED(DOGLCD)
741
+#if HAS_GRAPHICAL_LCD
742
   // Show SD percentage next to the progress bar
742
   // Show SD percentage next to the progress bar
743
   //#define DOGM_SD_PERCENT
743
   //#define DOGM_SD_PERCENT
744
 
744
 

+ 1
- 1
Marlin/src/config/examples/Mks/Sbase/Configuration_adv.h Visa fil

739
  * controller events, as there is a trade-off between reliable
739
  * controller events, as there is a trade-off between reliable
740
  * printing performance versus fast display updates.
740
  * printing performance versus fast display updates.
741
  */
741
  */
742
-#if ENABLED(DOGLCD)
742
+#if HAS_GRAPHICAL_LCD
743
   // Show SD percentage next to the progress bar
743
   // Show SD percentage next to the progress bar
744
   //#define DOGM_SD_PERCENT
744
   //#define DOGM_SD_PERCENT
745
 
745
 

+ 1
- 1
Marlin/src/config/examples/RigidBot/Configuration_adv.h Visa fil

738
  * controller events, as there is a trade-off between reliable
738
  * controller events, as there is a trade-off between reliable
739
  * printing performance versus fast display updates.
739
  * printing performance versus fast display updates.
740
  */
740
  */
741
-#if ENABLED(DOGLCD)
741
+#if HAS_GRAPHICAL_LCD
742
   // Show SD percentage next to the progress bar
742
   // Show SD percentage next to the progress bar
743
   //#define DOGM_SD_PERCENT
743
   //#define DOGM_SD_PERCENT
744
 
744
 

+ 1
- 1
Marlin/src/config/examples/SCARA/Configuration_adv.h Visa fil

738
  * controller events, as there is a trade-off between reliable
738
  * controller events, as there is a trade-off between reliable
739
  * printing performance versus fast display updates.
739
  * printing performance versus fast display updates.
740
  */
740
  */
741
-#if ENABLED(DOGLCD)
741
+#if HAS_GRAPHICAL_LCD
742
   // Show SD percentage next to the progress bar
742
   // Show SD percentage next to the progress bar
743
   //#define DOGM_SD_PERCENT
743
   //#define DOGM_SD_PERCENT
744
 
744
 

+ 1
- 1
Marlin/src/config/examples/Sanguinololu/Configuration_adv.h Visa fil

738
  * controller events, as there is a trade-off between reliable
738
  * controller events, as there is a trade-off between reliable
739
  * printing performance versus fast display updates.
739
  * printing performance versus fast display updates.
740
  */
740
  */
741
-#if ENABLED(DOGLCD)
741
+#if HAS_GRAPHICAL_LCD
742
   // Show SD percentage next to the progress bar
742
   // Show SD percentage next to the progress bar
743
   //#define DOGM_SD_PERCENT
743
   //#define DOGM_SD_PERCENT
744
 
744
 

+ 1
- 1
Marlin/src/config/examples/TheBorg/Configuration_adv.h Visa fil

738
  * controller events, as there is a trade-off between reliable
738
  * controller events, as there is a trade-off between reliable
739
  * printing performance versus fast display updates.
739
  * printing performance versus fast display updates.
740
  */
740
  */
741
-#if ENABLED(DOGLCD)
741
+#if HAS_GRAPHICAL_LCD
742
   // Show SD percentage next to the progress bar
742
   // Show SD percentage next to the progress bar
743
   //#define DOGM_SD_PERCENT
743
   //#define DOGM_SD_PERCENT
744
 
744
 

+ 1
- 1
Marlin/src/config/examples/TinyBoy2/Configuration_adv.h Visa fil

738
  * controller events, as there is a trade-off between reliable
738
  * controller events, as there is a trade-off between reliable
739
  * printing performance versus fast display updates.
739
  * printing performance versus fast display updates.
740
  */
740
  */
741
-#if ENABLED(DOGLCD)
741
+#if HAS_GRAPHICAL_LCD
742
   // Show SD percentage next to the progress bar
742
   // Show SD percentage next to the progress bar
743
   //#define DOGM_SD_PERCENT
743
   //#define DOGM_SD_PERCENT
744
 
744
 

+ 1
- 1
Marlin/src/config/examples/Tronxy/X3A/Configuration_adv.h Visa fil

738
  * controller events, as there is a trade-off between reliable
738
  * controller events, as there is a trade-off between reliable
739
  * printing performance versus fast display updates.
739
  * printing performance versus fast display updates.
740
  */
740
  */
741
-#if ENABLED(DOGLCD)
741
+#if HAS_GRAPHICAL_LCD
742
   // Show SD percentage next to the progress bar
742
   // Show SD percentage next to the progress bar
743
   //#define DOGM_SD_PERCENT
743
   //#define DOGM_SD_PERCENT
744
 
744
 

+ 1
- 1
Marlin/src/config/examples/UltiMachine/Archim2/Configuration_adv.h Visa fil

738
  * controller events, as there is a trade-off between reliable
738
  * controller events, as there is a trade-off between reliable
739
  * printing performance versus fast display updates.
739
  * printing performance versus fast display updates.
740
  */
740
  */
741
-#if ENABLED(DOGLCD)
741
+#if HAS_GRAPHICAL_LCD
742
   // Show SD percentage next to the progress bar
742
   // Show SD percentage next to the progress bar
743
   //#define DOGM_SD_PERCENT
743
   //#define DOGM_SD_PERCENT
744
 
744
 

+ 1
- 1
Marlin/src/config/examples/Velleman/K8200/Configuration_adv.h Visa fil

751
  * controller events, as there is a trade-off between reliable
751
  * controller events, as there is a trade-off between reliable
752
  * printing performance versus fast display updates.
752
  * printing performance versus fast display updates.
753
  */
753
  */
754
-#if ENABLED(DOGLCD)
754
+#if HAS_GRAPHICAL_LCD
755
   // Show SD percentage next to the progress bar
755
   // Show SD percentage next to the progress bar
756
   //#define DOGM_SD_PERCENT
756
   //#define DOGM_SD_PERCENT
757
 
757
 

+ 1
- 1
Marlin/src/config/examples/Velleman/K8400/Configuration_adv.h Visa fil

738
  * controller events, as there is a trade-off between reliable
738
  * controller events, as there is a trade-off between reliable
739
  * printing performance versus fast display updates.
739
  * printing performance versus fast display updates.
740
  */
740
  */
741
-#if ENABLED(DOGLCD)
741
+#if HAS_GRAPHICAL_LCD
742
   // Show SD percentage next to the progress bar
742
   // Show SD percentage next to the progress bar
743
   //#define DOGM_SD_PERCENT
743
   //#define DOGM_SD_PERCENT
744
 
744
 

+ 1
- 1
Marlin/src/config/examples/Wanhao/Duplicator 6/Configuration_adv.h Visa fil

740
  * controller events, as there is a trade-off between reliable
740
  * controller events, as there is a trade-off between reliable
741
  * printing performance versus fast display updates.
741
  * printing performance versus fast display updates.
742
  */
742
  */
743
-#if ENABLED(DOGLCD)
743
+#if HAS_GRAPHICAL_LCD
744
   // Show SD percentage next to the progress bar
744
   // Show SD percentage next to the progress bar
745
   //#define DOGM_SD_PERCENT
745
   //#define DOGM_SD_PERCENT
746
 
746
 

+ 1
- 1
Marlin/src/config/examples/delta/Anycubic/Kossel/Configuration_adv.h Visa fil

740
  * controller events, as there is a trade-off between reliable
740
  * controller events, as there is a trade-off between reliable
741
  * printing performance versus fast display updates.
741
  * printing performance versus fast display updates.
742
  */
742
  */
743
-#if ENABLED(DOGLCD)
743
+#if HAS_GRAPHICAL_LCD
744
   // Show SD percentage next to the progress bar
744
   // Show SD percentage next to the progress bar
745
   //#define DOGM_SD_PERCENT
745
   //#define DOGM_SD_PERCENT
746
 
746
 

+ 1
- 1
Marlin/src/config/examples/delta/FLSUN/auto_calibrate/Configuration_adv.h Visa fil

740
  * controller events, as there is a trade-off between reliable
740
  * controller events, as there is a trade-off between reliable
741
  * printing performance versus fast display updates.
741
  * printing performance versus fast display updates.
742
  */
742
  */
743
-#if ENABLED(DOGLCD)
743
+#if HAS_GRAPHICAL_LCD
744
   // Show SD percentage next to the progress bar
744
   // Show SD percentage next to the progress bar
745
   //#define DOGM_SD_PERCENT
745
   //#define DOGM_SD_PERCENT
746
 
746
 

+ 1
- 1
Marlin/src/config/examples/delta/FLSUN/kossel/Configuration_adv.h Visa fil

740
  * controller events, as there is a trade-off between reliable
740
  * controller events, as there is a trade-off between reliable
741
  * printing performance versus fast display updates.
741
  * printing performance versus fast display updates.
742
  */
742
  */
743
-#if ENABLED(DOGLCD)
743
+#if HAS_GRAPHICAL_LCD
744
   // Show SD percentage next to the progress bar
744
   // Show SD percentage next to the progress bar
745
   //#define DOGM_SD_PERCENT
745
   //#define DOGM_SD_PERCENT
746
 
746
 

+ 1
- 1
Marlin/src/config/examples/delta/FLSUN/kossel_mini/Configuration_adv.h Visa fil

740
  * controller events, as there is a trade-off between reliable
740
  * controller events, as there is a trade-off between reliable
741
  * printing performance versus fast display updates.
741
  * printing performance versus fast display updates.
742
  */
742
  */
743
-#if ENABLED(DOGLCD)
743
+#if HAS_GRAPHICAL_LCD
744
   // Show SD percentage next to the progress bar
744
   // Show SD percentage next to the progress bar
745
   //#define DOGM_SD_PERCENT
745
   //#define DOGM_SD_PERCENT
746
 
746
 

+ 1
- 1
Marlin/src/config/examples/delta/generic/Configuration_adv.h Visa fil

740
  * controller events, as there is a trade-off between reliable
740
  * controller events, as there is a trade-off between reliable
741
  * printing performance versus fast display updates.
741
  * printing performance versus fast display updates.
742
  */
742
  */
743
-#if ENABLED(DOGLCD)
743
+#if HAS_GRAPHICAL_LCD
744
   // Show SD percentage next to the progress bar
744
   // Show SD percentage next to the progress bar
745
   //#define DOGM_SD_PERCENT
745
   //#define DOGM_SD_PERCENT
746
 
746
 

+ 1
- 1
Marlin/src/config/examples/delta/kossel_mini/Configuration_adv.h Visa fil

740
  * controller events, as there is a trade-off between reliable
740
  * controller events, as there is a trade-off between reliable
741
  * printing performance versus fast display updates.
741
  * printing performance versus fast display updates.
742
  */
742
  */
743
-#if ENABLED(DOGLCD)
743
+#if HAS_GRAPHICAL_LCD
744
   // Show SD percentage next to the progress bar
744
   // Show SD percentage next to the progress bar
745
   //#define DOGM_SD_PERCENT
745
   //#define DOGM_SD_PERCENT
746
 
746
 

+ 1
- 1
Marlin/src/config/examples/delta/kossel_xl/Configuration_adv.h Visa fil

740
  * controller events, as there is a trade-off between reliable
740
  * controller events, as there is a trade-off between reliable
741
  * printing performance versus fast display updates.
741
  * printing performance versus fast display updates.
742
  */
742
  */
743
-#if ENABLED(DOGLCD)
743
+#if HAS_GRAPHICAL_LCD
744
   // Show SD percentage next to the progress bar
744
   // Show SD percentage next to the progress bar
745
   //#define DOGM_SD_PERCENT
745
   //#define DOGM_SD_PERCENT
746
 
746
 

+ 1
- 1
Marlin/src/config/examples/gCreate/gMax1.5+/Configuration_adv.h Visa fil

738
  * controller events, as there is a trade-off between reliable
738
  * controller events, as there is a trade-off between reliable
739
  * printing performance versus fast display updates.
739
  * printing performance versus fast display updates.
740
  */
740
  */
741
-#if ENABLED(DOGLCD)
741
+#if HAS_GRAPHICAL_LCD
742
   // Show SD percentage next to the progress bar
742
   // Show SD percentage next to the progress bar
743
   //#define DOGM_SD_PERCENT
743
   //#define DOGM_SD_PERCENT
744
 
744
 

+ 1
- 1
Marlin/src/config/examples/makibox/Configuration_adv.h Visa fil

738
  * controller events, as there is a trade-off between reliable
738
  * controller events, as there is a trade-off between reliable
739
  * printing performance versus fast display updates.
739
  * printing performance versus fast display updates.
740
  */
740
  */
741
-#if ENABLED(DOGLCD)
741
+#if HAS_GRAPHICAL_LCD
742
   // Show SD percentage next to the progress bar
742
   // Show SD percentage next to the progress bar
743
   //#define DOGM_SD_PERCENT
743
   //#define DOGM_SD_PERCENT
744
 
744
 

+ 1
- 1
Marlin/src/config/examples/tvrrug/Round2/Configuration_adv.h Visa fil

738
  * controller events, as there is a trade-off between reliable
738
  * controller events, as there is a trade-off between reliable
739
  * printing performance versus fast display updates.
739
  * printing performance versus fast display updates.
740
  */
740
  */
741
-#if ENABLED(DOGLCD)
741
+#if HAS_GRAPHICAL_LCD
742
   // Show SD percentage next to the progress bar
742
   // Show SD percentage next to the progress bar
743
   //#define DOGM_SD_PERCENT
743
   //#define DOGM_SD_PERCENT
744
 
744
 

+ 1
- 1
Marlin/src/config/examples/wt150/Configuration_adv.h Visa fil

739
  * controller events, as there is a trade-off between reliable
739
  * controller events, as there is a trade-off between reliable
740
  * printing performance versus fast display updates.
740
  * printing performance versus fast display updates.
741
  */
741
  */
742
-#if ENABLED(DOGLCD)
742
+#if HAS_GRAPHICAL_LCD
743
   // Show SD percentage next to the progress bar
743
   // Show SD percentage next to the progress bar
744
   //#define DOGM_SD_PERCENT
744
   //#define DOGM_SD_PERCENT
745
 
745
 

+ 1
- 1
Marlin/src/core/language.h Visa fil

264
 
264
 
265
 // LCD Menu Messages
265
 // LCD Menu Messages
266
 
266
 
267
-#define LANGUAGE_DATA_INCL_(M) STRINGIFY_(../lcd/dogm/language_data_##M.h)
267
+#define LANGUAGE_DATA_INCL_(M) STRINGIFY_(fontdata/language_data_##M.h)
268
 #define LANGUAGE_DATA_INCL(M) LANGUAGE_DATA_INCL_(M)
268
 #define LANGUAGE_DATA_INCL(M) LANGUAGE_DATA_INCL_(M)
269
 #define INCLUDE_LANGUAGE_DATA LANGUAGE_DATA_INCL(LCD_LANGUAGE)
269
 #define INCLUDE_LANGUAGE_DATA LANGUAGE_DATA_INCL(LCD_LANGUAGE)
270
 
270
 

+ 1
- 1
Marlin/src/feature/bedlevel/ubl/ubl_G29.cpp Visa fil

628
 
628
 
629
     LEAVE:
629
     LEAVE:
630
 
630
 
631
-    #if ENABLED(NEWPANEL)
631
+    #if ENABLED(ULTIPANEL)
632
       lcd_reset_alert_level();
632
       lcd_reset_alert_level();
633
       lcd_quick_feedback(true);
633
       lcd_quick_feedback(true);
634
       lcd_reset_status();
634
       lcd_reset_status();

+ 1
- 5
Marlin/src/feature/power_loss_recovery.h Visa fil

19
  * along with this program.  If not, see <http://www.gnu.org/licenses/>.
19
  * along with this program.  If not, see <http://www.gnu.org/licenses/>.
20
  *
20
  *
21
  */
21
  */
22
+#pragma once
22
 
23
 
23
 /**
24
 /**
24
  * power_loss_recovery.h - Resume an SD print after power-loss
25
  * power_loss_recovery.h - Resume an SD print after power-loss
25
  */
26
  */
26
 
27
 
27
-#ifndef _POWER_LOSS_RECOVERY_H_
28
-#define _POWER_LOSS_RECOVERY_H_
29
-
30
 #include "../sd/cardreader.h"
28
 #include "../sd/cardreader.h"
31
 #include "../core/millis_t.h"
29
 #include "../core/millis_t.h"
32
 #include "../inc/MarlinConfigPre.h"
30
 #include "../inc/MarlinConfigPre.h"
99
 
97
 
100
 void check_print_job_recovery();
98
 void check_print_job_recovery();
101
 void save_job_recovery_info();
99
 void save_job_recovery_info();
102
-
103
-#endif // _POWER_LOSS_RECOVERY_H_

+ 0
- 1
Marlin/src/gcode/calibrate/G28.cpp Visa fil

210
 
210
 
211
     // Cancel the active G29 session
211
     // Cancel the active G29 session
212
     #if ENABLED(PROBE_MANUALLY)
212
     #if ENABLED(PROBE_MANUALLY)
213
-      extern bool g29_in_progress;
214
       g29_in_progress = false;
213
       g29_in_progress = false;
215
     #endif
214
     #endif
216
 
215
 

+ 17
- 10
Marlin/src/inc/Conditionals_LCD.h Visa fil

298
   #define ULTIPANEL
298
   #define ULTIPANEL
299
 #endif
299
 #endif
300
 
300
 
301
-#if ENABLED(DOGLCD) // Change number of lines to match the DOG graphic display
301
+#if ENABLED(NO_LCD_MENUS)
302
+  #undef ULTIPANEL
303
+#endif
304
+
305
+#define HAS_GRAPHICAL_LCD ENABLED(DOGLCD)
306
+
307
+#if HAS_GRAPHICAL_LCD
302
   #ifndef LCD_WIDTH
308
   #ifndef LCD_WIDTH
303
     #ifdef LCD_WIDTH_OVERRIDE
309
     #ifdef LCD_WIDTH_OVERRIDE
304
       #define LCD_WIDTH LCD_WIDTH_OVERRIDE
310
       #define LCD_WIDTH LCD_WIDTH_OVERRIDE
311
   #endif
317
   #endif
312
 #endif
318
 #endif
313
 
319
 
314
-#if ENABLED(NO_LCD_MENUS)
315
-  #undef ULTIPANEL
316
-#endif
317
-
318
 #if ENABLED(ULTIPANEL)
320
 #if ENABLED(ULTIPANEL)
319
   #define NEWPANEL  // Disable this if you actually have no click-encoder panel
321
   #define NEWPANEL  // Disable this if you actually have no click-encoder panel
320
   #define ULTRA_LCD
322
   #define ULTRA_LCD
333
   #endif
335
   #endif
334
 #endif
336
 #endif
335
 
337
 
336
-#if ENABLED(DOGLCD)
338
+// Aliases for LCD features
339
+#define HAS_SPI_LCD          ENABLED(ULTRA_LCD)
340
+#define HAS_CHARACTER_LCD   (ENABLED(ULTRA_LCD) && DISABLED(DOGLCD))
341
+#define HAS_DIGITAL_ENCODER (HAS_SPI_LCD && ENABLED(NEWPANEL))
342
+#define HAS_LCD_MENU         ENABLED(ULTIPANEL)
343
+#define HAS_DEBUG_MENU      (HAS_LCD_MENU && ENABLED(LCD_PROGRESS_BAR_TEST))
344
+
345
+#if HAS_GRAPHICAL_LCD
337
   /* Custom characters defined in font Marlin_symbols.fon which was merged to ISO10646-0-3.bdf */
346
   /* Custom characters defined in font Marlin_symbols.fon which was merged to ISO10646-0-3.bdf */
338
   // \x00 intentionally skipped to avoid problems in strings
347
   // \x00 intentionally skipped to avoid problems in strings
339
   #define LCD_STR_REFRESH     "\x01"
348
   #define LCD_STR_REFRESH     "\x01"
369
 /**
378
 /**
370
  * Default LCD contrast for dogm-like LCD displays
379
  * Default LCD contrast for dogm-like LCD displays
371
  */
380
  */
372
-#if ENABLED(DOGLCD)
381
+#if HAS_GRAPHICAL_LCD
373
 
382
 
374
   #define HAS_LCD_CONTRAST ( \
383
   #define HAS_LCD_CONTRAST ( \
375
       ENABLED(MAKRPANEL) \
384
       ENABLED(MAKRPANEL) \
394
 #endif
403
 #endif
395
 
404
 
396
 // Boot screens
405
 // Boot screens
397
-#if DISABLED(ULTRA_LCD)
406
+#if !HAS_SPI_LCD
398
   #undef SHOW_BOOTSCREEN
407
   #undef SHOW_BOOTSCREEN
399
 #elif !defined(BOOTSCREEN_TIMEOUT)
408
 #elif !defined(BOOTSCREEN_TIMEOUT)
400
   #define BOOTSCREEN_TIMEOUT 2500
409
   #define BOOTSCREEN_TIMEOUT 2500
401
 #endif
410
 #endif
402
 
411
 
403
-#define HAS_DEBUG_MENU (ENABLED(ULTIPANEL) && ENABLED(LCD_PROGRESS_BAR_TEST))
404
-
405
 /**
412
 /**
406
  * Extruders have some combination of stepper motors and hotends
413
  * Extruders have some combination of stepper motors and hotends
407
  * so we separate these concepts into the defines:
414
  * so we separate these concepts into the defines:

+ 4
- 4
Marlin/src/inc/SanityCheck.h Visa fil

458
  * LCD Info Screen Style
458
  * LCD Info Screen Style
459
  */
459
  */
460
 #if LCD_INFO_SCREEN_STYLE > 0
460
 #if LCD_INFO_SCREEN_STYLE > 0
461
-  #if ENABLED(DOGLCD) || LCD_WIDTH < 20 || LCD_HEIGHT < 4
461
+  #if HAS_GRAPHICAL_LCD || LCD_WIDTH < 20 || LCD_HEIGHT < 4
462
     #error "Alternative LCD_INFO_SCREEN_STYLE requires 20x4 Character LCD."
462
     #error "Alternative LCD_INFO_SCREEN_STYLE requires 20x4 Character LCD."
463
   #elif LCD_INFO_SCREEN_STYLE > 1
463
   #elif LCD_INFO_SCREEN_STYLE > 1
464
     #error "LCD_INFO_SCREEN_STYLE only has options 0 and 1 at this time."
464
     #error "LCD_INFO_SCREEN_STYLE only has options 0 and 1 at this time."
471
 #if ENABLED(LCD_PROGRESS_BAR)
471
 #if ENABLED(LCD_PROGRESS_BAR)
472
   #if DISABLED(SDSUPPORT) && DISABLED(LCD_SET_PROGRESS_MANUALLY)
472
   #if DISABLED(SDSUPPORT) && DISABLED(LCD_SET_PROGRESS_MANUALLY)
473
     #error "LCD_PROGRESS_BAR requires SDSUPPORT or LCD_SET_PROGRESS_MANUALLY."
473
     #error "LCD_PROGRESS_BAR requires SDSUPPORT or LCD_SET_PROGRESS_MANUALLY."
474
-  #elif DISABLED(ULTRA_LCD)
474
+  #elif !HAS_CHARACTER_LCD
475
     #error "LCD_PROGRESS_BAR requires a character LCD."
475
     #error "LCD_PROGRESS_BAR requires a character LCD."
476
-  #elif ENABLED(DOGLCD)
476
+  #elif HAS_GRAPHICAL_LCD
477
     #error "LCD_PROGRESS_BAR does not apply to graphical displays."
477
     #error "LCD_PROGRESS_BAR does not apply to graphical displays."
478
   #elif ENABLED(FILAMENT_LCD_DISPLAY)
478
   #elif ENABLED(FILAMENT_LCD_DISPLAY)
479
     #error "LCD_PROGRESS_BAR and FILAMENT_LCD_DISPLAY are not fully compatible. Comment out this line to use both."
479
     #error "LCD_PROGRESS_BAR and FILAMENT_LCD_DISPLAY are not fully compatible. Comment out this line to use both."
480
   #endif
480
   #endif
481
-#elif ENABLED(LCD_SET_PROGRESS_MANUALLY) && DISABLED(DOGLCD)
481
+#elif ENABLED(LCD_SET_PROGRESS_MANUALLY) && !HAS_GRAPHICAL_LCD
482
   #error "LCD_SET_PROGRESS_MANUALLY requires LCD_PROGRESS_BAR or Graphical LCD."
482
   #error "LCD_SET_PROGRESS_MANUALLY requires LCD_PROGRESS_BAR or Graphical LCD."
483
 #endif
483
 #endif
484
 
484
 

Marlin/src/lcd/lcdprint_hd44780.cpp → Marlin/src/lcd/HD44780/lcdprint_hd44780.cpp Visa fil

12
  *   Western(English), Cyrillic(Russian), Kana(Japanese) charsets.
12
  *   Western(English), Cyrillic(Russian), Kana(Japanese) charsets.
13
  */
13
  */
14
 
14
 
15
-#include "../inc/MarlinConfigPre.h"
16
-#include "../inc/MarlinConfig.h"
15
+#include "../../inc/MarlinConfigPre.h"
17
 
16
 
18
-#if ENABLED(ULTRA_LCD)
19
-#include "ultralcd.h"
20
-#include "../Marlin.h"
17
+#if ENABLED(ULTRA_LCD) && DISABLED(DOGLCD)
18
+
19
+#include "../ultralcd.h"
20
+#include "../../Marlin.h"
21
 
21
 
22
-#if DISABLED(DOGLCD)
23
 #include <string.h>
22
 #include <string.h>
24
-#include "fontutils.h"
25
-#include "lcdprint.h"
23
+#include "../fontutils.h"
24
+#include "../lcdprint.h"
26
 
25
 
27
 #include "ultralcd_common_HD44780.h"
26
 #include "ultralcd_common_HD44780.h"
28
 #ifndef LCD_CLASS
27
 #ifndef LCD_CLASS
1040
   return lcd_put_u8str_max_cb(utf8_str_P, read_byte_rom, max_length);
1039
   return lcd_put_u8str_max_cb(utf8_str_P, read_byte_rom, max_length);
1041
 }
1040
 }
1042
 
1041
 
1043
-#endif // DOGLCD
1044
-#endif // ULTRA_LCD
1042
+#endif // ULTRA_LCD && !DOGLCD

Marlin/src/lcd/ultralcd_common_HD44780.h → Marlin/src/lcd/HD44780/ultralcd_common_HD44780.h Visa fil

19
  * along with this program.  If not, see <http://www.gnu.org/licenses/>.
19
  * along with this program.  If not, see <http://www.gnu.org/licenses/>.
20
  *
20
  *
21
  */
21
  */
22
-
23
-#ifndef ULTRALCD_COMMON_HD44780_H
24
-#define ULTRALCD_COMMON_HD44780_H
22
+#pragma once
25
 
23
 
26
 /**
24
 /**
27
  * Implementation of the LCD display routines for a Hitachi HD44780 display.
25
  * Implementation of the LCD display routines for a Hitachi HD44780 display.
28
  * These are the most common LCD character displays.
26
  * These are the most common LCD character displays.
29
  */
27
  */
30
 
28
 
31
-#include "../inc/MarlinConfig.h"
29
+#include "../../inc/MarlinConfig.h"
32
 
30
 
33
 #if LCD_HEIGHT > 3
31
 #if LCD_HEIGHT > 3
34
-  #include "../libs/duration_t.h"
32
+  #include "../../libs/duration_t.h"
35
 #endif
33
 #endif
36
 
34
 
37
 #if ENABLED(AUTO_BED_LEVELING_UBL)
35
 #if ENABLED(AUTO_BED_LEVELING_UBL)
38
-  #include "../feature/bedlevel/ubl/ubl.h"
36
+  #include "../../feature/bedlevel/ubl/ubl.h"
39
 
37
 
40
   #if ENABLED(ULTIPANEL)
38
   #if ENABLED(ULTIPANEL)
41
     #define ULTRA_X_PIXELS_PER_CHAR    5
39
     #define ULTRA_X_PIXELS_PER_CHAR    5
52
   #endif
50
   #endif
53
 #endif
51
 #endif
54
 
52
 
55
-extern volatile uint8_t buttons;  //an extended version of the last checked buttons in a bit array.
56
-
57
 ////////////////////////////////////
53
 ////////////////////////////////////
58
 // Setup button and encode mappings for each panel (into 'buttons' variable
54
 // Setup button and encode mappings for each panel (into 'buttons' variable
59
 //
55
 //
63
 
59
 
64
 #if ENABLED(ULTIPANEL)
60
 #if ENABLED(ULTIPANEL)
65
 
61
 
62
+  extern volatile uint8_t buttons;
63
+
66
   //
64
   //
67
   // Setup other button mappings of each panel
65
   // Setup other button mappings of each panel
68
   //
66
   //
183
 
181
 
184
 #endif
182
 #endif
185
 
183
 
186
-#include "fontutils.h"
187
-#include "lcdprint.h"
184
+#include "../fontutils.h"
185
+#include "../lcdprint.h"
188
 
186
 
189
 #if ENABLED(LCD_PROGRESS_BAR)
187
 #if ENABLED(LCD_PROGRESS_BAR)
190
   #define LCD_STR_PROGRESS  "\x03\x04\x05"
188
   #define LCD_STR_PROGRESS  "\x03\x04\x05"
191
 #endif
189
 #endif
192
-
193
-enum HD44780CharSet : char {
194
-  CHARSET_MENU,
195
-  CHARSET_INFO,
196
-  CHARSET_BOOT
197
-};
198
-
199
-#endif // ULTRALCD_COMMON_HD44780_H

Marlin/src/lcd/ultralcd_impl_HD44780.h → Marlin/src/lcd/HD44780/ultralcd_impl_HD44780.cpp Visa fil

20
  *
20
  *
21
  */
21
  */
22
 
22
 
23
-#ifndef ULTRALCD_IMPL_HD44780_H
24
-#define ULTRALCD_IMPL_HD44780_H
23
+#include "../../inc/MarlinConfigPre.h"
24
+
25
+#if ENABLED(ULTRA_LCD) && DISABLED(DOGLCD)
25
 
26
 
26
 /**
27
 /**
28
+ * ultralcd_impl_HD44780.cpp
29
+ *
27
  * Implementation of the LCD display routines for a Hitachi HD44780 display.
30
  * Implementation of the LCD display routines for a Hitachi HD44780 display.
28
  * These are the most common LCD character displays.
31
  * These are the most common LCD character displays.
29
  */
32
  */
30
 
33
 
31
 #include "ultralcd_common_HD44780.h"
34
 #include "ultralcd_common_HD44780.h"
35
+#include "../ultralcd.h"
36
+
37
+#include "../../sd/cardreader.h"
38
+#include "../../module/temperature.h"
39
+#include "../../module/printcounter.h"
40
+#include "../../module/planner.h"
41
+#include "../../module/motion.h"
32
 
42
 
33
 ////////////////////////////////////
43
 ////////////////////////////////////
34
 // Create LCD class instance and chipset-specific information
44
 // Create LCD class instance and chipset-specific information
69
   LCD_CLASS lcd(LCD_PINS_RS, LCD_PINS_ENABLE, LCD_PINS_D4, LCD_PINS_D5, LCD_PINS_D6, LCD_PINS_D7); //RS,Enable,D4,D5,D6,D7
79
   LCD_CLASS lcd(LCD_PINS_RS, LCD_PINS_ENABLE, LCD_PINS_D4, LCD_PINS_D5, LCD_PINS_D6, LCD_PINS_D7); //RS,Enable,D4,D5,D6,D7
70
 #endif
80
 #endif
71
 
81
 
72
-#include "fontutils.h"
73
-#include "lcdprint.h"
82
+#include "../fontutils.h"
83
+#include "../lcdprint.h"
74
 
84
 
75
 #if ENABLED(LCD_PROGRESS_BAR)
85
 #if ENABLED(LCD_PROGRESS_BAR)
76
   static millis_t progress_bar_ms = 0;     // Start millis of the current progress bar cycle
86
   static millis_t progress_bar_ms = 0;     // Start millis of the current progress bar cycle
90
   lcd.createChar(c, temp);
100
   lcd.createChar(c, temp);
91
 }
101
 }
92
 
102
 
93
-static void lcd_set_custom_characters(
103
+void lcd_set_custom_characters(
94
   #if ENABLED(LCD_PROGRESS_BAR) || ENABLED(SHOW_BOOTSCREEN)
104
   #if ENABLED(LCD_PROGRESS_BAR) || ENABLED(SHOW_BOOTSCREEN)
95
     const uint8_t screen_charset=CHARSET_INFO
105
     const uint8_t screen_charset=CHARSET_INFO
96
   #endif
106
   #endif
308
 
318
 
309
 }
319
 }
310
 
320
 
311
-static void lcd_implementation_init(
321
+void lcd_implementation_init(
312
   #if ENABLED(LCD_PROGRESS_BAR)
322
   #if ENABLED(LCD_PROGRESS_BAR)
313
     const uint8_t screen_charset=CHARSET_INFO
323
     const uint8_t screen_charset=CHARSET_INFO
314
   #endif
324
   #endif
744
    *         |01234567890123456789|
754
    *         |01234567890123456789|
745
    */
755
    */
746
 
756
 
747
-  static void lcd_impl_status_screen_0() {
757
+  void lcd_impl_status_screen_0() {
748
     const bool blink = lcd_blink();
758
     const bool blink = lcd_blink();
749
 
759
 
750
     // ========== Line 1 ==========
760
     // ========== Line 1 ==========
969
 
979
 
970
   #if ENABLED(ADVANCED_PAUSE_FEATURE)
980
   #if ENABLED(ADVANCED_PAUSE_FEATURE)
971
 
981
 
972
-    static void lcd_implementation_hotend_status(const uint8_t row, const uint8_t extruder=active_extruder) {
982
+    void lcd_implementation_hotend_status(const uint8_t row, const uint8_t extruder) {
973
       if (row < LCD_HEIGHT) {
983
       if (row < LCD_HEIGHT) {
974
         lcd_moveto(LCD_WIDTH - 9, row);
984
         lcd_moveto(LCD_WIDTH - 9, row);
975
         _draw_heater_status(extruder, LCD_STR_THERMOMETER[0], lcd_blink());
985
         _draw_heater_status(extruder, LCD_STR_THERMOMETER[0], lcd_blink());
978
 
988
 
979
   #endif // ADVANCED_PAUSE_FEATURE
989
   #endif // ADVANCED_PAUSE_FEATURE
980
 
990
 
981
-  static void lcd_implementation_drawmenu_static(const uint8_t row, PGM_P pstr, const bool center=true, const bool invert=false, const char *valstr=NULL) {
991
+  void lcd_implementation_drawmenu_static(const uint8_t row, PGM_P pstr, const bool center/*=true*/, const bool invert/*=false*/, const char *valstr/*=NULL*/) {
982
     UNUSED(invert);
992
     UNUSED(invert);
983
     int8_t n = LCD_WIDTH;
993
     int8_t n = LCD_WIDTH;
984
     lcd_moveto(0, row);
994
     lcd_moveto(0, row);
991
     for (; n > 0; --n) lcd_put_wchar(' ');
1001
     for (; n > 0; --n) lcd_put_wchar(' ');
992
   }
1002
   }
993
 
1003
 
994
-  static void lcd_implementation_drawmenu_generic(const bool sel, const uint8_t row, PGM_P pstr, const char pre_char, const char post_char) {
1004
+  void lcd_implementation_drawmenu_generic(const bool sel, const uint8_t row, PGM_P pstr, const char pre_char, const char post_char) {
995
     uint8_t n = LCD_WIDTH - 2;
1005
     uint8_t n = LCD_WIDTH - 2;
996
     lcd_moveto(0, row);
1006
     lcd_moveto(0, row);
997
     lcd_put_wchar(sel ? pre_char : ' ');
1007
     lcd_put_wchar(sel ? pre_char : ' ');
1000
     lcd_put_wchar(post_char);
1010
     lcd_put_wchar(post_char);
1001
   }
1011
   }
1002
 
1012
 
1003
-  static void lcd_implementation_drawmenu_setting_edit_generic(const bool sel, const uint8_t row, PGM_P pstr, const char pre_char, const char* const data) {
1013
+  void lcd_implementation_drawmenu_setting_edit_generic(const bool sel, const uint8_t row, PGM_P pstr, const char pre_char, const char* const data) {
1004
     uint8_t n = LCD_WIDTH - 2 - utf8_strlen(data);
1014
     uint8_t n = LCD_WIDTH - 2 - utf8_strlen(data);
1005
     lcd_moveto(0, row);
1015
     lcd_moveto(0, row);
1006
     lcd_put_wchar(sel ? pre_char : ' ');
1016
     lcd_put_wchar(sel ? pre_char : ' ');
1009
     while (n--) lcd_put_wchar(' ');
1019
     while (n--) lcd_put_wchar(' ');
1010
     lcd_put_u8str(data);
1020
     lcd_put_u8str(data);
1011
   }
1021
   }
1012
-  static void lcd_implementation_drawmenu_setting_edit_generic_P(const bool sel, const uint8_t row, PGM_P pstr, const char pre_char, const char* const data) {
1022
+  void lcd_implementation_drawmenu_setting_edit_generic_P(const bool sel, const uint8_t row, PGM_P pstr, const char pre_char, const char* const data) {
1013
     uint8_t n = LCD_WIDTH - 2 - utf8_strlen_P(data);
1023
     uint8_t n = LCD_WIDTH - 2 - utf8_strlen_P(data);
1014
     lcd_moveto(0, row);
1024
     lcd_moveto(0, row);
1015
     lcd_put_wchar(sel ? pre_char : ' ');
1025
     lcd_put_wchar(sel ? pre_char : ' ');
1019
     lcd_put_u8str_P(data);
1029
     lcd_put_u8str_P(data);
1020
   }
1030
   }
1021
 
1031
 
1022
-  #define DRAWMENU_SETTING_EDIT_GENERIC(_src) lcd_implementation_drawmenu_setting_edit_generic(sel, row, pstr, '>', _src)
1023
-  #define DRAW_BOOL_SETTING(sel, row, pstr, data) lcd_implementation_drawmenu_setting_edit_generic_P(sel, row, pstr, '>', (*(data))?PSTR(MSG_ON):PSTR(MSG_OFF))
1024
-
1025
-  void lcd_implementation_drawedit(PGM_P pstr, const char* const value=NULL) {
1032
+  void lcd_implementation_drawedit(PGM_P pstr, const char* const value/*=NULL*/) {
1026
     lcd_moveto(1, 1);
1033
     lcd_moveto(1, 1);
1027
     lcd_put_u8str_P(pstr);
1034
     lcd_put_u8str_P(pstr);
1028
     if (value != NULL) {
1035
     if (value != NULL) {
1046
       const char *outstr = theCard.longest_filename();
1053
       const char *outstr = theCard.longest_filename();
1047
       if (theCard.longFilename[0]) {
1054
       if (theCard.longFilename[0]) {
1048
         #if ENABLED(SCROLL_LONG_FILENAMES)
1055
         #if ENABLED(SCROLL_LONG_FILENAMES)
1056
+          static uint8_t filename_scroll_hash;
1049
           if (sel) {
1057
           if (sel) {
1050
             uint8_t name_hash = row;
1058
             uint8_t name_hash = row;
1051
             for (uint8_t l = FILENAME_LENGTH; l--;)
1059
             for (uint8_t l = FILENAME_LENGTH; l--;)
1071
       lcd_put_wchar(post_char);
1079
       lcd_put_wchar(post_char);
1072
     }
1080
     }
1073
 
1081
 
1074
-    static void lcd_implementation_drawmenu_sdfile(const bool sel, const uint8_t row, PGM_P pstr, CardReader &theCard) {
1082
+    void lcd_implementation_drawmenu_sdfile(const bool sel, const uint8_t row, PGM_P pstr, CardReader &theCard) {
1075
       lcd_implementation_drawmenu_sd(sel, row, pstr, theCard, 2, ' ');
1083
       lcd_implementation_drawmenu_sd(sel, row, pstr, theCard, 2, ' ');
1076
     }
1084
     }
1077
 
1085
 
1078
-    static void lcd_implementation_drawmenu_sddirectory(const bool sel, const uint8_t row, PGM_P pstr, CardReader &theCard) {
1086
+    void lcd_implementation_drawmenu_sddirectory(const bool sel, const uint8_t row, PGM_P pstr, CardReader &theCard) {
1079
       lcd_implementation_drawmenu_sd(sel, row, pstr, theCard, 2, LCD_STR_FOLDER[0]);
1087
       lcd_implementation_drawmenu_sd(sel, row, pstr, theCard, 2, LCD_STR_FOLDER[0]);
1080
     }
1088
     }
1081
 
1089
 
1082
   #endif // SDSUPPORT
1090
   #endif // SDSUPPORT
1083
 
1091
 
1084
-  #define lcd_implementation_drawmenu_back(sel, row, pstr, dummy) lcd_implementation_drawmenu_generic(sel, row, pstr, LCD_UPLEVEL_CHAR, LCD_UPLEVEL_CHAR)
1085
-  #define lcd_implementation_drawmenu_submenu(sel, row, pstr, data) lcd_implementation_drawmenu_generic(sel, row, pstr, '>', LCD_STR_ARROW_RIGHT[0])
1086
-  #define lcd_implementation_drawmenu_gcode(sel, row, pstr, gcode) lcd_implementation_drawmenu_generic(sel, row, pstr, '>', ' ')
1087
-  #define lcd_implementation_drawmenu_function(sel, row, pstr, data) lcd_implementation_drawmenu_generic(sel, row, pstr, '>', ' ')
1088
-
1089
   #if ENABLED(LCD_HAS_SLOW_BUTTONS)
1092
   #if ENABLED(LCD_HAS_SLOW_BUTTONS)
1090
 
1093
 
1091
     extern millis_t next_button_update_ms;
1094
     extern millis_t next_button_update_ms;
1580
 
1583
 
1581
 #endif // ULTIPANEL
1584
 #endif // ULTIPANEL
1582
 
1585
 
1583
-#endif // ULTRALCD_IMPL_HD44780_H
1586
+#endif // ULTRA_LCD && !DOGLCD

+ 1
- 6
Marlin/src/lcd/dogm/HAL_LCD_class_defines.h Visa fil

19
  * along with this program.  If not, see <http://www.gnu.org/licenses/>.
19
  * along with this program.  If not, see <http://www.gnu.org/licenses/>.
20
  *
20
  *
21
  */
21
  */
22
-
22
+#pragma once
23
 
23
 
24
 // use this file to create the public interface for device drivers that are NOT in the U8G library
24
 // use this file to create the public interface for device drivers that are NOT in the U8G library
25
 
25
 
36
       { }
36
       { }
37
 };
37
 };
38
 
38
 
39
-
40
 extern u8g_dev_t u8g_dev_st7920_128x64_HAL_4x_sw_spi;
39
 extern u8g_dev_t u8g_dev_st7920_128x64_HAL_4x_sw_spi;
41
 extern u8g_dev_t u8g_dev_st7920_128x64_HAL_4x_hw_spi;
40
 extern u8g_dev_t u8g_dev_st7920_128x64_HAL_4x_hw_spi;
42
 class U8GLIB_ST7920_128X64_4X_HAL : public U8GLIB
41
 class U8GLIB_ST7920_128X64_4X_HAL : public U8GLIB
50
       { }
49
       { }
51
 };
50
 };
52
 
51
 
53
-
54
 // AVR version uses ultralcd_st7920_u8glib_rrd_AVR.cpp, HAL version uses u8g_dev_st7920_128x64_HAL.cpp
52
 // AVR version uses ultralcd_st7920_u8glib_rrd_AVR.cpp, HAL version uses u8g_dev_st7920_128x64_HAL.cpp
55
 extern u8g_dev_t u8g_dev_st7920_128x64_rrd_sw_spi;
53
 extern u8g_dev_t u8g_dev_st7920_128x64_rrd_sw_spi;
56
 class U8GLIB_ST7920_128X64_RRD : public U8GLIB
54
 class U8GLIB_ST7920_128X64_RRD : public U8GLIB
61
       { }
59
       { }
62
 };
60
 };
63
 
61
 
64
-
65
 extern u8g_dev_t u8g_dev_sh1106_128x64_2x_i2c_2_wire;
62
 extern u8g_dev_t u8g_dev_sh1106_128x64_2x_i2c_2_wire;
66
 class U8GLIB_SH1106_128X64_2X_I2C_2_WIRE : public U8GLIB {
63
 class U8GLIB_SH1106_128X64_2X_I2C_2_WIRE : public U8GLIB {
67
   public:
64
   public:
70
     {  }
67
     {  }
71
 };
68
 };
72
 
69
 
73
-
74
-
75
 extern u8g_dev_t u8g_dev_ssd1306_128x64_2x_i2c_2_wire;
70
 extern u8g_dev_t u8g_dev_ssd1306_128x64_2x_i2c_2_wire;
76
 class U8GLIB_SSD1306_128X64_2X_I2C_2_WIRE : public U8GLIB {
71
 class U8GLIB_SSD1306_128X64_2X_I2C_2_WIRE : public U8GLIB {
77
   public:
72
   public:

+ 137
- 0
Marlin/src/lcd/dogm/dogm_Bootscreen.h Visa fil

1
+/**
2
+ * Marlin 3D Printer Firmware
3
+ * Copyright (C) 2016 MarlinFirmware [https://github.com/MarlinFirmware/Marlin]
4
+ *
5
+ * Based on Sprinter and grbl.
6
+ * Copyright (C) 2011 Camiel Gubbels / Erik van der Zalm
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
+ * You should have received a copy of the GNU General Public License
19
+ * along with this program.  If not, see <http://www.gnu.org/licenses/>.
20
+ *
21
+ */
22
+
23
+/**
24
+ * Standard Marlin Boot Screen bitmaps
25
+ *
26
+ * Use the Marlin Bitmap Converter to make your own:
27
+ * http://marlinfw.org/tools/u8glib/converter.html
28
+ */
29
+
30
+#include <binary.h>
31
+
32
+#include "../../inc/MarlinConfig.h"
33
+
34
+#if ENABLED(SHOW_BOOTSCREEN)
35
+
36
+  //#define START_BMPHIGH // Costs 399 bytes more flash
37
+
38
+  #if ENABLED(SHOW_CUSTOM_BOOTSCREEN)
39
+
40
+    #include "../../../_Bootscreen.h"
41
+
42
+    #ifndef CUSTOM_BOOTSCREEN_TIMEOUT
43
+      #define CUSTOM_BOOTSCREEN_TIMEOUT 2500
44
+    #endif
45
+
46
+  #endif
47
+
48
+  #if ENABLED(START_BMPHIGH)
49
+
50
+    #define START_BMPWIDTH      112
51
+
52
+    const unsigned char start_bmp[] PROGMEM = {
53
+      B00000001,B11111111,B11111111,B11111111,B11111111,B11111111,B11111111,B11111111,B11111111,B11111111,B11111111,B11111111,B11111111,B11111111,
54
+      B00001111,B11111111,B11111111,B11111111,B11111111,B11111111,B11111111,B11111111,B11111111,B11111111,B11111111,B11111111,B11111111,B11111111,
55
+      B00011110,B00000000,B00000000,B00000000,B00000000,B00000000,B00000000,B00000000,B00000000,B00000000,B00000000,B00000111,B11111111,B11111111,
56
+      B00111000,B00000000,B00000000,B00000000,B00000000,B00000000,B00000000,B00000000,B00000000,B00000000,B00000000,B00000011,B11111111,B11111111,
57
+      B01110000,B00000000,B00000000,B00000000,B00000000,B00000000,B00000000,B00000000,B00000000,B00000000,B00000000,B00000001,B11111111,B11111111,
58
+      B01100000,B00000000,B00000000,B00000000,B00000000,B00000000,B00000000,B00000000,B00000000,B00000000,B00000000,B00000000,B11111111,B11111111,
59
+      B01100000,B00000000,B00000000,B00000000,B00000000,B00000000,B00000000,B00000000,B00000000,B00000000,B00000000,B00000000,B01111111,B11111111,
60
+      B11000000,B00000000,B00000000,B00000000,B00000000,B00000000,B00000000,B00000000,B00000000,B01111000,B00000000,B00000000,B00111111,B11111111,
61
+      B11000000,B00001111,B11000000,B11111100,B00000000,B00000000,B00000000,B00000000,B00000000,B01111000,B00011000,B00000000,B00011111,B11111111,
62
+      B11000000,B00111111,B11100001,B11111111,B00000000,B00000000,B00000000,B00000000,B00000000,B01111000,B00111100,B00000000,B00001111,B11111111,
63
+      B11000000,B01111111,B11110011,B11111111,B10000000,B00000000,B00000000,B00000000,B00000000,B01111000,B00111100,B00000000,B00000111,B11111111,
64
+      B11000000,B11111111,B11111111,B11111111,B11000000,B00000000,B00000000,B00000000,B00000000,B01111000,B00111100,B00000000,B00000011,B11111111,
65
+      B11000001,B11111000,B01111111,B10000111,B11100000,B00000000,B00000000,B00000000,B00000000,B01111000,B00000000,B00000000,B00000001,B11111111,
66
+      B11000001,B11110000,B00111111,B00000011,B11100000,B00000000,B00000000,B00000000,B00000000,B01111000,B00000000,B00000000,B00000000,B11111111,
67
+      B11000001,B11100000,B00011110,B00000001,B11100000,B00011111,B00000000,B00000011,B11100000,B01111000,B00111100,B00000011,B11110000,B01111111,
68
+      B11000001,B11100000,B00011110,B00000001,B11100000,B01111111,B11000000,B00001111,B11111000,B01111000,B00111100,B00000111,B11111100,B00111111,
69
+      B11000001,B11100000,B00011110,B00000001,B11100001,B11111111,B11100000,B00011111,B11111100,B01111000,B00111100,B00001111,B11111110,B00011111,
70
+      B11000001,B11100000,B00011110,B00000001,B11100011,B11111111,B11110000,B00111111,B11111110,B01111000,B00111100,B00011111,B11111110,B00001111,
71
+      B11000001,B11100000,B00011110,B00000001,B11100011,B11110011,B11111000,B00111111,B00111110,B01111000,B00111100,B00111111,B00111111,B00000111,
72
+      B11000001,B11100000,B00011110,B00000001,B11100111,B11100000,B11111100,B01111100,B00011111,B01111000,B00111100,B00111110,B00011111,B00000111,
73
+      B11000001,B11100000,B00011110,B00000001,B11100111,B11000000,B01111100,B01111100,B00001111,B01111000,B00111100,B00111100,B00001111,B00000011,
74
+      B11000001,B11100000,B00011110,B00000001,B11100111,B10000000,B01111100,B01111000,B00001111,B01111000,B00111100,B00111100,B00001111,B00000011,
75
+      B11000001,B11100000,B00011110,B00000001,B11100111,B10000000,B00111100,B01111000,B00000000,B01111000,B00111100,B00111100,B00001111,B00000011,
76
+      B11000001,B11100000,B00011110,B00000001,B11100111,B10000000,B00111100,B01111000,B00000000,B01111000,B00111100,B00111100,B00001111,B00000011,
77
+      B11000001,B11100000,B00011110,B00000001,B11100111,B10000000,B00111100,B01111000,B00000000,B01111000,B00111100,B00111100,B00001111,B00000011,
78
+      B11000001,B11100000,B00011110,B00000001,B11100111,B11000000,B00111100,B01111000,B00000000,B01111000,B00111100,B00111100,B00001111,B00000011,
79
+      B11000001,B11100000,B00011110,B00000001,B11100011,B11100000,B00111100,B01111000,B00000000,B01111100,B00111100,B00111100,B00001111,B00000011,
80
+      B11000001,B11100000,B00011110,B00000001,B11100011,B11111111,B00111111,B11111000,B00000000,B01111111,B10111100,B00111100,B00001111,B00000011,
81
+      B11000001,B11100000,B00011110,B00000001,B11100001,B11111111,B00111111,B11111000,B00000000,B00111111,B10111111,B11111100,B00001111,B00000011,
82
+      B11000001,B11100000,B00011110,B00000001,B11100000,B11111111,B00111111,B11111000,B00000000,B00011111,B10111111,B11111100,B00001111,B00000011,
83
+      B11000001,B11100000,B00011110,B00000001,B11100000,B01111111,B00111111,B11111000,B00000000,B00001111,B10111111,B11111100,B00001111,B00000011,
84
+      B01100000,B00000000,B00000000,B00000000,B00000000,B00000000,B00000000,B00000000,B00000000,B00000000,B00000000,B00000000,B00000000,B00000111,
85
+      B01100000,B00000000,B00000000,B00000000,B00000000,B00000000,B00000000,B00000000,B00000000,B00000000,B00000000,B00000000,B00000000,B00000110,
86
+      B01110000,B00000000,B00000000,B00000000,B00000000,B00000000,B00000000,B00000000,B00000000,B00000000,B00000000,B00000000,B00000000,B00001110,
87
+      B00111000,B00000000,B00000000,B00000000,B00000000,B00000000,B00000000,B00000000,B00000000,B00000000,B00000000,B00000000,B00000000,B00011100,
88
+      B00011110,B00000000,B00000000,B00000000,B00000000,B00000000,B00000000,B00000000,B00000000,B00000000,B00000000,B00000000,B00000000,B01111000,
89
+      B00001111,B11111111,B11111111,B11111111,B11111111,B11111111,B11111111,B11111111,B11111111,B11111111,B11111111,B11111111,B11111111,B11110000,
90
+      B00000001,B11111111,B11111111,B11111111,B11111111,B11111111,B11111111,B11111111,B11111111,B11111111,B11111111,B11111111,B11111111,B10000000
91
+    };
92
+
93
+  #else
94
+
95
+    #define START_BMPWIDTH      56
96
+
97
+    const unsigned char start_bmp[] PROGMEM = {
98
+      B00011111,B11111111,B11111111,B11111111,B11111111,B11111111,B11111111,
99
+      B01100000,B00000000,B00000000,B00000000,B00000000,B00000001,B11111111,
100
+      B01000000,B00000000,B00000000,B00000000,B00000000,B00000000,B11111111,
101
+      B10000000,B00000000,B00000000,B00000000,B00000000,B00000000,B01111111,
102
+      B10000011,B11001111,B00000000,B00000000,B00001100,B00110000,B00111111,
103
+      B10000111,B11111111,B10000000,B00000000,B00001100,B00110000,B00011111,
104
+      B10000110,B01111001,B10000000,B00000000,B00001100,B00000000,B00001111,
105
+      B10001100,B00110000,B11000111,B10000011,B10001100,B00110000,B11100111,
106
+      B10001100,B00110000,B11001111,B11000111,B11001100,B00110001,B11110011,
107
+      B10001100,B00110000,B11011100,B11101100,B11101100,B00110011,B10111001,
108
+      B10001100,B00110000,B11011000,B01101100,B01101100,B00110011,B00011001,
109
+      B10001100,B00110000,B11010000,B01101100,B00001100,B00110011,B00011001,
110
+      B10001100,B00110000,B11011000,B01101100,B00001100,B00110011,B00011001,
111
+      B10001100,B00110000,B11011100,B01101100,B00001110,B00111011,B00011001,
112
+      B10001100,B00110000,B11001111,B01111100,B00000111,B10011111,B00011001,
113
+      B10001100,B00110000,B11000111,B01111100,B00000011,B10001111,B00011001,
114
+      B01000000,B00000000,B00000000,B00000000,B00000000,B00000000,B00000010,
115
+      B01100000,B00000000,B00000000,B00000000,B00000000,B00000000,B00000110,
116
+      B00011111,B11111111,B11111111,B11111111,B11111111,B11111111,B11111000
117
+    };
118
+
119
+  #endif
120
+
121
+  #ifndef START_BMP_BYTEWIDTH
122
+    #define START_BMP_BYTEWIDTH ((START_BMPWIDTH + 7) / 8)
123
+  #endif
124
+  #ifndef START_BMPHEIGHT
125
+    #define START_BMPHEIGHT (sizeof(start_bmp) / (START_BMP_BYTEWIDTH))
126
+  #endif
127
+
128
+  static_assert(sizeof(start_bmp) == (START_BMP_BYTEWIDTH) * (START_BMPHEIGHT), "Bootscreen (start_bmp) dimensions don't match data.");
129
+
130
+#endif
131
+
132
+#ifndef CUSTOM_BOOTSCREEN_BMP_BYTEWIDTH
133
+  #define CUSTOM_BOOTSCREEN_BMP_BYTEWIDTH ((CUSTOM_BOOTSCREEN_BMPWIDTH + 7) / 8)
134
+#endif
135
+#ifndef CUSTOM_BOOTSCREEN_BMPHEIGHT
136
+  #define CUSTOM_BOOTSCREEN_BMPHEIGHT (sizeof(custom_start_bmp) / (CUSTOM_BOOTSCREEN_BMP_BYTEWIDTH))
137
+#endif

Marlin/src/lcd/dogm/dogm_bitmaps.h → Marlin/src/lcd/dogm/dogm_Statusscreen.h Visa fil

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

Marlin/src/lcd/dogm/dogm_font_data_6x9_marlin.h → Marlin/src/lcd/dogm/fontdata/fontdata_6x9_marlin.h Visa fil


Marlin/src/lcd/dogm/dogm_font_data_ISO10646_1.h → Marlin/src/lcd/dogm/fontdata/fontdata_ISO10646_1.h Visa fil


Marlin/src/lcd/dogm/language_data_an.h → Marlin/src/lcd/dogm/fontdata/language_data_an.h Visa fil


Marlin/src/lcd/dogm/language_data_bg.h → Marlin/src/lcd/dogm/fontdata/language_data_bg.h Visa fil


Marlin/src/lcd/dogm/language_data_ca.h → Marlin/src/lcd/dogm/fontdata/language_data_ca.h Visa fil


Marlin/src/lcd/dogm/language_data_cz.h → Marlin/src/lcd/dogm/fontdata/language_data_cz.h Visa fil


Marlin/src/lcd/dogm/language_data_da.h → Marlin/src/lcd/dogm/fontdata/language_data_da.h Visa fil


Marlin/src/lcd/dogm/language_data_de.h → Marlin/src/lcd/dogm/fontdata/language_data_de.h Visa fil


Marlin/src/lcd/dogm/language_data_el-gr.h → Marlin/src/lcd/dogm/fontdata/language_data_el-gr.h Visa fil


Marlin/src/lcd/dogm/language_data_el.h → Marlin/src/lcd/dogm/fontdata/language_data_el.h Visa fil


Marlin/src/lcd/dogm/language_data_en.h → Marlin/src/lcd/dogm/fontdata/language_data_en.h Visa fil


Marlin/src/lcd/dogm/language_data_es.h → Marlin/src/lcd/dogm/fontdata/language_data_es.h Visa fil


Marlin/src/lcd/dogm/language_data_eu.h → Marlin/src/lcd/dogm/fontdata/language_data_eu.h Visa fil


Marlin/src/lcd/dogm/language_data_fi.h → Marlin/src/lcd/dogm/fontdata/language_data_fi.h Visa fil


Marlin/src/lcd/dogm/language_data_fr.h → Marlin/src/lcd/dogm/fontdata/language_data_fr.h Visa fil


Marlin/src/lcd/dogm/language_data_gl.h → Marlin/src/lcd/dogm/fontdata/language_data_gl.h Visa fil


Marlin/src/lcd/dogm/language_data_hr.h → Marlin/src/lcd/dogm/fontdata/language_data_hr.h Visa fil


Marlin/src/lcd/dogm/language_data_it.h → Marlin/src/lcd/dogm/fontdata/language_data_it.h Visa fil


Marlin/src/lcd/dogm/language_data_jp-kana.h → Marlin/src/lcd/dogm/fontdata/language_data_jp-kana.h Visa fil


Marlin/src/lcd/dogm/language_data_ko_KR.h → Marlin/src/lcd/dogm/fontdata/language_data_ko_KR.h Visa fil


Marlin/src/lcd/dogm/language_data_nl.h → Marlin/src/lcd/dogm/fontdata/language_data_nl.h Visa fil


Marlin/src/lcd/dogm/language_data_pl.h → Marlin/src/lcd/dogm/fontdata/language_data_pl.h Visa fil


Marlin/src/lcd/dogm/language_data_pt-br.h → Marlin/src/lcd/dogm/fontdata/language_data_pt-br.h Visa fil


Marlin/src/lcd/dogm/language_data_pt.h → Marlin/src/lcd/dogm/fontdata/language_data_pt.h Visa fil


Marlin/src/lcd/dogm/language_data_ru.h → Marlin/src/lcd/dogm/fontdata/language_data_ru.h Visa fil


Marlin/src/lcd/dogm/language_data_sk.h → Marlin/src/lcd/dogm/fontdata/language_data_sk.h Visa fil


Marlin/src/lcd/dogm/language_data_test.h → Marlin/src/lcd/dogm/fontdata/language_data_test.h Visa fil


Marlin/src/lcd/dogm/language_data_tr.h → Marlin/src/lcd/dogm/fontdata/language_data_tr.h Visa fil


Marlin/src/lcd/dogm/language_data_uk.h → Marlin/src/lcd/dogm/fontdata/language_data_uk.h Visa fil


Marlin/src/lcd/dogm/language_data_zh_CN.h → Marlin/src/lcd/dogm/fontdata/language_data_zh_CN.h Visa fil


Vissa filer visades inte eftersom för många filer har ändrats

Laddar…
Avbryt
Spara