diff options
author | Jacek Antonelli | 2008-09-06 18:24:57 -0500 |
---|---|---|
committer | Jacek Antonelli | 2008-09-06 18:25:07 -0500 |
commit | 798d367d54a6c6379ad355bd8345fa40e31e7fe9 (patch) | |
tree | 1921f1708cd0240648c97bc02df2c2ab5f2fc41e /linden/indra/newview/llnamelistctrl.h | |
parent | Second Life viewer sources 1.20.15 (diff) | |
download | meta-impy-798d367d54a6c6379ad355bd8345fa40e31e7fe9.zip meta-impy-798d367d54a6c6379ad355bd8345fa40e31e7fe9.tar.gz meta-impy-798d367d54a6c6379ad355bd8345fa40e31e7fe9.tar.bz2 meta-impy-798d367d54a6c6379ad355bd8345fa40e31e7fe9.tar.xz |
Second Life viewer sources 1.21.0-RC
Diffstat (limited to 'linden/indra/newview/llnamelistctrl.h')
-rw-r--r-- | linden/indra/newview/llnamelistctrl.h | 15 |
1 files changed, 7 insertions, 8 deletions
diff --git a/linden/indra/newview/llnamelistctrl.h b/linden/indra/newview/llnamelistctrl.h index 3aa4dfc..c4bf12b 100644 --- a/linden/indra/newview/llnamelistctrl.h +++ b/linden/indra/newview/llnamelistctrl.h | |||
@@ -41,14 +41,14 @@ class LLNameListCtrl | |||
41 | : public LLScrollListCtrl | 41 | : public LLScrollListCtrl |
42 | { | 42 | { |
43 | public: | 43 | public: |
44 | LLNameListCtrl(const LLString& name, | 44 | LLNameListCtrl(const std::string& name, |
45 | const LLRect& rect, | 45 | const LLRect& rect, |
46 | LLUICtrlCallback callback, | 46 | LLUICtrlCallback callback, |
47 | void* userdata, | 47 | void* userdata, |
48 | BOOL allow_multiple_selection, | 48 | BOOL allow_multiple_selection, |
49 | BOOL draw_border = TRUE, | 49 | BOOL draw_border = TRUE, |
50 | S32 name_column_index = 0, | 50 | S32 name_column_index = 0, |
51 | const LLString& tooltip = LLString::null); | 51 | const std::string& tooltip = LLStringUtil::null); |
52 | virtual ~LLNameListCtrl(); | 52 | virtual ~LLNameListCtrl(); |
53 | 53 | ||
54 | virtual LLXMLNodePtr getXML(bool save_children = true) const; | 54 | virtual LLXMLNodePtr getXML(bool save_children = true) const; |
@@ -57,7 +57,7 @@ public: | |||
57 | // Add a user to the list by name. It will be added, the name | 57 | // Add a user to the list by name. It will be added, the name |
58 | // requested from the cache, and updated as necessary. | 58 | // requested from the cache, and updated as necessary. |
59 | BOOL addNameItem(const LLUUID& agent_id, EAddPosition pos = ADD_BOTTOM, | 59 | BOOL addNameItem(const LLUUID& agent_id, EAddPosition pos = ADD_BOTTOM, |
60 | BOOL enabled = TRUE, LLString& suffix = LLString::null); | 60 | BOOL enabled = TRUE, std::string& suffix = LLStringUtil::null); |
61 | BOOL addNameItem(LLScrollListItem* item, EAddPosition pos = ADD_BOTTOM); | 61 | BOOL addNameItem(LLScrollListItem* item, EAddPosition pos = ADD_BOTTOM); |
62 | 62 | ||
63 | virtual LLScrollListItem* addElement(const LLSD& value, EAddPosition pos = ADD_BOTTOM, void* userdata = NULL); | 63 | virtual LLScrollListItem* addElement(const LLSD& value, EAddPosition pos = ADD_BOTTOM, void* userdata = NULL); |
@@ -71,16 +71,15 @@ public: | |||
71 | 71 | ||
72 | void removeNameItem(const LLUUID& agent_id); | 72 | void removeNameItem(const LLUUID& agent_id); |
73 | 73 | ||
74 | void refresh(const LLUUID& id, const char* first, const char* last, | 74 | void refresh(const LLUUID& id, const std::string& first, const std::string& last, BOOL is_group); |
75 | BOOL is_group); | ||
76 | 75 | ||
77 | static void refreshAll(const LLUUID& id, const char* firstname, | 76 | static void refreshAll(const LLUUID& id, const std::string& firstname, |
78 | const char* lastname, BOOL is_group); | 77 | const std::string& lastname, BOOL is_group); |
79 | 78 | ||
80 | virtual BOOL handleDragAndDrop(S32 x, S32 y, MASK mask, | 79 | virtual BOOL handleDragAndDrop(S32 x, S32 y, MASK mask, |
81 | BOOL drop, EDragAndDropType cargo_type, void *cargo_data, | 80 | BOOL drop, EDragAndDropType cargo_type, void *cargo_data, |
82 | EAcceptance *accept, | 81 | EAcceptance *accept, |
83 | LLString& tooltip_msg); | 82 | std::string& tooltip_msg); |
84 | 83 | ||
85 | void setAllowCallingCardDrop(BOOL b) { mAllowCallingCardDrop = b; } | 84 | void setAllowCallingCardDrop(BOOL b) { mAllowCallingCardDrop = b; } |
86 | 85 | ||