diff options
author | Maxim Nikolenko <maximnproductengine@lindenlab.com> | 2023-03-31 13:40:59 +0300 |
---|---|---|
committer | Maxim Nikolenko <maximnproductengine@lindenlab.com> | 2023-03-31 13:40:59 +0300 |
commit | 81d69cf84decb84bb7d65057063a19cb6c9fa6f5 (patch) | |
tree | 6e2468c87c7c7ba40dcde873b7c9d1ea3e98bcfc /indra/llrender/llfontgl.cpp | |
parent | a77cdfdbba1eb557f204721c2cf8f875e1c34bc1 (diff) |
SL-19379 WIP add worn suffix, use bold font style for worn items and italic for links
Diffstat (limited to 'indra/llrender/llfontgl.cpp')
-rw-r--r-- | indra/llrender/llfontgl.cpp | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/indra/llrender/llfontgl.cpp b/indra/llrender/llfontgl.cpp index 1bf061bc8d..022c307de7 100644 --- a/indra/llrender/llfontgl.cpp +++ b/indra/llrender/llfontgl.cpp @@ -1018,6 +1018,20 @@ LLFontGL* LLFontGL::getFontSansSerifSmall() } //static +LLFontGL* LLFontGL::getFontSansSerifSmallBold() +{ + static LLFontGL* fontp = getFont(LLFontDescriptor("SansSerif","Small",BOLD)); + return fontp; +} + +//static +LLFontGL* LLFontGL::getFontSansSerifSmallItalic() +{ + static LLFontGL* fontp = getFont(LLFontDescriptor("SansSerif","Small",ITALIC)); + return fontp; +} + +//static LLFontGL* LLFontGL::getFontSansSerif() { static LLFontGL* fontp = getFont(LLFontDescriptor("SansSerif","Medium",0)); |