Mercurial > public > ostc4
comparison Discovery/Inc/tMenuEditCvOption.h @ 1071:b4a79464caf7 Icon_Integration
Dynamic menu creation for CV views:
Because of the increasing features of the OSTC the maintenance of the the menus becomes difficult. Some are not available because of HW version or connected sensors. To keep the "legacy" menus stable the functionality of the cv options page has been increased. Based on enabled cv views and connected sensors the page will be filled dynamically. The page items allow quick acces to the view related options. For the first implementation the views: compass, timer, sensor O2 and sensor CO2 are supported.
| author | Ideenmodellierer |
|---|---|
| date | Thu, 19 Feb 2026 13:28:37 +0100 |
| parents | 21142f4fa968 |
| children |
comparison
equal
deleted
inserted
replaced
| 1070:4499227a2db8 | 1071:b4a79464caf7 |
|---|---|
| 33 #include "gfx_engine.h" | 33 #include "gfx_engine.h" |
| 34 #include "global_constants.h" | 34 #include "global_constants.h" |
| 35 #include "settings.h" | 35 #include "settings.h" |
| 36 #include "data_central.h" | 36 #include "data_central.h" |
| 37 | 37 |
| 38 | |
| 39 typedef void (*openFunc_t)(void); | |
| 40 void tMCvOption_SetOpenFnct(uint8_t cvOptId, uint8_t index); | |
| 41 | |
| 38 void openEdit_CvOption(uint8_t line); | 42 void openEdit_CvOption(uint8_t line); |
| 39 void refresh_CompassEdit(void); | 43 void refresh_CompassEdit(void); |
| 40 uint32_t tMCvOption_refresh(uint8_t line, char *text, uint16_t *tab, char *subtext); | 44 uint32_t tMCvOption_refresh(uint8_t line, char *text, uint16_t *tab, char *subtext); |
| 41 void tMCvOption_checkLineStatus(void); | 45 void tMCvOption_checkLineStatus(void); |
| 42 | 46 |
