Change Prayerbar Color Scheme to be Colorblind Friendly

This commit is contained in:
Justin Barnyak
2018-09-25 12:57:58 -04:00
parent 5959fdf1af
commit e180d72d04

View File

@@ -44,8 +44,9 @@ import net.runelite.client.ui.overlay.OverlayPriority;
@Singleton @Singleton
class PrayerBarOverlay extends Overlay class PrayerBarOverlay extends Overlay
{ {
private static final Color BAR_FILL_COLOR = Color.cyan; private static final Color BAR_FILL_COLOR = new Color(0, 149, 151);
private static final Color BAR_BG_COLOR = Color.white; private static final Color BAR_BG_COLOR = Color.black;
private static final Color FLICK_HELP_COLOR = Color.white;
private static final Dimension PRAYER_BAR_SIZE = new Dimension(30, 5); private static final Dimension PRAYER_BAR_SIZE = new Dimension(30, 5);
private final Client client; private final Client client;
@@ -101,7 +102,7 @@ class PrayerBarOverlay extends Overlay
int xOffset = (int) (-Math.cos(t) * barWidth / 2) + barWidth / 2; int xOffset = (int) (-Math.cos(t) * barWidth / 2) + barWidth / 2;
graphics.setColor(Color.black); graphics.setColor(FLICK_HELP_COLOR);
graphics.fillRect(barX + xOffset, barY, 1, barHeight); graphics.fillRect(barX + xOffset, barY, 1, barHeight);
} }