#include <llpanelface.h>
Public Member Functions | |
virtual BOOL | postBuild () |
LLPanelFace (const std::string &name) | |
virtual | ~LLPanelFace () |
void | refresh () |
Protected Member Functions | |
void | getState () |
void | sendTexture () |
void | sendTextureInfo () |
void | sendColor () |
void | sendAlpha () |
void | sendBump () |
void | sendTexGen () |
void | sendShiny () |
void | sendFullbright () |
void | sendGlow () |
Static Protected Member Functions | |
static BOOL | onDragTexture (LLUICtrl *ctrl, LLInventoryItem *item, void *ud) |
static void | onCommitTexture (LLUICtrl *ctrl, void *userdata) |
static void | onCancelTexture (LLUICtrl *ctrl, void *userdata) |
static void | onSelectTexture (LLUICtrl *ctrl, void *userdata) |
static void | onCommitTextureInfo (LLUICtrl *ctrl, void *userdata) |
static void | onCommitColor (LLUICtrl *ctrl, void *userdata) |
static void | onCommitAlpha (LLUICtrl *ctrl, void *userdata) |
static void | onCancelColor (LLUICtrl *ctrl, void *userdata) |
static void | onSelectColor (LLUICtrl *ctrl, void *userdata) |
static void | onCommitBump (LLUICtrl *ctrl, void *userdata) |
static void | onCommitTexGen (LLUICtrl *ctrl, void *userdata) |
static void | onCommitShiny (LLUICtrl *ctrl, void *userdata) |
static void | onCommitFullbright (LLUICtrl *ctrl, void *userdata) |
static void | onCommitGlow (LLUICtrl *ctrl, void *userdata) |
static void | onClickApply (void *) |
static void | onClickAutoFix (void *) |
static F32 | valueGlow (LLViewerObject *object, S32 face) |
Definition at line 50 of file llpanelface.h.
LLPanelFace::LLPanelFace | ( | const std::string & | name | ) |
Definition at line 188 of file llpanelface.cpp.
LLPanelFace::~LLPanelFace | ( | ) | [virtual] |
Definition at line 194 of file llpanelface.cpp.
BOOL LLPanelFace::postBuild | ( | void | ) | [virtual] |
Reimplemented from LLPanel.
Definition at line 69 of file llpanelface.cpp.
References LLAggregatePermissions::AP_ALL, LLAggregatePermissions::AP_EMPTY, LLPanel::childSetAction(), LLPanel::childSetCommitCallback(), LLPanel::clearCtrls(), FALSE, FOLLOWS_LEFT, FOLLOWS_TOP, LLSingleton< LLSelectMgr >::getInstance(), LLView::getRect(), LLControlGroup::getString(), LLAggregatePermissions::getValue(), gSavedSettings, onCancelColor(), onCancelTexture(), onClickApply(), onClickAutoFix(), onCommitAlpha(), onCommitBump(), onCommitColor(), onCommitFullbright(), onCommitGlow(), onCommitShiny(), onCommitTexGen(), onCommitTexture(), onCommitTextureInfo(), onDragTexture(), onSelectColor(), onSelectTexture(), PERM_COPY, PERM_NONE, PERM_TRANSFER, LLUICtrl::setCallbackUserData(), LLColorSwatchCtrl::setCanApplyImmediately(), LLTextureCtrl::setCanApplyImmediately(), LLUICtrl::setCommitCallback(), LLTextureCtrl::setDefaultImageAssetID(), LLTextureCtrl::setDragCallback(), LLView::setFollowsLeft(), LLView::setFollowsTop(), LLTextureCtrl::setImmediateFilterPermMask(), LLView::setMouseOpaque(), LLTextureCtrl::setNonImmediateFilterPermMask(), LLColorSwatchCtrl::setOnCancelCallback(), LLTextureCtrl::setOnCancelCallback(), LLColorSwatchCtrl::setOnSelectCallback(), LLTextureCtrl::setOnSelectCallback(), LLSpinCtrl::setPrecision(), and TRUE.
void LLPanelFace::refresh | ( | ) | [virtual] |
Reimplemented from LLPanel.
Definition at line 794 of file llpanelface.cpp.
References getState().
Referenced by LLFloaterTools::refresh().
void LLPanelFace::getState | ( | ) | [protected] |
Definition at line 381 of file llpanelface.cpp.
References LLAggregatePermissions::AP_ALL, LLAggregatePermissions::AP_EMPTY, LLPanel::childGetSelectionInterface(), LLPanel::childGetValue(), LLPanel::childSetEnabled(), LLPanel::childSetTentative(), LLPanel::childSetText(), LLPanel::childSetValue(), LLPanel::clearCtrls(), FALSE, LLComboBox::getCurrentIndex(), LLViewerImage::getID(), LLSingleton< LLSelectMgr >::getInstance(), LLPrimitive::getPCode(), LLSelectMgr::getSelection(), LLPanel::getString(), LLPrimitive::getTESTAxes(), LLAggregatePermissions::getValue(), LLViewerMedia::hasMedia(), LL_PCODE_VOLUME, llabs(), llendl, llwarns, LLUUID::null, PERM_COPY, PERM_TRANSFER, LLViewerObject::permModify(), RAD_TO_DEG, S32, LLCtrlSelectionInterface::selectNthItem(), LLColorSwatchCtrl::set(), LLColorSwatchCtrl::setCanApplyImmediately(), LLTextureCtrl::setCanApplyImmediately(), LLColorSwatchCtrl::setEnabled(), LLTextureCtrl::setEnabled(), LLTextureCtrl::setImageAssetID(), LLColorSwatchCtrl::setOriginal(), LLUICtrl::setTentative(), LLColorSwatchCtrl::setValid(), TEM_TEX_GEN_SHIFT, TRUE, VALPHA, VX, VY, and LLColor4::white.
Referenced by refresh().
void LLPanelFace::sendTexture | ( | ) | [protected] |
Definition at line 200 of file llpanelface.cpp.
References LLTextureCtrl::getImageAssetID(), LLTextureCtrl::getImageItemID(), LLSingleton< LLSelectMgr >::getInstance(), LLUICtrl::getTentative(), and LLSelectMgr::selectionSetImage().
void LLPanelFace::sendTextureInfo | ( | ) | [protected] |
Definition at line 372 of file llpanelface.cpp.
References LLSingleton< LLSelectMgr >::getInstance(), and LLSelectMgr::getSelection().
void LLPanelFace::sendColor | ( | ) | [protected] |
Definition at line 249 of file llpanelface.cpp.
References LLColorSwatchCtrl::get(), LLSingleton< LLSelectMgr >::getInstance(), and LLSelectMgr::selectionSetColorOnly().
void LLPanelFace::sendAlpha | ( | ) | [protected] |
Definition at line 259 of file llpanelface.cpp.
References LLSpinCtrl::get(), LLSingleton< LLSelectMgr >::getInstance(), and LLSelectMgr::selectionSetAlphaOnly().
void LLPanelFace::sendBump | ( | ) | [protected] |
Definition at line 217 of file llpanelface.cpp.
References LLComboBox::getCurrentIndex(), LLSingleton< LLSelectMgr >::getInstance(), LLSelectMgr::selectionSetBumpmap(), and TEM_BUMP_MASK.
void LLPanelFace::sendTexGen | ( | ) | [protected] |
Definition at line 225 of file llpanelface.cpp.
References LLComboBox::getCurrentIndex(), LLSingleton< LLSelectMgr >::getInstance(), LLSelectMgr::selectionSetTexGen(), and TEM_TEX_GEN_SHIFT.
void LLPanelFace::sendShiny | ( | ) | [protected] |
Definition at line 233 of file llpanelface.cpp.
References LLComboBox::getCurrentIndex(), LLSingleton< LLSelectMgr >::getInstance(), LLSelectMgr::selectionSetShiny(), and TEM_SHINY_MASK.
void LLPanelFace::sendFullbright | ( | ) | [protected] |
Definition at line 241 of file llpanelface.cpp.
References LLCheckBoxCtrl::get(), LLSingleton< LLSelectMgr >::getInstance(), LLSelectMgr::selectionSetFullbright(), and TEM_FULLBRIGHT_MASK.
void LLPanelFace::sendGlow | ( | ) | [protected] |
Definition at line 269 of file llpanelface.cpp.
References LLSpinCtrl::get(), LLSingleton< LLSelectMgr >::getInstance(), and LLSelectMgr::selectionSetGlow().
BOOL LLPanelFace::onDragTexture | ( | LLUICtrl * | ctrl, | |
LLInventoryItem * | item, | |||
void * | ud | |||
) | [static, protected] |
Definition at line 874 of file llpanelface.cpp.
References FALSE, LLSingleton< LLSelectMgr >::getInstance(), LLSelectNode::getObject(), LLSelectMgr::getSelection(), LLToolDragAndDrop::isInventoryDropAcceptable(), and TRUE.
Referenced by postBuild().
void LLPanelFace::onCommitTexture | ( | LLUICtrl * | ctrl, | |
void * | userdata | |||
) | [static, protected] |
Definition at line 892 of file llpanelface.cpp.
References LLSingleton< LLViewerStats >::getInstance(), LLViewerStats::incStat(), and LLViewerStats::ST_EDIT_TEXTURE_COUNT.
Referenced by postBuild().
void LLPanelFace::onCancelTexture | ( | LLUICtrl * | ctrl, | |
void * | userdata | |||
) | [static, protected] |
Definition at line 902 of file llpanelface.cpp.
References LLSingleton< LLSelectMgr >::getInstance(), and LLSelectMgr::selectionRevertTextures().
Referenced by postBuild().
void LLPanelFace::onSelectTexture | ( | LLUICtrl * | ctrl, | |
void * | userdata | |||
) | [static, protected] |
Definition at line 908 of file llpanelface.cpp.
References LLSingleton< LLSelectMgr >::getInstance(), and LLSelectMgr::saveSelectedObjectTextures().
Referenced by postBuild().
void LLPanelFace::onCommitTextureInfo | ( | LLUICtrl * | ctrl, | |
void * | userdata | |||
) | [static, protected] |
Definition at line 917 of file llpanelface.cpp.
Referenced by postBuild().
void LLPanelFace::onCommitColor | ( | LLUICtrl * | ctrl, | |
void * | userdata | |||
) | [static, protected] |
Definition at line 811 of file llpanelface.cpp.
Referenced by postBuild().
void LLPanelFace::onCommitAlpha | ( | LLUICtrl * | ctrl, | |
void * | userdata | |||
) | [static, protected] |
Definition at line 818 of file llpanelface.cpp.
Referenced by postBuild().
void LLPanelFace::onCancelColor | ( | LLUICtrl * | ctrl, | |
void * | userdata | |||
) | [static, protected] |
Definition at line 825 of file llpanelface.cpp.
References LLSingleton< LLSelectMgr >::getInstance(), and LLSelectMgr::selectionRevertColors().
Referenced by postBuild().
void LLPanelFace::onSelectColor | ( | LLUICtrl * | ctrl, | |
void * | userdata | |||
) | [static, protected] |
Definition at line 831 of file llpanelface.cpp.
References LLSingleton< LLSelectMgr >::getInstance(), and LLSelectMgr::saveSelectedObjectColors().
Referenced by postBuild().
void LLPanelFace::onCommitBump | ( | LLUICtrl * | ctrl, | |
void * | userdata | |||
) | [static, protected] |
Definition at line 839 of file llpanelface.cpp.
Referenced by postBuild().
void LLPanelFace::onCommitTexGen | ( | LLUICtrl * | ctrl, | |
void * | userdata | |||
) | [static, protected] |
Definition at line 846 of file llpanelface.cpp.
Referenced by postBuild().
void LLPanelFace::onCommitShiny | ( | LLUICtrl * | ctrl, | |
void * | userdata | |||
) | [static, protected] |
Definition at line 853 of file llpanelface.cpp.
Referenced by postBuild().
void LLPanelFace::onCommitFullbright | ( | LLUICtrl * | ctrl, | |
void * | userdata | |||
) | [static, protected] |
Definition at line 860 of file llpanelface.cpp.
Referenced by postBuild().
void LLPanelFace::onCommitGlow | ( | LLUICtrl * | ctrl, | |
void * | userdata | |||
) | [static, protected] |
Definition at line 867 of file llpanelface.cpp.
Referenced by postBuild().
void LLPanelFace::onClickApply | ( | void * | userdata | ) | [static, protected] |
Definition at line 925 of file llpanelface.cpp.
References LLSingleton< LLSelectMgr >::getInstance(), gFocusMgr, NULL, LLSelectMgr::selectionTexScaleAutofit(), and LLFocusMgr::setKeyboardFocus().
Referenced by postBuild().
void LLPanelFace::onClickAutoFix | ( | void * | userdata | ) | [static, protected] |
Definition at line 964 of file llpanelface.cpp.
References LLSingleton< LLSelectMgr >::getInstance(), and LLSelectMgr::getSelection().
Referenced by postBuild().
F32 LLPanelFace::valueGlow | ( | LLViewerObject * | object, | |
S32 | face | |||
) | [static, protected] |
Definition at line 804 of file llpanelface.cpp.