summaryrefslogtreecommitdiff
path: root/indra/newview/llfolderviewitem.h
diff options
context:
space:
mode:
authorAdam Moss <moss@lindenlab.com>2009-10-04 11:04:19 +0000
committerAdam Moss <moss@lindenlab.com>2009-10-04 11:04:19 +0000
commit8b8dfa2e2b19354345c88515732c75e2576f516b (patch)
treef7f1503ff92f35e5d086843887a483e0b129a412 /indra/newview/llfolderviewitem.h
parentb5936ec0ade255d8229314943faa0f1fd1f82371 (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.h6
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
};