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.

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182
  1. /**
  2. * Marlin 3D Printer Firmware
  3. * Copyright (c) 2021 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. /********************************************************************************
  24. * @file lcd/e3v2/marlinui/dwin_lcd.h
  25. * @brief DWIN screen control functions
  26. ********************************************************************************/
  27. #include "../../../inc/MarlinConfigPre.h"
  28. #include "../common/dwin_api.h"
  29. // Picture ID
  30. #define DWIN_Boot_Horiz 0
  31. #define DWIN_Boot_Vert 1
  32. #define DWIN_MarlinUI_Assets 2
  33. // ICON ID
  34. #define BOOT_ICON 3 // Icon set file 3.ICO
  35. #define ICON 4 // Icon set file 4.ICO
  36. // MarlinUI Boot Icons from Set 3
  37. #define ICON_MarlinBoot 0
  38. #define ICON_OpenSource 1
  39. #define ICON_GitHubURL 2
  40. #define ICON_MarlinURL 3
  41. #define ICON_Copyright 4
  42. // MarlinUI Icons from Set 4
  43. #define ICON_LOGO_Marlin 0
  44. #define ICON_HotendOff 1
  45. #define ICON_HotendOn 2
  46. #define ICON_BedOff 3
  47. #define ICON_BedOn 4
  48. #define ICON_Fan0 5
  49. #define ICON_Fan1 6
  50. #define ICON_Fan2 7
  51. #define ICON_Fan3 8
  52. #define ICON_Halted 9
  53. #define ICON_Question 10
  54. #define ICON_Alert 11
  55. #define ICON_RotateCW 12
  56. #define ICON_RotateCCW 13
  57. #define ICON_UpArrow 14
  58. #define ICON_DownArrow 15
  59. #define ICON_BedLine 16
  60. #define ICON_BedLevelOff 17
  61. #define ICON_BedLevelOn 18
  62. #include "../common/dwin_font.h"
  63. #define DWIN_FONT_MENU font10x20
  64. #define DWIN_FONT_STAT font14x28
  65. #define DWIN_FONT_ALERT font14x28
  66. #include "../common/dwin_color.h"
  67. #define Color_Bg_Heading 0x3344 // Static Heading
  68. // Character matrix width x height
  69. //#define LCD_WIDTH ((DWIN_WIDTH) / 8)
  70. //#define LCD_HEIGHT ((DWIN_HEIGHT) / 12)