mirror of
https://github.com/GTAmodding/re3.git
synced 2024-12-26 06:25:41 +00:00
CFont
This commit is contained in:
parent
4fc2f9c359
commit
c9ace44ca8
2 changed files with 6 additions and 6 deletions
|
@ -1049,13 +1049,13 @@ CFont::SetScale(float x, float y)
|
|||
}
|
||||
|
||||
void
|
||||
CFont::SetBackgroundColor(CRGBA col)
|
||||
CFont::SetBackgroundColor(const CRGBA &col)
|
||||
{
|
||||
Details.backgroundColor = col;
|
||||
}
|
||||
|
||||
void
|
||||
CFont::SetColor(CRGBA col)
|
||||
CFont::SetColor(const CRGBA &col)
|
||||
{
|
||||
Details.color = col;
|
||||
if (Details.alphaFade < 255.0f)
|
||||
|
@ -1063,7 +1063,7 @@ CFont::SetColor(CRGBA col)
|
|||
}
|
||||
|
||||
void
|
||||
CFont::SetDropColor(CRGBA col)
|
||||
CFont::SetDropColor(const CRGBA &col)
|
||||
{
|
||||
Details.dropColor = col;
|
||||
if (Details.alphaFade < 255.0f)
|
||||
|
|
|
@ -154,9 +154,9 @@ public:
|
|||
static void SetRightJustifyWrap(float wrap) { Details.rightJustifyWrap = wrap; }
|
||||
static void SetAlphaFade(float fade) { Details.alphaFade = fade; }
|
||||
static void SetDropShadowPosition(int16 pos) { Details.dropShadowPosition = pos; }
|
||||
static void SetBackgroundColor(CRGBA col);
|
||||
static void SetColor(CRGBA col);
|
||||
static void SetDropColor(CRGBA col);
|
||||
static void SetBackgroundColor(const CRGBA &col);
|
||||
static void SetColor(const CRGBA &col);
|
||||
static void SetDropColor(const CRGBA &col);
|
||||
|
||||
#ifdef MORE_LANGUAGES
|
||||
static void ReloadFonts(uint8 set);
|
||||
|
|
Loading…
Reference in a new issue