Reversed funcionality
This commit is contained in:
@@ -94,6 +94,9 @@ bool Scroller::decodeEscape2Setting(String es)
|
||||
break;
|
||||
case REVERSED:
|
||||
_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;
|
||||
}
|
||||
}
|
||||
@@ -179,7 +182,7 @@ void Scroller::Show(int _x,int _y,String line)
|
||||
l = ee;
|
||||
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);
|
||||
if (l != line.length()) {
|
||||
#ifdef DEBUG
|
||||
|
||||
Reference in New Issue
Block a user