comparison Discovery/Src/t7.c @ 247:3949781096d4 bm-1

feature: Relative GF to Saturation renames Rename relevant code from Relative GF to Saturation. Involving UI elements, variable names, translated texts (that still need to be done), etc. No functional changes. Notice that I chose super_saturation as name, to provide a better link to the hwOS repo. Further notice that the TXT variable name is not changed. This is intensional, as there is also a desaturation variable, so things might get confusing renaming the TXT variable name. Signed-off-by: Jan Mulder <jlmulder@xs4all.nl>
author Jan Mulder <jlmulder@xs4all.nl>
date Tue, 09 Apr 2019 16:30:21 +0200
parents 2bb1db22b5f5
children 7420ed6c3508 b111fc4250e9
comparison
equal deleted inserted replaced
246:ff0d23625cd5 247:3949781096d4
2576 break; 2576 break;
2577 2577
2578 /* actual GF */ 2578 /* actual GF */
2579 case 8: 2579 case 8:
2580 headerText[2] = TXT_ActualGradient; 2580 headerText[2] = TXT_ActualGradient;
2581 snprintf(text,TEXTSIZE,"\020%.0f",100 * pDecoinfoStandard->output_relative_gradient); 2581 snprintf(text,TEXTSIZE,"\020%.0f\016\016%%\017",100 * pDecoinfoStandard->super_saturation);
2582 break; 2582 break;
2583 } 2583 }
2584 headerText[3] = 0; 2584 headerText[3] = 0;
2585 2585
2586 if(tinyHeaderFont) 2586 if(tinyHeaderFont)
3096 else 3096 else
3097 textpointer += snprintf(&text[textpointer],10,"\020%01.1f",pDecoinfoStandard->output_ceiling_meter); 3097 textpointer += snprintf(&text[textpointer],10,"\020%01.1f",pDecoinfoStandard->output_ceiling_meter);
3098 text[textpointer++] = '\n'; 3098 text[textpointer++] = '\n';
3099 text[textpointer++] = '\r'; 3099 text[textpointer++] = '\r';
3100 text[textpointer++] = '\t'; 3100 text[textpointer++] = '\t';
3101 textpointer += snprintf(&text[textpointer],10,"\020%.0f", 100 * pDecoinfoStandard->output_relative_gradient); 3101 textpointer += snprintf(&text[textpointer],10,"\020%.0f\016\016%%\017", 100 * pDecoinfoStandard->super_saturation);
3102 text[textpointer++] = '\n'; 3102 text[textpointer++] = '\n';
3103 text[textpointer++] = '\r'; 3103 text[textpointer++] = '\r';
3104 text[textpointer++] = '\t'; 3104 text[textpointer++] = '\t';
3105 textpointer += snprintf(&text[textpointer],10,"\020%.0f\016\016%%\017",fCNS); 3105 textpointer += snprintf(&text[textpointer],10,"\020%.0f\016\016%%\017",fCNS);
3106 text[textpointer++] = '\n'; 3106 text[textpointer++] = '\n';