aboutsummaryrefslogtreecommitdiffstatshomepage
diff options
context:
space:
mode:
authorJacek Antonelli2008-12-09 20:50:25 -0600
committerJacek Antonelli2008-12-09 20:50:25 -0600
commit781ea91481e483c14b0d7a2846983c45484f4446 (patch)
tree7da4c3dd6f9ca862c69b6fa55c758aed19114190
parentUpdated Inventory window filter text generation. (diff)
downloadmeta-impy-781ea91481e483c14b0d7a2846983c45484f4446.zip
meta-impy-781ea91481e483c14b0d7a2846983c45484f4446.tar.gz
meta-impy-781ea91481e483c14b0d7a2846983c45484f4446.tar.bz2
meta-impy-781ea91481e483c14b0d7a2846983c45484f4446.tar.xz
Refactored; added LLInventoryFilter::rebuildFilterText().
Diffstat (limited to '')
-rw-r--r--ChangeLog.txt6
-rw-r--r--linden/indra/newview/llfolderview.cpp5
-rw-r--r--linden/indra/newview/llfolderview.h1
3 files changed, 12 insertions, 0 deletions
diff --git a/ChangeLog.txt b/ChangeLog.txt
index 0ed5318..514d3af 100644
--- a/ChangeLog.txt
+++ b/ChangeLog.txt
@@ -1,6 +1,12 @@
12008-12-09 Jacek Antonelli <jacek.antonelli@gmail.com> 12008-12-09 Jacek Antonelli <jacek.antonelli@gmail.com>
2 2
3 * linden/indra/newview/llfolderview.cpp: 3 * linden/indra/newview/llfolderview.cpp:
4 Refactored; added LLInventoryFilter::rebuildFilterText().
5 * linden/indra/newview/llfolderview.h:
6 Ditto.
7
8
9 * linden/indra/newview/llfolderview.cpp:
4 Updated Inventory window filter text generation. 10 Updated Inventory window filter text generation.
5 It was putting the wrong types in the title when 11 It was putting the wrong types in the title when
6 filtering. [#25] 12 filtering. [#25]
diff --git a/linden/indra/newview/llfolderview.cpp b/linden/indra/newview/llfolderview.cpp
index 2c5be34..58d0c42 100644
--- a/linden/indra/newview/llfolderview.cpp
+++ b/linden/indra/newview/llfolderview.cpp
@@ -4812,6 +4812,11 @@ std::string LLInventoryFilter::getFilterText()
4812 return mFilterText; 4812 return mFilterText;
4813 } 4813 }
4814 4814
4815 return rebuildFilterText();
4816}
4817
4818std::string LLInventoryFilter::rebuildFilterText()
4819{
4815 mNeedTextRebuild = FALSE; 4820 mNeedTextRebuild = FALSE;
4816 std::string filtered_types; 4821 std::string filtered_types;
4817 std::string not_filtered_types; 4822 std::string not_filtered_types;
diff --git a/linden/indra/newview/llfolderview.h b/linden/indra/newview/llfolderview.h
index 9134e0e..af3248d 100644
--- a/linden/indra/newview/llfolderview.h
+++ b/linden/indra/newview/llfolderview.h
@@ -222,6 +222,7 @@ public:
222 void clearModified() { mModified = FALSE; mFilterBehavior = FILTER_NONE; } 222 void clearModified() { mModified = FALSE; mFilterBehavior = FILTER_NONE; }
223 const std::string getName() const { return mName; } 223 const std::string getName() const { return mName; }
224 std::string getFilterText(); 224 std::string getFilterText();
225 std::string rebuildFilterText();
225 226
226 void setFilterCount(S32 count) { mFilterCount = count; } 227 void setFilterCount(S32 count) { mFilterCount = count; }
227 S32 getFilterCount() { return mFilterCount; } 228 S32 getFilterCount() { return mFilterCount; }