瀏覽代碼

Replace tabs with spaces

Scott Lahteine 4 年之前
父節點
當前提交
8d090cbdbb
共有 2 個檔案被更改,包括 32 行新增32 行删除
  1. 2
    2
      Marlin/src/lcd/TFTGLCD/ultralcd_TFTGLCD.cpp
  2. 30
    30
      Marlin/src/lcd/tft/tft_color.h

+ 2
- 2
Marlin/src/lcd/TFTGLCD/ultralcd_TFTGLCD.cpp 查看文件

113
   // Other commands... 0xE0 thru 0xFF
113
   // Other commands... 0xE0 thru 0xFF
114
   GET_LCD_ROW = 0xE0,   // for detect panel
114
   GET_LCD_ROW = 0xE0,   // for detect panel
115
   GET_LCD_COL,          // reserved for compatibility with Smoothieware, not used
115
   GET_LCD_COL,          // reserved for compatibility with Smoothieware, not used
116
-	LCD_PUT,		          // write one line to LCD
117
-	INIT_SCREEN = 0xFE,   // clear panel buffer
116
+  LCD_PUT,              // write one line to LCD
117
+  INIT_SCREEN = 0xFE,   // clear panel buffer
118
 };
118
 };
119
 
119
 
120
 static unsigned char framebuffer[FBSIZE];
120
 static unsigned char framebuffer[FBSIZE];

+ 30
- 30
Marlin/src/lcd/tft/tft_color.h 查看文件

73
   #define COLOR_BACKGROUND    0x20AC  // #1E156E
73
   #define COLOR_BACKGROUND    0x20AC  // #1E156E
74
 #endif
74
 #endif
75
 #ifndef COLOR_SELECTION_BG
75
 #ifndef COLOR_SELECTION_BG
76
-	#define COLOR_SELECTION_BG    0x9930  // #992380
76
+  #define COLOR_SELECTION_BG    0x9930  // #992380
77
 #endif
77
 #endif
78
 #ifndef COLOR_WEBSITE_URL
78
 #ifndef COLOR_WEBSITE_URL
79
-	#define COLOR_WEBSITE_URL     0x03B7
79
+  #define COLOR_WEBSITE_URL     0x03B7
80
 #endif
80
 #endif
81
 
81
 
82
 #ifndef COLOR_INACTIVE
82
 #ifndef COLOR_INACTIVE
83
-	#define COLOR_INACTIVE          COLOR_GREY
83
+  #define COLOR_INACTIVE          COLOR_GREY
84
 #endif
84
 #endif
85
 #ifndef COLOR_COLD
85
 #ifndef COLOR_COLD
86
-	#define COLOR_COLD              COLOR_AQUA
86
+  #define COLOR_COLD              COLOR_AQUA
87
 #endif
87
 #endif
88
 #ifndef COLOR_HOTEND
88
 #ifndef COLOR_HOTEND
89
-	#define COLOR_HOTEND            COLOR_SCARLET
89
+  #define COLOR_HOTEND            COLOR_SCARLET
90
 #endif
90
 #endif
91
 #ifndef COLOR_HEATED_BED
91
 #ifndef COLOR_HEATED_BED
92
-	#define COLOR_HEATED_BED        COLOR_DARK_ORANGE
92
+  #define COLOR_HEATED_BED        COLOR_DARK_ORANGE
93
 #endif
93
 #endif
94
 #ifndef COLOR_CHAMBER
94
 #ifndef COLOR_CHAMBER
95
-	#define COLOR_CHAMBER           COLOR_DARK_ORANGE
95
+  #define COLOR_CHAMBER           COLOR_DARK_ORANGE
96
 #endif
96
 #endif
97
 #ifndef COLOR_FAN
97
 #ifndef COLOR_FAN
98
-	#define COLOR_FAN               COLOR_AQUA
98
+  #define COLOR_FAN               COLOR_AQUA
99
 #endif
99
 #endif
100
 
100
 
101
 #ifndef COLOR_AXIS_HOMED
101
 #ifndef COLOR_AXIS_HOMED
102
-	#define COLOR_AXIS_HOMED        COLOR_WHITE
102
+  #define COLOR_AXIS_HOMED        COLOR_WHITE
103
 #endif
103
 #endif
104
 #ifndef COLOR_AXIS_NOT_HOMED
104
 #ifndef COLOR_AXIS_NOT_HOMED
105
-	#define COLOR_AXIS_NOT_HOMED    COLOR_YELLOW
105
+  #define COLOR_AXIS_NOT_HOMED    COLOR_YELLOW
106
 #endif
106
 #endif
107
 
107
 
108
 #ifndef COLOR_RATE_100
108
 #ifndef COLOR_RATE_100
109
-	#define COLOR_RATE_100          COLOR_VIVID_GREEN
109
+  #define COLOR_RATE_100          COLOR_VIVID_GREEN
110
 #endif
110
 #endif
111
 #ifndef COLOR_RATE_ALTERED
111
 #ifndef COLOR_RATE_ALTERED
112
-	#define COLOR_RATE_ALTERED      COLOR_YELLOW
112
+  #define COLOR_RATE_ALTERED      COLOR_YELLOW
113
 #endif
113
 #endif
114
 
114
 
115
 #ifndef COLOR_PRINT_TIME
115
 #ifndef COLOR_PRINT_TIME
116
-	#define COLOR_PRINT_TIME        COLOR_AQUA
116
+  #define COLOR_PRINT_TIME        COLOR_AQUA
117
 #endif
117
 #endif
118
 
118
 
119
 #ifndef COLOR_PROGRESS_FRAME
119
 #ifndef COLOR_PROGRESS_FRAME
120
-	#define COLOR_PROGRESS_FRAME    COLOR_WHITE
120
+  #define COLOR_PROGRESS_FRAME    COLOR_WHITE
121
 #endif
121
 #endif
122
 #ifndef COLOR_PROGRESS_BAR
122
 #ifndef COLOR_PROGRESS_BAR
123
-	#define COLOR_PROGRESS_BAR      COLOR_BLUE
123
+  #define COLOR_PROGRESS_BAR      COLOR_BLUE
124
 #endif
124
 #endif
125
 #ifndef COLOR_PROGRESS_BG
125
 #ifndef COLOR_PROGRESS_BG
126
-	#define COLOR_PROGRESS_BG       COLOR_BLACK
126
+  #define COLOR_PROGRESS_BG       COLOR_BLACK
127
 #endif
127
 #endif
128
 
128
 
129
 #ifndef COLOR_STATUS_MESSAGE
129
 #ifndef COLOR_STATUS_MESSAGE
130
-	#define COLOR_STATUS_MESSAGE    COLOR_YELLOW
130
+  #define COLOR_STATUS_MESSAGE    COLOR_YELLOW
131
 #endif
131
 #endif
132
 
132
 
133
 #ifndef COLOR_CONTROL_ENABLED
133
 #ifndef COLOR_CONTROL_ENABLED
134
-	#define COLOR_CONTROL_ENABLED   COLOR_WHITE
134
+  #define COLOR_CONTROL_ENABLED   COLOR_WHITE
135
 #endif
135
 #endif
136
 #ifndef COLOR_CONTROL_DISABLED
136
 #ifndef COLOR_CONTROL_DISABLED
137
-	#define COLOR_CONTROL_DISABLED  COLOR_GREY
137
+  #define COLOR_CONTROL_DISABLED  COLOR_GREY
138
 #endif
138
 #endif
139
 #ifndef COLOR_CONTROL_CANCEL
139
 #ifndef COLOR_CONTROL_CANCEL
140
-	#define COLOR_CONTROL_CANCEL    COLOR_SCARLET
140
+  #define COLOR_CONTROL_CANCEL    COLOR_SCARLET
141
 #endif
141
 #endif
142
 #ifndef COLOR_CONTROL_CONFIRM
142
 #ifndef COLOR_CONTROL_CONFIRM
143
-	#define COLOR_CONTROL_CONFIRM   COLOR_VIVID_GREEN
143
+  #define COLOR_CONTROL_CONFIRM   COLOR_VIVID_GREEN
144
 #endif
144
 #endif
145
 #ifndef COLOR_BUSY
145
 #ifndef COLOR_BUSY
146
-	#define COLOR_BUSY              COLOR_SILVER
146
+  #define COLOR_BUSY              COLOR_SILVER
147
 #endif
147
 #endif
148
 
148
 
149
 #ifndef COLOR_MENU_TEXT
149
 #ifndef COLOR_MENU_TEXT
150
-	#define COLOR_MENU_TEXT         COLOR_YELLOW
150
+  #define COLOR_MENU_TEXT         COLOR_YELLOW
151
 #endif
151
 #endif
152
 #ifndef COLOR_MENU_VALUE
152
 #ifndef COLOR_MENU_VALUE
153
-	#define COLOR_MENU_VALUE        COLOR_WHITE
153
+  #define COLOR_MENU_VALUE        COLOR_WHITE
154
 #endif
154
 #endif
155
 
155
 
156
 #ifndef COLOR_SLIDER
156
 #ifndef COLOR_SLIDER
157
-	#define COLOR_SLIDER            COLOR_WHITE
157
+  #define COLOR_SLIDER            COLOR_WHITE
158
 #endif
158
 #endif
159
 #ifndef COLOR_SLIDER_INACTIVE
159
 #ifndef COLOR_SLIDER_INACTIVE
160
-	#define COLOR_SLIDER_INACTIVE   COLOR_GREY
160
+  #define COLOR_SLIDER_INACTIVE   COLOR_GREY
161
 #endif
161
 #endif
162
 
162
 
163
 #ifndef COLOR_UBL
163
 #ifndef COLOR_UBL
164
-	#define COLOR_UBL               COLOR_WHITE
164
+  #define COLOR_UBL               COLOR_WHITE
165
 #endif
165
 #endif
166
 
166
 
167
 #ifndef COLOR_TOUCH_CALIBRATION
167
 #ifndef COLOR_TOUCH_CALIBRATION
168
-	#define COLOR_TOUCH_CALIBRATION COLOR_WHITE
168
+  #define COLOR_TOUCH_CALIBRATION COLOR_WHITE
169
 #endif
169
 #endif
170
 
170
 
171
 #ifndef COLOR_KILL_SCREEN_BG
171
 #ifndef COLOR_KILL_SCREEN_BG
172
-	#define COLOR_KILL_SCREEN_BG    COLOR_MAROON
172
+  #define COLOR_KILL_SCREEN_BG    COLOR_MAROON
173
 #endif
173
 #endif
174
 #ifndef COLOR_KILL_SCREEN_TEXT
174
 #ifndef COLOR_KILL_SCREEN_TEXT
175
-	#define COLOR_KILL_SCREEN_TEXT  COLOR_WHITE
175
+  #define COLOR_KILL_SCREEN_TEXT  COLOR_WHITE
176
 #endif
176
 #endif

Loading…
取消
儲存