Mute list, now with 100% more text-appearing-ness, and 20% new shinies (mute-type icons, multi-select unmute, and displayname support).

This commit is contained in:
Shyotl
2012-12-14 16:24:51 -06:00
parent 7a2f572eaa
commit 2b582b169b
7 changed files with 104 additions and 25 deletions

View File

@@ -42,7 +42,8 @@ class LLButton;
class LLLineEditor;
class LLMessageSystem;
class LLUUID;
class LLScrollListCtrl;
class LLNameListCtrl;
class LLMute;
class LLFloaterMute
: public LLFloater, public LLMuteListObserver, public LLFloaterSingleton<LLFloaterMute>
@@ -74,7 +75,14 @@ private:
static void callbackMuteByName(const std::string& text, void*);
private:
LLScrollListCtrl* mMuteList;
LLNameListCtrl* mMuteList;
LLPointer<LLUIImage> mAvatarIcon; //icon_avatar_offline.tga
LLPointer<LLUIImage> mObjectIcon; //inv_item_object.tga
LLPointer<LLUIImage> mGroupIcon; //icon_group.tga
LLPointer<LLUIImage> mNameIcon; //icon_name.tga
std::map<LLUUID, LLMute> mMuteDict; //Easiest way to associate listitems with LLMute instances without hacking in, say, a hidden column.
};