#include <llfloaterland.h>
Definition at line 228 of file llfloaterland.h.
LLPanelLandObjects::LLPanelLandObjects | ( | LLSafeHandle< LLParcelSelection > & | parcelp | ) |
Definition at line 993 of file llfloaterland.cpp.
LLPanelLandObjects::~LLPanelLandObjects | ( | ) | [virtual] |
Definition at line 1061 of file llfloaterland.cpp.
void LLPanelLandObjects::refresh | ( | ) | [virtual] |
Reimplemented from LLPanel.
Definition at line 1094 of file llfloaterland.cpp.
References LLScrollListCtrl::deleteAllItems(), FALSE, LLParcel::getCleanOtherTime(), LLParcel::getGroupPrimCount(), LLSingleton< LLViewerParcelMgr >::getInstance(), LLParcel::getMaxPrimCapacity(), LLViewerRegion::getMaxTasks(), LLParcel::getOtherPrimCount(), LLParcel::getOwnerPrimCount(), LLParcel::getParcelPrimBonus(), LLParcel::getPrimCount(), LLParcel::getSelectedPrimCount(), LLViewerParcelMgr::getSelectionRegion(), LLParcel::getSimWideMaxPrimCapacity(), LLParcel::getSimWidePrimCount(), LLPanel::getString(), GP_LAND_RETURN_GROUP_OWNED, GP_LAND_RETURN_GROUP_SET, GP_LAND_RETURN_NON_GROUP, LLViewerParcelMgr::isParcelModifiableByAgent(), llformat(), llmin(), llround(), mBtnRefresh, mBtnReturnGroupObjects, mBtnReturnOtherObjects, mBtnReturnOwnerList, mBtnReturnOwnerObjects, mBtnShowGroupObjects, mBtnShowOtherObjects, mBtnShowOwnerObjects, mCleanOtherObjectsTime, mGroupObjects, mObjectContribution, mOtherObjects, mOtherTime, mOwnerList, mOwnerObjects, mParcel, mParcelObjectBonus, mSelectedObjects, mSelectedOwners, mSWTotalObjects, mTotalObjects, S32, LLScrollListCtrl::setEnabled(), LLLineEditor::setEnabled(), LLView::setEnabled(), LLLineEditor::setText(), LLTextBox::setText(), LLTextBox::setTextArg(), LLView::setVisible(), and TRUE.
Referenced by callbackReturnGroupObjects(), callbackReturnOtherObjects(), callbackReturnOwnerObjects(), and LLFloaterLand::refresh().
void LLPanelLandObjects::draw | ( | void | ) | [virtual] |
Reimplemented from LLPanel.
Definition at line 1207 of file llfloaterland.cpp.
References LLPanel::draw().
void LLPanelLandObjects::callbackReturnOwnerObjects | ( | S32 | option, | |
void * | userdata | |||
) | [static] |
Definition at line 1273 of file llfloaterland.cpp.
References gAgentID, gCacheName, LLSingleton< LLViewerParcelMgr >::getInstance(), LLSingleton< LLSelectMgr >::getInstance(), LLParcel::getLocalID(), LLCacheName::getName(), LLParcel::getOwnerID(), mParcel, refresh(), RT_OWNER, send_return_objects_message(), LLViewerParcelMgr::sendParcelPropertiesUpdate(), LLNotifyBox::showXml(), and LLSelectMgr::unhighlightAll().
Referenced by onClickReturnOwnerObjects().
void LLPanelLandObjects::callbackReturnGroupObjects | ( | S32 | option, | |
void * | userdata | |||
) | [static] |
Definition at line 1305 of file llfloaterland.cpp.
References gCacheName, LLParcel::getGroupID(), LLCacheName::getGroupName(), LLSingleton< LLViewerParcelMgr >::getInstance(), LLSingleton< LLSelectMgr >::getInstance(), LLParcel::getLocalID(), mParcel, refresh(), RT_GROUP, send_return_objects_message(), LLViewerParcelMgr::sendParcelPropertiesUpdate(), LLNotifyBox::showXml(), and LLSelectMgr::unhighlightAll().
Referenced by onClickReturnGroupObjects().
void LLPanelLandObjects::callbackReturnOtherObjects | ( | S32 | option, | |
void * | userdata | |||
) | [static] |
Definition at line 1327 of file llfloaterland.cpp.
References LLSingleton< LLViewerParcelMgr >::getInstance(), LLSingleton< LLSelectMgr >::getInstance(), LLParcel::getLocalID(), mParcel, refresh(), RT_OTHER, send_return_objects_message(), LLViewerParcelMgr::sendParcelPropertiesUpdate(), LLNotifyBox::showXml(), and LLSelectMgr::unhighlightAll().
Referenced by onClickReturnOtherObjects().
void LLPanelLandObjects::callbackReturnOwnerList | ( | S32 | option, | |
void * | userdata | |||
) | [static] |
Definition at line 1345 of file llfloaterland.cpp.
References LLSingleton< LLViewerParcelMgr >::getInstance(), LLSingleton< LLSelectMgr >::getInstance(), LLParcel::getLocalID(), RT_LIST, send_return_objects_message(), LLViewerParcelMgr::sendParcelPropertiesUpdate(), LLNotifyBox::showXml(), and LLSelectMgr::unhighlightAll().
Referenced by onClickReturnOwnerList().
void LLPanelLandObjects::clickShowCore | ( | LLPanelLandObjects * | panelp, | |
S32 | return_type, | |||
uuid_list_t * | list = 0 | |||
) | [static] |
Definition at line 1566 of file llfloaterland.cpp.
References LLParcel::getLocalID(), and send_parcel_select_objects().
Referenced by onClickShowGroupObjects(), onClickShowOtherObjects(), onClickShowOwnerObjects(), and onCommitList().
void LLPanelLandObjects::onClickShowOwnerObjects | ( | void * | userdata | ) | [static] |
Definition at line 1575 of file llfloaterland.cpp.
References clickShowCore(), and RT_OWNER.
Referenced by postBuild().
void LLPanelLandObjects::onClickShowGroupObjects | ( | void * | userdata | ) | [static] |
Definition at line 1581 of file llfloaterland.cpp.
References clickShowCore(), and RT_GROUP.
Referenced by postBuild().
void LLPanelLandObjects::onClickShowOtherObjects | ( | void * | userdata | ) | [static] |
Definition at line 1587 of file llfloaterland.cpp.
References clickShowCore(), and RT_OTHER.
Referenced by postBuild().
void LLPanelLandObjects::onClickReturnOwnerObjects | ( | void * | userdata | ) | [static] |
Definition at line 1593 of file llfloaterland.cpp.
References LLViewerWindow::alertXml(), callbackReturnOwnerObjects(), gAgent, gCacheName, LLCacheName::getFullName(), LLAgent::getID(), LLParcel::getLocalID(), LLParcel::getOwnerID(), LLParcel::getOwnerPrimCount(), gViewerWindow, llformat(), mParcel, RT_OWNER, S32, and send_parcel_select_objects().
Referenced by postBuild().
void LLPanelLandObjects::onClickReturnGroupObjects | ( | void * | userdata | ) | [static] |
Definition at line 1624 of file llfloaterland.cpp.
References LLViewerWindow::alertXml(), callbackReturnGroupObjects(), gCacheName, LLParcel::getGroupID(), LLCacheName::getGroupName(), LLParcel::getGroupPrimCount(), LLParcel::getLocalID(), gViewerWindow, llformat(), mParcel, RT_GROUP, and send_parcel_select_objects().
Referenced by postBuild().
void LLPanelLandObjects::onClickReturnOtherObjects | ( | void * | userdata | ) | [static] |
Definition at line 1644 of file llfloaterland.cpp.
References LLViewerWindow::alertXml(), callbackReturnOtherObjects(), gAgent, gCacheName, LLCacheName::getFullName(), LLParcel::getGroupID(), LLCacheName::getGroupName(), LLAgent::getID(), LLParcel::getIsGroupOwned(), LLParcel::getLocalID(), LLParcel::getOtherPrimCount(), LLParcel::getOwnerID(), gViewerWindow, llformat(), mParcel, RT_OTHER, S32, and send_parcel_select_objects().
Referenced by postBuild().
void LLPanelLandObjects::onClickReturnOwnerList | ( | void * | userdata | ) | [static] |
Definition at line 1380 of file llfloaterland.cpp.
References LLViewerWindow::alertXml(), callbackReturnOwnerList(), LLParcel::getLocalID(), gViewerWindow, llformat(), RT_LIST, and send_parcel_select_objects().
Referenced by postBuild().
void LLPanelLandObjects::onClickRefresh | ( | void * | userdata | ) | [static] |
Definition at line 1412 of file llfloaterland.cpp.
References _PREHASH_AgentData, _PREHASH_AgentID, _PREHASH_LocalID, _PREHASH_ParcelData, _PREHASH_ParcelObjectOwnersRequest, _PREHASH_SessionID, LLMessageSystem::addS32Fast(), LLMessageSystem::addUUIDFast(), FALSE, gAgent, LLViewerRegion::getHost(), LLAgent::getID(), LLSingleton< LLViewerParcelMgr >::getInstance(), LLParcel::getLocalID(), LLViewerParcelMgr::getSelectionRegion(), LLAgent::getSessionID(), gMessageSystem, LLMessageSystem::newMessageFast(), LLMessageSystem::nextBlockFast(), LLMessageSystem::sendReliable(), and TRUE.
Referenced by postBuild().
void LLPanelLandObjects::onDoubleClickOwner | ( | void * | userdata | ) | [static] |
Definition at line 1065 of file llfloaterland.cpp.
References LLSD::asString(), LLScrollListItem::getColumn(), LLScrollListItem::getUUID(), LLScrollListCell::getValue(), OWNER_GROUP, LLFloaterAvatarInfo::showFromDirectory(), and LLFloaterGroupInfo::showFromUUID().
Referenced by postBuild().
void LLPanelLandObjects::onCommitList | ( | LLUICtrl * | ctrl, | |
void * | data | |||
) | [static] |
Definition at line 1530 of file llfloaterland.cpp.
References LLSD::asString(), clickShowCore(), FALSE, LLScrollListItem::getColumn(), LLScrollListItem::getUUID(), LLScrollListCell::getValue(), OWNER_GROUP, RT_LIST, LLScrollListCell::setEnabled(), and TRUE.
Referenced by postBuild().
void LLPanelLandObjects::onLostFocus | ( | LLFocusableElement * | caller, | |
void * | user_data | |||
) | [static] |
Definition at line 1687 of file llfloaterland.cpp.
References onCommitClean().
Referenced by postBuild().
void LLPanelLandObjects::onCommitClean | ( | LLUICtrl * | caller, | |
void * | user_data | |||
) | [static] |
Definition at line 1693 of file llfloaterland.cpp.
References LLParcel::getLocalID(), LLLineEditor::getText(), mCleanOtherObjectsTime, mOtherTime, mParcel, send_other_clean_time_message(), and LLParcel::setCleanOtherTime().
Referenced by onLostFocus(), and postBuild().
void LLPanelLandObjects::processParcelObjectOwnersReply | ( | LLMessageSystem * | msg, | |
void ** | ||||
) | [static] |
Definition at line 1442 of file llfloaterland.cpp.
References _PREHASH_Count, _PREHASH_Data, _PREHASH_IsGroupOwned, _PREHASH_OnlineStatus, _PREHASH_OwnerID, ADD_BOTTOM, LLScrollListItem::addColumn(), FALSE, LLMessageSystem::getBOOLFast(), LLFloaterLand::getCurrentPanelLandObjects(), LLMessageSystem::getNumberOfBlocksFast(), LLMessageSystem::getS32Fast(), LLMessageSystem::getUUIDFast(), i, LLUUID::isNull(), lldebugs, llendl, llwarns, MAX_STRING, LLStringBase< char >::null, NULL, OWNER_GROUP, OWNER_OFFLINE, OWNER_ONLINE, S32, LLFontGL::sSansSerif, and TRUE.
Referenced by register_viewer_callbacks().
BOOL LLPanelLandObjects::postBuild | ( | void | ) | [virtual] |
Reimplemented from LLPanel.
Definition at line 1000 of file llfloaterland.cpp.
References LLPanel::childSetCommitCallback(), LLPanel::childSetPrevalidate(), LLPanel::childSetUserData(), FALSE, LLSingleton< LLUIImageList >::getInstance(), LLUIImageList::getUIImage(), mBtnRefresh, mBtnReturnGroupObjects, mBtnReturnOtherObjects, mBtnReturnOwnerList, mBtnReturnOwnerObjects, mBtnShowGroupObjects, mBtnShowOtherObjects, mBtnShowOwnerObjects, mCleanOtherObjectsTime, mFirstReply, mGroupObjects, mIconAvatarOffline, mIconAvatarOnline, mIconGroup, mObjectContribution, mOtherObjects, mOwnerList, mOwnerObjects, mParcelObjectBonus, mSelectedObjects, mSWTotalObjects, mTotalObjects, onClickRefresh(), onClickReturnGroupObjects(), onClickReturnOtherObjects(), onClickReturnOwnerList(), onClickReturnOwnerObjects(), onClickShowGroupObjects(), onClickShowOtherObjects(), onClickShowOwnerObjects(), onCommitClean(), onCommitList(), onDoubleClickOwner(), onLostFocus(), LLLineEditor::prevalidateNonNegativeS32(), LLButton::setClickedCallback(), LLScrollListCtrl::setDoubleClickCallback(), LLFocusableElement::setFocusLostCallback(), LLScrollListCtrl::sortByColumn(), and TRUE.
LLTextBox* LLPanelLandObjects::mParcelObjectBonus [protected] |
LLTextBox* LLPanelLandObjects::mSWTotalObjects [protected] |
LLTextBox* LLPanelLandObjects::mObjectContribution [protected] |
LLTextBox* LLPanelLandObjects::mTotalObjects [protected] |
LLTextBox* LLPanelLandObjects::mOwnerObjects [protected] |
LLButton* LLPanelLandObjects::mBtnShowOwnerObjects [protected] |
LLButton* LLPanelLandObjects::mBtnReturnOwnerObjects [protected] |
LLTextBox* LLPanelLandObjects::mGroupObjects [protected] |
LLButton* LLPanelLandObjects::mBtnShowGroupObjects [protected] |
LLButton* LLPanelLandObjects::mBtnReturnGroupObjects [protected] |
LLTextBox* LLPanelLandObjects::mOtherObjects [protected] |
LLButton* LLPanelLandObjects::mBtnShowOtherObjects [protected] |
LLButton* LLPanelLandObjects::mBtnReturnOtherObjects [protected] |
LLTextBox* LLPanelLandObjects::mSelectedObjects [protected] |
LLLineEditor* LLPanelLandObjects::mCleanOtherObjectsTime [protected] |
Definition at line 278 of file llfloaterland.h.
Referenced by onCommitClean(), postBuild(), and refresh().
S32 LLPanelLandObjects::mOtherTime [protected] |
LLButton* LLPanelLandObjects::mBtnRefresh [protected] |
LLButton* LLPanelLandObjects::mBtnReturnOwnerList [protected] |
LLNameListCtrl* LLPanelLandObjects::mOwnerList [protected] |
LLUIImagePtr LLPanelLandObjects::mIconAvatarOnline [protected] |
LLUIImagePtr LLPanelLandObjects::mIconAvatarOffline [protected] |
LLUIImagePtr LLPanelLandObjects::mIconGroup [protected] |
BOOL LLPanelLandObjects::mFirstReply [protected] |
uuid_list_t LLPanelLandObjects::mSelectedOwners [protected] |
LLString LLPanelLandObjects::mSelectedName [protected] |
Definition at line 291 of file llfloaterland.h.
S32 LLPanelLandObjects::mSelectedCount [protected] |
Definition at line 292 of file llfloaterland.h.
BOOL LLPanelLandObjects::mSelectedIsGroup [protected] |
Definition at line 293 of file llfloaterland.h.
LLSafeHandle<LLParcelSelection>& LLPanelLandObjects::mParcel [protected] |
Definition at line 295 of file llfloaterland.h.
Referenced by callbackReturnGroupObjects(), callbackReturnOtherObjects(), callbackReturnOwnerObjects(), onClickReturnGroupObjects(), onClickReturnOtherObjects(), onClickReturnOwnerObjects(), onCommitClean(), and refresh().