diff options
| author | oy <Tom_Adams@web.de> | 2011-03-13 12:55:00 +0100 |
|---|---|---|
| committer | oy <Tom_Adams@web.de> | 2011-03-13 12:55:00 +0100 |
| commit | 09dc08859d7e48dbb39c61d0c39ad275719bc82d (patch) | |
| tree | 3e8e5eeda158fea5a809bd068c207774fcad7fae /src/engine/textrender.h | |
| parent | 01ea32f816120d0c4a5bcf01f3978d8390e5ccb4 (diff) | |
| download | zcatch-09dc08859d7e48dbb39c61d0c39ad275719bc82d.tar.gz zcatch-09dc08859d7e48dbb39c61d0c39ad275719bc82d.zip | |
added a function to set the text outline colour and increased readability of nameplates on bright backgrounds. Closes #205
Diffstat (limited to 'src/engine/textrender.h')
| -rw-r--r-- | src/engine/textrender.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/engine/textrender.h b/src/engine/textrender.h index 0674ce90..8d13f605 100644 --- a/src/engine/textrender.h +++ b/src/engine/textrender.h @@ -46,6 +46,7 @@ public: // old foolish interface virtual void TextColor(float r, float g, float b, float a) = 0; + virtual void TextOutlineColor(float r, float g, float b, float a) = 0; virtual void Text(void *pFontSetV, float x, float y, float Size, const char *pText, int MaxWidth) = 0; virtual float TextWidth(void *pFontSetV, float Size, const char *pText, int Length) = 0; virtual int TextLineCount(void *pFontSetV, float Size, const char *pText, float LineWidth) = 0; |