From ce28e056c20bf2723f565bbf464b87781ec248a2 Mon Sep 17 00:00:00 2001 From: Jacek Antonelli Date: Fri, 15 Aug 2008 23:45:42 -0500 Subject: Second Life viewer sources 1.20.2 --- linden/indra/newview/llprogressview.h | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) (limited to 'linden/indra/newview/llprogressview.h') diff --git a/linden/indra/newview/llprogressview.h b/linden/indra/newview/llprogressview.h index 2573bd1..853bab7 100644 --- a/linden/indra/newview/llprogressview.h +++ b/linden/indra/newview/llprogressview.h @@ -44,12 +44,12 @@ public: LLProgressView(const std::string& name, const LLRect& rect); virtual ~LLProgressView(); - virtual EWidgetType getWidgetType() const; - virtual LLString getWidgetTag() const; - /*virtual*/ void draw(); + /*virtual*/ BOOL handleMouseDown(S32 x, S32 y, MASK mask); + /*virtual*/ BOOL handleMouseUp(S32 x, S32 y, MASK mask); + /*virtual*/ BOOL handleHover(S32 x, S32 y, MASK mask); - /*virtual*/ BOOL handleKeyHere(KEY key, MASK mask, BOOL called_from_parent); + /*virtual*/ BOOL handleKeyHere(KEY key, MASK mask); /*virtual*/ void setVisible(BOOL visible); void setText(const LLString& text); @@ -63,13 +63,14 @@ public: static void onCancelButtonClicked( void* ); protected: - BOOL mDrawBackground; F32 mPercentDone; LLString mText; LLString mMessage; LLButton* mCancelBtn; LLFrameTimer mFadeTimer; LLFrameTimer mProgressTimer; + LLRect mOutlineRect; + bool mMouseDownInActiveArea; static LLProgressView* sInstance; }; -- cgit v1.1