comparison Discovery/Src/tMenuEdit.c @ 552:531e7818b737

Added menu structure to acces viewport calibration: A menu item in surface and dive mode has been added to calibrate the view point between diver and OSTC display. For a proper calibration the diver needs to face north (0? ) => Detailed instruction / guidance to be added.
author Ideenmodellierer
date Sun, 08 Nov 2020 18:46:46 +0100
parents 1721b26335f1
children ec76fa85009e
comparison
equal deleted inserted replaced
551:e3237f580ae9 552:531e7818b737
228 case StMCustom3_CViewSelection3: 228 case StMCustom3_CViewSelection3:
229 case StMCustom3_CViewSelection4: 229 case StMCustom3_CViewSelection4:
230 case StMCustom3_CViewSelection5: 230 case StMCustom3_CViewSelection5:
231 case StMCustom3_CViewSelection6: refreshFct = CustomviewDivemode_refresh; 231 case StMCustom3_CViewSelection6: refreshFct = CustomviewDivemode_refresh;
232 break; 232 break;
233 case (StMCustom6_CViewPortCalib& MaskFieldDigit):
234 case StMCustom6_CViewPortLayout:
235 case StMCustom6_CViewPortAmbient: refreshFct = refresh_ViewPort;
236 break;
233 default: /* no menu has been updated */ 237 default: /* no menu has been updated */
234 break; 238 break;
235 } 239 }
236 240
237 if(refreshFct != NULL) 241 if(refreshFct != NULL)
1926 draw_tMEdesignSubSelectedBorder(&pDestination); 1930 draw_tMEdesignSubSelectedBorder(&pDestination);
1927 else 1931 else
1928 draw_tMEdesignSubSelected(&pDestination); 1932 draw_tMEdesignSubSelected(&pDestination);
1929 } 1933 }
1930 } 1934 }
1935
1936 GFX_DrawCfgScreen* getMenuEditScreen()
1937 {
1938 return &tMEscreen;
1939 }
1940
1941