comparison Discovery/Src/tMenuEditXtra.c @ 712:062deb659531

Bugfix PSCR menu button label: In previous version +- labels were displayed instead back and next. This is now fixed.
author Ideenmodellierer
date Sun, 20 Nov 2022 20:36:34 +0100
parents 8adf9b8fc7fa
children 621265ec3d23
comparison
equal deleted inserted replaced
711:34eb693720eb 712:062deb659531
306 306
307 write_label_fix( 20, 800, ME_Y_LINE2, &FontT48, TXT_PSCRLungRatio); 307 write_label_fix( 20, 800, ME_Y_LINE2, &FontT48, TXT_PSCRLungRatio);
308 write_label_var( 435, 710, ME_Y_LINE2, &FontT48, text); 308 write_label_var( 435, 710, ME_Y_LINE2, &FontT48, text);
309 write_field_udigit(StMXTRA_PSCR_LUNG_RATIO, 710, 779, ME_Y_LINE2, &FontT48, "##", (uint32_t)localLungRatio, 0, 0, 0); 309 write_field_udigit(StMXTRA_PSCR_LUNG_RATIO, 710, 779, ME_Y_LINE2, &FontT48, "##", (uint32_t)localLungRatio, 0, 0, 0);
310 310
311 write_buttonTextline(TXT2BYTE_ButtonMinus,TXT2BYTE_ButtonEnter,TXT2BYTE_ButtonPlus); 311 write_buttonTextline(TXT2BYTE_ButtonBack,TXT2BYTE_ButtonEnter,TXT2BYTE_ButtonNext);
312 312
313 setEvent(StMXTRA_PSCR_O2_Drop, (uint32_t)OnAction_PSCRO2Drop); 313 setEvent(StMXTRA_PSCR_O2_Drop, (uint32_t)OnAction_PSCRO2Drop);
314 setEvent(StMXTRA_PSCR_LUNG_RATIO, (uint32_t)OnAction_PSCRLungRation); 314 setEvent(StMXTRA_PSCR_LUNG_RATIO, (uint32_t)OnAction_PSCRLungRation);
315 } 315 }
316 316