summaryrefslogtreecommitdiff
path: root/indra/newview/llfloatersocial.h
diff options
context:
space:
mode:
Diffstat (limited to 'indra/newview/llfloatersocial.h')
-rw-r--r--indra/newview/llfloatersocial.h39
1 files changed, 20 insertions, 19 deletions
diff --git a/indra/newview/llfloatersocial.h b/indra/newview/llfloatersocial.h
index 6675a990f4..95ba688430 100644
--- a/indra/newview/llfloatersocial.h
+++ b/indra/newview/llfloatersocial.h
@@ -50,37 +50,40 @@ private:
class LLSocialPhotoPanel : public LLPanel
{
- public:
+public:
LLSocialPhotoPanel();
~LLSocialPhotoPanel();
BOOL postBuild();
void draw();
- void onSend();
- const LLRect& getThumbnailPlaceholderRect() { return mThumbnailPlaceholder->getRect(); }
- void onResolutionComboCommit();
+ LLSnapshotLivePreview* getPreviewView();
+ void onVisibilityChange(const LLSD& new_visibility);
void onClickNewSnapshot();
+ void onSend();
- LLHandle<LLView> mPreviewHandle;
-
- void updateResolution(LLUICtrl* ctrl, void* data, BOOL do_update = TRUE);
- void setNeedRefresh(bool need);
+ void updateControls();
+ void updateResolution(BOOL do_update);
void checkAspectRatio(S32 index);
- LLSnapshotLivePreview* getPreviewView();
+ void setNeedRefresh(bool need);
+ LLUICtrl* getRefreshBtn();
- void updateControls();
- void onVisibilityChange(const LLSD& new_visibility);
+private:
+
+ LLHandle<LLView> mPreviewHandle;
+ LLUICtrl * mSnapshotPanel;
LLUICtrl * mResolutionComboBox;
- LLUICtrl *mRefreshBtn, *mRefreshLabel;
- LLUICtrl *mSucceessLblPanel, *mFailureLblPanel;
- LLUICtrl* mThumbnailPlaceholder;
+ LLUICtrl * mRefreshBtn;
+ LLUICtrl * mRefreshLabel;
+ LLUICtrl * mSucceessLblPanel;
+ LLUICtrl * mFailureLblPanel;
+ LLUICtrl * mThumbnailPlaceholder;
+ LLUICtrl * mCaptionTextBox;
+ LLUICtrl * mLocationCheckbox;
+ LLUICtrl * mPostButton;
bool mNeedRefresh;
-
-private:
- LLUICtrl* mPostButton;
};
class LLSocialCheckinPanel : public LLPanel
@@ -108,8 +111,6 @@ public:
BOOL postBuild();
void onCancel();
void onOpen(const LLSD& key);
- /*virtual*/ void draw();
-
static void preUpdate();
static void postUpdate();