diff options
author | pavelkproductengine <pavelkproductengine@lindenlab.com> | 2016-04-29 20:28:11 +0300 |
---|---|---|
committer | pavelkproductengine <pavelkproductengine@lindenlab.com> | 2016-04-29 20:28:11 +0300 |
commit | 4125bebce7116e074aef664026b9ed33ffa9ca19 (patch) | |
tree | a941ee70030e95308c6fcf7250116d5862053800 /indra/newview/llfloatersnapshot.h | |
parent | f70be72ad614f2e7b2b2773c413249137662f570 (diff) |
MAINT-6226 Incorporate a customized Snapshot feature to Outfit Browser flow
Initial version, further refactoring pending
Diffstat (limited to 'indra/newview/llfloatersnapshot.h')
-rwxr-xr-x | indra/newview/llfloatersnapshot.h | 49 |
1 files changed, 42 insertions, 7 deletions
diff --git a/indra/newview/llfloatersnapshot.h b/indra/newview/llfloatersnapshot.h index 0bb9474bb5..5f9857c8c5 100755 --- a/indra/newview/llfloatersnapshot.h +++ b/indra/newview/llfloatersnapshot.h @@ -31,17 +31,45 @@ class LLSpinCtrl; -class LLFloaterSnapshot : public LLFloater +class LLFloaterSnapshotBase : public LLFloater +{ + LOG_CLASS(LLFloaterSnapshotBase); + +public: + typedef enum e_snapshot_format + { + SNAPSHOT_FORMAT_PNG, + SNAPSHOT_FORMAT_JPEG, + SNAPSHOT_FORMAT_BMP + } ESnapshotFormat; + + LLFloaterSnapshotBase(const LLSD& key); + virtual ~LLFloaterSnapshotBase(); + + ///*virtual*/ S32 notify(const LLSD& info); + + //static LLFloaterSnapshotBase* getInstance(); + //static LLFloaterSnapshotBase* findInstance(); + //static void saveTexture(); + //static BOOL saveLocal(); + //static void postSave(); + +protected: + class ImplBase; + //ImplBase& impl; +}; + +class LLFloaterSnapshot : public LLFloaterSnapshotBase { LOG_CLASS(LLFloaterSnapshot); public: - typedef enum e_snapshot_format - { - SNAPSHOT_FORMAT_PNG, - SNAPSHOT_FORMAT_JPEG, - SNAPSHOT_FORMAT_BMP - } ESnapshotFormat; + //typedef enum e_snapshot_format + //{ + // SNAPSHOT_FORMAT_PNG, + // SNAPSHOT_FORMAT_JPEG, + // SNAPSHOT_FORMAT_BMP + //} ESnapshotFormat; LLFloaterSnapshot(const LLSD& key); virtual ~LLFloaterSnapshot(); @@ -76,6 +104,13 @@ private: Impl& impl; }; +class LLFloaterSnapshotBase::ImplBase +{ +public: + ImplBase(); + ~ImplBase(); +}; + class LLSnapshotFloaterView : public LLFloaterView { public: |