diff options
Diffstat (limited to 'linden/indra/newview/llfloateravatarpicker.h')
-rw-r--r-- | linden/indra/newview/llfloateravatarpicker.h | 44 |
1 files changed, 18 insertions, 26 deletions
diff --git a/linden/indra/newview/llfloateravatarpicker.h b/linden/indra/newview/llfloateravatarpicker.h index 005eff0..1ab0f7c 100644 --- a/linden/indra/newview/llfloateravatarpicker.h +++ b/linden/indra/newview/llfloateravatarpicker.h | |||
@@ -36,14 +36,6 @@ | |||
36 | 36 | ||
37 | #include <vector> | 37 | #include <vector> |
38 | 38 | ||
39 | class LLUICtrl; | ||
40 | class LLTextBox; | ||
41 | class LLLineEditor; | ||
42 | class LLButton; | ||
43 | class LLScrollListCtrl; | ||
44 | class LLMessageSystem; | ||
45 | class LLInventoryPanel; | ||
46 | class LLFolderViewItem; | ||
47 | 39 | ||
48 | class LLFloaterAvatarPicker : public LLFloater | 40 | class LLFloaterAvatarPicker : public LLFloater |
49 | { | 41 | { |
@@ -57,47 +49,47 @@ public: | |||
57 | BOOL closeOnSelect = FALSE); | 49 | BOOL closeOnSelect = FALSE); |
58 | virtual BOOL postBuild(); | 50 | virtual BOOL postBuild(); |
59 | 51 | ||
60 | static void processAvatarPickerReply(LLMessageSystem* msg, void**); | 52 | static void processAvatarPickerReply(class LLMessageSystem* msg, void**); |
61 | static void editKeystroke(LLLineEditor* caller, void* user_data); | ||
62 | 53 | ||
63 | protected: | 54 | private: |
64 | static void* createInventoryPanel(void* userdata); | 55 | |
56 | static void editKeystroke(class LLLineEditor* caller, void* user_data); | ||
65 | 57 | ||
66 | static void onBtnFind(void* userdata); | 58 | static void onBtnFind(void* userdata); |
67 | static void onBtnAdd(void* userdata); | 59 | static void onBtnSelect(void* userdata); |
60 | static void onBtnRefresh(void* userdata); | ||
61 | static void onRangeAdjust(LLUICtrl* source, void* data); | ||
68 | static void onBtnClose(void* userdata); | 62 | static void onBtnClose(void* userdata); |
69 | static void onList(LLUICtrl* ctrl, void* userdata); | 63 | static void onList(class LLUICtrl* ctrl, void* userdata); |
64 | static void onTabChanged(void* userdata, bool from_click); | ||
70 | 65 | ||
71 | void doSelectionChange(const std::deque<LLFolderViewItem*> &items, BOOL user_action, void* data); | 66 | void doCallingCardSelectionChange(const std::deque<class LLFolderViewItem*> &items, BOOL user_action, void* data); |
72 | static void onSelectionChange(const std::deque<LLFolderViewItem*> &items, BOOL user_action, void* data); | 67 | static void onCallingCardSelectionChange(const std::deque<class LLFolderViewItem*> &items, BOOL user_action, void* data); |
68 | |||
69 | void populateNearMe(); | ||
70 | BOOL visibleItemsSelected() const; // Returns true if any items in the current tab are selected. | ||
73 | 71 | ||
74 | void find(); | 72 | void find(); |
75 | void setAllowMultiple(BOOL allow_multiple); | 73 | void setAllowMultiple(BOOL allow_multiple); |
76 | 74 | ||
75 | virtual void draw(); | ||
77 | virtual BOOL handleKeyHere(KEY key, MASK mask); | 76 | virtual BOOL handleKeyHere(KEY key, MASK mask); |
78 | 77 | ||
79 | protected: | 78 | std::vector<LLUUID> mSelectedInventoryAvatarIDs; |
80 | LLScrollListCtrl* mListNames; | 79 | std::vector<std::string> mSelectedInventoryAvatarNames; |
81 | LLInventoryPanel* mInventoryPanel; | ||
82 | |||
83 | std::vector<LLUUID> mAvatarIDs; | ||
84 | std::vector<std::string> mAvatarNames; | ||
85 | BOOL mAllowMultiple; | ||
86 | LLUUID mQueryID; | 80 | LLUUID mQueryID; |
87 | BOOL mResultsReturned; | 81 | BOOL mResultsReturned; |
82 | BOOL mNearMeListComplete; | ||
88 | BOOL mCloseOnSelect; | 83 | BOOL mCloseOnSelect; |
89 | 84 | ||
90 | void (*mCallback)(const std::vector<std::string>& name, const std::vector<LLUUID>& id, void* userdata); | 85 | void (*mCallback)(const std::vector<std::string>& name, const std::vector<LLUUID>& id, void* userdata); |
91 | void* mCallbackUserdata; | 86 | void* mCallbackUserdata; |
92 | 87 | ||
93 | protected: | ||
94 | static LLFloaterAvatarPicker* sInstance; | 88 | static LLFloaterAvatarPicker* sInstance; |
95 | 89 | ||
96 | protected: | ||
97 | // do not call these directly | 90 | // do not call these directly |
98 | LLFloaterAvatarPicker(); | 91 | LLFloaterAvatarPicker(); |
99 | virtual ~LLFloaterAvatarPicker(); | 92 | virtual ~LLFloaterAvatarPicker(); |
100 | }; | 93 | }; |
101 | 94 | ||
102 | |||
103 | #endif | 95 | #endif |