summaryrefslogtreecommitdiff
path: root/indra/newview/llfloatersocial.h
diff options
context:
space:
mode:
authorGilbert Gonzales <gilbert@lindenlab.com>2013-06-25 10:54:59 -0700
committerGilbert Gonzales <gilbert@lindenlab.com>2013-06-25 10:54:59 -0700
commit4441edecdf27b9324b61d9e415c257e50e4909a6 (patch)
tree00bed73f6efcc25f122751088319386778ea8fcc /indra/newview/llfloatersocial.h
parent58574af9b8e8b0144cf5f3db7c4f242e9139140e (diff)
ACME-587 Add the 'refresh' button on top the image
Diffstat (limited to 'indra/newview/llfloatersocial.h')
-rw-r--r--indra/newview/llfloatersocial.h17
1 files changed, 16 insertions, 1 deletions
diff --git a/indra/newview/llfloatersocial.h b/indra/newview/llfloatersocial.h
index a08bbb99ad..7b8db2d64a 100644
--- a/indra/newview/llfloatersocial.h
+++ b/indra/newview/llfloatersocial.h
@@ -51,14 +51,24 @@ class LLSocialPhotoPanel : public LLPanel
void onSend();
const LLRect& getThumbnailPlaceholderRect() { return mThumbnailPlaceholder->getRect(); }
+ void onResolutionComboCommit();
void onClickNewSnapshot();
LLHandle<LLView> mPreviewHandle;
-private:
+ void updateResolution(LLUICtrl* ctrl, void* data, BOOL do_update = TRUE);
+ void setNeedRefresh(bool need);
+ void checkAspectRatio(LLFloaterSnapshot *view, S32 index);
+ LLSnapshotLivePreview* getPreviewView();
+
+ void updateControls();
+
+ LLUICtrl * mResolutionComboBox;
LLUICtrl *mRefreshBtn, *mRefreshLabel;
LLUICtrl *mSucceessLblPanel, *mFailureLblPanel;
LLUICtrl* mThumbnailPlaceholder;
+
+ bool mNeedRefresh;
};
class LLSocialCheckinPanel : public LLPanel
@@ -76,6 +86,11 @@ public:
void onCancel();
void onOpen(const LLSD& key);
/*virtual*/ void draw();
+
+
+ static void preUpdate();
+ static void postUpdate();
+
private:
LLSocialPhotoPanel * mSocialPhotoPanel;
std::string mMapUrl;