mirror of https://github.com/rusefi/RomRaider.git
Compare Table Accessibility: Updated compare table to prepend every row with their type to serve as a visual cue for color blind
This commit is contained in:
parent
2440af8d4c
commit
dfa6ff7ffd
|
@ -344,20 +344,23 @@ public class CompareImagesForm extends JFrame implements ActionListener {
|
||||||
case 1:
|
case 1:
|
||||||
// equal - default green
|
// equal - default green
|
||||||
setForeground(Settings.TABLE_EQUAL_COLOR);
|
setForeground(Settings.TABLE_EQUAL_COLOR);
|
||||||
|
setText("[unchanged] "+item.getValue());
|
||||||
break;
|
break;
|
||||||
case 2:
|
case 2:
|
||||||
// different - default red
|
// different - default red
|
||||||
setForeground(Settings.TABLE_DIFFERENT_COLOR);
|
setForeground(Settings.TABLE_DIFFERENT_COLOR);
|
||||||
|
setText("[modified] "+item.getValue());
|
||||||
break;
|
break;
|
||||||
case 3:
|
case 3:
|
||||||
// missing - default yellow
|
// missing - default yellow
|
||||||
setForeground(Settings.TABLE_MISSING_COLOR);
|
setForeground(Settings.TABLE_MISSING_COLOR);
|
||||||
|
setText("[missing] "+item.getValue());
|
||||||
break;
|
break;
|
||||||
default:
|
default:
|
||||||
setForeground(paramList.getForeground());
|
setForeground(paramList.getForeground());
|
||||||
|
setText(item.getValue());
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
setText(item.getValue());
|
|
||||||
return this;
|
return this;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue