LLFloaterSnapshot::Impl Class Reference

Collaboration diagram for LLFloaterSnapshot::Impl:

Collaboration graph
[legend]

List of all members.

Public Member Functions

 Impl ()
 ~Impl ()

Static Public Member Functions

static void onClickDiscard (void *data)
static void onClickKeep (void *data)
static void onClickNewSnapshot (void *data)
static void onClickAutoSnap (LLUICtrl *ctrl, void *data)
static void onClickLess (void *data)
static void onClickMore (void *data)
static void onClickUICheck (LLUICtrl *ctrl, void *data)
static void onClickHUDCheck (LLUICtrl *ctrl, void *data)
static void onClickKeepOpenCheck (LLUICtrl *ctrl, void *data)
static void onClickKeepAspectCheck (LLUICtrl *ctrl, void *data)
static void onCommitQuality (LLUICtrl *ctrl, void *data)
static void onCommitResolution (LLUICtrl *ctrl, void *data)
static void onCommitFreezeFrame (LLUICtrl *ctrl, void *data)
static void onCommitLayerTypes (LLUICtrl *ctrl, void *data)
static void onCommitSnapshotType (LLUICtrl *ctrl, void *data)
static void onCommitCustomResolution (LLUICtrl *ctrl, void *data)
static void resetSnapshotSizeOnUI (LLFloaterSnapshot *view, S32 width, S32 height)
static BOOL checkImageSize (LLSnapshotLivePreview *previewp, S32 &width, S32 &height, BOOL isWidthChanged, S32 max_value)
static LLSnapshotLivePreviewgetPreviewView (LLFloaterSnapshot *floater)
static void setResolution (LLFloaterSnapshot *floater, const std::string &comboname)
static void updateControls (LLFloaterSnapshot *floater)
static void updateLayout (LLFloaterSnapshot *floater)

Public Attributes

std::vector< LLAnimPauseRequestmAvatarPauseHandles
LLToolsetmLastToolset

Static Public Attributes

static LLHandle< LLViewsPreviewHandle
static BOOL sAspectRatioCheckOff = FALSE

Static Private Member Functions

static
LLSnapshotLivePreview::ESnapshotType 
getTypeIndex (LLFloaterSnapshot *floater)
static
LLViewerWindow::ESnapshotType 
getLayerType (LLFloaterSnapshot *floater)
static void comboSetCustom (LLFloaterSnapshot *floater, const std::string &comboname)
static void checkAutoSnapshot (LLSnapshotLivePreview *floater, BOOL update_thumbnail=FALSE)
static void checkAspectRatio (LLFloaterSnapshot *view, S32 index)


Detailed Description

---------------------------------------------------------------------------- Class LLFloaterSnapshot::Impl ----------------------------------------------------------------------------

Definition at line 938 of file llfloatersnapshot.cpp.


Constructor & Destructor Documentation

LLFloaterSnapshot::Impl::Impl (  )  [inline]

Definition at line 941 of file llfloatersnapshot.cpp.

LLFloaterSnapshot::Impl::~Impl (  )  [inline]

Definition at line 946 of file llfloatersnapshot.cpp.


Member Function Documentation

void LLFloaterSnapshot::Impl::onClickDiscard ( void *  data  )  [static]

Definition at line 1273 of file llfloatersnapshot.cpp.

References LLFloater::close().

Referenced by LLFloaterSnapshot::postBuild().

Here is the call graph for this function:

Here is the caller graph for this function:

void LLFloaterSnapshot::Impl::onClickKeep ( void *  data  )  [static]

void LLFloaterSnapshot::Impl::onClickNewSnapshot ( void *  data  )  [static]

Definition at line 1325 of file llfloatersnapshot.cpp.

References getPreviewView(), TRUE, and LLSnapshotLivePreview::updateSnapshot().

Referenced by LLFloaterSnapshot::postBuild().

Here is the call graph for this function:

Here is the caller graph for this function:

void LLFloaterSnapshot::Impl::onClickAutoSnap ( LLUICtrl ctrl,
void *  data 
) [static]

Definition at line 1336 of file llfloatersnapshot.cpp.

References checkAutoSnapshot(), LLCheckBoxCtrl::get(), getPreviewView(), gSavedSettings, and LLControlGroup::setBOOL().

Referenced by LLFloaterSnapshot::postBuild().

Here is the call graph for this function:

Here is the caller graph for this function:

void LLFloaterSnapshot::Impl::onClickLess ( void *  data  )  [static]

void LLFloaterSnapshot::Impl::onClickMore ( void *  data  )  [static]

void LLFloaterSnapshot::Impl::onClickUICheck ( LLUICtrl ctrl,
void *  data 
) [static]

Definition at line 1383 of file llfloatersnapshot.cpp.

References checkAutoSnapshot(), LLCheckBoxCtrl::get(), getPreviewView(), gSavedSettings, LLControlGroup::setBOOL(), and TRUE.

Referenced by LLFloaterSnapshot::postBuild().

Here is the call graph for this function:

Here is the caller graph for this function:

void LLFloaterSnapshot::Impl::onClickHUDCheck ( LLUICtrl ctrl,
void *  data 
) [static]

Definition at line 1396 of file llfloatersnapshot.cpp.

References checkAutoSnapshot(), LLCheckBoxCtrl::get(), getPreviewView(), gSavedSettings, LLControlGroup::setBOOL(), and TRUE.

Referenced by LLFloaterSnapshot::postBuild().

Here is the call graph for this function:

Here is the caller graph for this function:

void LLFloaterSnapshot::Impl::onClickKeepOpenCheck ( LLUICtrl ctrl,
void *  data 
) [static]

Definition at line 1409 of file llfloatersnapshot.cpp.

References LLCheckBoxCtrl::get(), gSavedSettings, and LLControlGroup::setBOOL().

Referenced by LLFloaterSnapshot::postBuild().

Here is the call graph for this function:

Here is the caller graph for this function:

void LLFloaterSnapshot::Impl::onClickKeepAspectCheck ( LLUICtrl ctrl,
void *  data 
) [static]

void LLFloaterSnapshot::Impl::onCommitQuality ( LLUICtrl ctrl,
void *  data 
) [static]

Definition at line 1444 of file llfloatersnapshot.cpp.

References LLSD::asReal(), checkAutoSnapshot(), getPreviewView(), LLSliderCtrl::getValue(), llfloor(), S32, and TRUE.

Referenced by LLFloaterSnapshot::postBuild().

Here is the call graph for this function:

Here is the caller graph for this function:

void LLFloaterSnapshot::Impl::onCommitResolution ( LLUICtrl ctrl,
void *  data 
) [static]

void LLFloaterSnapshot::Impl::onCommitFreezeFrame ( LLUICtrl ctrl,
void *  data 
) [static]

Definition at line 1458 of file llfloatersnapshot.cpp.

References LLCheckBoxCtrl::get(), gSavedSettings, LLControlGroup::setBOOL(), and updateLayout().

Referenced by LLFloaterSnapshot::postBuild().

Here is the call graph for this function:

Here is the caller graph for this function:

void LLFloaterSnapshot::Impl::onCommitLayerTypes ( LLUICtrl ctrl,
void *  data 
) [static]

Definition at line 1584 of file llfloatersnapshot.cpp.

References checkAutoSnapshot(), LLComboBox::getCurrentIndex(), getPreviewView(), LLSnapshotLivePreview::setSnapshotBufferType(), and TRUE.

Referenced by LLFloaterSnapshot::postBuild().

Here is the call graph for this function:

Here is the caller graph for this function:

void LLFloaterSnapshot::Impl::onCommitSnapshotType ( LLUICtrl ctrl,
void *  data 
) [static]

Definition at line 1602 of file llfloatersnapshot.cpp.

References getPreviewView(), getTypeIndex(), gSavedSettings, LLControlGroup::setS32(), TRUE, updateControls(), and LLSnapshotLivePreview::updateSnapshot().

Referenced by LLFloaterSnapshot::postBuild().

Here is the call graph for this function:

Here is the caller graph for this function:

void LLFloaterSnapshot::Impl::onCommitCustomResolution ( LLUICtrl ctrl,
void *  data 
) [static]

void LLFloaterSnapshot::Impl::resetSnapshotSizeOnUI ( LLFloaterSnapshot view,
S32  width,
S32  height 
) [static]

Definition at line 1692 of file llfloatersnapshot.cpp.

References LLSpinCtrl::forceSetValue(), LLView::getChild(), gSavedSettings, and LLControlGroup::setS32().

Referenced by onClickKeepAspectCheck(), onCommitCustomResolution(), and onCommitResolution().

Here is the call graph for this function:

Here is the caller graph for this function:

BOOL LLFloaterSnapshot::Impl::checkImageSize ( LLSnapshotLivePreview previewp,
S32 width,
S32 height,
BOOL  isWidthChanged,
S32  max_value 
) [static]

LLSnapshotLivePreview * LLFloaterSnapshot::Impl::getPreviewView ( LLFloaterSnapshot floater  )  [static]

void LLFloaterSnapshot::Impl::setResolution ( LLFloaterSnapshot floater,
const std::string &  comboname 
) [static]

Definition at line 1036 of file llfloatersnapshot.cpp.

References LLView::getChild(), onCommitResolution(), LLView::setVisible(), and TRUE.

Referenced by updateControls().

Here is the call graph for this function:

Here is the caller graph for this function:

void LLFloaterSnapshot::Impl::updateControls ( LLFloaterSnapshot floater  )  [static]

void LLFloaterSnapshot::Impl::updateLayout ( LLFloaterSnapshot floater  )  [static]

LLSnapshotLivePreview::ESnapshotType LLFloaterSnapshot::Impl::getTypeIndex ( LLFloaterSnapshot floater  )  [static, private]

Definition at line 1006 of file llfloatersnapshot.cpp.

References LLSD::asString(), LLPanel::childGetValue(), LLSnapshotLivePreview::SNAPSHOT_BITMAP, LLSnapshotLivePreview::SNAPSHOT_POSTCARD, and LLSnapshotLivePreview::SNAPSHOT_TEXTURE.

Referenced by checkAspectRatio(), onCommitSnapshotType(), and updateControls().

Here is the call graph for this function:

Here is the caller graph for this function:

LLViewerWindow::ESnapshotType LLFloaterSnapshot::Impl::getLayerType ( LLFloaterSnapshot floater  )  [static, private]

Definition at line 1021 of file llfloatersnapshot.cpp.

References LLSD::asString(), LLPanel::childGetValue(), LLViewerWindow::SNAPSHOT_TYPE_COLOR, LLViewerWindow::SNAPSHOT_TYPE_DEPTH, and LLViewerWindow::SNAPSHOT_TYPE_OBJECT_ID.

Referenced by updateControls().

Here is the call graph for this function:

Here is the caller graph for this function:

void LLFloaterSnapshot::Impl::comboSetCustom ( LLFloaterSnapshot floater,
const std::string &  comboname 
) [static, private]

Definition at line 1614 of file llfloatersnapshot.cpp.

References checkAspectRatio(), LLView::getChild(), LLComboBox::getItemCount(), and LLComboBox::setCurrentByIndex().

Referenced by onCommitCustomResolution().

Here is the call graph for this function:

Here is the caller graph for this function:

void LLFloaterSnapshot::Impl::checkAutoSnapshot ( LLSnapshotLivePreview floater,
BOOL  update_thumbnail = FALSE 
) [static, private]

void LLFloaterSnapshot::Impl::checkAspectRatio ( LLFloaterSnapshot view,
S32  index 
) [static, private]


Member Data Documentation

Definition at line 978 of file llfloatersnapshot.cpp.

Referenced by checkAspectRatio(), and updateControls().

Definition at line 988 of file llfloatersnapshot.cpp.

Referenced by updateLayout().

Definition at line 990 of file llfloatersnapshot.cpp.

Referenced by updateLayout(), and LLFloaterSnapshot::~LLFloaterSnapshot().


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

Generated on Fri May 16 08:46:39 2008 for SecondLife by  doxygen 1.5.5