summaryrefslogtreecommitdiff
path: root/indra/newview/llfloatersocial.h
diff options
context:
space:
mode:
authorGilbert Gonzales <gilbert@lindenlab.com>2013-06-24 17:33:10 -0700
committerGilbert Gonzales <gilbert@lindenlab.com>2013-06-24 17:33:10 -0700
commit48cc41a0f8b7b2473e938b1cac8cd294b71d40f7 (patch)
tree1af32b9bc87446a23c716a6df64b4caa89dfb19b /indra/newview/llfloatersocial.h
parent3fa5ac310c9eb3ace9f5eac70e68f7588a846309 (diff)
ACME-593: Now the photo tab of the facebook panel displays a screenshot based upon when the facebook floater was opened.
Diffstat (limited to 'indra/newview/llfloatersocial.h')
-rw-r--r--indra/newview/llfloatersocial.h24
1 files changed, 23 insertions, 1 deletions
diff --git a/indra/newview/llfloatersocial.h b/indra/newview/llfloatersocial.h
index aee7f2f060..118eaf17d7 100644
--- a/indra/newview/llfloatersocial.h
+++ b/indra/newview/llfloatersocial.h
@@ -29,11 +29,28 @@
#include "llfloater.h"
+#include "llsnapshotlivepreview.h"
+
class LLSocialPhotoPanel : public LLPanel
{
- public:
+
+public:
LLSocialPhotoPanel();
+ ~LLSocialPhotoPanel();
+
+ BOOL postBuild();
+ void draw();
void onSend();
+
+ const LLRect& getThumbnailPlaceholderRect() { return mThumbnailPlaceholder->getRect(); }
+ void onClickNewSnapshot();
+
+ LLHandle<LLView> mPreviewHandle;
+
+private:
+ LLUICtrl *mRefreshBtn, *mRefreshLabel;
+ LLUICtrl *mSucceessLblPanel, *mFailureLblPanel;
+ LLUICtrl* mThumbnailPlaceholder;
};
class LLSocialCheckinPanel : public LLPanel
@@ -52,6 +69,11 @@ public:
LLFloaterSocial(const LLSD& key);
BOOL postBuild();
void onCancel();
+ void onOpen(const LLSD& key);
+
+private:
+
+ LLSocialPhotoPanel * mSocialPhotoPanel;
};
#endif // LL_LLFLOATERSOCIAL_H