PageRenderTime 47ms CodeModel.GetById 22ms RepoModel.GetById 0ms 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
Possible License(s): LGPL-2.1
  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. #ifndef LL_LLPANELLOOKSHISTORY_H
  28. #define LL_LLPANELLOOKSHISTORY_H
  29. #include "lluictrlfactory.h"
  30. #include "llscrolllistctrl.h"
  31. #include "llpanelappearancetab.h"
  32. #include "lllookshistory.h"
  33. class LLLooksHistoryPanel : public LLPanelAppearanceTab
  34. {
  35. public:
  36. LLLooksHistoryPanel();
  37. virtual ~LLLooksHistoryPanel();
  38. /*virtual*/ BOOL postBuild();
  39. /*virtual*/ void onSearchEdit(const std::string& string);
  40. /*virtual*/ void onShowOnMap();
  41. /*virtual*/ void onLooks();
  42. ///*virtual*/ void onCopySLURL();
  43. void showLooksHistory();
  44. void handleItemSelect(const LLSD& data);
  45. static void onDoubleClickItem(void* user_data);
  46. private:
  47. enum LOOKS_HISTORY_COLUMN_ORDER
  48. {
  49. LIST_ICON,
  50. LIST_ITEM_TITLE,
  51. LIST_INDEX
  52. };
  53. LLLooksHistory* mLooksHistory;
  54. LLScrollListCtrl* mHistoryItems;
  55. std::string mFilterSubString;
  56. };
  57. #endif //LL_LLPANELLOOKSHISTORY_H