diff options
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 }; |