DSP_INVERT_TITLE_AP_SCREEN_FIX
This commit is contained in:
@@ -164,17 +164,21 @@ void Display::_apScreen() {
|
|||||||
#ifndef DSP_LCD
|
#ifndef DSP_LCD
|
||||||
_boot = new Page();
|
_boot = new Page();
|
||||||
#if DSP_MODEL!=DSP_NOKIA5110
|
#if DSP_MODEL!=DSP_NOKIA5110
|
||||||
|
#if DSP_INVERT_TITLE
|
||||||
_boot->addWidget(new FillWidget(metaBGConf, config.theme.metafill));
|
_boot->addWidget(new FillWidget(metaBGConf, config.theme.metafill));
|
||||||
|
#else
|
||||||
|
_boot->addWidget(new FillWidget(metaBGConfInv, config.theme.metafill));
|
||||||
|
#endif
|
||||||
#endif
|
#endif
|
||||||
ScrollWidget *bootTitle = (ScrollWidget*) &_boot->addWidget(new ScrollWidget("*", apTitleConf, config.theme.meta, config.theme.metabg));
|
ScrollWidget *bootTitle = (ScrollWidget*) &_boot->addWidget(new ScrollWidget("*", apTitleConf, config.theme.meta, config.theme.metabg));
|
||||||
bootTitle->setText("ёRadio AP Mode");
|
bootTitle->setText("ёRadio AP Mode");
|
||||||
TextWidget *apname = (TextWidget*) &_boot->addWidget(new TextWidget(apNameConf, 30, false, config.theme.title1, config.theme.background));
|
TextWidget *apname = (TextWidget*) &_boot->addWidget(new TextWidget(apNameConf, 30, false, config.theme.title1, config.theme.background));
|
||||||
apname->setText(apNameTxt);
|
apname->setText(apNameTxt);
|
||||||
TextWidget *apname2 = (TextWidget*) &_boot->addWidget(new TextWidget(apName2Conf, 30, false, config.theme.metabg, config.theme.background));
|
TextWidget *apname2 = (TextWidget*) &_boot->addWidget(new TextWidget(apName2Conf, 30, false, config.theme.clock, config.theme.background));
|
||||||
apname2->setText(apSsid);
|
apname2->setText(apSsid);
|
||||||
TextWidget *appass = (TextWidget*) &_boot->addWidget(new TextWidget(apPassConf, 30, false, config.theme.title1, config.theme.background));
|
TextWidget *appass = (TextWidget*) &_boot->addWidget(new TextWidget(apPassConf, 30, false, config.theme.title1, config.theme.background));
|
||||||
appass->setText(apPassTxt);
|
appass->setText(apPassTxt);
|
||||||
TextWidget *appass2 = (TextWidget*) &_boot->addWidget(new TextWidget(apPass2Conf, 30, false, config.theme.metabg, config.theme.background));
|
TextWidget *appass2 = (TextWidget*) &_boot->addWidget(new TextWidget(apPass2Conf, 30, false, config.theme.clock, config.theme.background));
|
||||||
appass2->setText(apPassword);
|
appass2->setText(apPassword);
|
||||||
ScrollWidget *bootSett = (ScrollWidget*) &_boot->addWidget(new ScrollWidget("*", apSettConf, config.theme.title2, config.theme.background));
|
ScrollWidget *bootSett = (ScrollWidget*) &_boot->addWidget(new ScrollWidget("*", apSettConf, config.theme.title2, config.theme.background));
|
||||||
bootSett->setText(WiFi.softAPIP().toString().c_str(), apSettFmt);
|
bootSett->setText(WiFi.softAPIP().toString().c_str(), apSettFmt);
|
||||||
|
|||||||
Reference in New Issue
Block a user