summaryrefslogtreecommitdiff
path: root/indra/newview/llsearchableui.h
diff options
context:
space:
mode:
authorNat Goodspeed <nat@lindenlab.com>2024-05-16 10:32:03 -0400
committerNat Goodspeed <nat@lindenlab.com>2024-05-16 10:32:03 -0400
commite19cf9aedd0ed775022ce9704127e7958796494a (patch)
tree2a4a590cb1206bee59ab7eb9ccec067ca2fbdd39 /indra/newview/llsearchableui.h
parent0eaca22969fb14402a898325a64276e1c11dff0c (diff)
parentb31789c146aab2e1fe0040f9c3c4cf42526e9c4b (diff)
Merge branch 'release/maint-b' into nat/maint-b-tests
Diffstat (limited to 'indra/newview/llsearchableui.h')
-rw-r--r--indra/newview/llsearchableui.h164
1 files changed, 82 insertions, 82 deletions
diff --git a/indra/newview/llsearchableui.h b/indra/newview/llsearchableui.h
index 84fcefb835..de9f2c2efe 100644
--- a/indra/newview/llsearchableui.h
+++ b/indra/newview/llsearchableui.h
@@ -35,88 +35,88 @@ class LLTabContainer;
namespace ll
{
- namespace prefs
- {
- struct SearchableItem;
- struct PanelData;
- struct TabContainerData;
-
- typedef std::shared_ptr< SearchableItem > SearchableItemPtr;
- typedef std::shared_ptr< PanelData > PanelDataPtr;
- typedef std::shared_ptr< TabContainerData > TabContainerDataPtr;
-
- typedef std::vector< TabContainerData > tTabContainerDataList;
- typedef std::vector< SearchableItemPtr > tSearchableItemList;
- typedef std::vector< PanelDataPtr > tPanelDataList;
-
- struct SearchableItem
- {
- LLWString mLabel;
- LLView const *mView;
- ll::ui::SearchableControl const *mCtrl;
-
- std::vector< std::shared_ptr< SearchableItem > > mChildren;
-
- virtual ~SearchableItem();
-
- void setNotHighlighted();
- virtual bool hightlightAndHide( LLWString const &aFilter );
- };
-
- struct PanelData
- {
- LLPanel const *mPanel;
- std::string mLabel;
-
- std::vector< std::shared_ptr< SearchableItem > > mChildren;
- std::vector< std::shared_ptr< PanelData > > mChildPanel;
-
- virtual ~PanelData();
-
- void setNotHighlighted();
- virtual bool hightlightAndHide( LLWString const &aFilter );
- };
-
- struct TabContainerData: public PanelData
- {
- LLTabContainer *mTabContainer;
- virtual bool hightlightAndHide( LLWString const &aFilter );
- };
-
- struct SearchData
- {
- TabContainerDataPtr mRootTab;
- LLWString mLastFilter;
- };
- }
- namespace statusbar
- {
- struct SearchableItem;
-
- typedef std::shared_ptr< SearchableItem > SearchableItemPtr;
-
- typedef std::vector< SearchableItemPtr > tSearchableItemList;
-
- struct SearchableItem
- {
- LLWString mLabel;
- LLMenuItemGL *mMenu;
- tSearchableItemList mChildren;
- ll::ui::SearchableControl const *mCtrl;
- bool mWasHiddenBySearch;
-
- SearchableItem();
-
- void setNotHighlighted( );
- bool hightlightAndHide( LLWString const &aFilter, bool hide = true );
- };
-
- struct SearchData
- {
- SearchableItemPtr mRootMenu;
- LLWString mLastFilter;
- };
- }
+ namespace prefs
+ {
+ struct SearchableItem;
+ struct PanelData;
+ struct TabContainerData;
+
+ typedef std::shared_ptr< SearchableItem > SearchableItemPtr;
+ typedef std::shared_ptr< PanelData > PanelDataPtr;
+ typedef std::shared_ptr< TabContainerData > TabContainerDataPtr;
+
+ typedef std::vector< TabContainerData > tTabContainerDataList;
+ typedef std::vector< SearchableItemPtr > tSearchableItemList;
+ typedef std::vector< PanelDataPtr > tPanelDataList;
+
+ struct SearchableItem
+ {
+ LLWString mLabel;
+ LLView const *mView;
+ ll::ui::SearchableControl const *mCtrl;
+
+ std::vector< std::shared_ptr< SearchableItem > > mChildren;
+
+ virtual ~SearchableItem();
+
+ void setNotHighlighted();
+ virtual bool hightlightAndHide( LLWString const &aFilter );
+ };
+
+ struct PanelData
+ {
+ LLPanel const *mPanel;
+ std::string mLabel;
+
+ std::vector< std::shared_ptr< SearchableItem > > mChildren;
+ std::vector< std::shared_ptr< PanelData > > mChildPanel;
+
+ virtual ~PanelData();
+
+ void setNotHighlighted();
+ virtual bool hightlightAndHide( LLWString const &aFilter );
+ };
+
+ struct TabContainerData: public PanelData
+ {
+ LLTabContainer *mTabContainer;
+ virtual bool hightlightAndHide( LLWString const &aFilter );
+ };
+
+ struct SearchData
+ {
+ TabContainerDataPtr mRootTab;
+ LLWString mLastFilter;
+ };
+ }
+ namespace statusbar
+ {
+ struct SearchableItem;
+
+ typedef std::shared_ptr< SearchableItem > SearchableItemPtr;
+
+ typedef std::vector< SearchableItemPtr > tSearchableItemList;
+
+ struct SearchableItem
+ {
+ LLWString mLabel;
+ LLMenuItemGL *mMenu;
+ tSearchableItemList mChildren;
+ ll::ui::SearchableControl const *mCtrl;
+ bool mWasHiddenBySearch;
+
+ SearchableItem();
+
+ void setNotHighlighted( );
+ bool hightlightAndHide( LLWString const &aFilter, bool hide = true );
+ };
+
+ struct SearchData
+ {
+ SearchableItemPtr mRootMenu;
+ LLWString mLastFilter;
+ };
+ }
}
#endif