Mercurial > public > ostc4
comparison Discovery/Inc/tMenu.h @ 850:bc2fcd002fc4 Evo_2_23
Check line enable/disable state when a new page is selected:
Some lines may change the enable/disable state based on events which are triggered from outside the page scope (for example sensor setup). Updating the line states while another page is active caused problems in the framebuffer handling. To solve this usecase the conditions for the line dis/enabling is checked when a "nextPage" is selected. If condition changed then the page will be refreshed.
| author | Ideenmodellierer |
|---|---|
| date | Fri, 01 Mar 2024 19:30:29 +0100 |
| parents | c4ee952b9425 |
| children | df052f0347fb |
comparison
equal
deleted
inserted
replaced
| 849:fce639612464 | 850:bc2fcd002fc4 |
|---|---|
| 85 void block_diluent_page(void); | 85 void block_diluent_page(void); |
| 86 void unblock_diluent_page(void); | 86 void unblock_diluent_page(void); |
| 87 | 87 |
| 88 void selectPage(uint32_t selection); | 88 void selectPage(uint32_t selection); |
| 89 | 89 |
| 90 uint8_t getLineMask(uint32_t lineId); | |
| 90 void resetLineMask(uint32_t lineId); | 91 void resetLineMask(uint32_t lineId); |
| 91 void disableLine(uint32_t lineId); | 92 void disableLine(uint32_t lineId); |
| 92 void enableLine(uint32_t lineId); | 93 void enableLine(uint32_t lineId); |
| 93 void clearDisabledMenuLines(void); | 94 void clearDisabledMenuLines(void); |
| 94 | 95 |
