From 44408373cc9fe6ea72e0eda7d489a678f5cff5d0 Mon Sep 17 00:00:00 2001 From: jaih1r0 <146522416+jaih1r0@users.noreply.github.com> Date: Thu, 29 Aug 2024 15:15:41 -0600 Subject: [PATCH] gearbox wheel text color --- TEXTCOLO.txt | 9 +++++++++ zscript/gearbox/wheel/view.zs | 2 +- 2 files changed, 10 insertions(+), 1 deletion(-) diff --git a/TEXTCOLO.txt b/TEXTCOLO.txt index f7b92b02b6..465a3b6b1f 100644 --- a/TEXTCOLO.txt +++ b/TEXTCOLO.txt @@ -55,3 +55,12 @@ PB_PowerSpeed #DBA914 #EFC954 } +PBWheel_Text +{ + #003584 #006398 0 64 + #2886A7 #00CCE7 65 200 + #83E6FF #E6F9FD 201 256 + console: + #003584 #006398 0 127 + #2886A7 #83E6FF 128 256 +} diff --git a/zscript/gearbox/wheel/view.zs b/zscript/gearbox/wheel/view.zs index 8b0161fcb7..348e650dca 100644 --- a/zscript/gearbox/wheel/view.zs +++ b/zscript/gearbox/wheel/view.zs @@ -521,7 +521,7 @@ class gb_WheelView vector2 pos = mCenter; pos.y += mScreen.getWheelRadius() * (isOnTop ? -1 : 1); - mText.drawBox(ammo1, description, ammo2, pos, !isOnTop, mBaseColor, mAlpha,font.CR_LIGHTBLUE,true); + mText.drawBox(ammo1, description, ammo2, pos, !isOnTop, mBaseColor, mAlpha,font.FindFontColor("PBWheel_Text"),true); } private