Changes between Version 85 and Version 86 of Docs/825gen2/Dev/UpdatingLegacyAppsToNewLook
- Timestamp:
- 07/11/25 13:59:13 (2 weeks ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Docs/825gen2/Dev/UpdatingLegacyAppsToNewLook
v85 v86 248 248 } 249 249 }}} 250 The !EnableFullScreenMode() is optional but recommended for new apps. When this is included the app will stay in the zoomed state and only show a keypad as needed for input fields. This is easier for users of the app. However, this may require a little more work to make the app fully functional. All menu screens must have an //Exit// button provided since there is no always shown therearrow buttons. Input screens should have //Cancel// or //ESC// and //Ok// buttons. The apphelpers.cpp/.h provides helpers to simplify these changes.250 The !EnableFullScreenMode() is optional but recommended for new apps. When this is included the app will stay in the zoomed state and only show a keypad as needed for input fields. This is easier for users of the app. However, this may require a little more work to make the app fully functional. All menu screens must have an //Exit// button provided since there is no always shown arrow buttons. Input screens should have //Cancel// or //ESC// and //Ok// buttons. The apphelpers.cpp/.h provides helpers to simplify these changes. 251 251 252 252 10. Modify all the references to the Show//XXXX// show as ShowGTN() to add the weightScreen instance such as: … … 305 305 SetupInputFormToUseFontSet(formSetup, rectInpBtn, 0.45, 1.3); 306 306 307 FORM_ADD_INPUT2(Setup, Thresh, rectInpBtn, rectKeypad, "On Threshold: ", 6, 0, 999999, NULL, &g_setup.onThresh, FORM_FLOAT | FORM_POPUP_LEFT_PROMPT, NULL, "Enter the on threshold");307 FORM_ADD_INPUT2(Setup, Thresh, rectInpBtn, rectKeypad, "On Threshold: ", 6, 0, 999999, NULL, &g_setup.onThresh, FORM_FLOAT | FORM_POPUP_LEFT_PROMPT, NULL, "Enter the on threshold"); 308 308 rectInpBtn += inputAdvanceY; 309 309 FORM_ADD_INPUT2(Setup, ViolTot, rectInpBtn, rectKeypad, "Total Violation: ", 6, 0, 999999, NULL, &g_setup.violWt[0], FORM_FLOAT | FORM_POPUP_LEFT_PROMPT, NULL, "Enter violation weight for total"); 310 310 rectInpBtn += inputAdvanceY; 311 FORM_ADD_INPUT2(Setup, Viol1, rectInpBtn, rectKeypad, "P1 Violation: ", 6, 0, 999999, NULL, &g_setup.violWt[1], FORM_FLOAT | FORM_POPUP_LEFT_PROMPT, NULL, "Violation weight for P1");311 FORM_ADD_INPUT2(Setup, Viol1, rectInpBtn, rectKeypad, "P1 Violation: ", 6, 0, 999999, NULL, &g_setup.violWt[1], FORM_FLOAT | FORM_POPUP_LEFT_PROMPT, NULL, "Violation weight for P1"); 312 312 313 313 formSetup.LeftAlignPromptInputs(inpThresh, inpViol1);