comparison Discovery/Src/tMenuSystem.c @ 536:54c5ec8416c4

Changed visualization of Depth / temperatur / debugview entry Without debug view schema 0 is not displayed while it was shown in case of an activated debug view. Changed implementation to have the same look independend from active state of debug view
author Ideenmodellierer
date Wed, 07 Oct 2020 17:15:27 +0200
parents 970d8040c0e3
children dd7ce655db26
comparison
equal deleted inserted replaced
535:666cafac87ab 536:54c5ec8416c4
193 else 193 else
194 text[textPointer++] = TXT2BYTE_Units_feet; 194 text[textPointer++] = TXT2BYTE_Units_feet;
195 195
196 if(data->tX_colorscheme != 0) 196 if(data->tX_colorscheme != 0)
197 { 197 {
198 text[textPointer++] = ' '; 198 text[textPointer++] = ' ';
199 text[textPointer++] = ' '; 199 text[textPointer++] = '/';
200 text[textPointer++] = ' ';
201 text[textPointer++] = ' ';
202 text[textPointer++] = '\027'; 200 text[textPointer++] = '\027';
203 text[textPointer++] = '/';
204 text[textPointer++] = ' '; 201 text[textPointer++] = ' ';
205 text[textPointer++] = '0' + data->tX_colorscheme; 202 text[textPointer++] = '0' + data->tX_colorscheme;
206 text[textPointer++] = '\020'; 203 text[textPointer++] = '\020';
207 } 204 }
208 } 205 }
209 else 206 else
210 { 207 {
211 if(data->nonMetricalSystem == 0) 208 if(data->nonMetricalSystem == 0)
212 { 209 {
213 text[textPointer++] = 'm'; 210 text[textPointer++] = 'm';
211 text[textPointer++] = ' ';
214 text[textPointer++] = '/'; 212 text[textPointer++] = '/';
213 text[textPointer++] = ' ';
215 text[textPointer++] = 'C'; 214 text[textPointer++] = 'C';
215 text[textPointer++] = ' ';
216 } 216 }
217 else 217 else
218 { 218 {
219 text[textPointer++] = 'f'; 219 text[textPointer++] = 'f';
220 text[textPointer++] = 't'; 220 text[textPointer++] = 't';
221 text[textPointer++] = ' ';
221 text[textPointer++] = '/'; 222 text[textPointer++] = '/';
223 text[textPointer++] = ' ';
222 text[textPointer++] = 'F'; 224 text[textPointer++] = 'F';
223 } 225 text[textPointer++] = ' ';
224 226 }
225 text[textPointer++] = ' '; 227 if(data->tX_colorscheme != 0)
226 text[textPointer++] = ' '; 228 {
227 text[textPointer++] = ' '; 229 text[textPointer++] = '/';
228 text[textPointer++] = ' '; 230 text[textPointer++] = '\027';
229 text[textPointer++] = '\027'; 231 text[textPointer++] = ' ';
232 text[textPointer++] = '0' + data->tX_colorscheme;
233 text[textPointer++] = ' ';
234 text[textPointer++] = '\020';
235 }
230 text[textPointer++] = '/'; 236 text[textPointer++] = '/';
231 text[textPointer++] = ' ';
232 text[textPointer++] = '0' + data->tX_colorscheme;
233 text[textPointer++] = '\020';
234 text[textPointer++] = ' ';
235 text[textPointer++] = ' '; 237 text[textPointer++] = ' ';
236 text[textPointer++] = 'd'; 238 text[textPointer++] = 'd';
237 text[textPointer++] = 'e'; 239 text[textPointer++] = 'e';
238 text[textPointer++] = 'b'; 240 text[textPointer++] = 'b';
239 text[textPointer++] = 'u'; 241 text[textPointer++] = 'u';