aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/linden/indra/newview/llprogressview.h
diff options
context:
space:
mode:
authorJacek Antonelli2009-04-30 13:04:20 -0500
committerJacek Antonelli2009-04-30 13:07:16 -0500
commitca8149ca6d157eb4b5fc8ba0e5ba3a6e56f72e7e (patch)
tree8348301d0ac44a524f1819b777686bf086907d76 /linden/indra/newview/llprogressview.h
parentSecond Life viewer sources 1.22.11 (diff)
downloadmeta-impy-ca8149ca6d157eb4b5fc8ba0e5ba3a6e56f72e7e.zip
meta-impy-ca8149ca6d157eb4b5fc8ba0e5ba3a6e56f72e7e.tar.gz
meta-impy-ca8149ca6d157eb4b5fc8ba0e5ba3a6e56f72e7e.tar.bz2
meta-impy-ca8149ca6d157eb4b5fc8ba0e5ba3a6e56f72e7e.tar.xz
Second Life viewer sources 1.23.0-RC
Diffstat (limited to '')
-rw-r--r--linden/indra/newview/llprogressview.h12
1 files changed, 8 insertions, 4 deletions
diff --git a/linden/indra/newview/llprogressview.h b/linden/indra/newview/llprogressview.h
index c6ba62a..9517ee1 100644
--- a/linden/indra/newview/llprogressview.h
+++ b/linden/indra/newview/llprogressview.h
@@ -17,7 +17,8 @@
17 * There are special exceptions to the terms and conditions of the GPL as 17 * There are special exceptions to the terms and conditions of the GPL as
18 * it is applied to this Source Code. View the full text of the exception 18 * it is applied to this Source Code. View the full text of the exception
19 * in the file doc/FLOSS-exception.txt in this software distribution, or 19 * in the file doc/FLOSS-exception.txt in this software distribution, or
20 * online at http://secondlifegrid.net/programs/open_source/licensing/flossexception 20 * online at
21 * http://secondlifegrid.net/programs/open_source/licensing/flossexception
21 * 22 *
22 * By copying, modifying or distributing this software, you acknowledge 23 * By copying, modifying or distributing this software, you acknowledge
23 * that you have read and understood your obligations described above, 24 * that you have read and understood your obligations described above,
@@ -37,16 +38,17 @@
37 38
38class LLImageRaw; 39class LLImageRaw;
39class LLButton; 40class LLButton;
41class LLProgressBar;
40 42
41class LLProgressView : public LLPanel 43class LLProgressView : public LLPanel
42{ 44{
43public: 45public:
44 LLProgressView(const std::string& name, const LLRect& rect); 46 LLProgressView(const std::string& name, const LLRect& rect);
45 virtual ~LLProgressView(); 47 virtual ~LLProgressView();
48
49 BOOL postBuild();
46 50
47 /*virtual*/ void draw(); 51 /*virtual*/ void draw();
48 /*virtual*/ BOOL handleMouseDown(S32 x, S32 y, MASK mask);
49 /*virtual*/ BOOL handleMouseUp(S32 x, S32 y, MASK mask);
50 52
51 /*virtual*/ BOOL handleHover(S32 x, S32 y, MASK mask); 53 /*virtual*/ BOOL handleHover(S32 x, S32 y, MASK mask);
52 /*virtual*/ BOOL handleKeyHere(KEY key, MASK mask); 54 /*virtual*/ BOOL handleKeyHere(KEY key, MASK mask);
@@ -61,16 +63,18 @@ public:
61 void setCancelButtonVisible(BOOL b, const std::string& label); 63 void setCancelButtonVisible(BOOL b, const std::string& label);
62 64
63 static void onCancelButtonClicked( void* ); 65 static void onCancelButtonClicked( void* );
66 static void onClickMessage(void*);
64 67
65protected: 68protected:
69 LLProgressBar* mProgressBar;
66 F32 mPercentDone; 70 F32 mPercentDone;
67 std::string mText;
68 std::string mMessage; 71 std::string mMessage;
69 LLButton* mCancelBtn; 72 LLButton* mCancelBtn;
70 LLFrameTimer mFadeTimer; 73 LLFrameTimer mFadeTimer;
71 LLFrameTimer mProgressTimer; 74 LLFrameTimer mProgressTimer;
72 LLRect mOutlineRect; 75 LLRect mOutlineRect;
73 bool mMouseDownInActiveArea; 76 bool mMouseDownInActiveArea;
77 bool mURLInMessage;
74 78
75 static LLProgressView* sInstance; 79 static LLProgressView* sInstance;
76}; 80};