summaryrefslogtreecommitdiff
path: root/indra/newview/llfloatersnapshot.h
diff options
context:
space:
mode:
authorLeyla Farazha <leyla@lindenlab.com>2010-03-16 11:00:36 -0700
committerLeyla Farazha <leyla@lindenlab.com>2010-03-16 11:00:36 -0700
commit41ed9b3bcb07b36ff4ba58fb3c68f96c376f6e37 (patch)
treebbe64db4099b4c38886f165a0711e2357c0b26e1 /indra/newview/llfloatersnapshot.h
parentb6e11798acf6d0539211723e566be7f6145ac138 (diff)
New snapshot/social media floater
reviewed by Richard
Diffstat (limited to 'indra/newview/llfloatersnapshot.h')
-rw-r--r--indra/newview/llfloatersnapshot.h14
1 files changed, 13 insertions, 1 deletions
diff --git a/indra/newview/llfloatersnapshot.h b/indra/newview/llfloatersnapshot.h
index 1333497bd2..f212352cfc 100644
--- a/indra/newview/llfloatersnapshot.h
+++ b/indra/newview/llfloatersnapshot.h
@@ -34,9 +34,10 @@
#define LL_LLFLOATERSNAPSHOT_H
#include "llfloater.h"
+#include "lltransientdockablefloater.h"
-class LLFloaterSnapshot : public LLFloater
+class LLFloaterSnapshot : public LLTransientDockableFloater
{
public:
typedef enum e_snapshot_format
@@ -45,6 +46,13 @@ public:
SNAPSHOT_FORMAT_JPEG,
SNAPSHOT_FORMAT_BMP
} ESnapshotFormat;
+
+ enum ESnapshotMode
+ {
+ SNAPSHOT_SHARE,
+ SNAPSHOT_SAVE,
+ SNAPSHOT_MAIN
+ };
LLFloaterSnapshot(const LLSD& key);
virtual ~LLFloaterSnapshot();
@@ -56,6 +64,8 @@ public:
static void update();
+ bool updateButtons(ESnapshotMode mode);
+
static S32 getUIWinHeightLong() {return sUIWinHeightLong ;}
static S32 getUIWinHeightShort() {return sUIWinHeightShort ;}
static S32 getUIWinWidth() {return sUIWinWidth ;}
@@ -67,6 +77,8 @@ private:
static S32 sUIWinHeightLong ;
static S32 sUIWinHeightShort ;
static S32 sUIWinWidth ;
+
+ LLRect mRefreshBtnRect;
};
class LLSnapshotFloaterView : public LLFloaterView