Changes between Version 7 and Version 8 of Docs/825gen2/Dev/UpdatingLegacyAppsToNewLook


Ignore:
Timestamp:
02/08/24 11:56:04 (10 months ago)
Author:
Don Wilson
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • Docs/825gen2/Dev/UpdatingLegacyAppsToNewLook

    v7 v8  
    186186
    187187{{{
     188void IDScreen(void)
     189{
     190#if ARM64
     191        CFormRect rect, rectInp;
     192
     193        FORM_INIT(ID, EventIDShow, NULL, NULL, NULL, nFormFlgShowHelp);
     194
     195        SetupInputFormToUseFontSet(formID, rect, rectInp, LANG(STR_ID_PROMPT));
     196
     197        FORM_ADD_INPUT2(ID, ID, rect,   rectInp, LANG(STR_ID_PROMPT) , 10, 0, 0, NULL, id, 0, NULL, LANG(STR_ID_HELP));
     198#else
     199        FORM_INIT(ID, EventIDShow, NULL, NULL, NULL, nFormFlgShowHelp);
     200        FORM_ADD_INPUT(ID, ID, INPUT_ID_X, INPUT_ID_Y, LANG(STR_ID_PROMPT) , 10, 0, 0, NULL, id, 0, NULL, LANG(STR_ID_HELP));
     201#endif
     202        FORM_SHOW(ID);
     203        FORM_RUN(ID);
     204        FORM_HIDE(ID);
     205}
     206
     207
     208}}}
     209
     210
     211{{{
    188212void MenuConfig(void)
    189213{
     
    252276
    253277
    254 {{{
    255 void IDScreen(void)
    256 {
    257 #if ARM64
    258         CFormRect rect, rectInp;
    259 
    260         FORM_INIT(ID, EventIDShow, NULL, NULL, NULL, nFormFlgShowHelp);
    261 
    262         SetupInputFormToUseFontSet(formID, rect, rectInp, LANG(STR_ID_PROMPT));
    263 
    264         FORM_ADD_INPUT2(ID, ID, rect,   rectInp, LANG(STR_ID_PROMPT) , 10, 0, 0, NULL, id, 0, NULL, LANG(STR_ID_HELP));
    265 #else
    266         FORM_INIT(ID, EventIDShow, NULL, NULL, NULL, nFormFlgShowHelp);
    267         FORM_ADD_INPUT(ID, ID, INPUT_ID_X, INPUT_ID_Y, LANG(STR_ID_PROMPT) , 10, 0, 0, NULL, id, 0, NULL, LANG(STR_ID_HELP));
    268 #endif
    269         FORM_SHOW(ID);
    270         FORM_RUN(ID);
    271         FORM_HIDE(ID);
    272 }
    273 
    274 
    275 }}}