PageRenderTime 18ms CodeModel.GetById 13ms app.highlight 2ms RepoModel.GetById 1ms app.codeStats 0ms

/indra/newview/lllookshistorypanel.h

https://bitbucket.org/lindenlab/viewer-beta/
C++ Header | 67 lines | 30 code | 10 blank | 27 comment | 0 complexity | 35d8741c727175e517238889abe87021 MD5 | raw file
 1/** 
 2 * @file llpanelteleporthistory.h
 3 * @brief Teleport history represented by a scrolling list
 4 * class definition
 5 *
 6 * $LicenseInfo:firstyear=2009&license=viewerlgpl$
 7 * Second Life Viewer Source Code
 8 * Copyright (C) 2010, Linden Research, Inc.
 9 * 
10 * This library is free software; you can redistribute it and/or
11 * modify it under the terms of the GNU Lesser General Public
12 * License as published by the Free Software Foundation;
13 * version 2.1 of the License only.
14 * 
15 * This library is distributed in the hope that it will be useful,
16 * but WITHOUT ANY WARRANTY; without even the implied warranty of
17 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
18 * Lesser General Public License for more details.
19 * 
20 * You should have received a copy of the GNU Lesser General Public
21 * License along with this library; if not, write to the Free Software
22 * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA  02110-1301  USA
23 * 
24 * Linden Research, Inc., 945 Battery Street, San Francisco, CA  94111  USA
25 * $/LicenseInfo$
26 */
27
28#ifndef LL_LLPANELLOOKSHISTORY_H
29#define LL_LLPANELLOOKSHISTORY_H
30
31#include "lluictrlfactory.h"
32#include "llscrolllistctrl.h"
33
34#include "llpanelappearancetab.h"
35#include "lllookshistory.h"
36
37class LLLooksHistoryPanel : public LLPanelAppearanceTab
38{
39public:
40	LLLooksHistoryPanel();
41	virtual ~LLLooksHistoryPanel();
42
43	/*virtual*/ BOOL postBuild();
44	/*virtual*/ void onSearchEdit(const std::string& string);
45	/*virtual*/ void onShowOnMap();
46	/*virtual*/ void onLooks();
47	///*virtual*/ void onCopySLURL();
48
49	void showLooksHistory();
50	void handleItemSelect(const LLSD& data);
51
52	static void onDoubleClickItem(void* user_data);
53
54private:
55	enum LOOKS_HISTORY_COLUMN_ORDER
56	{
57		LIST_ICON,
58		LIST_ITEM_TITLE,
59		LIST_INDEX
60	};
61
62	LLLooksHistory*		mLooksHistory;
63	LLScrollListCtrl*		mHistoryItems;
64	std::string				mFilterSubString;
65};
66
67#endif //LL_LLPANELLOOKSHISTORY_H