diff options
author | Oz Linden <oz@lindenlab.com> | 2010-10-15 16:38:42 -0400 |
---|---|---|
committer | Oz Linden <oz@lindenlab.com> | 2010-10-15 16:38:42 -0400 |
commit | dd69516213fdf20cbc254214e651c4df26afbff7 (patch) | |
tree | e880c4e88c1ca721dcec028534fc528eda72995c /indra/newview/llpanelme.h | |
parent | 69ae08acc949789daeff2c214eb569082e171fa9 (diff) | |
parent | 068e3cc469793c75b0d54ef0864388582bb3b63c (diff) |
pull fix for STORM-376
Diffstat (limited to 'indra/newview/llpanelme.h')
-rw-r--r-- | indra/newview/llpanelme.h | 11 |
1 files changed, 10 insertions, 1 deletions
diff --git a/indra/newview/llpanelme.h b/indra/newview/llpanelme.h index 984ba1e9a2..d5b2fee869 100644 --- a/indra/newview/llpanelme.h +++ b/indra/newview/llpanelme.h @@ -28,8 +28,9 @@ #define LL_LLPANELMEPROFILE_H #include "llpanel.h" -#include "llpanelavatar.h" +#include "llpanelprofile.h" +class LLAvatarName; class LLPanelMyProfileEdit; class LLPanelProfile; class LLIconCtrl; @@ -77,17 +78,23 @@ public: /*virtual*/BOOL postBuild(); /*virtual*/ void onOpen(const LLSD& key); + /*virtual*/ void onClose(const LLSD& key); + + void onAvatarNameChanged(); protected: /*virtual*/void resetData(); void processProfileProperties(const LLAvatarData* avatar_data); + void onNameCache(const LLUUID& agent_id, const LLAvatarName& av_name); private: void initTexturePickerMouseEvents(); void onTexturePickerMouseEnter(LLUICtrl* ctrl); void onTexturePickerMouseLeave(LLUICtrl* ctrl); + void onClickSetName(); + void onAvatarNameCache(const LLUUID& id, const LLAvatarName& av_name); /** * Enabled/disables controls to prevent overwriting edited data upon receiving @@ -95,6 +102,8 @@ private: */ void enableEditing(bool enable); + + private: // map TexturePicker name => Edit Icon pointer should be visible while hovering Texture Picker typedef std::map<std::string, LLIconCtrl*> texture_edit_icon_map_t; |