Mercurial > public > ostc4
comparison Discovery/Src/tInfo.c @ 225:2bb1db22b5f5 div-fixes-3
cleanup: random set of cleanups
A random set of cleanups, as found during code reading, and looking
around fixing issues. Contains all kinds of things: typo's in comment,
typo in variable name, removal of unused code, making things static
where possible. Does not contain any functional changes.
Signed-off-by: Jan Mulder <jlmulder@xs4all.nl>
author | Jan Mulder <jlmulder@xs4all.nl> |
---|---|
date | Mon, 01 Apr 2019 15:50:41 +0200 |
parents | 255eedad4155 |
children | b7b481df4f22 |
comparison
equal
deleted
inserted
replaced
224:ceecabfddb57 | 225:2bb1db22b5f5 |
---|---|
86 int8_t TIevidLast = -1; | 86 int8_t TIevidLast = -1; |
87 SInfoEventHandler TIevent[10]; | 87 SInfoEventHandler TIevent[10]; |
88 | 88 |
89 /* Private function prototypes -----------------------------------------------*/ | 89 /* Private function prototypes -----------------------------------------------*/ |
90 void tInfo_build_page(void); | 90 void tInfo_build_page(void); |
91 void tInfo_showlog(void); | 91 |
92 | |
93 void tI_draw_tIdesign(void); | |
94 void tI_set_cursor(uint8_t forThisIdentID); | 92 void tI_set_cursor(uint8_t forThisIdentID); |
95 void tI_startInfoFieldSelect(void); | 93 void tI_startInfoFieldSelect(void); |
96 void tInfo_write_content_of_actual_Id(void); | 94 void tInfo_write_content_of_actual_Id(void); |
97 void tI_clean_content_of_actual_Id(void); | 95 void tI_clean_content_of_actual_Id(void); |
98 void tInfo_write_content_without_Id(void); | 96 void tInfo_write_content_without_Id(void); |
99 | 97 |
100 void tI_clean_content(uint16_t XleftGimpStyle, uint16_t XrightGimpStyle, uint16_t YtopGimpStyle, const tFont *Font); | 98 void tI_clean_content(uint16_t XleftGimpStyle, uint16_t XrightGimpStyle, uint16_t YtopGimpStyle, const tFont *Font); |
101 void tInfo_write_content(uint16_t XleftGimpStyle, uint16_t XrightGimpStyle, uint16_t YtopGimpStyle, const tFont *Font, const char *text, uint8_t color); | 99 void tInfo_write_content(uint16_t XleftGimpStyle, uint16_t XrightGimpStyle, uint16_t YtopGimpStyle, const tFont *Font, const char *text, uint8_t color); |
102 | 100 |
103 void tI_resetInfo(uint8_t color); | |
104 | |
105 void tI_tInfo_refresh_live_content(void); | |
106 void tI_evaluateNewString (uint32_t editID, uint32_t *pNewValue1, uint32_t *pNewValue2, uint32_t *pNewValue3, uint32_t *pNewValue4); | 101 void tI_evaluateNewString (uint32_t editID, uint32_t *pNewValue1, uint32_t *pNewValue2, uint32_t *pNewValue3, uint32_t *pNewValue4); |
107 | 102 |
108 //void tI_tInfo_newInput (uint32_t editID, uint32_t int1, uint32_t int2, uint32_t int3, uint32_t int4); | 103 //void tI_tInfo_newInput (uint32_t editID, uint32_t int1, uint32_t int2, uint32_t int3, uint32_t int4); |
109 //void tI_tInfo_newButtonText (uint32_t editID, char *text); | 104 //void tI_tInfo_newButtonText (uint32_t editID, char *text); |
110 | 105 |