ellensp
2 anni fa
Nessun account collegato all'indirizzo email del committer
|
@@ -23,10 +23,11 @@
|
23
|
23
|
|
24
|
24
|
#include "../../../inc/MarlinConfig.h"
|
25
|
25
|
|
26
|
|
-#ifndef DWIN_WIDTH
|
|
26
|
+#if ENABLED(DWIN_MARLINUI_LANDSCAPE)
|
|
27
|
+ #define DWIN_WIDTH 480
|
|
28
|
+ #define DWIN_HEIGHT 272
|
|
29
|
+#else
|
27
|
30
|
#define DWIN_WIDTH 272
|
28
|
|
-#endif
|
29
|
|
-#ifndef DWIN_HEIGHT
|
30
|
31
|
#define DWIN_HEIGHT 480
|
31
|
32
|
#endif
|
32
|
33
|
|
|
@@ -29,9 +29,6 @@
|
29
|
29
|
* @brief 迪文屏控制操作函数
|
30
|
30
|
********************************************************************************/
|
31
|
31
|
|
32
|
|
-#define DWIN_WIDTH 272
|
33
|
|
-#define DWIN_HEIGHT 480
|
34
|
|
-
|
35
|
32
|
#include "../common/dwin_api.h"
|
36
|
33
|
#include "../common/dwin_set.h"
|
37
|
34
|
#include "../common/dwin_font.h"
|
|
@@ -28,11 +28,6 @@
|
28
|
28
|
|
29
|
29
|
#include "../../../inc/MarlinConfigPre.h"
|
30
|
30
|
|
31
|
|
-#if ENABLED(DWIN_MARLINUI_LANDSCAPE)
|
32
|
|
- #define DWIN_WIDTH 480
|
33
|
|
- #define DWIN_HEIGHT 272
|
34
|
|
-#endif
|
35
|
|
-
|
36
|
31
|
#include "../common/dwin_api.h"
|
37
|
32
|
|
38
|
33
|
// Picture ID
|