LLUploadDialog Class Reference

#include <lluploaddialog.h>

Inheritance diagram for LLUploadDialog:

Inheritance graph
[legend]
Collaboration diagram for LLUploadDialog:

Collaboration graph
[legend]
List of all members.

Public Member Functions

void setMessage (const std::string &msg)

Static Public Member Functions

static LLUploadDialogmodalUploadDialog (const std::string &msg)
static void modalUploadFinished ()
static bool modalUploadIsFinished ()

Private Member Functions

 LLUploadDialog (const std::string &msg)
virtual ~LLUploadDialog ()
void centerDialog ()

Private Attributes

LLTextBoxmLabelBox [16]

Static Private Attributes

static LLUploadDialogsDialog = NULL

Detailed Description

Definition at line 38 of file lluploaddialog.h.


Constructor & Destructor Documentation

LLUploadDialog::LLUploadDialog ( const std::string &  msg  )  [private]

Definition at line 65 of file lluploaddialog.cpp.

References LLView::addChild(), LLResMgr::getRes(), gResMgr, gViewerWindow, LLFONT_SANSSERIF, mLabelBox, sDialog, LLPanel::setBackgroundVisible(), setMessage(), LLViewerWindow::setTopCtrl(), and TRUE.

Referenced by modalUploadDialog().

LLUploadDialog::~LLUploadDialog (  )  [private, virtual]

Definition at line 158 of file lluploaddialog.cpp.

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


Member Function Documentation

void LLUploadDialog::centerDialog (  )  [private]

Definition at line 168 of file lluploaddialog.cpp.

References LLRectBase< Type >::getHeight(), LLView::getRect(), LLViewerWindow::getRootView(), LLRectBase< Type >::getWidth(), gViewerWindow, LLRectBase< Type >::mBottom, LLRectBase< Type >::mLeft, LLView::mRect, S32, and LLView::translate().

Referenced by setMessage().

LLUploadDialog * LLUploadDialog::modalUploadDialog ( const std::string &  msg  )  [static]

Definition at line 48 of file lluploaddialog.cpp.

References LLUploadDialog().

Referenced by handle_export_selected(), LLFloaterReporter::onClickSend(), LLFloaterPostcard::sendPostcard(), and upload_new_resource().

void LLUploadDialog::modalUploadFinished (  )  [static]

Definition at line 55 of file lluploaddialog.cpp.

References NULL, and sDialog.

Referenced by LLFloaterImport::asset_uploaded_callback(), LLUserReportResponder::error(), LLAssetUploadResponder::error(), export_complete(), LLFloaterReporter::onClickSend(), LLUserReportResponder::result(), upload_done_callback(), LLFloaterPostcard::uploadCallback(), LLUserReportScreenshotResponder::uploadComplete(), LLSendPostcardResponder::uploadComplete(), LLNewAgentInventoryResponder::uploadComplete(), LLFloaterReporter::uploadDoneCallback(), and LLUserReportScreenshotResponder::uploadFailed().

static bool LLUploadDialog::modalUploadIsFinished (  )  [inline, static]

Definition at line 45 of file lluploaddialog.h.

References NULL, and sDialog.

Referenced by enable_export_selected().

void LLUploadDialog::setMessage ( const std::string &  msg  ) 

Definition at line 91 of file lluploaddialog.cpp.

References LLDoubleLinkedList< DATA_TYPE >::addDataAtEnd(), centerDialog(), LLDoubleLinkedList< DATA_TYPE >::deleteAllData(), FALSE, gColors, LLControlGroup::getColor(), LLDoubleLinkedList< DATA_TYPE >::getFirstData(), LLRectBase< Type >::getHeight(), LLDoubleLinkedList< DATA_TYPE >::getLength(), LLFontGL::getLineHeight(), LLDoubleLinkedList< DATA_TYPE >::getNextData(), LLResMgr::getRes(), LLRectBase< Type >::getWidth(), LLFontGL::getWidth(), gResMgr, HPAD, llendl, llerrs, LLFONT_SANSSERIF, llmax(), mLabelBox, LLView::mRect, NULL, LLView::reshape(), S32, LLTextBox::setColor(), LLView::setRect(), LLTextBox::setText(), LLView::setVisible(), size, TEXT_PAD, TRUE, and VPAD.

Referenced by exported_item_complete(), exported_j2c_complete(), and LLUploadDialog().


Member Data Documentation

LLTextBox* LLUploadDialog::mLabelBox[16] [private]

Definition at line 55 of file lluploaddialog.h.

Referenced by LLUploadDialog(), and setMessage().

LLUploadDialog * LLUploadDialog::sDialog = NULL [static, private]

Definition at line 58 of file lluploaddialog.h.

Referenced by LLUploadDialog(), modalUploadFinished(), modalUploadIsFinished(), and ~LLUploadDialog().


The documentation for this class was generated from the following files:
Generated on Thu Jul 1 06:11:55 2010 for Second Life Viewer by  doxygen 1.4.7