diff options
author | Andrey Kleshchev <andreykproductengine@lindenlab.com> | 2024-05-14 15:11:45 +0300 |
---|---|---|
committer | Andrey Kleshchev <andreykproductengine@lindenlab.com> | 2024-05-15 19:49:23 +0300 |
commit | 1eeecfa1a8bf43a8980217ce34e3b5f4458483e0 (patch) | |
tree | 887bd6a7b729869e11b4cf523c8f500d84a0239e /indra/newview/lloutfitslist.h | |
parent | 7d1597fc98868c73d6de0b95f3c1af4c459a30c8 (diff) |
viewer#1425 Sorting in Appearance floater
Diffstat (limited to 'indra/newview/lloutfitslist.h')
-rw-r--r-- | indra/newview/lloutfitslist.h | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/indra/newview/lloutfitslist.h b/indra/newview/lloutfitslist.h index 9a48f9b99d..a5b4bae034 100644 --- a/indra/newview/lloutfitslist.h +++ b/indra/newview/lloutfitslist.h @@ -62,6 +62,17 @@ public: /*virtual*/ bool compare(const LLAccordionCtrlTab* tab1, const LLAccordionCtrlTab* tab2) const; }; +class LLOutfitTabFavComparator : public LLAccordionCtrl::LLTabComparator +{ + LOG_CLASS(LLOutfitTabFavComparator); + +public: + LLOutfitTabFavComparator() {}; + virtual ~LLOutfitTabFavComparator() {}; + + /*virtual*/ bool compare(const LLAccordionCtrlTab* tab1, const LLAccordionCtrlTab* tab2) const; +}; + class LLOutfitListBase : public LLPanelAppearanceTab { public: @@ -222,6 +233,7 @@ public: private: void onUpdateItemsVisibility(); + bool onEnable(LLSD::String param); LLToggleableMenu* mMenu; LLHandle<LLPanel> mPanelHandle; @@ -287,6 +299,7 @@ public: virtual ~LLOutfitsList(); /*virtual*/ BOOL postBuild(); + void initComparator(); /*virtual*/ void onOpen(const LLSD& info); |