diff options
author | Eric M. Tulla (BigPapi) <tulla@lindenlab.com> | 2009-11-06 18:41:47 -0500 |
---|---|---|
committer | Eric M. Tulla (BigPapi) <tulla@lindenlab.com> | 2009-11-06 18:41:47 -0500 |
commit | 573e986ea273d37438ed6a2ca3f81d005f1bab99 (patch) | |
tree | a82c3f6a7d03949a19d9a1eaef53295872229bd4 /indra/newview/llpreviewtexture.h | |
parent | 4b9abdc83351b5d79f958cf13fa612a28c71bc04 (diff) | |
parent | 9c048d12fdd9fd9c95cc93223fc731ee7b548294 (diff) |
Merge of avatar-pipeline changes into viewer2
Diffstat (limited to 'indra/newview/llpreviewtexture.h')
-rw-r--r-- | indra/newview/llpreviewtexture.h | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/indra/newview/llpreviewtexture.h b/indra/newview/llpreviewtexture.h index 520626b49f..9b3c91d831 100644 --- a/indra/newview/llpreviewtexture.h +++ b/indra/newview/llpreviewtexture.h @@ -67,8 +67,7 @@ public: S32 discard_level, BOOL final, void* userdata ); - - + void openToSave(); protected: void init(); /* virtual */ BOOL postBuild(); @@ -77,14 +76,17 @@ protected: private: void updateDimensions(); - LLUUID mImageID; + LLUUID mImageID; LLPointer<LLViewerFetchedTexture> mImage; BOOL mLoadingFullImage; std::string mSaveFileName; LLFrameTimer mSavedFileTimer; BOOL mShowKeepDiscard; BOOL mCopyToInv; - + + // Save the image once it's loaded. + BOOL mPreviewToSave; + // This is stored off in a member variable, because the save-as // button and drag and drop functionality need to know. BOOL mIsCopyable; @@ -94,6 +96,4 @@ private: F32 mAspectRatio; BOOL mUpdateDimensions; }; - - #endif // LL_LLPREVIEWTEXTURE_H |