diff options
author | richard <none@none> | 2010-01-07 18:38:28 -0800 |
---|---|---|
committer | richard <none@none> | 2010-01-07 18:38:28 -0800 |
commit | 3a0b948bb355ab11f03173f3db06e63504ef0ac8 (patch) | |
tree | 3fae6aead5bfb369069afd00bdc06dcea34422f6 /indra/newview/llinventorybridge.cpp | |
parent | f0c6d8c50ea4ae454d5d24ec61e8ac1efd728341 (diff) | |
parent | c80d04cb0c863aae27efb420daad4718534538c1 (diff) |
merge
Diffstat (limited to 'indra/newview/llinventorybridge.cpp')
-rw-r--r-- | indra/newview/llinventorybridge.cpp | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/indra/newview/llinventorybridge.cpp b/indra/newview/llinventorybridge.cpp index 4c868baa92..2a395d79dc 100644 --- a/indra/newview/llinventorybridge.cpp +++ b/indra/newview/llinventorybridge.cpp @@ -2228,9 +2228,22 @@ LLUIImagePtr LLFolderBridge::getIcon() const LLUIImagePtr LLFolderBridge::getIcon(LLFolderType::EType preferred_type) { // we only have one folder image now + if (preferred_type == LLFolderType::FT_OUTFIT) + { + return LLUI::getUIImage("Inv_LookFolderClosed"); + } return LLUI::getUIImage("Inv_FolderClosed"); } +LLUIImagePtr LLFolderBridge::getOpenIcon() const +{ + if (getPreferredType() == LLFolderType::FT_OUTFIT) + { + return LLUI::getUIImage("Inv_LookFolderOpen"); + } + return LLUI::getUIImage("Inv_FolderOpen"); +} + BOOL LLFolderBridge::renameItem(const std::string& new_name) { if(!isItemRenameable()) |