Changes between Version 5 and Version 6 of Docs/825gen2/Dev/UpdatingLegacyAppsToNewLook


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

--

Legend:

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

    v5 v6  
    55Otherwise, the follow the below steps.
    661. Copy the files apphelpers.cpp, apphelpers.h, and appinfo.h from one of the new standard projects such as ID storage into the project to update.
    7 2. Copy code for main screen features such as below:
     72. Find the InitLCD function call and change as follows:
     8{{{
     9void IndStartup(void) {
     10#if ARM64
     11        InitLCD(DSP_INIT_NEW_STYLE_APP);
     12#else
     13        InitLCD();
     14#endif
     15// .. Additional code
     16
     17}
     18
     19}}}
     20
     213. Copy code for main screen features such as below:
     22
    823{{{
    924#if ARM64
     
    126141}}}
    127142
    128 3. Modify functions that do display operations such as shown:
     1434. Modify functions that do display operations such as shown:
    129144
    130145{{{
     
    156171}}}
    157172
    158 4. Search for all menu and inputs forms such as search for "FORM_INIT" make appropriate changes to use new style FORM_ADD_INPUT2 instead of FORM_ADD_INPUT and FORM_ADD_BUTTON2 instead of FORM_ADD_BUTTON such as:
     1735. Search for all menu and inputs forms such as search for "FORM_INIT" make appropriate changes to use new style FORM_ADD_INPUT2 instead of FORM_ADD_INPUT and FORM_ADD_BUTTON2 instead of FORM_ADD_BUTTON such as:
    159174
    160175{{{