diff options
author | Merov Linden <merov@lindenlab.com> | 2014-02-27 13:04:23 -0800 |
---|---|---|
committer | Merov Linden <merov@lindenlab.com> | 2014-02-27 13:04:23 -0800 |
commit | 279e9b0743dfd86f9b40f693349aae9fc1268d35 (patch) | |
tree | 5bade6c6d943d07ffbf785d7ddd300e597c47a0e /indra/newview/llfloaterfacebook.h | |
parent | ed38a0aede09f42c4fe7eb4dd53ecd6490d12ca0 (diff) |
ACME-1327 : Implemented preview in all SL Share panels, switch ownership of preview to focused SL Share photo panel
Diffstat (limited to 'indra/newview/llfloaterfacebook.h')
-rw-r--r-- | indra/newview/llfloaterfacebook.h | 11 |
1 files changed, 10 insertions, 1 deletions
diff --git a/indra/newview/llfloaterfacebook.h b/indra/newview/llfloaterfacebook.h index 20c401d0c1..08c5f24e4d 100644 --- a/indra/newview/llfloaterfacebook.h +++ b/indra/newview/llfloaterfacebook.h @@ -35,6 +35,7 @@ class LLIconCtrl; class LLCheckBoxCtrl; class LLSnapshotLivePreview; class LLAvatarList; +class LLFloaterBigPreview; class LLFacebookStatusPanel : public LLPanel { @@ -65,6 +66,7 @@ public: LLSnapshotLivePreview* getPreviewView(); void onVisibilityChange(const LLSD& new_visibility); + void onClickBigPreview(); void onClickNewSnapshot(); void onSend(); S32 notify(const LLSD& info); @@ -79,6 +81,9 @@ public: LLUICtrl* getRefreshBtn(); private: + bool isPreviewVisible(); + void attachPreview(); + LLHandle<LLView> mPreviewHandle; LLUICtrl * mSnapshotPanel; @@ -90,7 +95,10 @@ private: LLUICtrl * mCaptionTextBox; LLUICtrl * mLocationCheckbox; LLUICtrl * mPostButton; - LLUICtrl* mCancelButton; + LLUICtrl * mCancelButton; + LLButton * mBtnPreview; + + LLFloaterBigPreview * mBigPreviewFloater; S32 mQuality; // Compression quality }; @@ -167,6 +175,7 @@ public: LLFloaterFacebook(const LLSD& key); BOOL postBuild(); void draw(); + void onClose(bool app_quitting); void onCancel(); void showPhotoPanel(); |