Mercurial > public > ostc4
comparison Discovery/Src/tMenuEdit.c @ 520:970d8040c0e3
Moved custom view menu to new tab:
In previous version old location of custom views was kept for easier development. After establishing new tab the old implementation has been removed from MenuSystem unit.
author | Ideenmodellierer |
---|---|
date | Tue, 08 Sep 2020 21:24:14 +0200 |
parents | 21bf40bb8151 |
children | e221cf762f45 |
comparison
equal
deleted
inserted
replaced
519:2c49561c8062 | 520:970d8040c0e3 |
---|---|
209 break; | 209 break; |
210 case (StMHARD2_Compass_SetCourse & MaskFieldDigit): refreshFct = refresh_CompassEdit; | 210 case (StMHARD2_Compass_SetCourse & MaskFieldDigit): refreshFct = refresh_CompassEdit; |
211 break; | 211 break; |
212 case (StMXTRA_CompassHeading & MaskFieldDigit): refreshFct = refresh_CompassHeading; | 212 case (StMXTRA_CompassHeading & MaskFieldDigit): refreshFct = refresh_CompassHeading; |
213 break; | 213 break; |
214 case (StMSYS5_Info & MaskFieldDigit): refreshFct = &refresh_InformationPage; | 214 case (StMSYS4_Info & MaskFieldDigit): refreshFct = &refresh_InformationPage; |
215 break; | 215 break; |
216 case (StMPLAN5_ExitResult & MaskFieldDigit): refreshFct = refresh_PlanResult; | 216 case (StMPLAN5_ExitResult & MaskFieldDigit): refreshFct = refresh_PlanResult; |
217 break; | 217 break; |
218 case (StMHARD5_Button1 & MaskFieldDigit): // will not be executed in EditFieldMode as global state is different | 218 case (StMHARD5_Button1 & MaskFieldDigit): // will not be executed in EditFieldMode as global state is different |
219 refreshFct = refresh_ButtonValuesFromPIC; | 219 refreshFct = refresh_ButtonValuesFromPIC; |
220 break; | 220 break; |
221 case (StMSYS3_Units & MaskFieldDigit): refreshFct = refresh_Design; | 221 case (StMSYS3_Units & MaskFieldDigit): refreshFct = refresh_Design; |
222 break; | 222 break; |
223 case (StMCustom1_CViewTimeout & MaskFieldDigit): | 223 case (StMCustom1_CViewTimeout & MaskFieldDigit):refreshFct = refresh_Customviews; |
224 case (StMSYS4_CViewTimeout & MaskFieldDigit): refreshFct = refresh_Customviews; | |
225 break; | 224 break; |
226 case (StMCustom2_CViewSelection1 & MaskFieldDigit) : | 225 case (StMCustom2_CViewSelection1 & MaskFieldDigit) : |
227 case StMCustom2_CViewSelection2: | 226 case StMCustom2_CViewSelection2: |
228 case StMCustom2_CViewSelection3: | 227 case StMCustom2_CViewSelection3: |
229 case StMCustom2_CViewSelection4: | 228 case StMCustom2_CViewSelection4: |
230 case StMCustom2_CViewSelection5: | 229 case StMCustom2_CViewSelection5: |
231 case StMCustom2_CViewSelection6: | 230 case StMCustom2_CViewSelection6: |
232 case (StMCustom2_BFSelection & MaskFieldDigit) : refreshFct = CustomviewDivemode2_refresh; | 231 case (StMCustom2_BFSelection & MaskFieldDigit) : refreshFct = CustomviewDivemode_refresh; |
233 break; | 232 break; |
234 default: /* no menu has been updated */ | 233 default: /* no menu has been updated */ |
235 break; | 234 break; |
236 } | 235 } |
237 | 236 |