LLProgressView Class Reference

#include <llprogressview.h>

Inheritance diagram for LLProgressView:

Inheritance graph
[legend]
Collaboration diagram for LLProgressView:

Collaboration graph
[legend]

List of all members.

Public Member Functions

 LLProgressView (const std::string &name, const LLRect &rect)
virtual ~LLProgressView ()
void draw ()
BOOL handleMouseDown (S32 x, S32 y, MASK mask)
BOOL handleMouseUp (S32 x, S32 y, MASK mask)
BOOL handleHover (S32 x, S32 y, MASK mask)
BOOL handleKeyHere (KEY key, MASK mask)
void setVisible (BOOL visible)
void setText (const LLString &text)
void setPercent (const F32 percent)
void setMessage (const LLString &msg)
void setCancelButtonVisible (BOOL b, const LLString &label)

Static Public Member Functions

static void onCancelButtonClicked (void *)

Protected Attributes

F32 mPercentDone
LLString mText
LLString mMessage
LLButtonmCancelBtn
LLFrameTimer mFadeTimer
LLFrameTimer mProgressTimer
LLRect mOutlineRect
bool mMouseDownInActiveArea

Static Protected Attributes

static LLProgressViewsInstance = NULL


Detailed Description

Definition at line 41 of file llprogressview.h.


Constructor & Destructor Documentation

LLProgressView::LLProgressView ( const std::string &  name,
const LLRect rect 
)

LLProgressView::~LLProgressView (  )  [virtual]

Definition at line 98 of file llprogressview.cpp.

References gFocusMgr, NULL, LLFocusMgr::releaseFocusIfNeeded(), and sInstance.

Here is the call graph for this function:


Member Function Documentation

void LLProgressView::draw ( void   )  [virtual]

BOOL LLProgressView::handleMouseDown ( S32  x,
S32  y,
MASK  mask 
) [virtual]

Reimplemented from LLView.

Definition at line 105 of file llprogressview.cpp.

References LLView::handleMouseDown(), mMouseDownInActiveArea, mOutlineRect, LLRectBase< Type >::pointInRect(), and TRUE.

Here is the call graph for this function:

BOOL LLProgressView::handleMouseUp ( S32  x,
S32  y,
MASK  mask 
) [virtual]

Reimplemented from LLView.

Definition at line 116 of file llprogressview.cpp.

References LLView::handleMouseUp(), LLWeb::loadURLExternal(), mMessage, mMouseDownInActiveArea, mOutlineRect, LLRectBase< Type >::pointInRect(), and TRUE.

Here is the call graph for this function:

BOOL LLProgressView::handleHover ( S32  x,
S32  y,
MASK  mask 
) [virtual]

Reimplemented from LLView.

Definition at line 145 of file llprogressview.cpp.

References LLView::childrenHandleHover(), gViewerWindow, lldebugst, llendl, mOutlineRect, NULL, LLRectBase< Type >::pointInRect(), LLViewerWindow::setCursor(), TRUE, UI_CURSOR_ARROW, and UI_CURSOR_WAIT.

Here is the call graph for this function:

BOOL LLProgressView::handleKeyHere ( KEY  key,
MASK  mask 
) [virtual]

Reimplemented from LLPanel.

Definition at line 163 of file llprogressview.cpp.

References LLAppViewer::instance(), MASK_CONTROL, TRUE, and LLAppViewer::userQuit().

Here is the call graph for this function:

void LLProgressView::setVisible ( BOOL  visible  )  [virtual]

Reimplemented from LLView.

Definition at line 173 of file llprogressview.cpp.

References LLView::getVisible(), gFocusMgr, mFadeTimer, mProgressTimer, LLPanel::setFocus(), LLFocusMgr::setTopCtrl(), LLView::setVisible(), LLFrameTimer::start(), LLFrameTimer::stop(), and TRUE.

Referenced by LLProgressView(), onCancelButtonClicked(), and LLViewerWindow::setShowProgress().

Here is the call graph for this function:

Here is the caller graph for this function:

void LLProgressView::setText ( const LLString text  ) 

Definition at line 383 of file llprogressview.cpp.

References mText.

Referenced by LLViewerWindow::setProgressString().

Here is the caller graph for this function:

void LLProgressView::setPercent ( const F32  percent  ) 

Definition at line 388 of file llprogressview.cpp.

References llclamp(), and mPercentDone.

Referenced by LLViewerWindow::setProgressPercent().

Here is the call graph for this function:

Here is the caller graph for this function:

void LLProgressView::setMessage ( const LLString msg  ) 

Definition at line 393 of file llprogressview.cpp.

References mMessage.

Referenced by LLViewerWindow::setProgressMessage().

Here is the caller graph for this function:

void LLProgressView::setCancelButtonVisible ( BOOL  b,
const LLString label 
)

Definition at line 398 of file llprogressview.cpp.

References mCancelBtn, LLView::setEnabled(), LLButton::setLabelSelected(), LLButton::setLabelUnselected(), and LLView::setVisible().

Referenced by LLViewerWindow::setProgressCancelButtonVisible().

Here is the call graph for this function:

Here is the caller graph for this function:

void LLProgressView::onCancelButtonClicked ( void *   )  [static]

Definition at line 407 of file llprogressview.cpp.

References FALSE, gAgent, LLAgent::getTeleportState(), LLAppViewer::instance(), mCancelBtn, LLAppViewer::requestQuit(), LLView::setEnabled(), setVisible(), sInstance, LLAgent::TELEPORT_NONE, and LLAgent::teleportCancel().

Referenced by LLProgressView().

Here is the call graph for this function:

Here is the caller graph for this function:


Member Data Documentation

Definition at line 66 of file llprogressview.h.

Referenced by draw(), and setPercent().

Definition at line 67 of file llprogressview.h.

Referenced by draw(), and setText().

Definition at line 68 of file llprogressview.h.

Referenced by draw(), handleMouseUp(), and setMessage().

Definition at line 69 of file llprogressview.h.

Referenced by LLProgressView(), onCancelButtonClicked(), and setCancelButtonVisible().

Definition at line 70 of file llprogressview.h.

Referenced by draw(), LLProgressView(), and setVisible().

Definition at line 71 of file llprogressview.h.

Referenced by setVisible().

Definition at line 72 of file llprogressview.h.

Referenced by draw(), handleHover(), handleMouseDown(), handleMouseUp(), and LLProgressView().

Definition at line 73 of file llprogressview.h.

Referenced by handleMouseDown(), and handleMouseUp().

LLProgressView * LLProgressView::sInstance = NULL [static, protected]

Definition at line 75 of file llprogressview.h.

Referenced by LLProgressView(), onCancelButtonClicked(), and ~LLProgressView().


The documentation for this class was generated from the following files:

Generated on Fri May 16 09:00:56 2008 for SecondLife by  doxygen 1.5.5