Pulled apart LLInventoryPanel and LLInventoryView. TODO: LLInventoryView needs to be chopped apart into a floater (LLFloaterInventory) and a panel (LLPanelMainInventory).

This commit is contained in:
Shyotl
2012-01-29 17:10:04 -06:00
parent 9453c2c2e9
commit a0c549534f
46 changed files with 1514 additions and 1332 deletions

View File

@@ -34,7 +34,7 @@
#include <utility> // for std::pair<>
#include "llinventoryview.h"
#include "llinventorypanel.h"
#include "llpanelinventory.h"
#include "llinventorybridge.h"
@@ -56,6 +56,7 @@
#include "llfloateravatarinfo.h"
#include "llfloaterchat.h"
#include "llfloatercustomize.h"
#include "llfloaterinventory.h"
#include "llfloaterproperties.h"
#include "llfocusmgr.h"
#include "llfolderview.h"
@@ -257,14 +258,7 @@ class LLResetFilter : public inventory_listener_t
{
bool handleEvent(LLPointer<LLEvent> event, const LLSD& userdata)
{
LLInventoryViewFinder *finder = mPtr->getFinder();
mPtr->getActivePanel()->getFilter()->resetDefault();
if (finder)
{
finder->updateElementsFromFilter();
}
mPtr->setFilterTextFromFilter();
mPtr->resetFilters();
return true;
}
};