2
0
mirror of https://github.com/AxioDL/metaforce.git synced 2025-12-09 12:27:43 +00:00

CGuiTextSupport imps

This commit is contained in:
Jack Andersen
2016-03-21 12:01:19 -10:00
parent 6fcdb3a99c
commit 9f82900cdc
12 changed files with 326 additions and 190 deletions

View File

@@ -41,7 +41,7 @@ void CFontRenderState::SetColor(EColorType tp, const CTextColor& col)
case EColorType::Foreground:
x20_[0] = col;
break;
case EColorType::Four:
case EColorType::Background:
x20_[1] = col;
break;
}
@@ -51,7 +51,7 @@ void CFontRenderState::SetColor(EColorType tp, const CTextColor& col)
void CFontRenderState::RefreshPalette()
{
RefreshColor(EColorType::Foreground);
RefreshColor(EColorType::Four);
RefreshColor(EColorType::Background);
}
void CFontRenderState::RefreshColor(EColorType tp)
@@ -90,7 +90,7 @@ void CFontRenderState::RefreshColor(EColorType tp)
RefreshColor(EColorType::Main);
RefreshColor(EColorType::Geometry);
break;
case EColorType::Four:
case EColorType::Background:
RefreshColor(EColorType::Outline);
break;
}