Skip to content

Commit 92407b2

Browse files
committed
fix colors
1 parent 9f99921 commit 92407b2

5 files changed

Lines changed: 7 additions & 7 deletions

File tree

src/classes/Colors.hpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ namespace horrible {
99
namespace colors {
1010
inline constexpr ccColor3B white = { 255, 255, 255 };
1111
inline constexpr ccColor3B gray = { 150, 150, 150 };
12-
inline constexpr ccColor3B red = { 255, 75, 25 };
12+
inline constexpr ccColor3B red = { 255, 50, 50 };
1313
inline constexpr ccColor3B yellow = { 250, 250, 25 };
1414
inline constexpr ccColor3B green = { 100, 255, 100 };
1515
inline constexpr ccColor3B cyan = { 10, 175, 255 };

src/classes/ui/src/MathQuiz.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -144,7 +144,7 @@ bool MathQuiz::init() {
144144
// i hope i did this right cheese, u added this progress bar thing
145145
m_impl->m_timer = ProgressBar::create();
146146
m_impl->m_timer->setID("timer");
147-
m_impl->m_timer->setFillColor({ 255, 200, 0 });
147+
m_impl->m_timer->setFillColor(colors::yellow);
148148
m_impl->m_timer->setStyle(ProgressBarStyle::Solid);
149149
m_impl->m_timer->setAnchorPoint({ 0.5, 0.5 });
150150
m_impl->m_timer->setPosition({ winSize.width / 2.f, winSize.height - 20.f });

src/classes/ui/src/SpamChallenge.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -70,7 +70,7 @@ bool SpamChallenge::init() {
7070

7171
m_impl->m_timer = ProgressBar::create();
7272
m_impl->m_timer->setID("timer");
73-
m_impl->m_timer->setFillColor({ 255, 200, 0 });
73+
m_impl->m_timer->setFillColor(colors::yellow);
7474
m_impl->m_timer->setStyle(ProgressBarStyle::Solid);
7575
m_impl->m_timer->setAnchorPoint({ 0.5, 0.5 });
7676
m_impl->m_timer->setPosition({ winSize.width / 2.f, winSize.height - 20.f });

src/hooks/Parry.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -97,7 +97,7 @@ class $modify(ParryPlayLayer, PlayLayer) {
9797
if (!m_fields->m_parryBar) {
9898
m_fields->m_parryBar = ProgressBar::create();
9999
m_fields->m_parryBar->setID("parry"_spr);
100-
m_fields->m_parryBar->setFillColor({ 255, 200, 0 });
100+
m_fields->m_parryBar->setFillColor(colors::yellow);
101101
m_fields->m_parryBar->setAnchorPoint({ 0.5f, 0.5f });
102102
m_fields->m_parryBar->setVisible(false);
103103

src/menu/src/HorribleMenuPopup.cpp

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -143,9 +143,9 @@ bool HorribleMenuPopup::setup() {
143143
filterMenu->setPosition({ filterMenuBg->getPositionX(), mainLayerSize.height - 65.f });
144144

145145
std::vector<FilterBtnInfo> const filterBtns = {
146-
{SillyTier::Low, "Low", {100, 255, 100}},
147-
{SillyTier::Medium, "Medium", {255, 255, 100}},
148-
{SillyTier::High, "High", {255, 100, 100}}
146+
{SillyTier::Low, "Low", colors::green},
147+
{SillyTier::Medium, "Medium", colors::yellow},
148+
{SillyTier::High, "High", colors::red}
149149
};
150150

151151
float fBtnY = 0.f;

0 commit comments

Comments
 (0)