diff options
author | Sergeanur <s.anureev@yandex.ua> | 2020-04-07 07:20:21 +0200 |
---|---|---|
committer | Sergeanur <s.anureev@yandex.ua> | 2020-04-07 07:20:21 +0200 |
commit | c9ace44ca8abca62ece0012362b94b115be65e1b (patch) | |
tree | 15977dc32eec7d9caed71b9d59001d6a01463f3f /src/render/Font.cpp | |
parent | Merge remote-tracking branch 'origin/master' into MoreLanguages (diff) | |
download | re3-c9ace44ca8abca62ece0012362b94b115be65e1b.tar re3-c9ace44ca8abca62ece0012362b94b115be65e1b.tar.gz re3-c9ace44ca8abca62ece0012362b94b115be65e1b.tar.bz2 re3-c9ace44ca8abca62ece0012362b94b115be65e1b.tar.lz re3-c9ace44ca8abca62ece0012362b94b115be65e1b.tar.xz re3-c9ace44ca8abca62ece0012362b94b115be65e1b.tar.zst re3-c9ace44ca8abca62ece0012362b94b115be65e1b.zip |
Diffstat (limited to '')
-rw-r--r-- | src/render/Font.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/render/Font.cpp b/src/render/Font.cpp index 0544a1b9..231008c4 100644 --- a/src/render/Font.cpp +++ b/src/render/Font.cpp @@ -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)
|