Mercurial > public > ostc4
comparison Discovery/Src/tMenu.c @ 825:4bd8935f5176
Bugfix Flipscreen visualization:
In Timer and CCR overview the free custom fram coordinates were not initialized. Depending on which view was activ before the coordinates of the former view were used and sometimes resulting in a bad visualization. To fix the problem the coordinates are now initialized by the views.
The top menu bar text in the flip view did not consider spacings in the text position calculation causing an offset between color bar and text. The offset has been corrected.
author | Ideenmodellierer |
---|---|
date | Mon, 09 Oct 2023 16:50:11 +0200 |
parents | c4ee952b9425 |
children | bc2fcd002fc4 |
comparison
equal
deleted
inserted
replaced
822:dff26bf4b542 | 825:4bd8935f5176 |
---|---|
1443 } | 1443 } |
1444 pDestination -= 48; | 1444 pDestination -= 48; |
1445 } | 1445 } |
1446 | 1446 |
1447 pDestination -= (800) * 480; | 1447 pDestination -= (800) * 480; |
1448 positionText += 70; | 1448 positionText += 66; |
1449 | 1449 |
1450 if(((k == 4) && (actual_menu_content != MENU_SURFACE)) || ((k == 6) && (menu.pageCountNumber[5] == 0))) | 1450 if(((k == 4) && (actual_menu_content != MENU_SURFACE)) || ((k == 6) && (menu.pageCountNumber[5] == 0))) |
1451 { | 1451 { |
1452 pDestination -= 70 * 480; | 1452 pDestination -= 70 * 480; |
1453 positionText += 70; | 1453 positionText += 66; |
1454 } | 1454 } |
1455 | 1455 |
1456 if(spacing[k]) | 1456 if(spacing[k]) |
1457 { | 1457 { |
1458 pDestination -= 35 * 480; | 1458 pDestination -= 35 * 480; |
1459 positionText += 35; | 1459 positionText += 31; |
1460 } | 1460 } |
1461 } | 1461 } |
1462 } | 1462 } |
1463 } | 1463 } |
1464 tMscreen.FBStartAdress = pBackup; | 1464 tMscreen.FBStartAdress = pBackup; |