LLPanelFace Class Reference

#include <llpanelface.h>

Inheritance diagram for LLPanelFace:

Inheritance graph
[legend]
Collaboration diagram for LLPanelFace:

Collaboration graph
[legend]
List of all members.

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 ()

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 onClickApply (void *)
static void onClickAutoFix (void *)

Detailed Description

Definition at line 50 of file llpanelface.h.


Constructor & Destructor Documentation

LLPanelFace::LLPanelFace ( const std::string &  name  ) 

Definition at line 177 of file llpanelface.cpp.

LLPanelFace::~LLPanelFace (  )  [virtual]

Definition at line 183 of file llpanelface.cpp.


Member Function Documentation

void LLPanelFace::getState (  )  [protected]

Definition at line 362 of file llpanelface.cpp.

References LLAggregatePermissions::AP_ALL, LLAggregatePermissions::AP_EMPTY, LLPanel::childGetSelectionInterface(), LLPanel::childGetText(), LLPanel::childGetValue(), LLPanel::childSetEnabled(), LLPanel::childSetTentative(), LLPanel::childSetText(), LLPanel::childSetValue(), LLPanel::clearCtrls(), f, face, FALSE, func, LLTextureEntry::getBumpmap(), LLUICtrlFactory::getColorSwatchByName(), LLViewerUICtrlFactory::getColorSwatchByName(), LLUICtrlFactory::getComboBoxByName(), LLComboBox::getCurrentIndex(), LLTextureEntry::getFullbright(), LLViewerImage::getID(), LLMediaEngine::getInstance(), LLPrimitive::getPCode(), LLXform::getScale(), LLSelectMgr::getSelection(), LLTextureEntry::getShiny(), LLPrimitive::getTE(), LLViewerObject::getTEImage(), LLPrimitive::getTESTAxes(), LLTextureEntry::getTexGen(), LLUICtrlFactory::getTexturePickerByName(), LLViewerUICtrlFactory::getTexturePickerByName(), gSelectMgr, LL_PCODE_VOLUME, llabs(), llendl, llwarns, LLTextureEntry::mOffsetS, LLTextureEntry::mOffsetT, LLTextureEntry::mRotation, LLTextureEntry::mScaleS, LLTextureEntry::mScaleT, LLVector3::mV, LLColor4::mV, LLUUID::null, PERM_COPY, PERM_TRANSFER, LLViewerObject::permModify(), RAD_TO_DEG, S32, LLSelectMgr::selectGetAggregateTexturePermissions(), 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::onCancelColor ( LLUICtrl ctrl,
void userdata 
) [static, protected]

Definition at line 776 of file llpanelface.cpp.

References gSelectMgr, and LLSelectMgr::selectionRevertColors().

Referenced by postBuild().

void LLPanelFace::onCancelTexture ( LLUICtrl ctrl,
void userdata 
) [static, protected]

Definition at line 846 of file llpanelface.cpp.

References gSelectMgr, and LLSelectMgr::selectionRevertTextures().

Referenced by postBuild().

void LLPanelFace::onClickApply ( void  )  [static, protected]

Definition at line 869 of file llpanelface.cpp.

References gFocusMgr, gSelectMgr, NULL, LLSelectMgr::selectionTexScaleAutofit(), and LLFocusMgr::setKeyboardFocus().

Referenced by postBuild().

void LLPanelFace::onClickAutoFix ( void  )  [static, protected]

Definition at line 910 of file llpanelface.cpp.

References LLSelectMgr::getSelection(), and gSelectMgr.

Referenced by postBuild().

void LLPanelFace::onCommitAlpha ( LLUICtrl ctrl,
void userdata 
) [static, protected]

Definition at line 769 of file llpanelface.cpp.

Referenced by postBuild().

void LLPanelFace::onCommitBump ( LLUICtrl ctrl,
void userdata 
) [static, protected]

Definition at line 790 of file llpanelface.cpp.

Referenced by postBuild().

void LLPanelFace::onCommitColor ( LLUICtrl ctrl,
void userdata 
) [static, protected]

Definition at line 762 of file llpanelface.cpp.

Referenced by postBuild().

void LLPanelFace::onCommitFullbright ( LLUICtrl ctrl,
void userdata 
) [static, protected]

Definition at line 811 of file llpanelface.cpp.

Referenced by postBuild().

void LLPanelFace::onCommitShiny ( LLUICtrl ctrl,
void userdata 
) [static, protected]

Definition at line 804 of file llpanelface.cpp.

Referenced by postBuild().

void LLPanelFace::onCommitTexGen ( LLUICtrl ctrl,
void userdata 
) [static, protected]

Definition at line 797 of file llpanelface.cpp.

Referenced by postBuild().

void LLPanelFace::onCommitTexture ( LLUICtrl ctrl,
void userdata 
) [static, protected]

Definition at line 836 of file llpanelface.cpp.

References gViewerStats, LLViewerStats::incStat(), and LLViewerStats::ST_EDIT_TEXTURE_COUNT.

Referenced by postBuild().

void LLPanelFace::onCommitTextureInfo ( LLUICtrl ctrl,
void userdata 
) [static, protected]

Definition at line 861 of file llpanelface.cpp.

Referenced by postBuild().

BOOL LLPanelFace::onDragTexture ( LLUICtrl ctrl,
LLInventoryItem item,
void ud 
) [static, protected]

Definition at line 818 of file llpanelface.cpp.

References FALSE, LLSelectMgr::getSelection(), gSelectMgr, LLToolDragAndDrop::isInventoryDropAcceptable(), and TRUE.

Referenced by postBuild().

void LLPanelFace::onSelectColor ( LLUICtrl ctrl,
void userdata 
) [static, protected]

Definition at line 782 of file llpanelface.cpp.

References gSelectMgr, and LLSelectMgr::saveSelectedObjectColors().

Referenced by postBuild().

void LLPanelFace::onSelectTexture ( LLUICtrl ctrl,
void userdata 
) [static, protected]

Definition at line 852 of file llpanelface.cpp.

References gSelectMgr, and LLSelectMgr::saveSelectedObjectTextures().

Referenced by postBuild().

BOOL LLPanelFace::postBuild (  )  [virtual]

Reimplemented from LLPanel.

Definition at line 70 of file llpanelface.cpp.

References LLAggregatePermissions::AP_ALL, LLAggregatePermissions::AP_EMPTY, LLPanel::childSetAction(), LLPanel::childSetCommitCallback(), LLPanel::clearCtrls(), FALSE, FOLLOWS_LEFT, FOLLOWS_TOP, LLUICtrlFactory::getCheckBoxByName(), LLUICtrlFactory::getColorSwatchByName(), LLUICtrlFactory::getComboBoxByName(), LLView::getRect(), LLUICtrlFactory::getSpinnerByName(), LLControlGroup::getString(), LLUICtrlFactory::getTextBoxByName(), LLUICtrlFactory::getTexturePickerByName(), LLAggregatePermissions::getValue(), gSavedSettings, gSelectMgr, onCancelColor(), onCancelTexture(), onClickApply(), onClickAutoFix(), onCommitAlpha(), onCommitBump(), onCommitColor(), onCommitFullbright(), onCommitShiny(), onCommitTexGen(), onCommitTexture(), onCommitTextureInfo(), onDragTexture(), onSelectColor(), onSelectTexture(), PERM_COPY, PERM_NONE, PERM_TRANSFER, LLSelectMgr::selectGetAggregateTexturePermissions(), LLUICtrl::setCallbackUserData(), LLColorSwatchCtrl::setCanApplyImmediately(), LLTextureCtrl::setCanApplyImmediately(), LLUICtrl::setCommitCallback(), LLTextureCtrl::setDefaultImageAssetID(), LLTextureCtrl::setDragCallback(), LLView::setFollows(), 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 751 of file llpanelface.cpp.

References getState().

Referenced by LLFloaterTools::refresh().

void LLPanelFace::sendAlpha (  )  [protected]

Definition at line 248 of file llpanelface.cpp.

References f, LLSpinCtrl::get(), LLUICtrlFactory::getSpinnerByName(), gSelectMgr, and LLSelectMgr::selectionSetAlphaOnly().

void LLPanelFace::sendBump (  )  [protected]

Definition at line 206 of file llpanelface.cpp.

References LLUICtrlFactory::getComboBoxByName(), LLComboBox::getCurrentIndex(), gSelectMgr, gUICtrlFactory, LLSelectMgr::selectionSetBumpmap(), and TEM_BUMP_MASK.

void LLPanelFace::sendColor (  )  [protected]

Definition at line 238 of file llpanelface.cpp.

References LLColorSwatchCtrl::get(), LLViewerUICtrlFactory::getColorSwatchByName(), gSelectMgr, and LLSelectMgr::selectionSetColorOnly().

void LLPanelFace::sendFullbright (  )  [protected]

Definition at line 230 of file llpanelface.cpp.

References LLCheckBoxCtrl::get(), LLUICtrlFactory::getCheckBoxByName(), gSelectMgr, gUICtrlFactory, LLSelectMgr::selectionSetFullbright(), and TEM_FULLBRIGHT_MASK.

void LLPanelFace::sendShiny (  )  [protected]

Definition at line 222 of file llpanelface.cpp.

References LLUICtrlFactory::getComboBoxByName(), LLComboBox::getCurrentIndex(), gSelectMgr, gUICtrlFactory, LLSelectMgr::selectionSetShiny(), and TEM_SHINY_MASK.

void LLPanelFace::sendTexGen (  )  [protected]

Definition at line 214 of file llpanelface.cpp.

References LLUICtrlFactory::getComboBoxByName(), LLComboBox::getCurrentIndex(), gSelectMgr, gUICtrlFactory, LLSelectMgr::selectionSetTexGen(), and TEM_TEX_GEN_SHIFT.

void LLPanelFace::sendTexture (  )  [protected]

Definition at line 189 of file llpanelface.cpp.

References LLTextureCtrl::getImageAssetID(), LLTextureCtrl::getImageItemID(), LLUICtrl::getTentative(), LLUICtrlFactory::getTexturePickerByName(), gSelectMgr, gUICtrlFactory, and LLSelectMgr::selectionSetImage().

void LLPanelFace::sendTextureInfo (  )  [protected]

Definition at line 353 of file llpanelface.cpp.

References LLSelectMgr::getSelection(), and gSelectMgr.


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