diff options
Diffstat (limited to 'indra/newview/llfolderviewitem.h')
-rw-r--r-- | indra/newview/llfolderviewitem.h | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/indra/newview/llfolderviewitem.h b/indra/newview/llfolderviewitem.h index eec885fd29..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 @@ -255,7 +256,7 @@ public: // This method returns the actual name of the thing being // viewed. This method will ask the viewed object itself. - const std::string& getName( void ) const; + std::string getName( void ) const; const std::string& getSearchableLabel( void ) const; @@ -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 }; |