Mercurial > public > ostc4
comparison Discovery/Src/tMenuEditCustom.c @ 515:218ac999e96b
Added missing display of button labels in refresh function:
Back, select and next were not shown on screen => added write call
author | Ideenmodellierer |
---|---|
date | Sun, 06 Sep 2020 21:09:37 +0200 |
parents | 998529b3e142 |
children | 970d8040c0e3 |
comparison
equal
deleted
inserted
replaced
514:d9dbfa496f7e | 515:218ac999e96b |
---|---|
320 text = TXT2BYTE_Tissues; | 320 text = TXT2BYTE_Tissues; |
321 break; | 321 break; |
322 case CVIEW_Profile: | 322 case CVIEW_Profile: |
323 text = TXT2BYTE_Profile; | 323 text = TXT2BYTE_Profile; |
324 break; | 324 break; |
325 case CVIEW_Gaslist: | 325 case CVIEW_T3_GasList: |
326 text = TXT2BYTE_Gaslist; | 326 text = TXT2BYTE_Gaslist; |
327 break; | 327 break; |
328 case CVIEW_EADTime: | 328 case CVIEW_EADTime: |
329 text = TXT2BYTE_Info; | 329 text = TXT2BYTE_Info; |
330 break; | 330 break; |
648 break; | 648 break; |
649 default: | 649 default: |
650 break; | 650 break; |
651 }; | 651 }; |
652 } | 652 } |
653 | |
654 | |
655 write_buttonTextline(TXT2BYTE_ButtonBack,TXT2BYTE_ButtonEnter,TXT2BYTE_ButtonNext); | 653 write_buttonTextline(TXT2BYTE_ButtonBack,TXT2BYTE_ButtonEnter,TXT2BYTE_ButtonNext); |
656 } | 654 } |
657 | 655 |
658 | 656 |
659 void CustomviewDivemode2_refresh() | 657 void CustomviewDivemode2_refresh() |
716 text[textPointer++] = TXT_2BYTE; | 714 text[textPointer++] = TXT_2BYTE; |
717 text[textPointer++] = TXT2BYTE_ButtonNext; | 715 text[textPointer++] = TXT2BYTE_ButtonNext; |
718 text[textPointer] = 0; | 716 text[textPointer] = 0; |
719 write_label_var( 30, 800, ME_Y_LINE6, &FontT48, text); | 717 write_label_var( 30, 800, ME_Y_LINE6, &FontT48, text); |
720 } | 718 } |
721 } | 719 write_buttonTextline(TXT2BYTE_ButtonBack,TXT2BYTE_ButtonEnter,TXT2BYTE_ButtonNext); |
720 } |