diff options
author | aap <aap@papnet.eu> | 2020-11-19 15:21:22 +0100 |
---|---|---|
committer | aap <aap@papnet.eu> | 2020-11-19 15:21:22 +0100 |
commit | 856e424c76df4251a45c4f64e9f3102201fae236 (patch) | |
tree | c8c8180677d54bb0c9d63b347de93b2cbc9f3f52 /src/render/Font.h | |
parent | no static runtime for external librw (diff) | |
parent | Merge pull request #822 from aap/master (diff) | |
download | re3-856e424c76df4251a45c4f64e9f3102201fae236.tar re3-856e424c76df4251a45c4f64e9f3102201fae236.tar.gz re3-856e424c76df4251a45c4f64e9f3102201fae236.tar.bz2 re3-856e424c76df4251a45c4f64e9f3102201fae236.tar.lz re3-856e424c76df4251a45c4f64e9f3102201fae236.tar.xz re3-856e424c76df4251a45c4f64e9f3102201fae236.tar.zst re3-856e424c76df4251a45c4f64e9f3102201fae236.zip |
Diffstat (limited to 'src/render/Font.h')
-rw-r--r-- | src/render/Font.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/render/Font.h b/src/render/Font.h index bf747859..7b67e310 100644 --- a/src/render/Font.h +++ b/src/render/Font.h @@ -116,6 +116,10 @@ public: static void InitPerFrame(void); static void PrintChar(float x, float y, wchar c); static void PrintString(float x, float y, wchar *s); +#ifdef XBOX_SUBTITLES + static void PrintStringFromBottom(float x, float y, wchar *str); + static void PrintOutlinedString(float x, float y, wchar *str, float outlineStrength, bool fromBottom, CRGBA outlineColor); +#endif static int GetNumberLines(float xstart, float ystart, wchar *s); static void GetTextRect(CRect *rect, float xstart, float ystart, wchar *s); #ifdef MORE_LANGUAGES |