diff options
author | James Cook <james@lindenlab.com> | 2007-01-02 08:33:20 +0000 |
---|---|---|
committer | James Cook <james@lindenlab.com> | 2007-01-02 08:33:20 +0000 |
commit | 420b91db29485df39fd6e724e782c449158811cb (patch) | |
tree | b471a94563af914d3ed3edd3e856d21cb1b69945 /indra/newview/llfloaterpostcard.h |
Print done when done.
Diffstat (limited to 'indra/newview/llfloaterpostcard.h')
-rw-r--r-- | indra/newview/llfloaterpostcard.h | 58 |
1 files changed, 58 insertions, 0 deletions
diff --git a/indra/newview/llfloaterpostcard.h b/indra/newview/llfloaterpostcard.h new file mode 100644 index 0000000000..542d117403 --- /dev/null +++ b/indra/newview/llfloaterpostcard.h @@ -0,0 +1,58 @@ +/** + * @file llfloaterpostcard.h + * @brief Postcard send floater, allows setting name, e-mail address, etc. + * + * Copyright (c) 2004-$CurrentYear$, Linden Research, Inc. + * $License$ + */ + +#ifndef LL_LLFLOATERPOSTCARD_H +#define LL_LLFLOATERPOSTCARD_H + +#include "llfloater.h" +#include "llcheckboxctrl.h" + +#include "llmemory.h" +#include "llimagegl.h" + +class LLTextEditor; +class LLLineEditor; +class LLButton; + +class LLFloaterPostcard +: public LLFloater +{ +public: + LLFloaterPostcard(LLImageJPEG* jpeg, LLImageGL *img, const LLVector2& img_scale, const LLVector3d& pos_taken_global); + virtual ~LLFloaterPostcard(); + + virtual void init(); + virtual BOOL postBuild(); + virtual void draw(); + + static LLFloaterPostcard* showFromSnapshot(LLImageJPEG *jpeg, LLImageGL *img, const LLVector2& img_scale, const LLVector3d& pos_taken_global); + + static void onClickCancel(void* data); + static void onClickSend(void* data); + static void onClickPublishHelp(void *data); + + static void uploadCallback(const LLUUID& asset_id, + void *user_data, + S32 result); + + static void updateUserInfo(const char *email); + +protected: + + LLPointer<LLImageJPEG> mJPEGImage; + LLPointer<LLImageGL> mViewerImage; + LLTransactionID mTransactionID; + LLAssetID mAssetID; + LLVector2 mImageScale; + LLVector3d mPosTakenGlobal; + + static LLLinkedList<LLFloaterPostcard> sInstances; +}; + + +#endif // LL_LLFLOATERPOSTCARD_H |