My Marlin configs for Fabrikator Mini and CTC i3 Pro B
Du kan inte välja fler än 25 ämnen Ämnen måste starta med en bokstav eller siffra, kan innehålla bindestreck ('-') och vara max 35 tecken långa.

screens.cpp 3.8KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117
  1. /***************
  2. * screens.cpp *
  3. ***************/
  4. /****************************************************************************
  5. * Written By Mark Pelletier 2017 - Aleph Objects, Inc. *
  6. * Written By Marcio Teixeira 2018 - 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. #include "../config.h"
  22. #if ENABLED(TOUCH_UI_FTDI_EVE)
  23. #include "screens.h"
  24. #include "screen_data.h"
  25. tiny_timer_t refresh_timer;
  26. screen_data_t screen_data;
  27. SCREEN_TABLE {
  28. DECL_SCREEN(BootScreen),
  29. #if NUM_LANGUAGES > 1
  30. DECL_SCREEN(LanguageMenu),
  31. #endif
  32. DECL_SCREEN(TouchCalibrationScreen),
  33. DECL_SCREEN(StatusScreen),
  34. DECL_SCREEN(MainMenu),
  35. DECL_SCREEN(TuneMenu),
  36. DECL_SCREEN(AdvancedSettingsMenu),
  37. DECL_SCREEN(AlertDialogBox),
  38. DECL_SCREEN(ConfirmUserRequestAlertBox),
  39. DECL_SCREEN(RestoreFailsafeDialogBox),
  40. DECL_SCREEN(SaveSettingsDialogBox),
  41. DECL_SCREEN(ConfirmStartPrintDialogBox),
  42. DECL_SCREEN(ConfirmAbortPrintDialogBox),
  43. #if ENABLED(CALIBRATION_GCODE)
  44. DECL_SCREEN(ConfirmAutoCalibrationDialogBox),
  45. #endif
  46. DECL_SCREEN(SpinnerDialogBox),
  47. DECL_SCREEN(AboutScreen),
  48. #if ENABLED(PRINTCOUNTER)
  49. DECL_SCREEN(StatisticsScreen),
  50. #endif
  51. #if ENABLED(BABYSTEPPING)
  52. DECL_SCREEN(NudgeNozzleScreen),
  53. #endif
  54. DECL_SCREEN(MoveAxisScreen),
  55. DECL_SCREEN(StepsScreen),
  56. #if HAS_TRINAMIC
  57. DECL_SCREEN(StepperCurrentScreen),
  58. DECL_SCREEN(StepperBumpSensitivityScreen),
  59. #endif
  60. #if HAS_BED_PROBE
  61. DECL_SCREEN(ZOffsetScreen),
  62. #endif
  63. #if HOTENDS > 1
  64. DECL_SCREEN(NozzleOffsetScreen),
  65. #endif
  66. #if ENABLED(BACKLASH_GCODE)
  67. DECL_SCREEN(BacklashCompensationScreen),
  68. #endif
  69. DECL_SCREEN(FeedratePercentScreen),
  70. DECL_SCREEN(MaxVelocityScreen),
  71. DECL_SCREEN(MaxAccelerationScreen),
  72. DECL_SCREEN(DefaultAccelerationScreen),
  73. #if DISABLED(CLASSIC_JERK)
  74. DECL_SCREEN(JunctionDeviationScreen),
  75. #else
  76. DECL_SCREEN(JerkScreen),
  77. #endif
  78. #if EITHER(LIN_ADVANCE, FILAMENT_RUNOUT_SENSOR)
  79. DECL_SCREEN(FilamentMenu),
  80. #endif
  81. #if ENABLED(FILAMENT_RUNOUT_SENSOR)
  82. DECL_SCREEN(FilamentRunoutScreen),
  83. #endif
  84. #if ENABLED(LIN_ADVANCE)
  85. DECL_SCREEN(LinearAdvanceScreen),
  86. #endif
  87. DECL_SCREEN(TemperatureScreen),
  88. DECL_SCREEN(ChangeFilamentScreen),
  89. DECL_SCREEN(InterfaceSettingsScreen),
  90. DECL_SCREEN(InterfaceSoundsScreen),
  91. DECL_SCREEN(LockScreen),
  92. DECL_SCREEN(FilesScreen),
  93. DECL_SCREEN(EndstopStatesScreen),
  94. #ifdef TOUCH_UI_LULZBOT_BIO
  95. DECL_SCREEN(BioPrintingDialogBox),
  96. DECL_SCREEN(BioConfirmHomeXYZ),
  97. DECL_SCREEN(BioConfirmHomeE),
  98. #endif
  99. #if ENABLED(TOUCH_UI_DEVELOPER_MENU)
  100. DECL_SCREEN(DeveloperMenu),
  101. DECL_SCREEN(ConfirmEraseFlashDialogBox),
  102. DECL_SCREEN(WidgetsScreen),
  103. DECL_SCREEN(TouchRegistersScreen),
  104. DECL_SCREEN(StressTestScreen),
  105. #endif
  106. DECL_SCREEN(MediaPlayerScreen),
  107. DECL_SCREEN(DisplayTuningScreen)
  108. };
  109. SCREEN_TABLE_POST
  110. #endif // TOUCH_UI_FTDI_EVE