From 6f7e4242da2f836cf8ec82dbef551854a049e530 Mon Sep 17 00:00:00 2001 From: yugecin Date: Wed, 18 Jan 2017 21:55:06 +0100 Subject: [PATCH] correct red color for bubble notifs --- src/itdelatrisu/opsu/Options.java | 2 +- src/yugecin/opsudance/events/BubbleNotificationEvent.java | 2 +- src/yugecin/opsudance/states/EmptyRedState.java | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/src/itdelatrisu/opsu/Options.java b/src/itdelatrisu/opsu/Options.java index d810feba..2c033336 100644 --- a/src/itdelatrisu/opsu/Options.java +++ b/src/itdelatrisu/opsu/Options.java @@ -1372,7 +1372,7 @@ public class Options { try { container.setDisplayMode(width, height, isFullscreen()); } catch (Exception e) { - container.eventBus.post(new BubbleNotificationEvent("Failed to change resolution", BubbleNotificationEvent.COLOR_RED)); + container.eventBus.post(new BubbleNotificationEvent("Failed to change resolution", BubbleNotificationEvent.COMMONCOLOR_RED)); Log.error("Failed to set display mode.", e); } diff --git a/src/yugecin/opsudance/events/BubbleNotificationEvent.java b/src/yugecin/opsudance/events/BubbleNotificationEvent.java index a4abdd51..8ae2b1de 100644 --- a/src/yugecin/opsudance/events/BubbleNotificationEvent.java +++ b/src/yugecin/opsudance/events/BubbleNotificationEvent.java @@ -24,7 +24,7 @@ public class BubbleNotificationEvent { public static final Color COMMONCOLOR_GREEN = new Color(98, 131, 59); public static final Color COMMONCOLOR_WHITE = new Color(220, 220, 220); public static final Color COMMONCOLOR_PURPLE = new Color(94, 46, 149); - public static final Color COLOR_RED = new Color(178, 62, 41); + public static final Color COMMONCOLOR_RED = new Color(141, 49, 16); public static final Color COLOR_ORANGE = new Color(138, 72, 51); public final String message; diff --git a/src/yugecin/opsudance/states/EmptyRedState.java b/src/yugecin/opsudance/states/EmptyRedState.java index b8d049ad..95c6427c 100644 --- a/src/yugecin/opsudance/states/EmptyRedState.java +++ b/src/yugecin/opsudance/states/EmptyRedState.java @@ -74,7 +74,7 @@ public class EmptyRedState implements OpsuState { @Override public boolean keyPressed(int key, char c) { - displayContainer.eventBus.post(new BubbleNotificationEvent("this is a bubble notification... bubbly bubbly bubbly linewraaaaaaaaaap", BubbleNotificationEvent.COLOR_RED)); + displayContainer.eventBus.post(new BubbleNotificationEvent("this is a bubble notification... bubbly bubbly bubbly linewraaaaaaaaaap", BubbleNotificationEvent.COMMONCOLOR_RED)); return false; }