diff options
author | Adam Moss <moss@lindenlab.com> | 2009-10-04 11:04:19 +0000 |
---|---|---|
committer | Adam Moss <moss@lindenlab.com> | 2009-10-04 11:04:19 +0000 |
commit | 8b8dfa2e2b19354345c88515732c75e2576f516b (patch) | |
tree | f7f1503ff92f35e5d086843887a483e0b129a412 /indra/newview/llfolderviewitem.h | |
parent | b5936ec0ade255d8229314943faa0f1fd1f82371 (diff) |
EXT-1224 Inventory list uses ugly fake-italics
Reviewed by Richard.
Diffstat (limited to 'indra/newview/llfolderviewitem.h')
-rw-r--r-- | indra/newview/llfolderviewitem.h | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/indra/newview/llfolderviewitem.h b/indra/newview/llfolderviewitem.h index 32134670c8..e9aab560c8 100644 --- a/indra/newview/llfolderviewitem.h +++ b/indra/newview/llfolderviewitem.h @@ -125,7 +125,6 @@ protected: LLFolderViewItem(Params p = LLFolderViewItem::Params()); - static const LLFontGL* sFont; static const LLFontGL* sSmallFont; static LLUIImagePtr sArrowImage; static LLUIImagePtr sBoxImage; @@ -169,6 +168,8 @@ protected: virtual BOOL addItem(LLFolderViewItem*) { return FALSE; } virtual BOOL addFolder(LLFolderViewFolder*) { return FALSE; } + static LLFontGL* getLabelFontForStyle(U8 style); + public: // This function clears the currently selected item, and records // the specified selected item appropriately for display and use @@ -322,6 +323,9 @@ public: void* cargo_data, EAcceptance* accept, std::string& tooltip_msg); + + private: + static std::map<U8, LLFontGL*> sFonts; // map of styles to fonts }; |