Mercurial > public > ostc4
diff Discovery/Inc/tHome.h @ 505:06b21f1e47a5
Removed second big font profile
The nex big font views have been introduced using an additional profile because an individual selection was not possible. By introducing the selection dialog for big font data views this additional profile is no longer needed.
author | Ideenmodellierer |
---|---|
date | Sun, 30 Aug 2020 17:14:31 +0200 |
parents | 0d2449e9d659 |
children | 6960df7ddb09 |
line wrap: on
line diff
--- a/Discovery/Inc/tHome.h Mon Aug 24 19:59:28 2020 +0200 +++ b/Discovery/Inc/tHome.h Sun Aug 30 17:14:31 2020 +0200 @@ -54,9 +54,6 @@ EXTRADISPLAY_none = 0, EXTRADISPLAY_BIGFONT, EXTRADISPLAY_DECOGAME, -#ifdef ENABLE_BIGFONT_VX - EXTRADISPLAY_BIGFONT2, -#endif EXTRADISPLAY_END }; @@ -83,19 +80,14 @@ CVIEW_T3_GasList, CVIEW_T3_Temperature, CVIEW_T3_ApnoeSurfaceInfo, -#ifdef ENABLE_BIGFONT_VX CVIEW_T3_Navigation, CVIEW_T3_DepthData, -#endif CVIEW_T3_END }; // for custom view switch on/off 161122 hw extern const uint8_t cv_changelist[]; extern const uint8_t cv_changelist_BS[]; -#ifdef ENABLE_BIGFONT_VX -extern const uint8_t cv_changelist_BSV2[]; -#endif #define CHECK_BIT_THOME(var,pos) (((var)>>(pos)) & 1) @@ -139,6 +131,7 @@ uint32_t tHome_DateCode(RTC_DateTypeDef *dateInput); void tHome_init_compass(void); +uint8_t tHome_getNumberOfAvailableCVs(const uint8_t* pcv_list); float t3_basics_lines_depth_and_divetime(GFX_DrawCfgScreen *tXscreen, GFX_DrawCfgWindow* tXl1, GFX_DrawCfgWindow* tXr1, uint8_t mode); void t3_basics_battery_low_customview_extra(GFX_DrawCfgWindow* tXc1); @@ -147,7 +140,7 @@ void t3_basics_refresh_apnoeRight(float depth, uint8_t tX_selection_customview, GFX_DrawCfgScreen *tXscreen, GFX_DrawCfgWindow* tXc1, GFX_DrawCfgWindow* tXc2, uint8_t mode); //void _findNextStop(const uint16_t *list, uint8_t *depthOut, uint16_t *lengthOut); void t3_basics_colorscheme_mod(char *text); -void t3_basics_change_customview(uint8_t *tX_selection_customview, uint8_t *tX_customviews, uint8_t action); +void t3_basics_change_customview(uint8_t *tX_selection_customview, const uint8_t *tX_customviews, uint8_t action); uint8_t tHome_show_lost_connection_count(GFX_DrawCfgScreen *ScreenToWriteOn);