LLFloaterSnapshot Class Reference

#include <llfloatersnapshot.h>

Inheritance diagram for LLFloaterSnapshot:

Inheritance graph
[legend]
Collaboration diagram for LLFloaterSnapshot:

Collaboration graph
[legend]
List of all members.

Public Member Functions

 LLFloaterSnapshot ()
virtual ~LLFloaterSnapshot ()
virtual BOOL postBuild ()
virtual void draw ()
virtual void onClose (bool app_quitting)

Static Public Member Functions

static void show (void *)
static void hide (void *)
static void update ()

Private Attributes

Implimpl

Static Private Attributes

static LLFloaterSnapshotsInstance = NULL

Classes

class  Impl

Detailed Description

Definition at line 41 of file llfloatersnapshot.h.


Constructor & Destructor Documentation

LLFloaterSnapshot::LLFloaterSnapshot (  ) 

---------------------------------------------------------------------------- Class LLFloaterSnapshot ----------------------------------------------------------------------------

Definition at line 1235 of file llfloatersnapshot.cpp.

Referenced by show().

LLFloaterSnapshot::~LLFloaterSnapshot (  )  [virtual]

Definition at line 1242 of file llfloatersnapshot.cpp.

References FALSE, LLView::getViewByHandle(), gSavedSettings, gToolMgr, impl, LLFloaterSnapshot::Impl::mLastToolset, NULL, LLViewHandle::sDeadHandle, LLControlGroup::setBOOL(), LLToolMgr::setCurrentToolset(), sInstance, and LLFloaterSnapshot::Impl::sPreviewHandle.


Member Function Documentation

void LLFloaterSnapshot::draw (  )  [virtual]

Reimplemented from LLFloater.

Definition at line 1326 of file llfloatersnapshot.cpp.

References LLPanel::childGetText(), LLPanel::childSetColor(), LLPanel::childSetEnabled(), LLPanel::childSetTextArg(), LLPanel::childSetToolTip(), LLPanel::childSetValue(), LLFloater::draw(), f, FALSE, gColors, LLControlGroup::getBOOL(), LLControlGroup::getColor(), LLSnapshotLivePreview::getCurrentImage(), LLSnapshotLivePreview::getDataSize(), LLImageGL::getHeight(), LLSnapshotLivePreview::getImageAspect(), LLResMgr::getIntegerString(), LLFloaterSnapshot::Impl::getPreviewView(), LLSnapshotLivePreview::getSize(), LLSnapshotLivePreview::getSnapshotType(), LLSnapshotLivePreview::getSnapshotUpToDate(), LLView::getVisible(), LLImageGL::getWidth(), LLRectBase< Type >::getWidth(), gl_draw_scaled_image(), glPopMatrix, gResMgr, gSavedSettings, impl, LLSnapshotLivePreview::isImageScaled(), LLSnapshotLivePreview::isSnapshotActive(), llmin(), llround(), MAX_POSTCARD_DATASIZE, LLFloater::mMinimized, LLView::mRect, LLColor4::red, S32, LLSnapshotLivePreview::SNAPSHOT_POSTCARD, LLLocale::USER_LOCALE, and LLColor4::white.

void LLFloaterSnapshot::hide ( void  )  [static]

Definition at line 1453 of file llfloatersnapshot.cpp.

References LLFloater::close(), LLMortician::isDead(), and sInstance.

Referenced by LLViewerWindow::changeDisplaySettings(), and LLAgent::setTeleportState().

void LLFloaterSnapshot::onClose ( bool  app_quitting  )  [virtual]

Reimplemented from LLFloater.

Definition at line 1426 of file llfloatersnapshot.cpp.

References LLFloater::destroy(), FALSE, gSnapshotFloaterView, and LLView::setEnabled().

BOOL LLFloaterSnapshot::postBuild (  )  [virtual]

Reimplemented from LLPanel.

Definition at line 1265 of file llfloatersnapshot.cpp.

References LLView::addChild(), LLPanel::childSetAction(), LLPanel::childSetCommitCallback(), LLPanel::childSetEnabled(), LLPanel::childSetValue(), FALSE, LLControlGroup::getBOOL(), LLView::getRect(), LLView::getRootView(), LLControlGroup::getS32(), gSavedSettings, gSnapshotFloaterView, impl, LLView::mViewHandle, LLFloaterSnapshot::Impl::onClickAutoSnap(), LLFloaterSnapshot::Impl::onClickDiscard(), LLFloaterSnapshot::Impl::onClickHUDCheck(), LLFloaterSnapshot::Impl::onClickKeep(), LLFloaterSnapshot::Impl::onClickKeepAspectCheck(), LLFloaterSnapshot::Impl::onClickKeepOpenCheck(), LLFloaterSnapshot::Impl::onClickNewSnapshot(), LLFloaterSnapshot::Impl::onClickUICheck(), LLFloaterSnapshot::Impl::onCommitCustomResolution(), LLFloaterSnapshot::Impl::onCommitFreezeFrame(), LLFloaterSnapshot::Impl::onCommitLayerTypes(), LLFloaterSnapshot::Impl::onCommitQuality(), LLFloaterSnapshot::Impl::onCommitResolution(), LLFloaterSnapshot::Impl::onCommitSnapshotType(), LLView::removeChild(), sInstance, LLFloaterSnapshot::Impl::sPreviewHandle, TRUE, and LLFloaterSnapshot::Impl::updateControls().

void LLFloaterSnapshot::show ( void  )  [static]

Definition at line 1433 of file llfloatersnapshot.cpp.

References LLView::addChild(), LLFloaterView::adjustToFitScreen(), LLUICtrlFactory::buildFloater(), FALSE, LLUICtrl::focusFirstItem(), gFloaterView, gSnapshotFloaterView, gUICtrlFactory, impl, LLFloaterSnapshot(), NULL, LLFloater::open(), LLView::removeChild(), LLView::setEnabled(), sInstance, TRUE, and LLFloaterSnapshot::Impl::updateLayout().

Referenced by LLFileTakeSnapshot::handleEvent(), and LLToolBar::onClickSnapshot().

void LLFloaterSnapshot::update (  )  [static]

Definition at line 1462 of file llfloatersnapshot.cpp.

References LLSnapshotLivePreview::onIdle(), and LLSnapshotLivePreview::sList.

Referenced by main_loop().


Member Data Documentation

Impl& LLFloaterSnapshot::impl [private]

Definition at line 57 of file llfloatersnapshot.h.

Referenced by draw(), postBuild(), show(), LLFloaterSnapshot::Impl::updateLayout(), and ~LLFloaterSnapshot().

LLFloaterSnapshot * LLFloaterSnapshot::sInstance = NULL [static, private]

Definition at line 60 of file llfloatersnapshot.h.

Referenced by hide(), postBuild(), show(), LLFloaterSnapshot::Impl::updateLayout(), and ~LLFloaterSnapshot().


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