invert_title
This commit is contained in:
@@ -101,6 +101,7 @@ void Config::loadTheme(){
|
||||
theme.playlist[2] = color565(COLOR_PLAYLIST_2);
|
||||
theme.playlist[3] = color565(COLOR_PLAYLIST_3);
|
||||
theme.playlist[4] = color565(COLOR_PLAYLIST_4);
|
||||
#include "../displays/tools/tftinverttitle.h"
|
||||
}
|
||||
|
||||
template <class T> int Config::eepromWrite(int ee, const T& value) {
|
||||
|
||||
@@ -90,7 +90,11 @@ void Display::_buildPager(){
|
||||
#endif
|
||||
#if !defined(DSP_LCD) && DSP_MODEL!=DSP_NOKIA5110
|
||||
_plbackground = new FillWidget(playlBGConf, config.theme.plcurrentfill);
|
||||
_metabackground = new FillWidget(metaBGConf, config.theme.metafill);
|
||||
#if DSP_INVERT_TITLE
|
||||
_metabackground = new FillWidget(metaBGConf, config.theme.metafill);
|
||||
#else
|
||||
_metabackground = new FillWidget(metaBGConfInv, config.theme.metafill);
|
||||
#endif
|
||||
#endif
|
||||
#if DSP_MODEL==DSP_NOKIA5110
|
||||
_plbackground = new FillWidget(playlBGConf, 1);
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
#ifndef options_h
|
||||
#define options_h
|
||||
|
||||
#define YOVERSION "0.8.971"
|
||||
#define YOVERSION "0.8.979"
|
||||
|
||||
/*******************************************************
|
||||
DO NOT EDIT THIS FILE.
|
||||
@@ -283,7 +283,7 @@ The connection tables are located here https://github.com/e2002/yoradio#connecti
|
||||
#define AUTOBACKLIGHT(x) ({uint16_t _lh=(x>AUTOBACKLIGHT_MAX?AUTOBACKLIGHT_MAX:x); map(_lh, AUTOBACKLIGHT_MAX, 0, AUTOBACKLIGHT_MIN, 100);}) // autobacklight function
|
||||
#endif
|
||||
#ifndef DSP_INVERT_TITLE
|
||||
#define DSP_INVERT_TITLE true // Invert title colors for OLED displays ?
|
||||
#define DSP_INVERT_TITLE true // Invert title colors for displays ?
|
||||
#endif
|
||||
/*
|
||||
*** ST7735 display submodel ***
|
||||
|
||||
Reference in New Issue
Block a user