summaryrefslogtreecommitdiff
path: root/indra/newview/llpanelteleporthistory.h
diff options
context:
space:
mode:
Diffstat (limited to 'indra/newview/llpanelteleporthistory.h')
-rw-r--r--indra/newview/llpanelteleporthistory.h17
1 files changed, 5 insertions, 12 deletions
diff --git a/indra/newview/llpanelteleporthistory.h b/indra/newview/llpanelteleporthistory.h
index a1c15d087b..66187e69c6 100644
--- a/indra/newview/llpanelteleporthistory.h
+++ b/indra/newview/llpanelteleporthistory.h
@@ -34,7 +34,6 @@
#define LL_LLPANELTELEPORTHISTORY_H
#include "lluictrlfactory.h"
-#include "llscrolllistctrl.h"
#include "llpanelplacestab.h"
#include "llteleporthistory.h"
@@ -42,6 +41,7 @@
class LLTeleportHistoryStorage;
class LLAccordionCtrl;
class LLAccordionCtrlTab;
+class LLFlatListView;
class LLTeleportHistoryPanel : public LLPanelPlacesTab
{
@@ -60,19 +60,12 @@ private:
static void onDoubleClickItem(void* user_data);
void showTeleportHistory();
- void handleItemSelect(LLScrollListCtrl* );
- LLScrollListCtrl* getScrollListFromTab(LLAccordionCtrlTab *);
-
- enum TELEPORT_HISTORY_COLUMN_ORDER
- {
- LIST_ICON,
- LIST_ITEM_TITLE,
- LIST_INDEX
- };
+ void handleItemSelect(LLFlatListView* );
+ LLFlatListView* getFlatListViewFromTab(LLAccordionCtrlTab *);
LLTeleportHistoryStorage* mTeleportHistory;
- LLAccordionCtrl* mHistoryAccordeon;
- LLScrollListCtrl* mLastSelectedScrollList;
+ LLAccordionCtrl* mHistoryAccordion;
+ LLFlatListView* mLastSelectedScrollList;
std::string mFilterSubString;
typedef LLDynamicArray<LLAccordionCtrlTab*> item_containers_t;