diff options
author | Andrey Kleshchev <andreykproductengine@lindenlab.com> | 2022-04-09 00:57:19 +0300 |
---|---|---|
committer | Andrey Kleshchev <andreykproductengine@lindenlab.com> | 2022-04-09 00:57:19 +0300 |
commit | 285e36b57ea895f660f06095652b8cf03b7cbc09 (patch) | |
tree | 2c591fd818882a3c2a6d454ebf6801c698f25866 /indra/newview/llpanelprofile.h | |
parent | 2f776a38af873163d6b5d5e030ce4b57a3e10e93 (diff) |
SL-15312 Legacy profiles remake #3
Diffstat (limited to 'indra/newview/llpanelprofile.h')
-rw-r--r-- | indra/newview/llpanelprofile.h | 15 |
1 files changed, 9 insertions, 6 deletions
diff --git a/indra/newview/llpanelprofile.h b/indra/newview/llpanelprofile.h index f695167a89..fb38a361cb 100644 --- a/indra/newview/llpanelprofile.h +++ b/indra/newview/llpanelprofile.h @@ -45,6 +45,7 @@ // class LLPanelProfileNotes; class LLAvatarName; +class LLButton; class LLCheckBoxCtrl; class LLIconCtrl; class LLTabContainer; @@ -103,8 +104,8 @@ public: void onAvatarNameCache(const LLUUID& agent_id, const LLAvatarName& av_name); - void setUploadProfileImagePath(const std::string &path, const std::string &orig_path); - void clearUploadProfileImagePath(); + void setProfileImageUploading(bool loading); + void setProfileImageUploaded(const LLUUID &image_asset_id); friend void request_avatar_properties_coro(std::string cap_url, LLUUID agent_id); @@ -162,13 +163,14 @@ protected: private: /*virtual*/ void updateButtons(); - void onClickSetName(); - void onPickTexture(); void onCommitMenu(const LLSD& userdata); bool onEnableMenu(const LLSD& userdata); bool onCheckMenu(const LLSD& userdata); void onAvatarNameCacheSetName(const LLUUID& id, const LLAvatarName& av_name); + void onSaveDescriptionChanges(); + void onDiscardDescriptionChanges(); + private: typedef std::map<std::string, LLUUID> group_map_t; group_map_t mGroups; @@ -179,11 +181,12 @@ private: LLIconCtrl* mSecondLifePic; LLPanel* mSecondLifePicLayout; LLTextBase* mDescriptionEdit; - LLPanel* mGiveInvPanel; LLMenuButton* mAgentActionMenuButton; + LLButton* mSaveDescriptionChanges; + LLButton* mDiscardDescriptionChanges; bool mVoiceStatus; - std::string mImageFile; + bool mWaitingForImageUpload; LLUUID mImageAssetId; boost::signals2::connection mAvatarNameCacheConnection; |