mirror of
https://github.com/AxioDL/metaforce.git
synced 2025-12-09 12:27:43 +00:00
CGuiTextSupport imps
This commit is contained in:
@@ -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;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user