Reversed funcionality
This commit is contained in:
@@ -94,6 +94,9 @@ bool Scroller::decodeEscape2Setting(String es)
|
|||||||
break;
|
break;
|
||||||
case REVERSED:
|
case REVERSED:
|
||||||
_act_setting.font.reversed = true;
|
_act_setting.font.reversed = true;
|
||||||
|
uint32_t tcolor = _act_setting.font.bcolor;
|
||||||
|
_act_setting.font.bcolor = _act_setting.font.color;
|
||||||
|
_act_setting.font.color = tcolor;
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@@ -179,7 +182,7 @@ void Scroller::Show(int _x,int _y,String line)
|
|||||||
l = ee;
|
l = ee;
|
||||||
continue;
|
continue;
|
||||||
}
|
}
|
||||||
_matrix->setTextColor(Framebuffer_GFX::Color24to16(_act_setting.font.color));
|
_matrix->setTextColor(Framebuffer_GFX::Color24to16(_act_setting.font.color),Framebuffer_GFX::Color24to16(_act_setting.font.bcolor));
|
||||||
_matrix->setBrightness(_act_setting.font.brightness);
|
_matrix->setBrightness(_act_setting.font.brightness);
|
||||||
if (l != line.length()) {
|
if (l != line.length()) {
|
||||||
#ifdef DEBUG
|
#ifdef DEBUG
|
||||||
|
|||||||
Reference in New Issue
Block a user