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 4.1KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132
  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: <https://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_CONFIG
  57. DECL_SCREEN(StepperCurrentScreen),
  58. DECL_SCREEN(StepperBumpSensitivityScreen),
  59. #endif
  60. #if HAS_LEVELING
  61. DECL_SCREEN(LevelingMenu),
  62. #if HAS_BED_PROBE
  63. DECL_SCREEN(ZOffsetScreen),
  64. #endif
  65. #if HAS_MESH
  66. DECL_SCREEN(BedMeshScreen),
  67. #endif
  68. #endif
  69. #if HAS_MULTI_HOTEND
  70. DECL_SCREEN(NozzleOffsetScreen),
  71. #endif
  72. #if ENABLED(BACKLASH_GCODE)
  73. DECL_SCREEN(BacklashCompensationScreen),
  74. #endif
  75. DECL_SCREEN(FeedratePercentScreen),
  76. DECL_SCREEN(MaxVelocityScreen),
  77. DECL_SCREEN(MaxAccelerationScreen),
  78. DECL_SCREEN(DefaultAccelerationScreen),
  79. #if HAS_JUNCTION_DEVIATION
  80. DECL_SCREEN(JunctionDeviationScreen),
  81. #else
  82. DECL_SCREEN(JerkScreen),
  83. #endif
  84. #if ENABLED(CASE_LIGHT_ENABLE)
  85. DECL_SCREEN(CaseLightScreen),
  86. #endif
  87. #if EITHER(LIN_ADVANCE, FILAMENT_RUNOUT_SENSOR)
  88. DECL_SCREEN(FilamentMenu),
  89. #endif
  90. #if ENABLED(FILAMENT_RUNOUT_SENSOR)
  91. DECL_SCREEN(FilamentRunoutScreen),
  92. #endif
  93. #if ENABLED(LIN_ADVANCE)
  94. DECL_SCREEN(LinearAdvanceScreen),
  95. #endif
  96. DECL_SCREEN(TemperatureScreen),
  97. DECL_SCREEN(ChangeFilamentScreen),
  98. DECL_SCREEN(InterfaceSettingsScreen),
  99. DECL_SCREEN(InterfaceSoundsScreen),
  100. DECL_SCREEN(LockScreen),
  101. #if ENABLED(SDSUPPORT)
  102. DECL_SCREEN(FilesScreen),
  103. #endif
  104. DECL_SCREEN(EndstopStatesScreen),
  105. #if ENABLED(TOUCH_UI_LULZBOT_BIO)
  106. DECL_SCREEN(BioPrintingDialogBox),
  107. DECL_SCREEN(BioConfirmHomeXYZ),
  108. DECL_SCREEN(BioConfirmHomeE),
  109. #endif
  110. #if ENABLED(TOUCH_UI_COCOA_PRESS)
  111. DECL_SCREEN(PreheatMenu),
  112. DECL_SCREEN(PreheatTimerScreen),
  113. #endif
  114. #if ENABLED(TOUCH_UI_DEVELOPER_MENU)
  115. DECL_SCREEN(DeveloperMenu),
  116. DECL_SCREEN(ConfirmEraseFlashDialogBox),
  117. DECL_SCREEN(WidgetsScreen),
  118. DECL_SCREEN(TouchRegistersScreen),
  119. DECL_SCREEN(StressTestScreen),
  120. #endif
  121. DECL_SCREEN(MediaPlayerScreen),
  122. DECL_SCREEN(DisplayTuningScreen)
  123. };
  124. SCREEN_TABLE_POST
  125. #endif // TOUCH_UI_FTDI_EVE