diff options
author | Jacek Antonelli | 2009-01-20 13:33:29 -0600 |
---|---|---|
committer | Jacek Antonelli | 2009-01-22 16:42:59 -0600 |
commit | 9badcd022d8074fa489b788b9ba5162b6e9291c7 (patch) | |
tree | 58dba8867fdb17ef6c84be3531ced1302aa7b795 /linden/indra/newview/llfolderview.h | |
parent | Missing newline at end of two source files. (diff) | |
download | meta-impy-9badcd022d8074fa489b788b9ba5162b6e9291c7.zip meta-impy-9badcd022d8074fa489b788b9ba5162b6e9291c7.tar.gz meta-impy-9badcd022d8074fa489b788b9ba5162b6e9291c7.tar.bz2 meta-impy-9badcd022d8074fa489b788b9ba5162b6e9291c7.tar.xz |
VWR-508/VWR-2199: Create "Worn Items" tab in Inventory
Patch by Vadim Bigbear.
Diffstat (limited to '')
-rw-r--r-- | linden/indra/newview/llfolderview.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/linden/indra/newview/llfolderview.h b/linden/indra/newview/llfolderview.h index af3248d..b668015 100644 --- a/linden/indra/newview/llfolderview.h +++ b/linden/indra/newview/llfolderview.h | |||
@@ -194,6 +194,9 @@ public: | |||
194 | 194 | ||
195 | void setFilterSubString(const std::string& string); | 195 | void setFilterSubString(const std::string& string); |
196 | const std::string getFilterSubString(BOOL trim = FALSE); | 196 | const std::string getFilterSubString(BOOL trim = FALSE); |
197 | |||
198 | void setFilterWorn(bool worn) { mFilterWorn = worn; } | ||
199 | bool getFilterWorn() const { return mFilterWorn; } | ||
197 | 200 | ||
198 | void setFilterPermissions(PermissionMask perms); | 201 | void setFilterPermissions(PermissionMask perms); |
199 | PermissionMask getFilterPermissions() const { return mFilterOps.mPermissions; } | 202 | PermissionMask getFilterPermissions() const { return mFilterOps.mPermissions; } |
@@ -257,6 +260,7 @@ protected: | |||
257 | filter_ops mDefaultFilterOps; | 260 | filter_ops mDefaultFilterOps; |
258 | std::string::size_type mSubStringMatchOffset; | 261 | std::string::size_type mSubStringMatchOffset; |
259 | std::string mFilterSubString; | 262 | std::string mFilterSubString; |
263 | bool mFilterWorn; | ||
260 | U32 mOrder; | 264 | U32 mOrder; |
261 | const std::string mName; | 265 | const std::string mName; |
262 | S32 mFilterGeneration; | 266 | S32 mFilterGeneration; |
@@ -745,6 +749,7 @@ public: | |||
745 | 749 | ||
746 | LLInventoryFilter* getFilter() { return &mFilter; } | 750 | LLInventoryFilter* getFilter() { return &mFilter; } |
747 | const std::string getFilterSubString(BOOL trim = FALSE); | 751 | const std::string getFilterSubString(BOOL trim = FALSE); |
752 | bool getFilterWorn() const { return mFilter.getFilterWorn(); } | ||
748 | U32 getFilterTypes() const { return mFilter.getFilterTypes(); } | 753 | U32 getFilterTypes() const { return mFilter.getFilterTypes(); } |
749 | PermissionMask getFilterPermissions() const { return mFilter.getFilterPermissions(); } | 754 | PermissionMask getFilterPermissions() const { return mFilter.getFilterPermissions(); } |
750 | LLInventoryFilter::EFolderShow getShowFolderState() { return mFilter.getShowFolderState(); } | 755 | LLInventoryFilter::EFolderShow getShowFolderState() { return mFilter.getShowFolderState(); } |