My Marlin configs for Fabrikator Mini and CTC i3 Pro B
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

draw_dialog.h 2.2KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485
  1. /**
  2. * Marlin 3D Printer Firmware
  3. * Copyright (c) 2020 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 <https://www.gnu.org/licenses/>.
  20. *
  21. */
  22. #pragma once
  23. #ifdef __cplusplus
  24. extern "C" {
  25. #endif
  26. enum {
  27. DIALOG_TYPE_STOP = 0,
  28. DIALOG_TYPE_PRINT_FILE,
  29. DIALOG_TYPE_REPRINT_NO_FILE,
  30. DIALOG_TYPE_M80_FAIL,
  31. DIALOG_TYPE_MESSAGE_ERR1,
  32. DIALOG_TYPE_UPDATE_ESP_FIRMWARE,
  33. DIALOG_TYPE_UPDATE_ESP_DATA,
  34. DIALOG_TYPE_UPLOAD_FILE,
  35. DIALOG_TYPE_UNBIND,
  36. DIALOG_TYPE_FILAMENT_LOAD_HEAT,
  37. DIALOG_TYPE_FILAMENT_HEAT_LOAD_COMPLETED,
  38. DIALOG_TYPE_FILAMENT_LOADING,
  39. DIALOG_TYPE_FILAMENT_LOAD_COMPLETED,
  40. DIALOG_TYPE_FILAMENT_UNLOAD_HEAT,
  41. DIALOG_TYPE_FILAMENT_HEAT_UNLOAD_COMPLETED,
  42. DIALOG_TYPE_FILAMENT_UNLOADING,
  43. DIALOG_TYPE_FILAMENT_UNLOAD_COMPLETED,
  44. DIALOG_TYPE_FILE_LOADING,
  45. DIALOG_TYPE_FILAMENT_NO_PRESS,
  46. DIALOG_TYPE_FINISH_PRINT,
  47. DIALOG_WIFI_ENABLE_TIPS,
  48. DIALOG_PAUSE_MESSAGE_PARKING,
  49. DIALOG_PAUSE_MESSAGE_CHANGING,
  50. DIALOG_PAUSE_MESSAGE_UNLOAD,
  51. DIALOG_PAUSE_MESSAGE_WAITING,
  52. DIALOG_PAUSE_MESSAGE_INSERT,
  53. DIALOG_PAUSE_MESSAGE_LOAD,
  54. DIALOG_PAUSE_MESSAGE_PURGE,
  55. DIALOG_PAUSE_MESSAGE_RESUME,
  56. DIALOG_PAUSE_MESSAGE_HEAT,
  57. DIALOG_PAUSE_MESSAGE_HEATING,
  58. DIALOG_PAUSE_MESSAGE_OPTION,
  59. DIALOG_STORE_EEPROM_TIPS,
  60. DIALOG_READ_EEPROM_TIPS,
  61. DIALOG_REVERT_EEPROM_TIPS,
  62. DIALOG_WIFI_CONFIG_TIPS,
  63. DIALOG_TRANSFER_NO_DEVICE
  64. };
  65. void lv_draw_dialog(uint8_t type);
  66. void lv_clear_dialog();
  67. void filament_sprayer_temp();
  68. void filament_dialog_handle();
  69. void lv_filament_setbar();
  70. #ifdef __cplusplus
  71. } /* C-declarations for C++ */
  72. #endif