#include <llfloatersnapshot.h>
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 () |
static S32 | getUIWinHeightLong () |
static S32 | getUIWinHeightShort () |
static S32 | getUIWinWidth () |
Private Attributes | |
Impl & | impl |
Static Private Attributes | |
static LLFloaterSnapshot * | sInstance = NULL |
static S32 | sUIWinHeightLong = 526 |
static S32 | sUIWinHeightShort = LLFloaterSnapshot::sUIWinHeightLong - 230 |
static S32 | sUIWinWidth = 215 |
Classes | |
class | Impl |
Definition at line 41 of file llfloatersnapshot.h.
LLFloaterSnapshot::LLFloaterSnapshot | ( | ) |
---------------------------------------------------------------------------- Class LLFloaterSnapshot ----------------------------------------------------------------------------
Definition at line 1773 of file llfloatersnapshot.cpp.
Referenced by show().
LLFloaterSnapshot::~LLFloaterSnapshot | ( | ) | [virtual] |
Definition at line 1780 of file llfloatersnapshot.cpp.
References LLView::deleteViewByHandle(), FALSE, LLSingleton< LLToolMgr >::getInstance(), gSavedSettings, impl, LLFloaterSnapshot::Impl::mLastToolset, NULL, LLControlGroup::setBOOL(), LLToolMgr::setCurrentToolset(), sInstance, and LLFloaterSnapshot::Impl::sPreviewHandle.
BOOL LLFloaterSnapshot::postBuild | ( | void | ) | [virtual] |
Reimplemented from LLPanel.
Definition at line 1800 of file llfloatersnapshot.cpp.
References LLView::addChild(), LLPanel::childSetAction(), LLPanel::childSetCommitCallback(), LLPanel::childSetEnabled(), LLPanel::childSetValue(), FALSE, LLControlGroup::getBOOL(), LLView::getHandle(), LLView::getRect(), LLView::getRootView(), LLControlGroup::getS32(), gSavedSettings, impl, LLFloaterSnapshot::Impl::onClickAutoSnap(), LLFloaterSnapshot::Impl::onClickDiscard(), LLFloaterSnapshot::Impl::onClickHUDCheck(), LLFloaterSnapshot::Impl::onClickKeep(), LLFloaterSnapshot::Impl::onClickKeepAspectCheck(), LLFloaterSnapshot::Impl::onClickKeepOpenCheck(), LLFloaterSnapshot::Impl::onClickLess(), LLFloaterSnapshot::Impl::onClickMore(), 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::draw | ( | void | ) | [virtual] |
Reimplemented from LLFloater.
Definition at line 1866 of file llfloatersnapshot.cpp.
References LLPanel::childSetColor(), LLPanel::childSetEnabled(), LLPanel::childSetTextArg(), LLPanel::childSetToolTip(), LLPanel::childSetValue(), LLFloater::draw(), LLSnapshotLivePreview::drawPreviewRect(), FALSE, gColors, LLControlGroup::getBOOL(), LLControlGroup::getColor(), LLSnapshotLivePreview::getDataSize(), LLRectBase< Type >::getHeight(), LLSingleton< LLResMgr >::getInstance(), LLResMgr::getIntegerString(), LLFloaterSnapshot::Impl::getPreviewView(), LLView::getRect(), LLSnapshotLivePreview::getSnapshotType(), LLSnapshotLivePreview::getSnapshotUpToDate(), LLPanel::getString(), LLSnapshotLivePreview::getThumbnailHeight(), LLSnapshotLivePreview::getThumbnailImage(), LLSnapshotLivePreview::getThumbnailLock(), LLSnapshotLivePreview::getThumbnailWidth(), LLRectBase< Type >::getWidth(), gl_draw_scaled_image(), gSavedSettings, impl, LLFloater::isMinimized(), LLSnapshotLivePreview::isSnapshotActive(), MAX_POSTCARD_DATASIZE, LLColor4::red, S32, LLSnapshotLivePreview::SNAPSHOT_POSTCARD, LLLocale::USER_LOCALE, and LLColor4::white.
void LLFloaterSnapshot::onClose | ( | bool | app_quitting | ) | [virtual] |
Reimplemented from LLFloater.
Definition at line 1981 of file llfloatersnapshot.cpp.
References LLFloater::destroy(), FALSE, and LLView::setEnabled().
void LLFloaterSnapshot::show | ( | void * | ) | [static] |
Definition at line 1988 of file llfloatersnapshot.cpp.
References LLView::addChild(), LLFloaterView::adjustToFitScreen(), LLUICtrlFactory::buildFloater(), FALSE, LLUICtrl::focusFirstItem(), LLSingleton< LLUICtrlFactory >::getInstance(), gFloaterView, impl, LLFloaterSnapshot(), NULL, LLFloater::open(), LLView::removeChild(), LLView::setEnabled(), sInstance, TRUE, and LLFloaterSnapshot::Impl::updateLayout().
Referenced by LLFileTakeSnapshot::handleEvent(), and LLToolBar::onClickSnapshot().
void LLFloaterSnapshot::hide | ( | void * | ) | [static] |
Definition at line 2008 of file llfloatersnapshot.cpp.
References LLFloater::close(), LLMortician::isDead(), and sInstance.
Referenced by LLViewerWindow::changeDisplaySettings(), and LLAgent::setTeleportState().
void LLFloaterSnapshot::update | ( | ) | [static] |
Definition at line 2017 of file llfloatersnapshot.cpp.
References LLSnapshotLivePreview::onIdle(), and LLSnapshotLivePreview::sList.
Referenced by LLAppViewer::mainLoop().
static S32 LLFloaterSnapshot::getUIWinHeightLong | ( | ) | [inline, static] |
Definition at line 55 of file llfloatersnapshot.h.
References sUIWinHeightLong.
Referenced by LLFloaterSnapshot::Impl::onClickLess(), LLFloaterSnapshot::Impl::onClickMore(), and LLFloaterSnapshot::Impl::updateLayout().
static S32 LLFloaterSnapshot::getUIWinHeightShort | ( | ) | [inline, static] |
Definition at line 56 of file llfloatersnapshot.h.
References sUIWinHeightShort.
Referenced by LLFloaterSnapshot::Impl::onClickLess(), LLFloaterSnapshot::Impl::onClickMore(), and LLFloaterSnapshot::Impl::updateLayout().
static S32 LLFloaterSnapshot::getUIWinWidth | ( | ) | [inline, static] |
Definition at line 57 of file llfloatersnapshot.h.
References sUIWinWidth.
Referenced by LLSnapshotLivePreview::setThumbnailImageSize().
Impl& LLFloaterSnapshot::impl [private] |
Definition at line 60 of file llfloatersnapshot.h.
Referenced by draw(), postBuild(), show(), LLFloaterSnapshot::Impl::updateLayout(), and ~LLFloaterSnapshot().
LLFloaterSnapshot * LLFloaterSnapshot::sInstance = NULL [static, private] |
Definition at line 63 of file llfloatersnapshot.h.
Referenced by hide(), postBuild(), show(), LLFloaterSnapshot::Impl::updateLayout(), and ~LLFloaterSnapshot().
S32 LLFloaterSnapshot::sUIWinHeightLong = 526 [static, private] |
---------------------------------------------------------------------------- Local function declarations, constants, enums, and typedefs ----------------------------------------------------------------------------
Definition at line 64 of file llfloatersnapshot.h.
Referenced by getUIWinHeightLong().
S32 LLFloaterSnapshot::sUIWinHeightShort = LLFloaterSnapshot::sUIWinHeightLong - 230 [static, private] |
S32 LLFloaterSnapshot::sUIWinWidth = 215 [static, private] |