Skip to content
This repository has been archived by the owner on Mar 10, 2024. It is now read-only.

Commit

Permalink
Renamed grey.
Browse files Browse the repository at this point in the history
  • Loading branch information
Dual Tachyon authored and Dual Tachyon committed Oct 10, 2023
1 parent ee8cced commit 3a1e252
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
1 change: 1 addition & 0 deletions ui/gfx.h
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,7 @@ enum {
COLOR_RED = COLOR_RGB(31, 0, 0),
COLOR_GREEN = COLOR_RGB( 0, 63, 0),
COLOR_BLUE = COLOR_RGB( 0, 0, 31),
COLOR_GREY = COLOR_RGB(16, 32, 16),
COLOR_WHITE = COLOR_RGB(31, 63, 31),
};

Expand Down
4 changes: 2 additions & 2 deletions ui/helper.c
Original file line number Diff line number Diff line change
Expand Up @@ -358,7 +358,7 @@ void UI_DrawVfoFrame(uint8_t Y)

void UI_DrawName(uint8_t Vfo, const char *pName)
{
gColorForeground = COLOR_RGB(16, 32, 16);
gColorForeground = COLOR_GREY;
UI_DrawString(34, 81 - (Vfo * 41), pName, 10);
}

Expand Down Expand Up @@ -555,7 +555,7 @@ void UI_DrawFMFrequency(uint16_t Frequency)

void UI_DrawFM(void)
{
gColorForeground = COLOR_RGB(16, 32, 16);
gColorForeground = COLOR_GREY;
DISPLAY_Fill(0, 159, 1, 81, COLOR_BLACK);
DISPLAY_DrawRectangle0(0, 81, 160, 1, gSettings.BorderColor);
UI_DrawFrame(12, 150, 6, 74, 2, gColorForeground);
Expand Down

0 comments on commit 3a1e252

Please sign in to comment.