comparison Discovery/Src/tMenuXtra.c @ 811:4c41d9a18c7f

Added function to skip lines which are not needed for operation: It was not possible in the previous version to skip lines in the top level menu view which were not used for operation. In the past context sensitive menus as well as layout changes have been introduced which cause the cursor to be placed on lines without function. To avoid this it is not possible to mark a line as not in use by enabling / disabling it by the individual meni Id.
author Ideenmodellierer
date Sun, 27 Aug 2023 20:59:12 +0200
parents 6b248bcdbf28
children c4ee952b9425
comparison
equal deleted inserted replaced
810:e6827fcd7604 811:4c41d9a18c7f
168 else 168 else
169 text[textPointer++] = '\006'; 169 text[textPointer++] = '\006';
170 170
171 if (!canDoFallback) { 171 if (!canDoFallback) {
172 text[textPointer++] = '\020'; 172 text[textPointer++] = '\020';
173 disableLine(StMXTRA_O2_Fallback);
174 }
175 else {
176 enableLine(StMXTRA_O2_Fallback);
173 } 177 }
174 strcpy(&text[textPointer],"\n\r"); 178 strcpy(&text[textPointer],"\n\r");
175 textPointer += 2; 179 textPointer += 2;
176 } 180 }
177 181