summaryrefslogtreecommitdiff
path: root/indra/newview/llpanelsnapshot.h
diff options
context:
space:
mode:
authorVadim ProductEngine <vsavchuk@productengine.com>2011-11-03 15:39:12 +0200
committerVadim ProductEngine <vsavchuk@productengine.com>2011-11-03 15:39:12 +0200
commitce05b9f7e5347c28780b399efa70992cb7bf5229 (patch)
treec1a420a8d8a68661f9b10db7b188ac91ed70c61c /indra/newview/llpanelsnapshot.h
parent33b17af15c6fbf0762e99342042a20d0f89f732f (diff)
STORM-1580 WIP Implemented new "Working" and "Success/Failure" screens.
Diffstat (limited to 'indra/newview/llpanelsnapshot.h')
-rw-r--r--indra/newview/llpanelsnapshot.h7
1 files changed, 6 insertions, 1 deletions
diff --git a/indra/newview/llpanelsnapshot.h b/indra/newview/llpanelsnapshot.h
index a227317d2f..eaa0bc42c6 100644
--- a/indra/newview/llpanelsnapshot.h
+++ b/indra/newview/llpanelsnapshot.h
@@ -37,6 +37,9 @@ class LLSideTrayPanelContainer;
class LLPanelSnapshot: public LLPanel
{
public:
+ /*virtual*/ BOOL postBuild();
+ /*virtual*/ void onOpen(const LLSD& key);
+
virtual std::string getWidthSpinnerName() const = 0;
virtual std::string getHeightSpinnerName() const = 0;
virtual std::string getAspectRatioCBName() const = 0;
@@ -48,11 +51,13 @@ public:
virtual LLSpinCtrl* getHeightSpinner();
virtual void enableAspectRatioCheckbox(BOOL enable);
virtual LLFloaterSnapshot::ESnapshotFormat getImageFormat() const;
- virtual void updateControls(const LLSD& info) {} ///< Update controls from saved settings
+ virtual void updateControls(const LLSD& info) = 0; ///< Update controls from saved settings
protected:
LLSideTrayPanelContainer* getParentContainer();
void updateImageQualityLevel();
+ void goBack(); ///< Switch to the default (Snapshot Options) panel
+ void cancel();
};
#endif // LL_LLPANELSNAPSHOT_H