From 09dc08859d7e48dbb39c61d0c39ad275719bc82d Mon Sep 17 00:00:00 2001 From: oy Date: Sun, 13 Mar 2011 12:55:00 +0100 Subject: added a function to set the text outline colour and increased readability of nameplates on bright backgrounds. Closes #205 --- src/engine/textrender.h | 1 + 1 file changed, 1 insertion(+) (limited to 'src/engine/textrender.h') 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; -- cgit 1.4.1