summaryrefslogtreecommitdiff
path: root/indra/newview/llfolderviewitem.h
diff options
context:
space:
mode:
authorLoren Shih <seraph@lindenlab.com>2009-12-21 12:56:52 -0500
committerLoren Shih <seraph@lindenlab.com>2009-12-21 12:56:52 -0500
commit5aaaa4e9473615c06fde9e19f34d309aa7b9fb0f (patch)
tree4deec6d1a1c84db5cfbbbf9c6a6dc4ad9b2df61b /indra/newview/llfolderviewitem.h
parent83d29715544355e7c6e808e36385803fe23b35c9 (diff)
EXT-3567 : Folders hsould show as "Loading..." when contents are being fetched
Name change "DontShowInHierarchy"->"Hidden".
Diffstat (limited to 'indra/newview/llfolderviewitem.h')
-rw-r--r--indra/newview/llfolderviewitem.h9
1 files changed, 6 insertions, 3 deletions
diff --git a/indra/newview/llfolderviewitem.h b/indra/newview/llfolderviewitem.h
index a43096dcb2..21e24c2a4d 100644
--- a/indra/newview/llfolderviewitem.h
+++ b/indra/newview/llfolderviewitem.h
@@ -162,7 +162,7 @@ protected:
LLUIImagePtr mBoxImage;
BOOL mIsLoading;
LLTimer mTimeSinceRequestStart;
- bool mDontShowInHierarchy;
+ bool mHidden;
bool mShowLoadStatus;
// helper function to change the selection from the root.
@@ -206,8 +206,11 @@ public:
// makes sure that this view and it's children are the right size.
virtual S32 arrange( S32* width, S32* height, S32 filter_generation );
virtual S32 getItemHeight();
- void setDontShowInHierarchy(bool dont_show) { mDontShowInHierarchy = dont_show; }
- bool getDontShowInHierarchy() const { return mDontShowInHierarchy; }
+
+ // Hide the folder from the UI, such as if you want to hide the root
+ // folder in an inventory panel.
+ void setHidden(bool hidden) { mHidden = hidden; }
+ bool getHidden() const { return mHidden; }
// applies filters to control visibility of inventory items
virtual void filter( LLInventoryFilter& filter);