private final Styler errorStyler;
private final Styler passStyler;
public ViewLabelProvider() {
errorStyler = new Styler() {
@Override
public void applyStyles(TextStyle textStyle) {
// textStyle.font = boldFont;
textStyle.foreground = new Color(instance.display, new RGB(200, 0, 0));
}
};
passStyler = new Styler() {
@Override
public void applyStyles(TextStyle textStyle) {
// textStyle.font = boldFont;
textStyle.foreground = new Color(instance.display, new RGB(0, 200, 0));
}