comparison Discovery/Inc/tMenuEdit.h @ 508:21bf40bb8151

Reimplementation of tMenuEdit_select: The function was not used in the previous versions. A less complex version was now needed and implemented to enable the selection a a menu line Reimplemented refresh_livedata function: To increase code readability the if_ then_else chain has been replaced by a function pointer switch
author Ideenmodellierer
date Sun, 30 Aug 2020 17:23:44 +0200
parents 5f11787b4f42
children 531e7818b737
comparison
equal deleted inserted replaced
507:5e3b830b955f 508:21bf40bb8151
53 53
54 void tMenuEdit_init(void); 54 void tMenuEdit_init(void);
55 void resetMenuEdit(uint8_t color); 55 void resetMenuEdit(uint8_t color);
56 void tMenuEdit_refresh_live_content(void); 56 void tMenuEdit_refresh_live_content(void);
57 void tMenuEdit_refresh_field(uint32_t editID); 57 void tMenuEdit_refresh_field(uint32_t editID);
58 void tMenuEdit_select(uint32_t editID);
58 59
59 void evaluateNewString (uint32_t editID, uint32_t *pNewValue1, uint32_t *pNewValue2, uint32_t *pNewValue3, uint32_t *pNewValue4); 60 void evaluateNewString (uint32_t editID, uint32_t *pNewValue1, uint32_t *pNewValue2, uint32_t *pNewValue3, uint32_t *pNewValue4);
60 void tMenuEdit_newInput (uint32_t editID, uint32_t int1, uint32_t int2, uint32_t int3, uint32_t int4); 61 void tMenuEdit_newInput (uint32_t editID, uint32_t int1, uint32_t int2, uint32_t int3, uint32_t int4);
61 void tMenuEdit_newButtonText(uint32_t editID, char *text); 62 void tMenuEdit_newButtonText(uint32_t editID, char *text);
62 void tMenuEdit_set_on_off(uint32_t editID, uint32_t int1); 63 void tMenuEdit_set_on_off(uint32_t editID, uint32_t int1);