#include <llfloatergodtools.h>
Public Member Functions | |
LLPanelObjectTools (const std::string &name) | |
~LLPanelObjectTools () | |
BOOL | postBuild () |
void | refresh () |
void | setTargetAvatar (const LLUUID &target_id) |
U32 | computeRegionFlags (U32 initial_flags) const |
void | clearAllWidgets () |
void | enableAllWidgets () |
void | setCheckFlags (U32 flags) |
Static Public Member Functions | |
static void | onChangeAnything (LLUICtrl *ctrl, void *data) |
static void | onApplyChanges (void *data) |
static void | onClickSet (void *data) |
static void | callbackAvatarID (const std::vector< std::string > &names, const std::vector< LLUUID > &ids, void *data) |
static void | onClickDeletePublicOwnedBy (void *data) |
static void | onClickDeleteAllScriptedOwnedBy (void *data) |
static void | onClickDeleteAllOwnedBy (void *data) |
static void | callbackSimWideDeletes (S32 option, void *userdata) |
static void | onGetTopColliders (void *data) |
static void | onGetTopScripts (void *data) |
static void | onGetScriptDigest (void *data) |
static void | onClickSetBySelection (void *data) |
Protected Attributes | |
LLUUID | mTargetAvatar |
U32 | mSimWideDeletesFlags |
Definition at line 219 of file llfloatergodtools.h.
LLPanelObjectTools::LLPanelObjectTools | ( | const std::string & | name | ) |
Definition at line 1023 of file llfloatergodtools.cpp.
LLPanelObjectTools::~LLPanelObjectTools | ( | ) |
Definition at line 1029 of file llfloatergodtools.cpp.
BOOL LLPanelObjectTools::postBuild | ( | void | ) | [virtual] |
Reimplemented from LLPanel.
Definition at line 1034 of file llfloatergodtools.cpp.
References LLPanel::childSetAction(), LLPanel::childSetCommitCallback(), onApplyChanges(), onChangeAnything(), onClickDeleteAllOwnedBy(), onClickDeleteAllScriptedOwnedBy(), onClickDeletePublicOwnedBy(), onClickSet(), onGetScriptDigest(), onGetTopColliders(), onGetTopScripts(), and TRUE.
void LLPanelObjectTools::refresh | ( | ) | [virtual] |
Reimplemented from LLPanel.
Definition at line 1065 of file llfloatergodtools.cpp.
References LLPanel::childSetText(), gAgent, LLViewerRegion::getName(), and LLAgent::getRegion().
Referenced by callbackAvatarID().
void LLPanelObjectTools::setTargetAvatar | ( | const LLUUID & | target_id | ) |
Definition at line 1055 of file llfloatergodtools.cpp.
References LLPanel::childSetValue(), LLUUID::isNull(), and mTargetAvatar.
Referenced by LLFloaterGodTools::show().
Definition at line 1075 of file llfloatergodtools.cpp.
References LLPanel::childGetValue(), REGION_FLAGS_SKIP_COLLISIONS, REGION_FLAGS_SKIP_PHYSICS, and REGION_FLAGS_SKIP_SCRIPTS.
Referenced by LLFloaterGodTools::computeRegionFlags().
void LLPanelObjectTools::clearAllWidgets | ( | ) |
Definition at line 1113 of file llfloatergodtools.cpp.
References LLPanel::childDisable(), LLPanel::childSetValue(), and FALSE.
Referenced by LLFloaterGodTools::sendRegionInfoRequest().
void LLPanelObjectTools::enableAllWidgets | ( | ) |
Definition at line 1126 of file llfloatergodtools.cpp.
References LLPanel::childDisable(), and LLPanel::childEnable().
Referenced by LLFloaterGodTools::processRegionInfo().
void LLPanelObjectTools::setCheckFlags | ( | U32 | flags | ) |
Definition at line 1105 of file llfloatergodtools.cpp.
References LLPanel::childSetValue(), FALSE, REGION_FLAGS_SKIP_COLLISIONS, REGION_FLAGS_SKIP_PHYSICS, REGION_FLAGS_SKIP_SCRIPTS, and TRUE.
Referenced by LLFloaterGodTools::processRegionInfo().
void LLPanelObjectTools::onChangeAnything | ( | LLUICtrl * | ctrl, | |
void * | data | |||
) | [static] |
Definition at line 1284 of file llfloatergodtools.cpp.
References LLPanel::childEnable(), gAgent, and LLAgent::isGodlike().
Referenced by postBuild().
void LLPanelObjectTools::onApplyChanges | ( | void * | data | ) | [static] |
Definition at line 1296 of file llfloatergodtools.cpp.
References LLPanel::childDisable(), gAgent, LLAgent::getRegion(), LLAgent::isGodlike(), and LLFloaterGodTools::sendGodUpdateRegionInfo().
Referenced by postBuild().
void LLPanelObjectTools::onClickSet | ( | void * | data | ) | [static] |
Definition at line 1247 of file llfloatergodtools.cpp.
References LLFloater::addDependentFloater(), callbackAvatarID(), LLFloaterView::getParentFloater(), gFloaterView, and LLFloaterAvatarPicker::show().
Referenced by postBuild().
void LLPanelObjectTools::callbackAvatarID | ( | const std::vector< std::string > & | names, | |
const std::vector< LLUUID > & | ids, | |||
void * | data | |||
) | [static] |
Definition at line 1273 of file llfloatergodtools.cpp.
References LLPanel::childSetValue(), mTargetAvatar, and refresh().
Referenced by onClickSet().
void LLPanelObjectTools::onClickDeletePublicOwnedBy | ( | void * | data | ) | [static] |
Definition at line 1176 of file llfloatergodtools.cpp.
References LLViewerWindow::alertXml(), LLSD::asString(), callbackSimWideDeletes(), LLPanel::childGetValue(), gViewerWindow, LLUUID::isNull(), mSimWideDeletesFlags, mTargetAvatar, SWD_OTHERS_LAND_ONLY, and SWD_SCRIPTED_ONLY.
Referenced by postBuild().
void LLPanelObjectTools::onClickDeleteAllScriptedOwnedBy | ( | void * | data | ) | [static] |
Definition at line 1196 of file llfloatergodtools.cpp.
References LLViewerWindow::alertXml(), LLSD::asString(), callbackSimWideDeletes(), LLPanel::childGetValue(), gViewerWindow, LLUUID::isNull(), mSimWideDeletesFlags, mTargetAvatar, and SWD_SCRIPTED_ONLY.
Referenced by postBuild().
void LLPanelObjectTools::onClickDeleteAllOwnedBy | ( | void * | data | ) | [static] |
Definition at line 1215 of file llfloatergodtools.cpp.
References LLViewerWindow::alertXml(), LLSD::asString(), callbackSimWideDeletes(), LLPanel::childGetValue(), gViewerWindow, LLUUID::isNull(), mSimWideDeletesFlags, and mTargetAvatar.
Referenced by postBuild().
void LLPanelObjectTools::callbackSimWideDeletes | ( | S32 | option, | |
void * | userdata | |||
) | [static] |
Definition at line 1234 of file llfloatergodtools.cpp.
References LLUUID::isNull(), mSimWideDeletesFlags, mTargetAvatar, and send_sim_wide_deletes().
Referenced by onClickDeleteAllOwnedBy(), onClickDeleteAllScriptedOwnedBy(), and onClickDeletePublicOwnedBy().
void LLPanelObjectTools::onGetTopColliders | ( | void * | data | ) | [static] |
Definition at line 1141 of file llfloatergodtools.cpp.
References gAgent, LLAgent::isGodlike(), NULL, LLFloaterTopObjects::onRefresh(), LLFloaterTopObjects::setMode(), LLFloaterTopObjects::show(), and STAT_REPORT_TOP_COLLIDERS.
Referenced by postBuild().
void LLPanelObjectTools::onGetTopScripts | ( | void * | data | ) | [static] |
Definition at line 1153 of file llfloatergodtools.cpp.
References gAgent, LLAgent::isGodlike(), NULL, LLFloaterTopObjects::onRefresh(), LLFloaterTopObjects::setMode(), LLFloaterTopObjects::show(), and STAT_REPORT_TOP_SCRIPTS.
Referenced by postBuild().
void LLPanelObjectTools::onGetScriptDigest | ( | void * | data | ) | [static] |
Definition at line 1165 of file llfloatergodtools.cpp.
References gAgent, LLAgent::getRegionHost(), LLAgent::isGodlike(), and LLPanelRequestTools::sendRequest().
Referenced by postBuild().
void LLPanelObjectTools::onClickSetBySelection | ( | void * | data | ) | [static] |
Definition at line 1254 of file llfloatergodtools.cpp.
References LLPanel::childSetValue(), LLSingleton< LLSelectMgr >::getInstance(), LLSelectMgr::getSelection(), LLSelectNode::mName, mTargetAvatar, NULL, LLSelectMgr::selectGetOwner(), and TRUE.
LLUUID LLPanelObjectTools::mTargetAvatar [protected] |
Definition at line 250 of file llfloatergodtools.h.
Referenced by callbackAvatarID(), callbackSimWideDeletes(), onClickDeleteAllOwnedBy(), onClickDeleteAllScriptedOwnedBy(), onClickDeletePublicOwnedBy(), onClickSetBySelection(), and setTargetAvatar().
U32 LLPanelObjectTools::mSimWideDeletesFlags [protected] |
Definition at line 253 of file llfloatergodtools.h.
Referenced by callbackSimWideDeletes(), onClickDeleteAllOwnedBy(), onClickDeleteAllScriptedOwnedBy(), and onClickDeletePublicOwnedBy().