aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/linden/indra/newview/jcfloaterareasearch.h
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--linden/indra/newview/jcfloaterareasearch.h17
1 files changed, 17 insertions, 0 deletions
diff --git a/linden/indra/newview/jcfloaterareasearch.h b/linden/indra/newview/jcfloaterareasearch.h
index 1512030..5bceb59 100644
--- a/linden/indra/newview/jcfloaterareasearch.h
+++ b/linden/indra/newview/jcfloaterareasearch.h
@@ -35,9 +35,11 @@
35#include "lluuid.h" 35#include "lluuid.h"
36#include "llstring.h" 36#include "llstring.h"
37#include "llframetimer.h" 37#include "llframetimer.h"
38#include "llmemberlistener.h"
38 39
39class LLTextBox; 40class LLTextBox;
40class LLScrollListCtrl; 41class LLScrollListCtrl;
42class LLScrollListItem;
41class LLViewerRegion; 43class LLViewerRegion;
42 44
43struct AObjectDetails 45struct AObjectDetails
@@ -71,6 +73,7 @@ private:
71 static void onCommitLine(LLLineEditor* line, void* user_data); 73 static void onCommitLine(LLLineEditor* line, void* user_data);
72 static void requestIfNeeded(LLViewerObject *objectp); 74 static void requestIfNeeded(LLViewerObject *objectp);
73 static void onDoubleClick(void *userdata); 75 static void onDoubleClick(void *userdata);
76 static void onRightMouseDown(S32 x, S32 y, void *userdata);
74 77
75 enum OBJECT_COLUMN_ORDER 78 enum OBJECT_COLUMN_ORDER
76 { 79 {
@@ -86,6 +89,7 @@ private:
86 89
87 LLTextBox* mCounterText; 90 LLTextBox* mCounterText;
88 LLScrollListCtrl* mResultList; 91 LLScrollListCtrl* mResultList;
92 LLScrollListItem* mSelectedItem;
89 LLFrameTimer mLastUpdateTimer; 93 LLFrameTimer mLastUpdateTimer;
90 94
91 static std::map<LLUUID, AObjectDetails> sObjectDetails; 95 static std::map<LLUUID, AObjectDetails> sObjectDetails;
@@ -96,4 +100,17 @@ private:
96 static std::string sSearchedGroup; 100 static std::string sSearchedGroup;
97 101
98 static LLViewerRegion* sLastRegion; 102 static LLViewerRegion* sLastRegion;
103
104 LLHandle<LLView> mPopupMenuHandle;
105
106 class PopupMenuHandler : public LLMemberListener<JCFloaterAreaSearch>
107 {
108 public: PopupMenuHandler(const JCFloaterAreaSearch* instance);
109
110 /*virtual*/ bool handleEvent(LLPointer<LLEvent> event, const LLSD& userdata);
111
112 const JCFloaterAreaSearch* mInstance;
113 };
114
115 class PopupMenuHandler* mPopupMenuHandler;
99}; 116};