#include "llviewerprecompiledheaders.h"
#include "llviewermenu.h"
#include <iostream>
#include <fstream>
#include <sstream>
#include "audioengine.h"
#include "indra_constants.h"
#include "llassetstorage.h"
#include "llchat.h"
#include "llfeaturemanager.h"
#include "llfocusmgr.h"
#include "llfontgl.h"
#include "llinstantmessage.h"
#include "llpermissionsflags.h"
#include "llrect.h"
#include "llsecondlifeurls.h"
#include "lltransactiontypes.h"
#include "llui.h"
#include "llview.h"
#include "llxfermanager.h"
#include "message.h"
#include "raytrace.h"
#include "llsdserialize.h"
#include "lltimer.h"
#include "llvfile.h"
#include "llvolumemgr.h"
#include "llagent.h"
#include "llagentpilot.h"
#include "llbox.h"
#include "llcallingcard.h"
#include "llclipboard.h"
#include "llcompilequeue.h"
#include "llconsole.h"
#include "llviewercontrol.h"
#include "lldebugview.h"
#include "lldir.h"
#include "lldrawable.h"
#include "lldrawpoolalpha.h"
#include "lldrawpooltree.h"
#include "llface.h"
#include "llfirstuse.h"
#include "llfloater.h"
#include "llfloaterabout.h"
#include "llfloaterbuycurrency.h"
#include "llfloateractivespeakers.h"
#include "llfloateranimpreview.h"
#include "llfloateravatarinfo.h"
#include "llfloateravatartextures.h"
#include "llfloaterbuildoptions.h"
#include "llfloaterbump.h"
#include "llfloaterbuy.h"
#include "llfloaterbuycontents.h"
#include "llfloaterbuyland.h"
#include "llfloatercamera.h"
#include "llfloaterchat.h"
#include "llfloatercustomize.h"
#include "llfloaterdaycycle.h"
#include "llfloaterdirectory.h"
#include "llfloatereditui.h"
#include "llfloaterchatterbox.h"
#include "llfloaterfriends.h"
#include "llfloatergesture.h"
#include "llfloatergodtools.h"
#include "llfloatergroupinfo.h"
#include "llfloatergroupinvite.h"
#include "llfloatergroups.h"
#include "llfloaterhtml.h"
#include "llfloaterhtmlhelp.h"
#include "llfloaterhud.h"
#include "llfloaterinspect.h"
#include "llfloaterlagmeter.h"
#include "llfloaterland.h"
#include "llfloaterlandholdings.h"
#include "llfloatermap.h"
#include "llfloatermute.h"
#include "llfloateropenobject.h"
#include "llfloaterpermissionsmgr.h"
#include "llfloaterpostprocess.h"
#include "llfloaterpreference.h"
#include "llfloaterregioninfo.h"
#include "llfloaterreporter.h"
#include "llfloaterscriptdebug.h"
#include "llfloatersettingsdebug.h"
#include "llfloaterenvsettings.h"
#include "llfloaterstats.h"
#include "llfloatertest.h"
#include "llfloatertools.h"
#include "llfloaterwater.h"
#include "llfloaterwindlight.h"
#include "llfloaterworldmap.h"
#include "llframestats.h"
#include "llframestatview.h"
#include "llfasttimerview.h"
#include "llmemoryview.h"
#include "llgivemoney.h"
#include "llgroupmgr.h"
#include "llhoverview.h"
#include "llhudeffecttrail.h"
#include "llhudmanager.h"
#include "llimage.h"
#include "llimagebmp.h"
#include "llimagej2c.h"
#include "llimagetga.h"
#include "llinventorymodel.h"
#include "llinventoryview.h"
#include "llkeyboard.h"
#include "llpanellogin.h"
#include "llfloaterlandmark.h"
#include "llmenucommands.h"
#include "llmenugl.h"
#include "llmorphview.h"
#include "llmoveview.h"
#include "llmutelist.h"
#include "llnotify.h"
#include "llpanelobject.h"
#include "llparcel.h"
#include "llprimitive.h"
#include "llresmgr.h"
#include "llselectmgr.h"
#include "llsky.h"
#include "llstatusbar.h"
#include "llstatview.h"
#include "llstring.h"
#include "llsurfacepatch.h"
#include "llimview.h"
#include "lltextureview.h"
#include "lltool.h"
#include "lltoolbar.h"
#include "lltoolcomp.h"
#include "lltoolfocus.h"
#include "lltoolgrab.h"
#include "lltoolmgr.h"
#include "lltoolpie.h"
#include "lltoolplacer.h"
#include "lltoolselectland.h"
#include "lluictrlfactory.h"
#include "lluploaddialog.h"
#include "lluserauth.h"
#include "lluuid.h"
#include "llvelocitybar.h"
#include "llviewercamera.h"
#include "llviewergenericmessage.h"
#include "llviewergesture.h"
#include "llviewerinventory.h"
#include "llviewermenufile.h"
#include "llviewermessage.h"
#include "llviewernetwork.h"
#include "llviewerobjectlist.h"
#include "llviewerparcelmgr.h"
#include "llviewerparceloverlay.h"
#include "llviewerregion.h"
#include "llviewerstats.h"
#include "llviewerwindow.h"
#include "llvoavatar.h"
#include "llvolume.h"
#include "llweb.h"
#include "llworld.h"
#include "llworldmap.h"
#include "object_flags.h"
#include "pipeline.h"
#include "llappviewer.h"
#include "roles_constants.h"
#include "llviewerjoystick.h"
#include "llwlanimator.h"
#include "llwlparammanager.h"
#include "llwaterparammanager.h"
#include "lltexlayer.h"
Go to the source code of this file.
Copyright (c) 2002-2008, Linden Research, Inc.
Second Life Viewer Source Code The source code in this file ("Source Code") is provided by Linden Lab to you under the terms of the GNU General Public License, version 2.0 ("GPL"), unless you have obtained a separate licensing agreement ("Other License"), formally executed by you and Linden Lab. Terms of the GPL can be found in doc/GPL-license.txt in this distribution, or online at http://secondlifegrid.net/programs/open_source/licensing/gplv2
There are special exceptions to the terms and conditions of the GPL as it is applied to this Source Code. View the full text of the exception in the file doc/FLOSS-exception.txt in this software distribution, or online at http://secondlifegrid.net/programs/open_source/licensing/flossexception
By copying, modifying or distributing this software, you acknowledge that you have read and understood your obligations described above, and agree to abide by those obligations.
ALL LINDEN LAB SOURCE CODE IS PROVIDED "AS IS." LINDEN LAB MAKES NO WARRANTIES, EXPRESS, IMPLIED OR OTHERWISE, REGARDING ITS ACCURACY, COMPLETENESS OR PERFORMANCE. $/LicenseInfo$
Definition in file llviewermenu.cpp.
typedef LLMemberListener<LLView> view_listener_t |
Definition at line 292 of file llviewermenu.cpp.
static void addMenu | ( | view_listener_t * | menu, | |
const char * | name | |||
) | [static] |
Definition at line 7727 of file llviewermenu.cpp.
References LLMemberListener< T >::registerListener(), and sMenus.
Referenced by initialize_menus().
void append_aggregate | ( | LLString & | string, | |
const LLAggregatePermissions & | ag_perm, | |||
PermissionBit | bit, | |||
const char * | txt | |||
) |
Definition at line 2509 of file llviewermenu.cpp.
References LLAggregatePermissions::AP_ALL, LLAggregatePermissions::AP_EMPTY, LLAggregatePermissions::AP_NONE, LLAggregatePermissions::AP_SOME, LLAggregatePermissions::getValue(), and MAX_STRING.
void attach_label | ( | LLString & | label, | |
void * | user_data | |||
) |
Definition at line 5889 of file llviewermenu.cpp.
References LLInventoryModel::getItem(), LLViewerJointAttachment::getItemID(), LLInventoryObject::getName(), LLJoint::getName(), LLViewerJointAttachment::getObject(), and gInventory.
Referenced by LLVOAvatar::buildCharacter(), and LLObjectBridge::buildContextMenu().
const char* build_extensions_string | ( | LLFilePicker::ELoadFilter | filter | ) |
Definition at line 2532 of file llviewermenu.cpp.
References ALL_FILE_EXTENSIONS, LLFilePicker::FFLOAD_ALL, LLFilePicker::FFLOAD_ANIM, LLFilePicker::FFLOAD_IMAGE, LLFilePicker::FFLOAD_SLOBJECT, LLFilePicker::FFLOAD_WAV, and LLFilePicker::FFLOAD_XML.
Referenced by upload_pick().
void build_landmark_menu | ( | void * | ) |
Definition at line 544 of file llviewermenu.cpp.
References init_landmark_menu().
void callback_eject | ( | S32 | option, | |
void * | data | |||
) |
Definition at line 2338 of file llviewermenu.cpp.
References LLMessageSystem::addU32(), LLMessageSystem::addUUID(), LLViewerObjectList::findObject(), gAgent, LLViewerRegion::getHost(), LLAgent::getID(), LLViewerObject::getRegion(), LLAgent::getSessionID(), gMessageSystem, gObjectList, LLMessageSystem::newMessage(), LLMessageSystem::nextBlock(), NULL, and LLMessageSystem::sendReliable().
Referenced by LLAvatarEject::handleEvent().
void callback_freeze | ( | S32 | option, | |
void * | data | |||
) |
Definition at line 2236 of file llviewermenu.cpp.
References LLMessageSystem::addU32(), LLMessageSystem::addUUID(), LLViewerObjectList::findObject(), gAgent, LLViewerRegion::getHost(), LLAgent::getID(), LLViewerObject::getRegion(), LLAgent::getSessionID(), gMessageSystem, gObjectList, LLMessageSystem::newMessage(), LLMessageSystem::nextBlock(), NULL, and LLMessageSystem::sendReliable().
Referenced by LLAvatarFreeze::handleEvent().
void callback_invite_to_group | ( | LLUUID | group_id, | |
void * | user_data | |||
) |
Definition at line 5093 of file llviewermenu.cpp.
References LLFloaterGroupInvite::showForGroup().
Referenced by invite_to_group().
void callback_leave_group | ( | S32 | option, | |
void * | userdata | |||
) |
Definition at line 2483 of file llviewermenu.cpp.
References _PREHASH_AgentData, _PREHASH_AgentID, _PREHASH_GroupData, _PREHASH_GroupID, _PREHASH_LeaveGroupRequest, _PREHASH_SessionID, LLMessageSystem::addUUIDFast(), gAgent, LLAgent::getID(), LLAgent::getSessionID(), gMessageSystem, LLAgent::mGroupID, LLMessageSystem::newMessageFast(), LLMessageSystem::nextBlockFast(), and LLAgent::sendReliableMessage().
Referenced by handle_leave_group().
void callback_show_buy_currency | ( | S32 | option, | |
void * | ||||
) |
Definition at line 4236 of file llviewermenu.cpp.
References BUY_CURRENCY_URL, llendl, llinfos, and LLWeb::loadURL().
Referenced by show_buy_currency().
void callback_show_file | ( | S32 | option, | |
void * | filename | |||
) |
Definition at line 5562 of file llviewermenu.cpp.
References load_url_local_file().
Referenced by LLPromptShowFile::handleEvent().
void callback_show_url | ( | S32 | option, | |
void * | url | |||
) |
Definition at line 5522 of file llviewermenu.cpp.
References LLWeb::loadURL().
Referenced by LLPromptShowURL::handleEvent().
BOOL check_admin_override | ( | void * | ) |
Definition at line 2722 of file llviewermenu.cpp.
References gAgent, and LLAgent::getAdminOverride().
Referenced by init_client_menu().
BOOL check_glow | ( | void * | ) |
BOOL check_show_xui_names | ( | void * | ) |
Definition at line 6804 of file llviewermenu.cpp.
References LLControlGroup::getBOOL(), and gSavedSettings.
Referenced by init_debug_ui_menu(), and init_debug_xui_menu().
void check_toggle_control | ( | LLUICtrl * | , | |
void * | user_data | |||
) |
Definition at line 6442 of file llviewermenu.cpp.
References LLControlGroup::getBOOL(), gSavedSettings, and LLControlGroup::setBOOL().
BOOL check_toggle_hacked_godmode | ( | void * | ) |
Definition at line 2792 of file llviewermenu.cpp.
References gHackGodmode.
Referenced by init_client_menu().
BOOL check_vertex_shaders | ( | void * | ) |
void cleanup_menus | ( | ) |
Definition at line 1647 of file llviewermenu.cpp.
References clear_landmark_menu(), NULL, and sMenus.
Referenced by LLAppViewer::cleanup().
void clear_landmark_menu | ( | LLMenuGL * | menu | ) |
Definition at line 821 of file llviewermenu.cpp.
References LLMenuGL::empty(), LLView::getChildList(), LLMenuItemCallGL::getMenuCallback(), LLMenuItemCallGL::getUserData(), and landmark_menu_action().
Referenced by cleanup_menus(), and init_landmark_menu().
void complete_give_money | ( | S32 | option, | |
void * | user_data | |||
) |
Definition at line 5143 of file llviewermenu.cpp.
References LLAgent::clearBusy(), FALSE, gAgent, LLViewerObject::getID(), LLXform::getParent(), give_money(), indra::ipc::xml_rpc::handle(), LLViewerObject::isAttachment(), LLPrimitive::isAvatar(), LLFloaterPay::payDirectly(), and LLFloaterPay::payViaObject().
Referenced by handle_give_money_dialog().
void confirm_replace_attachment | ( | S32 | option, | |
void * | user_data | |||
) |
Definition at line 5793 of file llviewermenu.cpp.
References LLAgent::clearFocusObject(), gAgent, LLSingleton< LLSelectMgr >::getInstance(), LLViewerObject::getMaxScale(), LLAgent::getPosGlobalFromAgent(), LLAgent::getPositionAgent(), LLViewerObject::getPositionAgent(), LLSelectMgr::getSelection(), near_attach_object(), LLVector3::normVec(), NULL, and LLAgent::startAutoPilotGlobal().
Referenced by LLObjectAttachToAvatar::handleEvent().
void confirm_take | ( | S32 | option, | |
void * | data | |||
) |
Definition at line 4066 of file llviewermenu.cpp.
References derez_objects(), DRD_TAKE_INTO_AGENT_INVENTORY, and enable_take().
Referenced by handle_take().
void create_new_landmark | ( | void * | ) |
Definition at line 3112 of file llviewermenu.cpp.
References LLViewerWindow::alertXml(), LLAssetType::AT_LANDMARK, LLAgent::buildLocationString(), create_inventory_item(), LLInventoryModel::findCategoryUUIDForType(), gAgent, LLViewerParcelMgr::getAgentParcel(), LLParcel::getAllowLandmark(), LLAgent::getID(), LLSingleton< LLViewerParcelMgr >::getInstance(), LLAgent::getRegion(), LLAgent::getSessionID(), gInventory, GP_LAND_ALLOW_LANDMARK, gViewerWindow, LLViewerParcelMgr::isParcelOwnedByAgent(), LLInventoryType::IT_LANDMARK, llendl, llwarns, NOT_WEARABLE, NULL, PERM_ALL, and LLTransactionID::tnull.
Referenced by init_landmark_menu().
void derez_objects | ( | EDeRezDestination | dest, | |
const LLUUID & | dest_id | |||
) |
Definition at line 3703 of file llviewermenu.cpp.
References _PREHASH_AgentBlock, _PREHASH_AgentData, _PREHASH_AgentID, _PREHASH_DeRezObject, _PREHASH_Destination, _PREHASH_DestinationID, _PREHASH_GroupID, _PREHASH_ObjectData, _PREHASH_ObjectLocalID, _PREHASH_PacketCount, _PREHASH_PacketNumber, _PREHASH_SessionID, _PREHASH_TransactionID, LLMessageSystem::addU32Fast(), LLMessageSystem::addU8Fast(), LLMessageSystem::addUUIDFast(), LLViewerWindow::alertXml(), LLSelectNode::allowOperationOnNode(), LLPermissions::allowTransferTo(), LLAgent::cameraMouselook(), LLAgent::changeCameraToDefault(), LLDynamicArray< Type, BlockSize >::count(), LLHUDManager::createViewerEffect(), d, DRD_RETURN_TO_OWNER, DRD_TAKE_INTO_AGENT_INVENTORY, DRD_TRASH, FALSE, gAgent, LLUUID::generate(), LLDynamicArray< Type, BlockSize >::get(), LLAgent::getEffectColor(), LLAgent::getGroupID(), LLViewerRegion::getHost(), LLAgent::getID(), LLSingleton< LLHUDManager >::getInstance(), LLSingleton< LLSelectMgr >::getInstance(), LLViewerObject::getLocalID(), LLViewerObject::getNVPair(), LLSelectNode::getObject(), LLViewerObject::getPositionGlobal(), LLViewerObject::getRegion(), LLSelectMgr::getSelection(), LLAgent::getSessionID(), LLViewerWindow::getWindow(), gMessageSystem, GP_OBJECT_MANIPULATE, gViewerWindow, LLWindow::incBusyCount(), LLPrimitive::isAvatar(), LLAgent::isGodlike(), LLHUDObject::LL_HUD_EFFECT_POINT, llendl, llwarns, make_ui_sound(), LLSelectNode::mPermissions, LLMessageSystem::newMessageFast(), LLMessageSystem::nextBlockFast(), NULL, PERM_OWNER, LLViewerObject::permCopy(), LLViewerObject::permModify(), LLDynamicArray< Type, BlockSize >::put(), S32, LLMessageSystem::sendReliable(), LLHUDEffect::setColor(), LLHUDObject::setPositionGlobal(), and TRUE.
Referenced by confirm_take(), force_take_copy(), LLToolsSaveToObjectInventory::handleEvent(), LLToolsSaveToInventory::handleEvent(), LLToolsTakeCopy::handleEvent(), and LLObjectReturn::onReturnToOwner().
void detach_label | ( | LLString & | label, | |
void * | user_data | |||
) |
Definition at line 5906 of file llviewermenu.cpp.
References LLInventoryModel::getItem(), LLViewerJointAttachment::getItemID(), LLInventoryObject::getName(), LLJoint::getName(), LLViewerJointAttachment::getObject(), and gInventory.
Referenced by LLVOAvatar::buildCharacter().
void disabled_duplicate | ( | void * | ) |
Definition at line 3482 of file llviewermenu.cpp.
References LLSingleton< LLSelectMgr >::getInstance(), and LLNotifyBox::showXml().
void drop_packet | ( | void * | ) |
Definition at line 3205 of file llviewermenu.cpp.
References LLPacketRing::dropPackets(), gMessageSystem, and LLMessageSystem::mPacketRing.
Referenced by init_client_menu().
void dump_inventory | ( | void * | ) |
Definition at line 5284 of file llviewermenu.cpp.
References LLInventoryModel::dumpInventory(), and gInventory.
Referenced by init_debug_ui_menu().
void dump_select_mgr | ( | void * | ) |
Definition at line 5279 of file llviewermenu.cpp.
References LLSelectMgr::dump(), and LLSingleton< LLSelectMgr >::getInstance().
Referenced by init_debug_ui_menu().
void dump_volume_mgr | ( | void * | ) |
void edit_ui | ( | void * | ) |
Definition at line 5274 of file llviewermenu.cpp.
References LLFloater::getEditModeEnabled(), and LLFloater::setEditModeEnabled().
Referenced by init_debug_ui_menu().
BOOL enable_activate | ( | void * | ) |
BOOL enable_buy | ( | void * | ) |
Definition at line 2560 of file llviewermenu.cpp.
References FALSE, LLSaleInfo::FS_COPY, LLSingleton< LLSelectMgr >::getInstance(), LLPermissions::getMaskOwner(), LLSelectNode::getObject(), LLSaleInfo::getSaleType(), LLSelectMgr::getSelection(), LLSaleInfo::isForSale(), LLSelectNode::mPermissions, LLSelectNode::mSaleInfo, NULL, PERM_COPY, PERM_TRANSFER, LLViewerObject::permAnyOwner(), and TRUE.
Referenced by LLToolsEnableBuyOrTake::handleEvent(), and LLObjectEnableBuy::handleEvent().
BOOL enable_buy_land | ( | void * | ) |
Definition at line 5709 of file llviewermenu.cpp.
References LLViewerParcelMgr::canAgentBuyParcel(), and LLSingleton< LLViewerParcelMgr >::getInstance().
Referenced by LLMenuParcelObserver::changed().
BOOL enable_dehinge | ( | void * | ) |
BOOL enable_detach | ( | void * | ) |
Definition at line 6050 of file llviewermenu.cpp.
References FALSE, gAgent, LLAgent::getID(), LLViewerObject::getID(), LLXform::getParent(), gViewerWindow, LLViewerObject::isAttachment(), LLViewerWindow::lastObjectHit(), and TRUE.
Referenced by LLAttachmentEnableDetach::handleEvent(), and LLAttachmentEnableDrop::handleEvent().
BOOL enable_export_selected | ( | void * | ) |
Definition at line 6683 of file llviewermenu.cpp.
References FALSE, LLSingleton< LLSelectMgr >::getInstance(), LLUUID::isNull(), LLUploadDialog::modalUploadIsFinished(), and TRUE.
BOOL enable_god_basic | ( | void * | ) |
Definition at line 6778 of file llviewermenu.cpp.
References gAgent, LLAgent::getGodLevel(), and GOD_NOT.
Referenced by init_server_menu().
BOOL enable_god_customer_service | ( | void * | ) |
Definition at line 6773 of file llviewermenu.cpp.
References gAgent, LLAgent::getGodLevel(), and GOD_CUSTOMER_SERVICE.
Referenced by enable_region_owner(), init_debug_avatar_menu(), and init_server_menu().
BOOL enable_god_full | ( | void * | ) |
Definition at line 6763 of file llviewermenu.cpp.
References gAgent, LLAgent::getGodLevel(), and GOD_FULL.
BOOL enable_god_liaison | ( | void * | ) |
Definition at line 6768 of file llviewermenu.cpp.
References gAgent, LLAgent::getGodLevel(), and GOD_LIAISON.
BOOL enable_grab_texture | ( | void * | data | ) |
Definition at line 7025 of file llviewermenu.cpp.
References LLVOAvatar::canGrabLocalTexture(), FALSE, gAgent, and LLAgent::getAvatarObject().
Referenced by init_debug_baked_texture_menu().
BOOL enable_has_attachments | ( | void * | ) |
BOOL enable_have_card | ( | void * | ) |
BOOL enable_land_build | ( | void * | ) |
Definition at line 2029 of file llviewermenu.cpp.
References FALSE, gAgent, LLViewerParcelMgr::getAgentParcel(), LLParcel::getAllowModify(), LLSingleton< LLViewerParcelMgr >::getInstance(), LLAgent::inPrelude(), LLAgent::isGodlike(), and TRUE.
BOOL enable_land_selected | ( | void * | ) |
Definition at line 6466 of file llviewermenu.cpp.
References LLSingleton< LLViewerParcelMgr >::getInstance(), and LLViewerParcelMgr::selectionEmpty().
BOOL enable_more_than_one_selected | ( | void * | ) |
Definition at line 6492 of file llviewermenu.cpp.
References LLSingleton< LLSelectMgr >::getInstance().
BOOL enable_not_thirdperson | ( | void * | ) |
Definition at line 6677 of file llviewermenu.cpp.
References LLAgent::cameraThirdPerson(), and gAgent.
BOOL enable_object_build | ( | void * | ) |
Definition at line 2044 of file llviewermenu.cpp.
References FALSE, gAgent, LLViewerParcelMgr::getAgentParcel(), LLParcel::getAllowModify(), LLSingleton< LLViewerParcelMgr >::getInstance(), LLAgent::inPrelude(), LLAgent::isGodlike(), and TRUE.
BOOL enable_region_owner | ( | void * | ) |
Definition at line 6756 of file llviewermenu.cpp.
References enable_god_customer_service(), gAgent, LLAgent::getID(), LLViewerRegion::getOwner(), LLAgent::getRegion(), NULL, and TRUE.
BOOL enable_save_as | ( | void * | ) |
BOOL enable_save_into_inventory | ( | void * | ) |
Definition at line 6606 of file llviewermenu.cpp.
References FALSE, gAgent, LLAgent::getID(), LLSingleton< LLSelectMgr >::getInstance(), LLInventoryModel::getItem(), LLSelectNode::getObject(), LLPermissions::getOwner(), LLSelectMgr::getSelection(), gInventory, LLAppViewer::instance(), LLViewerObject::isAttachment(), LLAgent::isGodlike(), LLAppViewer::isInProductionGrid(), LLUUID::isNull(), LLSelectNode::mItemID, LLSelectNode::mPermissions, LLSelectNode::mValid, NULL, and TRUE.
Referenced by LLToolsEnableSaveToInventory::handleEvent(), LLToolsSaveToInventory::handleEvent(), and LLSelectMgr::processObjectProperties().
BOOL enable_save_into_task_inventory | ( | void * | ) |
Definition at line 6652 of file llviewermenu.cpp.
References FALSE, LLSingleton< LLSelectMgr >::getInstance(), LLSelectNode::getObject(), LLSelectMgr::getSelection(), LLViewerObject::isAttachment(), LLUUID::isNull(), LLSelectNode::mFromTaskID, LLSelectNode::mValid, and TRUE.
Referenced by LLToolsEnableSaveToObjectInventory::handleEvent().
BOOL enable_selection_you_own_all | ( | void * | ) |
Definition at line 6540 of file llviewermenu.cpp.
References FALSE, LLSingleton< LLSelectMgr >::getInstance(), LLSelectMgr::getSelection(), LLViewerObject::permYouOwner(), and TRUE.
BOOL enable_selection_you_own_one | ( | void * | ) |
Definition at line 6561 of file llviewermenu.cpp.
References FALSE, LLSingleton< LLSelectMgr >::getInstance(), LLSelectMgr::getSelection(), LLViewerObject::permYouOwner(), and TRUE.
BOOL enable_take | ( | ) |
Definition at line 4080 of file llviewermenu.cpp.
References LLPermissions::allowTransferTo(), FALSE, gAgent, LLAgent::getID(), LLSingleton< LLSelectMgr >::getInstance(), LLSelectNode::getObject(), LLPermissions::getOwner(), LLSelectMgr::getSelection(), LLAppViewer::instance(), LLPrimitive::isAvatar(), LLAgent::isGodlike(), LLAppViewer::isInProductionGrid(), LLSelectNode::mPermissions, LLViewerObject::permModify(), sitting_on_selection(), and TRUE.
Referenced by confirm_take(), and LLToolsEnableBuyOrTake::handleEvent().
void export_data_callback | ( | LLVFS * | vfs, | |
const LLUUID & | uuid, | |||
LLAssetType::EType | type, | |||
void ** | user_data, | |||
S32 | result | |||
) |
void export_info_callback | ( | LLAssetInfo * | info, | |
void ** | user_data, | |||
S32 | result | |||
) |
LLVOAvatar * find_avatar_from_object | ( | const LLUUID & | object_id | ) |
Definition at line 7063 of file llviewermenu.cpp.
References find_avatar_from_object(), LLViewerObjectList::findObject(), and gObjectList.
LLVOAvatar * find_avatar_from_object | ( | LLViewerObject * | object | ) |
Definition at line 7038 of file llviewermenu.cpp.
References LLXform::getParent(), LLViewerObject::isAttachment(), LLPrimitive::isAvatar(), and NULL.
Referenced by find_avatar_from_object(), LLAvatarSendIM::handleEvent(), LLShowAgentProfile::handleEvent(), LLEnablePayObject::handleEvent(), LLAvatarAddFriend::handleEvent(), LLAvatarInviteToGroup::handleEvent(), LLAvatarEnableAddFriend::handleEvent(), LLAvatarEnableFreezeEject::handleEvent(), LLAvatarEject::handleEvent(), LLAvatarDebug::handleEvent(), LLAvatarFreeze::handleEvent(), LLObjectMute::handleEvent(), and LLObjectEnableMute::handleEvent().
void focus_here | ( | void * | ) |
void force_error_bad_memory_access | ( | void * | ) |
Definition at line 7089 of file llviewermenu.cpp.
References LLAppViewer::forceErrorBadMemoryAccess(), and LLAppViewer::instance().
Referenced by init_client_menu().
void force_error_breakpoint | ( | void * | ) |
Definition at line 7079 of file llviewermenu.cpp.
References LLAppViewer::forceErrorBreakpoint(), and LLAppViewer::instance().
Referenced by init_client_menu().
void force_error_infinite_loop | ( | void * | ) |
Definition at line 7094 of file llviewermenu.cpp.
References LLAppViewer::forceErrorInifiniteLoop(), and LLAppViewer::instance().
Referenced by init_client_menu().
void force_error_llerror | ( | void * | ) |
Definition at line 7084 of file llviewermenu.cpp.
References LLAppViewer::forceErrorLLError(), and LLAppViewer::instance().
Referenced by init_client_menu().
void force_error_software_exception | ( | void * | ) |
Definition at line 7099 of file llviewermenu.cpp.
References LLAppViewer::forceErrorSoftwareException(), and LLAppViewer::instance().
void force_take_copy | ( | void * | ) |
Definition at line 3950 of file llviewermenu.cpp.
References LLAssetType::AT_OBJECT, derez_objects(), DRD_FORCE_TO_GOD_INVENTORY, LLInventoryModel::findCategoryUUIDForType(), LLSingleton< LLSelectMgr >::getInstance(), and gInventory.
Referenced by init_server_menu().
BOOL get_visibility | ( | void * | user_data | ) |
Definition at line 7238 of file llviewermenu.cpp.
References LLView::getVisible().
Referenced by init_client_menu().
void handle_activate | ( | void * | ) |
Definition at line 6181 of file llviewermenu.cpp.
void handle_admin_override_toggle | ( | void * | ) |
Definition at line 2727 of file llviewermenu.cpp.
References gAgent, LLAgent::getAdminOverride(), LLAgent::setAdminOverride(), and show_debug_menus().
Referenced by init_client_menu().
void handle_agent_stop_moving | ( | void * | ) |
Definition at line 3190 of file llviewermenu.cpp.
References AGENT_CONTROL_STOP, gAgent, LLAgent::setControlFlags(), and LLAgent::stopAutoPilot().
void handle_buy | ( | void * | ) |
void handle_buy_contents | ( | LLSaleInfo | sale_info | ) |
Definition at line 2632 of file llviewermenu.cpp.
References LLFloaterBuyContents::show().
Referenced by handle_buy().
void handle_buy_currency | ( | void * | ) |
Definition at line 4267 of file llviewermenu.cpp.
void handle_buy_object | ( | LLSaleInfo | sale_info | ) |
Definition at line 2593 of file llviewermenu.cpp.
References LLPermissions::allowTransferTo(), LLFloaterBuyCurrency::buyCurrency(), gAgent, LLStatusBar::getBalance(), LLAgent::getID(), LLSingleton< LLSelectMgr >::getInstance(), LLSaleInfo::getSalePrice(), gStatusBar, LLSaleInfo::isForSale(), S32, LLSelectMgr::selectGetAggregatePermissions(), LLSelectMgr::selectGetOwner(), LLSelectMgr::selectGetPermissions(), LLFloaterBuy::show(), and LLNotifyBox::showXml().
Referenced by handle_buy().
void handle_claim_public_land | ( | void * | ) |
Definition at line 3615 of file llviewermenu.cpp.
References _PREHASH_TransactionID, LLMessageSystem::addString(), LLMessageSystem::addUUID(), LLMessageSystem::addUUIDFast(), gAgent, LLAgent::getID(), LLSingleton< LLViewerParcelMgr >::getInstance(), LLAgent::getPosAgentFromGlobal(), LLAgent::getRegion(), LLViewerParcelMgr::getSelection(), LLAgent::getSessionID(), gMessageSystem, LLVector3::mV, LLMessageSystem::newMessage(), LLMessageSystem::nextBlock(), LLUUID::null, LLAgent::sendReliableMessage(), LLNotifyBox::showXml(), VX, and VY.
Referenced by init_server_menu().
void handle_compress_image | ( | void * | ) |
Definition at line 436 of file llviewermenufile.cpp.
References LLViewerImageList::createUploadFile(), LLFilePicker::FFLOAD_IMAGE, LLFilePicker::getFirstFile(), LLImageBase::getLastError(), LLFilePicker::getMultipleOpenFiles(), LLFilePicker::getNextFile(), IMG_CODEC_TGA, LLFilePicker::instance(), llendl, and llinfos.
Referenced by init_client_menu().
void handle_crash | ( | void * | ) |
void handle_debug_avatar_textures | ( | void * | ) |
Definition at line 6930 of file llviewermenu.cpp.
References gLastHitObjectID, and LLFloaterAvatarTextures::show().
Referenced by init_debug_avatar_menu().
void handle_detach_from_avatar | ( | void * | user_data | ) |
Definition at line 5870 of file llviewermenu.cpp.
References _PREHASH_AgentData, _PREHASH_AgentID, _PREHASH_ObjectData, _PREHASH_ObjectLocalID, _PREHASH_SessionID, LLMessageSystem::addU32Fast(), LLMessageSystem::addUUIDFast(), gAgent, LLAgent::getID(), LLViewerObject::getLocalID(), LLViewerJointAttachment::getObject(), LLAgent::getRegionHost(), LLAgent::getSessionID(), gMessageSystem, LLMessageSystem::newMessage(), LLMessageSystem::nextBlockFast(), and LLMessageSystem::sendReliable().
Referenced by LLVOAvatar::buildCharacter().
void handle_disconnect_viewer | ( | void * | ) |
Definition at line 7069 of file llviewermenu.cpp.
References LLAppViewer::forceDisconnect(), and LLAppViewer::instance().
void handle_dump_attachments | ( | void * | ) |
Definition at line 6372 of file llviewermenu.cpp.
References gAgent, LLAgent::getAvatarObject(), LLViewerJointAttachment::getItemID(), LLViewerJointAttachment::getObject(), LLXform::getPosition(), llendl, llinfos, LLVOAvatar::mAttachmentPoints, LLViewerObject::mDrawable, LLPointer< Type >::notNull(), NULL, S32, and LLVector3::zero.
Referenced by init_debug_avatar_menu().
void handle_dump_avatar_local_textures | ( | void * | ) |
Definition at line 6921 of file llviewermenu.cpp.
References LLVOAvatar::dumpLocalTextures(), gAgent, and LLAgent::getAvatarObject().
Referenced by init_debug_avatar_menu().
void handle_dump_capabilities_info | ( | void * | ) |
Definition at line 2678 of file llviewermenu.cpp.
References gAgent, LLAgent::getRegion(), and LLViewerRegion::logActiveCapabilities().
Referenced by init_client_menu().
void handle_dump_focus | ( | void * | ) |
Definition at line 2696 of file llviewermenu.cpp.
References LLFocusMgr::getKeyboardFocus(), LLView::getName(), gFocusMgr, llendl, and llinfos.
Referenced by init_debug_ui_menu().
void handle_dump_followcam | ( | void * | ) |
Definition at line 5313 of file llviewermenu.cpp.
References LLFollowCamMgr::dump().
Referenced by init_debug_world_menu().
void handle_dump_group_info | ( | void * | ) |
Definition at line 2669 of file llviewermenu.cpp.
References gAgent, llendl, llinfos, LLAgent::mGroupID, LLAgent::mGroupName, LLAgent::mGroupPowers, and LLAgent::mGroupTitle.
Referenced by init_client_menu().
void handle_dump_image_list | ( | void * | ) |
Definition at line 6346 of file llviewermenu.cpp.
References LLViewerImageList::dump(), and gImageList.
void handle_dump_region_object_cache | ( | void * | ) |
Definition at line 2687 of file llviewermenu.cpp.
References LLViewerRegion::dumpCache(), gAgent, and LLAgent::getRegion().
Referenced by init_debug_world_menu().
void handle_duplicate_in_place | ( | void * | ) |
Definition at line 3490 of file llviewermenu.cpp.
References LLSingleton< LLSelectMgr >::getInstance(), llendl, llinfos, LLSelectMgr::selectDuplicate(), and TRUE.
void handle_export | ( | void * | ) |
void handle_export_menus_to_xml | ( | void * | ) |
Definition at line 1163 of file llviewermenu.cpp.
References LLFilePicker::FFSAVE_XML, LLFilePicker::getFirstFile(), LLFilePicker::getSaveFile(), LLMenuBarGL::getXML(), LLFilePicker::instance(), llendl, llofstream, and llwarns.
Referenced by init_debug_xui_menu().
void handle_export_selected | ( | void * | ) |
Definition at line 4885 of file llviewermenu.cpp.
References _PREHASH_AgentData, _PREHASH_AgentID, _PREHASH_ObjectData, _PREHASH_ObjectExportSelected, _PREHASH_ObjectID, _PREHASH_RequestID, _PREHASH_VolumeDetail, LLMessageSystem::addS16Fast(), LLMessageSystem::addUUIDFast(), gAgent, LLUUID::generate(), LLViewerRegion::getHost(), LLViewerObject::getID(), LLAgent::getID(), LLSingleton< LLSelectMgr >::getInstance(), LLSelectNode::getObject(), LLAgent::getRegion(), LLSelectMgr::getSelection(), gMessageSystem, llendl, llinfos, LLUploadDialog::modalUploadDialog(), LLMessageSystem::newMessageFast(), LLMessageSystem::nextBlockFast(), and LLMessageSystem::sendReliable().
void handle_focus | ( | void * | ) |
Definition at line 5638 of file llviewermenu.cpp.
References ANIMATE, LLAgent::cameraZoomIn(), FALSE, gAgent, gDisconnected, LLToolMgr::getCurrentToolset(), LLAgent::getFocusOnAvatar(), LLSingleton< LLToolCamera >::getInstance(), LLSingleton< LLToolMgr >::getInstance(), gLastHitObjectID, gLastHitObjectOffset, gLastHitPosGlobal, gViewerWindow, LLViewerWindow::moveCursorToCenter(), LLToolset::selectTool(), LLAgent::setFocusGlobal(), and LLAgent::setFocusOnAvatar().
void handle_follow | ( | void * | userdata | ) |
Definition at line 2111 of file llviewermenu.cpp.
References gAgent, gLastHitObjectID, and LLAgent::startFollowPilot().
void handle_force_delete | ( | void * | ) |
Definition at line 4697 of file llviewermenu.cpp.
References LLSingleton< LLSelectMgr >::getInstance(), and LLSelectMgr::selectForceDelete().
Referenced by init_server_menu().
void handle_force_parcel_owner_to_me | ( | void * | ) |
Definition at line 3605 of file llviewermenu.cpp.
References gAgent, LLAgent::getID(), LLSingleton< LLViewerParcelMgr >::getInstance(), and LLViewerParcelMgr::sendParcelGodForceOwner().
Referenced by init_server_menu().
void handle_force_parcel_to_content | ( | void * | ) |
Definition at line 3610 of file llviewermenu.cpp.
References LLSingleton< LLViewerParcelMgr >::getInstance(), and LLViewerParcelMgr::sendParcelGodForceToContent().
Referenced by init_server_menu().
void handle_force_unlock | ( | void * | ) |
Definition at line 5290 of file llviewermenu.cpp.
References FLAGS_OBJECT_ANY_OWNER, FLAGS_OBJECT_COPY, FLAGS_OBJECT_MODIFY, FLAGS_OBJECT_MOVE, FLAGS_OBJECT_YOU_OWNER, LLSingleton< LLSelectMgr >::getInstance(), LLSelectMgr::getSelection(), LLUUID::null, LLSelectMgr::sendOwner(), and TRUE.
void handle_gestures_old | ( | void * | ) |
bool handle_give_money_dialog | ( | ) |
Definition at line 5180 of file llviewermenu.cpp.
References LLViewerWindow::alertXml(), complete_give_money(), gAgent, LLAgent::getBusy(), LLSingleton< LLSelectMgr >::getInstance(), and gViewerWindow.
Referenced by LLPayObject::handleEvent(), and LLToolPie::selectionPropertiesReceived().
bool handle_go_to | ( | ) |
Definition at line 2195 of file llviewermenu.cpp.
References ANIMATE, LLViewerParcelMgr::deselectLand(), gAgent, LLAgent::getAvatarObject(), LLControlGroup::getBOOL(), LLAgent::getFocusTargetGlobal(), LLVOAvatar::getID(), LLSingleton< LLViewerParcelMgr >::getInstance(), gLastHitPosGlobal, gSavedSettings, llformat(), LLVector3d::mdV, send_generic_message(), LLAgent::setFocusGlobal(), LLAgent::setFocusOnAvatar(), TRUE, LLFirstUse::useGoTo(), VX, VY, and VZ.
Referenced by LLToolPie::handleDoubleClick(), and LLGoToObject::handleEvent().
void handle_god_mode | ( | void * | ) |
Definition at line 2735 of file llviewermenu.cpp.
References gAgent, and LLAgent::requestEnterGodMode().
Referenced by init_client_menu().
void handle_god_request_avatar_geometry | ( | void * | ) |
Definition at line 3688 of file llviewermenu.cpp.
References gAgent, LLSingleton< LLSelectMgr >::getInstance(), LLAgent::isGodlike(), NULL, and LLSelectMgr::sendGodlikeRequest().
Referenced by init_debug_avatar_menu().
void handle_god_request_havok | ( | void * | ) |
Definition at line 3654 of file llviewermenu.cpp.
References gAgent, LLSingleton< LLSelectMgr >::getInstance(), LLAgent::isGodlike(), and LLSelectMgr::sendGodlikeRequest().
void handle_grab_texture | ( | void * | data | ) |
Definition at line 6935 of file llviewermenu.cpp.
References LLAssetType::AT_TEXTURE, LLSaleInfo::DEFAULT, LLInventoryModel::findCategoryUUIDForType(), gAgent, gAgentID, LLUUID::generate(), LLInventoryView::getActiveInventory(), LLAgent::getAvatarObject(), LLFocusMgr::getKeyboardFocus(), LLInventoryView::getPanel(), gFocusMgr, gInventory, LLVOAvatar::grabLocalTexture(), LLInventoryItem::II_FLAGS_NONE, LLPermissions::init(), LLPermissions::initMasks(), LLInventoryType::IT_TEXTURE, llendl, llinfos, llwarns, LLInventoryModel::notifyObservers(), LLUUID::null, LLInventoryPanel::openSelected(), PERM_ALL, PERM_MOVE, PERM_NONE, PERM_TRANSFER, S32, LLFocusMgr::setKeyboardFocus(), LLInventoryPanel::setSelection(), TAKE_FOCUS_NO, LLVOAvatar::TEX_EYES_BAKED, LLVOAvatar::TEX_HEAD_BAKED, LLVOAvatar::TEX_LOWER_BAKED, LLVOAvatar::TEX_SKIRT_BAKED, LLVOAvatar::TEX_UPPER_BAKED, time_corrected(), TRUE, and LLInventoryModel::updateItem().
Referenced by init_debug_baked_texture_menu().
void handle_leave_god_mode | ( | void * | ) |
Definition at line 2740 of file llviewermenu.cpp.
References gAgent, and LLAgent::requestLeaveGodMode().
Referenced by init_client_menu().
void handle_leave_group | ( | void * | ) |
Definition at line 2499 of file llviewermenu.cpp.
References LLViewerWindow::alertXml(), callback_leave_group(), gAgent, LLAgent::getGroupID(), gViewerWindow, LLAgent::mGroupName, and LLUUID::null.
void handle_load_from_xml | ( | void * | ) |
Definition at line 7200 of file llviewermenu.cpp.
References LLUICtrlFactory::buildFloater(), LLFilePicker::FFLOAD_XML, LLFilePicker::getFirstFile(), LLSingleton< LLUICtrlFactory >::getInstance(), LLFilePicker::getOpenFile(), and LLFilePicker::instance().
Referenced by init_debug_xui_menu().
void handle_move | ( | void * | ) |
Definition at line 5716 of file llviewermenu.cpp.
References ANIMATE, LLAgent::cameraZoomIn(), FALSE, gAgent, gBasicToolset, LLToolMgr::getCurrentToolset(), LLAgent::getFocusOnAvatar(), LLSingleton< LLToolGrab >::getInstance(), LLSingleton< LLToolMgr >::getInstance(), gLastHitObjectID, gLastHitObjectOffset, gLastHitPosGlobal, gViewerWindow, LLViewerWindow::moveCursorToCenter(), LLToolset::selectTool(), LLToolMgr::setCurrentToolset(), LLAgent::setFocusGlobal(), and LLAgent::setFocusOnAvatar().
void handle_object_asset_ids | ( | void * | ) |
Definition at line 3596 of file llviewermenu.cpp.
References gAgent, LLSingleton< LLSelectMgr >::getInstance(), LLAgent::isGodlike(), and LLSelectMgr::sendGodlikeRequest().
Referenced by init_server_menu().
void handle_object_lock | ( | void * | ) |
Definition at line 3591 of file llviewermenu.cpp.
References FALSE, LLSingleton< LLSelectMgr >::getInstance(), PERM_MODIFY, PERM_OWNER, and LLSelectMgr::selectionSetObjectPermissions().
Referenced by init_server_menu().
bool handle_object_open | ( | ) |
Definition at line 1779 of file llviewermenu.cpp.
References LLViewerObjectList::findObject(), gLastHitObjectID, gObjectList, and LLFloaterOpenObject::show().
Referenced by LLObjectOpen::handleEvent(), and LLToolPie::selectionPropertiesReceived().
void handle_object_owner_permissive | ( | void * | ) |
Definition at line 3570 of file llviewermenu.cpp.
References gAgent, LLSingleton< LLSelectMgr >::getInstance(), LLAgent::isGodlike(), PERM_ALL, PERM_BASE, PERM_OWNER, LLSelectMgr::selectionSetObjectPermissions(), and TRUE.
Referenced by init_server_menu().
void handle_object_owner_self | ( | void * | ) |
Definition at line 3581 of file llviewermenu.cpp.
References gAgent, LLAgent::getGroupID(), LLAgent::getID(), LLSingleton< LLSelectMgr >::getInstance(), LLAgent::isGodlike(), LLSelectMgr::sendOwner(), and TRUE.
Referenced by init_server_menu().
void handle_rebake_textures | ( | void * | ) |
Definition at line 7222 of file llviewermenu.cpp.
References LLVOAvatar::forceBakeAllTextures(), gAgent, and LLAgent::getAvatarObject().
Referenced by init_debug_avatar_menu().
void handle_region_clear_temp_asset_data | ( | void * | ) |
Definition at line 2645 of file llviewermenu.cpp.
References llendl, llinfos, and send_generic_message().
void handle_region_dump_settings | ( | void * | ) |
Definition at line 2653 of file llviewermenu.cpp.
References gAgent, LLViewerRegion::getAllowDamage(), LLViewerRegion::getAllowDirectTeleport(), LLViewerRegion::getAllowLandmark(), LLViewerRegion::getAllowSetHome(), LLViewerRegion::getBlockFly(), LLAgent::getRegion(), LLViewerRegion::getResetHomeOnTeleport(), LLViewerRegion::getSunFixed(), LLViewerRegion::getWaterHeight(), llendl, and llinfos.
Referenced by init_client_menu().
void handle_region_dump_temp_asset_data | ( | void * | ) |
Definition at line 2637 of file llviewermenu.cpp.
References llendl, llinfos, and send_generic_message().
Referenced by init_server_menu().
void handle_reload_settings | ( | void * | ) |
Definition at line 4924 of file llviewermenu.cpp.
References FALSE, gColors, gDirUtilp, LLDir::getExpandedFilename(), LLControlGroup::getString(), gSavedSettings, LL_PATH_APP_SETTINGS, llendl, llinfos, LLControlGroup::loadFromFile(), LLControlGroup::loadFromFileLegacy(), LLControlGroup::resetToDefaults(), and TYPE_COL4U.
void handle_repeat_duplicate | ( | void * | ) |
Definition at line 3498 of file llviewermenu.cpp.
References LLSingleton< LLSelectMgr >::getInstance(), and LLSelectMgr::repeatDuplicate().
void handle_reset_selection | ( | void * | ) |
Definition at line 6279 of file llviewermenu.cpp.
References LLFloaterResetQueue::create(), and queue_actions().
void handle_reset_view | ( | ) |
Definition at line 3362 of file llviewermenu.cpp.
References LLFloaterCustomize::askToSaveAllIfDirty(), CAMERA_MODE_CUSTOMIZE_AVATAR, gAgent, LLAgent::getCameraMode(), gFloaterCustomize, NULL, reset_view_final(), and TRUE.
Referenced by click_popup_done(), LLViewResetView::handleEvent(), LLOverlayBar::onClickResetView(), LLFloaterCustomize::onClose(), and toggle_build_mode().
void handle_save_to_xml | ( | void * | ) |
Definition at line 7173 of file llviewermenu.cpp.
References LLViewerWindow::alertXml(), LLFilePicker::FFSAVE_XML, LLFilePicker::getFirstFile(), LLFloaterView::getFrontmost(), LLSingleton< LLUICtrlFactory >::getInstance(), LLFilePicker::getSaveFile(), LLFloater::getTitle(), gFloaterView, gViewerWindow, LLFilePicker::instance(), LLStringBase< char >::replaceChar(), LLUICtrlFactory::saveToXML(), and LLStringBase< char >::toLower().
Referenced by init_debug_xui_menu().
void handle_selected_texture_info | ( | void * | ) |
Definition at line 6297 of file llviewermenu.cpp.
References LLFloaterChat::addChat(), LLImageGL::getComponents(), LLImageGL::getHeight(), LLViewerImage::getID(), LLSingleton< LLSelectMgr >::getInstance(), LLPrimitive::getNumTEs(), LLSelectNode::getObject(), LLSelectMgr::getSelection(), LLViewerObject::getTEImage(), LLImageGL::getWidth(), i, LLSelectNode::isTESelected(), llformat(), LLSelectNode::mName, and S32.
Referenced by init_debug_rendering_menu().
void handle_send_postcard | ( | void * | ) |
void handle_set_not_run_selection | ( | void * | ) |
Definition at line 6291 of file llviewermenu.cpp.
References LLFloaterNotRunQueue::create(), and queue_actions().
void handle_set_run_selection | ( | void * | ) |
Definition at line 6285 of file llviewermenu.cpp.
References LLFloaterRunQueue::create(), and queue_actions().
void handle_show_inventory | ( | void * | ) |
void handle_show_newest_map | ( | void * | ) |
Definition at line 3348 of file llviewermenu.cpp.
References FALSE, NULL, and LLFloaterWorldMap::show().
void handle_show_overlay_title | ( | void * | ) |
Definition at line 3697 of file llviewermenu.cpp.
References gSavedSettings, gShowOverlayTitle, and LLControlGroup::setBOOL().
bool handle_sit_or_stand | ( | ) |
Definition at line 2963 of file llviewermenu.cpp.
References _PREHASH_AgentData, _PREHASH_AgentID, _PREHASH_AgentRequestSit, _PREHASH_Offset, _PREHASH_SessionID, _PREHASH_TargetID, _PREHASH_TargetObject, LLMessageSystem::addUUIDFast(), LLMessageSystem::addVector3Fast(), AGENT_CONTROL_STAND_UP, LLViewerObjectList::findObject(), gAgent, LLAgent::getID(), LLPrimitive::getPCode(), LLAgent::getSessionID(), gLastHitNonFloraObjectID, gMessageSystem, gObjectList, gViewerWindow, LLViewerWindow::lastNonFloraObjectHitOffset(), LL_PCODE_VOLUME, LLViewerObject::mID, LLMessageSystem::newMessageFast(), LLMessageSystem::nextBlockFast(), LLAgent::setControlFlags(), LLVector3::setVec(), and sitting_on_selection().
Referenced by LLObjectSitOrStand::handleEvent(), and LLToolPie::pickAndShowMenu().
void handle_slurl_test | ( | void * | ) |
Definition at line 7211 of file llviewermenu.cpp.
References LLFloaterHtml::getInstance(), and LLFloaterHtml::show().
Referenced by init_debug_ui_menu().
void handle_stopall | ( | void * | ) |
void handle_take | ( | ) |
Definition at line 3957 of file llviewermenu.cpp.
References LLViewerWindow::alertXml(), LLAssetType::AT_OBJECT, LLAssetType::AT_TRASH, confirm_take(), FALSE, LLInventoryModel::findCategoryUUIDForType(), LLInventoryModel::getCategory(), LLSingleton< LLSelectMgr >::getInstance(), LLSelectNode::getObject(), LLSelectMgr::getSelection(), gInventory, gInventoryLibraryRoot, gViewerWindow, LLUUID::isNull(), LLInventoryModel::isObjectDescendentOf(), LLSelectNode::mFolderID, LLUUID::notNull(), LLViewerObject::permMove(), LLViewerObject::permYouOwner(), LLUUID::setNull(), and TRUE.
Referenced by LLToolsBuyOrTake::handleEvent().
void handle_talk_to | ( | void * | userdata | ) |
void handle_test_female | ( | void * | ) |
Definition at line 6357 of file llviewermenu.cpp.
References wear_outfit_by_name().
Referenced by init_debug_avatar_menu().
void handle_test_load_url | ( | void * | ) |
Definition at line 7127 of file llviewermenu.cpp.
References LLWeb::loadURL().
void handle_test_male | ( | void * | ) |
Definition at line 6351 of file llviewermenu.cpp.
References wear_outfit_by_name().
Referenced by init_debug_avatar_menu().
void handle_toggle_flycam | ( | ) |
Definition at line 1889 of file llviewermenu.cpp.
References LLSingleton< LLViewerJoystick >::getInstance(), and LLViewerJoystick::toggleFlycam().
Referenced by LLViewJoystickFlycam::handleEvent(), reset_view_final(), and toggle_build_mode().
void handle_toggle_hacked_godmode | ( | void * | ) |
Definition at line 2786 of file llviewermenu.cpp.
References gHackGodmode, GOD_MAINTENANCE, GOD_NOT, and set_god_level().
Referenced by init_client_menu().
void handle_toggle_pg | ( | void * | ) |
Definition at line 6363 of file llviewermenu.cpp.
References gAgent, LLAgent::isTeen(), llendl, llinfos, NULL, LLFloaterWorldMap::reloadIcons(), S32, and LLAgent::setTeen().
Referenced by init_debug_avatar_menu().
void handle_upload | ( | void * | data | ) |
Definition at line 426 of file llviewermenufile.cpp.
References LLUICtrlFactory::buildFloater(), LLSingleton< LLUICtrlFactory >::getInstance(), and upload_pick().
void handle_viewer_disable_message_log | ( | void * | ) |
Definition at line 5323 of file llviewermenu.cpp.
References gMessageSystem, and LLMessageSystem::stopLogging().
Referenced by init_client_menu().
void handle_viewer_enable_message_log | ( | void * | ) |
Definition at line 5318 of file llviewermenu.cpp.
References gMessageSystem, and LLMessageSystem::startLogging().
Referenced by init_client_menu().
void handle_web_search_demo | ( | void * | ) |
void init_client_menu | ( | LLMenuGL * | menu | ) |
Definition at line 845 of file llviewermenu.cpp.
References LLMenuGL::append(), LLMenuGL::appendMenu(), LLMenuGL::appendSeparator(), check_admin_override(), check_toggle_hacked_godmode(), LLMenuGL::createJumpKeys(), LLGroupMgr::debugClearAllGroups(), drop_packet(), force_error_bad_memory_access(), force_error_breakpoint(), force_error_infinite_loop(), force_error_llerror(), gDebugView, gDisplayCameraPos, gDisplayFOV, gDisplayWindInfo, get_visibility(), LLControlGroup::getBOOL(), gSavedSettings, gShowObjectUpdates, gTextureView, gVelocityBar, handle_admin_override_toggle(), handle_clothing(), handle_compress_image(), handle_dump_capabilities_info(), handle_dump_group_info(), handle_god_mode(), handle_leave_god_mode(), handle_region_dump_settings(), handle_toggle_hacked_godmode(), handle_viewer_disable_message_log(), handle_viewer_enable_message_log(), init_debug_avatar_menu(), init_debug_rendering_menu(), init_debug_ui_menu(), init_debug_world_menu(), init_debug_xui_menu(), LLAppViewer::instance(), KEY_F2, MASK_ALT, MASK_CONTROL, MASK_SHIFT, LLDebugView::mDebugConsolep, menu_check_control(), menu_toggle_control(), LLDebugView::mFastTimerView, LLDebugView::mFrameStatView, LLDebugView::mMemoryView, NULL, reload_personal_settings_overrides(), LLAgentPilot::saveRecord(), LLFloaterSettingsDebug::show(), LLAgentPilot::sLoop, LLFrameStats::startLogging(), LLAgentPilot::startPlayback(), LLAgentPilot::startRecord(), LLFrameStats::stopLogging(), LLAgentPilot::stopPlayback(), LLFrameStats::timedLogging10(), LLFrameStats::timedLogging30(), LLFrameStats::timedLogging60(), toggle_visibility(), and velocity_interpolate().
Referenced by init_menus().
void init_debug_avatar_menu | ( | LLMenuGL * | menu | ) |
Definition at line 1471 of file llviewermenu.cpp.
References LLMenuGL::append(), LLMenuGL::appendMenu(), LLAgent::clearVisualParams(), LLMenuGL::createJumpKeys(), LLVOAvatar::dumpArchetypeXML(), enable_god_customer_service(), gAllowIdleAFK, gAllowSelectAvatar, gAllowTapTapHoldRun, gDebugAvatarRotation, handle_debug_avatar_textures(), handle_dump_attachments(), handle_dump_avatar_local_textures(), handle_god_request_avatar_geometry(), handle_rebake_textures(), handle_test_female(), handle_test_male(), handle_toggle_pg(), init_debug_baked_texture_menu(), MASK_ALT, MASK_CONTROL, MASK_SHIFT, NULL, reload_vertex_shader(), LLAgent::sDebugDisplayTarget, LLVOAvatar::sDebugInvisible, LLHUDEffectLookAt::sDebugLookAt, LLHUDEffectPointAt::sDebugPointAt, LLViewerJoint::sDisableLOD, LLVOAvatar::sJointDebug, slow_mo_animations(), LLVOAvatar::sShowAnimationDebug, and LLVOAvatar::sShowCollisionVolumes.
Referenced by init_client_menu().
void init_debug_baked_texture_menu | ( | LLMenuGL * | menu | ) |
Definition at line 1526 of file llviewermenu.cpp.
References LLMenuGL::append(), LLMenuGL::createJumpKeys(), enable_grab_texture(), handle_grab_texture(), LLVOAvatar::TEX_EYES_BAKED, LLVOAvatar::TEX_HEAD_BAKED, LLVOAvatar::TEX_LOWER_BAKED, LLVOAvatar::TEX_SKIRT_BAKED, and LLVOAvatar::TEX_UPPER_BAKED.
Referenced by init_debug_avatar_menu().
void init_debug_rendering_menu | ( | LLMenuGL * | menu | ) |
Definition at line 1229 of file llviewermenu.cpp.
References LLMenuGL::append(), LLMenuGL::appendMenu(), LLMenuGL::appendSeparator(), LLMenuGL::createJumpKeys(), gDebugSelect, LLSingleton< LLFeatureManager >::getInstance(), gGLManager, gHideSelectedObjects, gPeriodicSlowFrame, gRandomizeFramerate, gUseWireframe, handle_selected_texture_info(), LLPipeline::hasRenderTypeControl(), LLFeatureList::isFeatureAvailable(), KEY_F1, KEY_F2, KEY_F3, KEY_F4, KEY_F5, KEY_F6, KEY_F7, KEY_F8, KEY_F9, MASK_ALT, MASK_CONTROL, MASK_SHIFT, menu_check_control(), menu_check_variable(), menu_toggle_control(), menu_toggle_variable(), LLGLManager::mHasOcclusionQuery, NULL, LLPipeline::RENDER_DEBUG_BATCH_SIZE, LLPipeline::RENDER_DEBUG_BBOXES, LLPipeline::RENDER_DEBUG_COMPOSITION, LLPipeline::RENDER_DEBUG_FACE_AREA, LLPipeline::RENDER_DEBUG_FEATURE_DYNAMIC_TEXTURES, LLPipeline::RENDER_DEBUG_FEATURE_FLEXIBLE, LLPipeline::RENDER_DEBUG_FEATURE_FOG, LLPipeline::RENDER_DEBUG_FEATURE_FOOT_SHADOWS, LLPipeline::RENDER_DEBUG_FEATURE_FR_INFO, LLPipeline::RENDER_DEBUG_FEATURE_HIGHLIGHTED, LLPipeline::RENDER_DEBUG_FEATURE_PALETTE, LLPipeline::RENDER_DEBUG_FEATURE_SELECTED, LLPipeline::RENDER_DEBUG_FEATURE_UI, LLPipeline::RENDER_DEBUG_GLOW, LLPipeline::RENDER_DEBUG_LIGHTS, LLPipeline::RENDER_DEBUG_OCCLUSION, LLPipeline::RENDER_DEBUG_OCTREE, LLPipeline::RENDER_DEBUG_PARTICLES, LLPipeline::RENDER_DEBUG_PICKING, LLPipeline::RENDER_DEBUG_POINTS, LLPipeline::RENDER_DEBUG_SHAME, LLPipeline::RENDER_DEBUG_TEXTURE_ANIM, LLPipeline::RENDER_DEBUG_TEXTURE_AREA, LLPipeline::RENDER_DEBUG_TEXTURE_PRIORITY, LLPipeline::RENDER_DEBUG_VERIFY, LLPipeline::RENDER_TYPE_ALPHA, LLPipeline::RENDER_TYPE_AVATAR, LLPipeline::RENDER_TYPE_BUMP, LLPipeline::RENDER_TYPE_CLOUDS, LLPipeline::RENDER_TYPE_GRASS, LLPipeline::RENDER_TYPE_GROUND, LLPipeline::RENDER_TYPE_PARTICLES, LLPipeline::RENDER_TYPE_SIMPLE, LLPipeline::RENDER_TYPE_SKY, LLPipeline::RENDER_TYPE_TERRAIN, LLPipeline::RENDER_TYPE_TREE, LLPipeline::RENDER_TYPE_VOLUME, LLPipeline::RENDER_TYPE_WATER, run_vectorize_perf_test(), LLViewerImage::sDontLoadVolumeTextures, LLView::setEnabled(), LLPipeline::sRenderFrameTest, LLPipeline::toggleRenderDebug(), LLPipeline::toggleRenderDebugControl(), LLPipeline::toggleRenderDebugFeature(), LLPipeline::toggleRenderDebugFeatureControl(), and LLPipeline::toggleRenderTypeControl().
Referenced by init_client_menu().
void init_debug_ui_menu | ( | LLMenuGL * | menu | ) |
Definition at line 1184 of file llviewermenu.cpp.
References LLMenuGL::append(), LLMenuGL::appendSeparator(), check_show_xui_names(), LLMenuGL::createJumpKeys(), dump_inventory(), dump_select_mgr(), edit_ui(), gDebugClicks, gDebugSelectMgr, gDebugTextEditorTips, gDebugWindowProc, gHandleKeysAsync, handle_dump_focus(), handle_slurl_test(), MASK_ALT, MASK_CONTROL, MASK_SHIFT, menu_check_control(), menu_toggle_control(), NULL, output_statistics(), print_agent_nvpairs(), print_object_info(), LLView::sDebugKeys, LLView::sDebugMouseHandling, LLView::sDebugRects, and toggle_show_xui_names().
Referenced by init_client_menu().
void init_debug_world_menu | ( | LLMenuGL * | menu | ) |
Definition at line 1135 of file llviewermenu.cpp.
References LLMenuGL::append(), LLMenuGL::createJumpKeys(), handle_dump_followcam(), handle_dump_region_object_cache(), menu_check_control(), menu_toggle_control(), and NULL.
Referenced by init_client_menu().
void init_debug_xui_menu | ( | LLMenuGL * | menu | ) |
Definition at line 1216 of file llviewermenu.cpp.
References LLMenuGL::append(), check_show_xui_names(), LLMenuGL::createJumpKeys(), handle_export_menus_to_xml(), handle_load_from_xml(), handle_save_to_xml(), NULL, LLFloaterEditUI::show(), LLFloaterTest::show(), and toggle_show_xui_names().
Referenced by init_client_menu().
void init_landmark_menu | ( | LLMenuGL * | menu | ) |
Definition at line 788 of file llviewermenu.cpp.
References LLMenuGL::append(), LLMenuGL::appendSeparator(), LLAssetType::AT_LANDMARK, clear_landmark_menu(), LLDynamicArray< Type, BlockSize >::count(), create_new_landmark(), LLInventoryModel::findCategoryUUIDForType(), LLDynamicArray< Type, BlockSize >::get(), LLInventoryModel::getDirectDescendentsOf(), LLInventoryObject::getName(), LLInventoryObject::getUUID(), gInventory, i, landmark_menu_action(), manage_landmarks(), NULL, and S32.
Referenced by build_landmark_menu().
void init_menus | ( | ) |
Popup menu
The popup menu is now populated by the show_context_menu() method.
Pie menus
set up the colors
Definition at line 639 of file llviewermenu.cpp.
References LLView::addChild(), LLMenuBarGL::appendMenu(), LLMenuBarGL::arrange(), LLUICtrlFactory::buildMenu(), LLUICtrlFactory::buildPieMenu(), LLPanel::childSetLabelArg(), CLIENT_MENU_NAME, LLMenuGL::createJumpKeys(), FALSE, gColors, LLView::getChild(), LLMenuGL::getChildMenuByName(), LLControlGroup::getColor(), LLRectBase< Type >::getHeight(), LLSingleton< LLUICtrlFactory >::getInstance(), LLView::getRect(), LLViewerWindow::getRootView(), LLRectBase< Type >::getWidth(), gViewerWindow, init_client_menu(), init_server_menu(), initialize_menus(), LLAppViewer::instance(), LLMenuParcelObserver::LLMenuParcelObserver(), LLRectBase< Type >::mBottom, MENU_BAR_HEIGHT, LLRectBase< Type >::mLeft, LLRectBase< Type >::mTop, S32, SERVER_MENU_NAME, LLMenuGL::setBackgroundColor(), LLView::setFollowsAll(), LLMenuGL::setItemVisible(), LLViewerWindow::setMenuBackgroundColor(), LLView::setRect(), LLMenuGL::setVisible(), show_debug_menus(), LLMenuGL::sMenuContainer, TRUE, and LLMenuGL::updateParent().
Referenced by LLViewerWindow::initWorldUI().
void init_server_menu | ( | LLMenuGL * | menu | ) |
Definition at line 1536 of file llviewermenu.cpp.
References LLMenuGL::append(), LLMenuGL::appendMenu(), LLMenuGL::appendSeparator(), LLMenuGL::createJumpKeys(), enable_god_basic(), enable_god_customer_service(), force_take_copy(), handle_claim_public_land(), handle_force_delete(), handle_force_parcel_owner_to_me(), handle_force_parcel_to_content(), handle_object_asset_ids(), handle_object_lock(), handle_object_owner_permissive(), handle_object_owner_self(), handle_region_dump_temp_asset_data(), KEY_DELETE, MASK_ALT, MASK_CONTROL, MASK_SHIFT, NULL, LLPanelRegionTools::onSaveState(), and LLFloaterGodTools::show().
Referenced by init_menus().
void initialize_menus | ( | ) |
Definition at line 7733 of file llviewermenu.cpp.
References addMenu(), and init_menu_file().
Referenced by init_menus().
void invite_to_group | ( | const LLUUID & | dest_id | ) |
Definition at line 5101 of file llviewermenu.cpp.
References callback_invite_to_group(), LLFloater::center(), LLViewerObjectList::findObject(), gAgent, LLAgent::getID(), gObjectList, GP_MEMBER_INVITE, LLPrimitive::isAvatar(), LLFloaterGroupPicker::setPowersMask(), LLFloaterGroupPicker::setSelectCallback(), and LLUIFactory< LLFloaterGroupPicker, LLFloaterGroupPicker, VisibilityPolicy< LLFloater > >::showInstance().
Referenced by LLAvatarInviteToGroup::handleEvent().
Definition at line 2878 of file llviewermenu.cpp.
References LLAvatarTracker::instance(), and NULL.
Referenced by LLIMMgr::defaultIMTypeForAgent(), LLNetMap::draw(), LLAvatarAddFriend::handleEvent(), LLAvatarEnableAddFriend::handleEvent(), is_agent_mappable(), and LLPanelAvatar::setAvatarID().
Definition at line 2883 of file llviewermenu.cpp.
References LLRelationship::GRANT_MAP_LOCATION, LLAvatarTracker::instance(), and is_agent_friend().
Referenced by LLPanelAvatar::setAvatarID().
BOOL is_inventory_visible | ( | void * | user_data | ) |
Definition at line 3338 of file llviewermenu.cpp.
References FALSE, and LLView::getVisible().
BOOL is_selection_buy_not_take | ( | ) |
Definition at line 4200 of file llviewermenu.cpp.
References FALSE, LLSingleton< LLSelectMgr >::getInstance(), LLSelectNode::getObject(), LLSelectMgr::getSelection(), LLSaleInfo::isForSale(), LLSelectNode::mSaleInfo, LLViewerObject::permYouOwner(), and TRUE.
Referenced by LLToolsEnableBuyOrTake::handleEvent(), and LLToolsBuyOrTake::handleEvent().
void label_sit_or_stand | ( | LLString & | label, | |
void * | ||||
) |
void label_touch | ( | LLString & | label, | |
void * | ||||
) |
void landmark_menu_action | ( | void * | userdata | ) |
Definition at line 3150 of file llviewermenu.cpp.
References FALSE, LLInventoryModel::getItem(), LLInventoryObject::getName(), gInventory, and open_landmark().
Referenced by clear_landmark_menu(), and init_landmark_menu().
void load_url_local_file | ( | const char * | file_name | ) |
Definition at line 2816 of file llviewermenu.cpp.
References LLAgent::cameraMouselook(), LLAgent::changeCameraToDefault(), gAgent, gDirUtilp, LLDir::getAppRODataDir(), LLDir::getDirDelimiter(), LLWindow::getFullscreen(), gViewerWindow, LLWeb::loadURL(), LLViewerWindow::mWindow, LLViewerWindow::toggleFullscreen(), and TRUE.
Referenced by callback_show_file(), and LLScriptEdCore::onHelpWebDialog().
void login_done | ( | S32 | which, | |
void * | user | |||
) |
Definition at line 2475 of file llviewermenu.cpp.
References LLPanelLogin::close(), llendl, and llinfos.
void manage_landmarks | ( | void * | ) |
Definition at line 3107 of file llviewermenu.cpp.
Referenced by init_landmark_menu().
BOOL menu_check_build_tool | ( | void * | user_data | ) |
Definition at line 4918 of file llviewermenu.cpp.
References LLToolMgr::getCurrentToolset(), LLSingleton< LLToolMgr >::getInstance(), LLToolset::isToolSelected(), and S32.
BOOL menu_check_control | ( | void * | user_data | ) |
Definition at line 6448 of file llviewermenu.cpp.
References LLControlGroup::getBOOL(), and gSavedSettings.
Referenced by init_client_menu(), init_debug_rendering_menu(), init_debug_ui_menu(), and init_debug_world_menu().
BOOL menu_check_variable | ( | void * | user_data | ) |
Definition at line 6460 of file llviewermenu.cpp.
Referenced by init_debug_rendering_menu().
void menu_toggle_control | ( | void * | user_data | ) |
Definition at line 6412 of file llviewermenu.cpp.
References FALSE, LLControlGroup::getBOOL(), gSavedSettings, and LLControlGroup::setBOOL().
Referenced by init_client_menu(), init_debug_rendering_menu(), init_debug_ui_menu(), and init_debug_world_menu().
void menu_toggle_variable | ( | void * | user_data | ) |
Definition at line 6454 of file llviewermenu.cpp.
Referenced by init_debug_rendering_menu().
BOOL menu_ui_enabled | ( | void * | user_data | ) |
Definition at line 6405 of file llviewermenu.cpp.
References LLControlGroup::getBOOL(), and gSavedSettings.
void near_attach_object | ( | BOOL | success, | |
void * | user_data | |||
) |
Definition at line 5764 of file llviewermenu.cpp.
References gAgent, LLAgent::getAvatarObject(), LLSingleton< LLSelectMgr >::getInstance(), LLVOAvatar::mAttachmentPoints, NULL, LLSelectMgr::sendAttach(), and LLObjectAttachToAvatar::setObjectSelection().
Referenced by confirm_replace_attachment().
void near_sit_down_point | ( | BOOL | success, | |
void * | ||||
) |
Definition at line 3006 of file llviewermenu.cpp.
References AGENT_CONTROL_SIT_ON_GROUND, FALSE, gAgent, LLAgent::setControlFlags(), LLAgent::setFlying(), and LLFirstUse::useSit().
Referenced by LLLandSit::handleEvent().
void near_sit_object | ( | ) |
BOOL object_attached | ( | void * | user_data | ) |
Definition at line 6145 of file llviewermenu.cpp.
References LLViewerJointAttachment::getObject(), and NULL.
Referenced by LLVOAvatar::buildCharacter(), and LLMakeOutfitDialog::LLMakeOutfitDialog().
BOOL object_is_wearable | ( | ) |
Definition at line 6109 of file llviewermenu.cpp.
References FALSE, gAgent, LLAgent::getID(), LLSingleton< LLSelectMgr >::getInstance(), LLPermissions::getOwner(), LLSelectMgr::getSelection(), LLSelectNode::mPermissions, NULL, object_selected_and_point_valid(), sitting_on_selection(), and TRUE.
BOOL object_selected_and_point_valid | ( | void * | user_data | ) |
Definition at line 6083 of file llviewermenu.cpp.
References FALSE, LLSingleton< LLSelectMgr >::getInstance(), LLSelectNode::getObject(), LLSelectMgr::getSelection(), LL_PCODE_VOLUME, LLViewerObject::mChildList, and NULL.
Referenced by LLVOAvatar::buildCharacter(), LLObjectEnableWear::handleEvent(), and object_is_wearable().
void pre_init_menus | ( | ) |
Definition at line 595 of file llviewermenu.cpp.
References gColors, LLControlGroup::getColor(), LLMenuGL::setDefaultBackgroundColor(), LLMenuItemGL::setDisabledColor(), LLMenuItemGL::setEnabledColor(), LLMenuItemGL::setHighlightBGColor(), and LLMenuItemGL::setHighlightFGColor().
Referenced by LLViewerWindow::initWorldUI().
void print_agent_nvpairs | ( | void * | ) |
Definition at line 4810 of file llviewermenu.cpp.
References LLViewerObjectList::findObject(), gAgent, gAgentID, LLAgent::getCameraPositionGlobal(), gObjectList, llendl, llinfos, and LLViewerObject::printNameValuePairs().
Referenced by init_debug_ui_menu().
void print_object_info | ( | void * | ) |
Definition at line 4805 of file llviewermenu.cpp.
References LLSingleton< LLSelectMgr >::getInstance(), and LLSelectMgr::selectionDump().
Referenced by init_debug_ui_menu().
void print_packets_lost | ( | void * | ) |
Definition at line 3199 of file llviewermenu.cpp.
References LLSingleton< LLWorld >::getInstance(), and LLWorld::printPacketsLost().
void process_grant_godlike_powers | ( | LLMessageSystem * | msg, | |
void ** | ||||
) |
Definition at line 2798 of file llviewermenu.cpp.
References _PREHASH_AgentData, _PREHASH_AgentID, _PREHASH_GodLevel, _PREHASH_GrantData, _PREHASH_SessionID, gAgent, LLAgent::getID(), LLAgent::getSessionID(), LLMessageSystem::getU8Fast(), LLMessageSystem::getUUIDFast(), llendl, llwarns, and set_god_level().
Referenced by register_viewer_callbacks().
void queue_actions | ( | LLFloaterScriptQueue * | q, | |
const std::string & | noscriptmsg, | |||
const std::string & | nomodmsg | |||
) |
Definition at line 6216 of file llviewermenu.cpp.
References LLViewerWindow::alertXml(), LLSingleton< LLSelectMgr >::getInstance(), LLSelectMgr::getSelection(), gViewerWindow, llendl, llerrs, llwarns, and LLFloaterScriptQueue::start().
Referenced by handle_reset_selection(), handle_set_not_run_selection(), handle_set_run_selection(), and LLToolsSelectedScriptAction::handleEvent().
void reload_personal_settings_overrides | ( | void * | ) |
Definition at line 6894 of file llviewermenu.cpp.
References gDirUtilp, LLDir::getExpandedFilename(), gSavedSettings, LL_PATH_PER_SL_ACCOUNT, llendl, llinfos, and LLControlGroup::loadFromFile().
Referenced by init_client_menu().
void reload_ui | ( | void * | ) |
Definition at line 3161 of file llviewermenu.cpp.
References LLSingleton< LLUICtrlFactory >::getInstance(), and LLUICtrlFactory::rebuild().
void reload_vertex_shader | ( | void * | ) |
Definition at line 6901 of file llviewermenu.cpp.
Referenced by init_debug_avatar_menu().
void request_friendship | ( | const LLUUID & | agent_id | ) |
Definition at line 2923 of file llviewermenu.cpp.
References LLViewerWindow::alertXml(), LLViewerObjectList::findObject(), LLViewerObject::getNVPair(), LLNameValue::getString(), gObjectList, gViewerWindow, LLPrimitive::isAvatar(), LLPanelFriends::requestFriendship(), and LLNotifyBox::showXml().
Referenced by LLAvatarAddFriend::handleEvent().
void reset_view_final | ( | BOOL | proceed, | |
void * | ||||
) |
Definition at line 3385 of file llviewermenu.cpp.
References LLAgent::changeCameraToDefault(), LLFloater::close(), gAgent, gBasicToolset, LLSingleton< LLToolMgr >::getInstance(), LLSingleton< LLViewerJoystick >::getInstance(), LLView::getVisible(), gFloaterTools, gViewerWindow, handle_toggle_flycam(), LLViewerJoystick::moveAvatar(), LLAgent::resetView(), LLToolMgr::setCurrentToolset(), and LLViewerWindow::showCursor().
Referenced by handle_reset_view().
void run_vectorize_perf_test | ( | void * | ) |
Definition at line 380 of file llviewermenu.cpp.
References gSavedSettings, LLControlGroup::setBOOL(), and TRUE.
Referenced by init_debug_rendering_menu().
S32 selection_price | ( | ) |
Definition at line 4217 of file llviewermenu.cpp.
References LLSingleton< LLSelectMgr >::getInstance(), LLSelectNode::getObject(), LLSaleInfo::getSalePrice(), LLSelectMgr::getSelection(), LLSaleInfo::isForSale(), LLSelectNode::mSaleInfo, LLViewerObject::permYouOwner(), and S32.
Referenced by LLToolsBuyOrTake::handleEvent().
void set_god_level | ( | U8 | god_level | ) |
Definition at line 2745 of file llviewermenu.cpp.
References LLViewerObjectList::dirtyAllObjectInventory(), gAgent, LLAgent::getGodLevel(), LLSingleton< LLWorldMap >::getInstance(), LLSingleton< LLViewerParcelMgr >::getInstance(), gIMMgr, gObjectList, GOD_NOT, gViewerWindow, LLAppViewer::instance(), llformat(), LLViewerParcelMgr::notifyObservers(), LLIMMgr::refresh(), LLFloaterDirectory::requestClassifieds(), LLWorldMap::reset(), S32, LLWorldMap::setCurrentLayer(), LLAgent::setGodLevel(), LLViewerWindow::setMenuBackgroundColor(), show_debug_menus(), and LLNotifyBox::showXml().
Referenced by handle_toggle_hacked_godmode(), and process_grant_godlike_powers().
void set_underclothes_menu_options | ( | ) |
Definition at line 625 of file llviewermenu.cpp.
References FALSE, gAgent, LLView::getChild(), LLAgent::isTeen(), and TRUE.
Referenced by idle_startup().
void show_buy_currency | ( | const char * | extra | ) |
Definition at line 4246 of file llviewermenu.cpp.
References LLViewerWindow::alertXml(), BUY_CURRENCY_URL, callback_show_buy_currency(), gViewerWindow, and NULL.
void show_debug_menus | ( | ) |
Definition at line 4829 of file llviewermenu.cpp.
References LLMenuBarGL::arrange(), CLIENT_MENU_NAME, gAgent, LLControlGroup::getBOOL(), LLAgent::getGodLevel(), GOD_NOT, gSavedSettings, SERVER_MENU_NAME, LLMenuGL::setItemEnabled(), LLMenuGL::setItemVisible(), and LLFirstUse::useDebugMenus().
Referenced by handle_admin_override_toggle(), init_menus(), set_god_level(), and toggle_debug_menus().
void show_permissions_control | ( | void * | ) |
Definition at line 3041 of file llviewermenu.cpp.
References LLPermissionsView::addPermissionsData(), LLFloaterPermissionsMgr::mPermissions, LLUUID::null, and LLFloaterPermissionsMgr::show().
BOOL sitting_on_selection | ( | ) |
Definition at line 4299 of file llviewermenu.cpp.
References FALSE, gAgent, LLAgent::getAvatarObject(), LLSingleton< LLSelectMgr >::getInstance(), LLSelectNode::getObject(), LLXform::getRoot(), LLSelectMgr::getSelection(), LLVOAvatar::mIsSitting, and LLSelectNode::mValid.
Referenced by enable_take(), handle_sit_or_stand(), LLObjectEnableSitOrStand::handleEvent(), and object_is_wearable().
void slow_mo_animations | ( | void * | ) |
Definition at line 6906 of file llviewermenu.cpp.
References FALSE, gAgent, LLAgent::getAvatarObject(), LLCharacter::setAnimTimeFactor(), and TRUE.
Referenced by init_debug_avatar_menu().
bool toggle_build_mode | ( | ) |
Definition at line 1826 of file llviewermenu.cpp.
References ANIMATE, LLAgent::cameraOrbitOver(), LLAgent::cameraZoomIn(), DEG_TO_RAD, FALSE, gAgent, gBasicToolset, LLAgent::getAtAxis(), LLControlGroup::getBOOL(), LLToolMgr::getCurrentToolset(), LLAgent::getFocusOnAvatar(), LLSingleton< LLToolCompCreate >::getInstance(), LLSingleton< LLViewerJoystick >::getInstance(), LLSingleton< LLToolMgr >::getInstance(), LLAgent::getPositionGlobal(), gSavedSettings, handle_reset_view(), handle_toggle_flycam(), LLViewerJoystick::moveAvatar(), LLToolset::selectTool(), LLToolMgr::setCurrentToolset(), LLAgent::setFocusGlobal(), LLAgent::setFocusOnAvatar(), and LLFirstUse::useBuild().
Referenced by LLViewBuildMode::handleEvent(), and LLToolBar::onClickBuild().
void toggle_build_options | ( | void * | user_data | ) |
void toggle_cull_small | ( | void * | ) |
Definition at line 6811 of file llviewermenu.cpp.
void toggle_debug_menus | ( | void * | ) |
Definition at line 4856 of file llviewermenu.cpp.
References LLControlGroup::getBOOL(), gSavedSettings, LLControlGroup::setBOOL(), and show_debug_menus().
Referenced by LLViewerWindow::handleKey().
void toggle_glow | ( | void * | ) |
void toggle_map | ( | void * | user_data | ) |
Definition at line 4864 of file llviewermenu.cpp.
References LLFloater::close(), LLControlGroup::getBOOL(), gFloaterMap, gSavedSettings, LLFloater::open(), and LLControlGroup::setBOOL().
void toggle_show_xui_names | ( | void * | ) |
Definition at line 6796 of file llviewermenu.cpp.
References LLControlGroup::getBOOL(), gSavedSettings, and LLControlGroup::setBOOL().
Referenced by init_debug_ui_menu(), and init_debug_xui_menu().
void toggle_vertex_shaders | ( | void * | ) |
void toggle_visibility | ( | void * | user_data | ) |
Definition at line 7232 of file llviewermenu.cpp.
References LLView::getVisible(), and LLView::setVisible().
Referenced by init_client_menu().
void toggle_water_audio | ( | void | ) |
void toggle_wind_audio | ( | void | ) |
Definition at line 3328 of file llviewermenu.cpp.
References LLAudioEngine::enableWind(), gAudiop, and LLAudioEngine::isWindEnabled().
void update_fov | ( | S32 | increments | ) |
Definition at line 3248 of file llviewermenu.cpp.
References _PREHASH_AgentData, _PREHASH_AgentFOV, _PREHASH_AgentID, _PREHASH_CircuitCode, _PREHASH_FOVBlock, _PREHASH_GenCounter, _PREHASH_SessionID, _PREHASH_VerticalAngle, LLMessageSystem::addF32Fast(), LLMessageSystem::addU32Fast(), LLMessageSystem::addUUIDFast(), gAgent, LLViewerCamera::getDefaultFOV(), LLAgent::getID(), LLSingleton< LLViewerCamera >::getInstance(), LLAgent::getSessionID(), gMessageSystem, llclamp(), MAX_FIELD_OF_VIEW, MIN_FIELD_OF_VIEW, LLMessageSystem::mOurCircuitCode, LLMessageSystem::newMessageFast(), LLMessageSystem::nextBlockFast(), LLAgent::sendReliableMessage(), LLViewerCamera::setDefaultFOV(), and LLCamera::setView().
Referenced by LLViewZoomIn::handleEvent(), and LLViewZoomOut::handleEvent().
void upload_done_callback | ( | const LLUUID & | uuid, | |
void * | user_data, | |||
S32 | result, | |||
LLExtStat | ext_status | |||
) |
Definition at line 781 of file llviewermenufile.cpp.
References _PREHASH_AgentData, _PREHASH_AgentID, _PREHASH_AggregatePermInventory, _PREHASH_AggregatePermNextOwner, _PREHASH_Amount, _PREHASH_Description, _PREHASH_DestID, _PREHASH_MoneyData, _PREHASH_MoneyTransferRequest, _PREHASH_SessionID, _PREHASH_SourceID, _PREHASH_TransactionType, LLMessageSystem::addS32Fast(), LLMessageSystem::addStringFast(), LLMessageSystem::addU8(), LLMessageSystem::addU8Fast(), LLMessageSystem::addUUIDFast(), LLViewerWindow::alertXml(), LLAggregatePermissions::AP_EMPTY, LLAssetType::AT_ANIMATION, LLAssetType::AT_NONE, LLAssetType::AT_SOUND, LLAssetType::AT_TEXTURE, LLFloaterBuyCurrency::buyCurrency(), can_afford_transaction(), create_inventory_item(), DB_INV_ITEM_NAME_STR_LEN, LLStatusBar::debitBalance(), FALSE, LLInventoryModel::findCategoryUUIDForType(), gAgent, LLAssetInfo::getDescription(), LLFilePicker::getDirname(), LLAssetStorage::getErrorString(), LLViewerRegion::getHost(), LLAgent::getID(), LLSingleton< T >::getInstance(), LLAssetInfo::getName(), LLFilePicker::getNextFile(), LLAgent::getRegion(), LLAgent::getSessionID(), gInventory, gMessageSystem, gStatusBar, gViewerWindow, LLFilePicker::instance(), LLInventoryType::IT_NONE, llendl, llformat(), llinfos, llmin(), llwarns, LLInventoryType::lookupHumanReadable(), LLResourceData::mAssetInfo, LLResourceData::mInventoryType, LLResourceData::mNextOwnerPerm, LLUploadDialog::modalUploadFinished(), LLResourceData::mPreferredLocation, LLAssetInfo::mTransactionID, LLAssetInfo::mType, LLMessageSystem::newMessageFast(), LLMessageSystem::nextBlockFast(), NOT_WEARABLE, NULL, LLUUID::null, PERM_MOVE, PERM_NONE, PERM_TRANSFER, LLStringBase< char >::replaceChar(), LLStringBase< char >::replaceNonstandardASCII(), S32, LLMessageSystem::sendReliable(), LLStringBase< char >::stripNonprintable(), TRANS_UPLOAD_CHARGE, LLStringBase< char >::trim(), TRUE, and upload_new_resource().
Referenced by upload_new_resource().
const char* upload_pick | ( | void * | data | ) |
char* upload_pick(void* data)
If applicable, brings up a file chooser in which the user selects a file to upload for a particular task. If the file is valid for the given action, returns the string to the full path filename, else returns NULL. Data is the load filter for the type of file as defined in LLFilePicker.
Definition at line 103 of file llviewermenufile.cpp.
References LLViewerWindow::alertXml(), build_extensions_string(), LLAgent::cameraMouselook(), LLAgent::changeCameraToDefault(), check_for_invalid_wav_formats(), FALSE, LLFilePicker::FFLOAD_ALL, LLFilePicker::FFLOAD_WAV, gAgent, gDirUtilp, LLDir::getDirDelimiter(), LLFilePicker::getFirstFile(), LLFilePicker::getOpenFile(), gViewerWindow, LLFilePicker::instance(), llendl, llinfos, MAX_STRING, NULL, and TRUE.
Referenced by handle_upload(), LLFileUploadAnim::handleEvent(), LLFileUploadSound::handleEvent(), and LLFileUploadImage::handleEvent().
void velocity_interpolate | ( | void * | data | ) |
Definition at line 3211 of file llviewermenu.cpp.
References _PREHASH_AgentData, _PREHASH_AgentID, _PREHASH_SessionID, _PREHASH_VelocityInterpolateOff, _PREHASH_VelocityInterpolateOn, LLMessageSystem::addUUIDFast(), gAgent, LLControlGroup::getBOOL(), LLAgent::getID(), LLAgent::getSessionID(), gMessageSystem, gSavedSettings, llendl, llinfos, LLMessageSystem::newMessageFast(), LLMessageSystem::nextBlockFast(), LLAgent::sendReliableMessage(), and LLControlGroup::setBOOL().
Referenced by init_client_menu().
const char* ALL_FILE_EXTENSIONS = "*.*" [static] |
const LLString CLIENT_MENU_NAME("Advanced") |
Referenced by init_menus(), and show_debug_menus().
LLMenuItemCallGL* gAFKMenu = NULL |
Definition at line 289 of file llviewermenu.cpp.
Referenced by LLAgent::clearAFK(), and LLAgent::setAFK().
Definition at line 109 of file llselectmgr.cpp.
Referenced by LLSelectMgr::addAsFamily(), LLToolSelect::handleObjectSelection(), and init_debug_avatar_menu().
LLPieMenu* gAttachPieMenu = NULL |
LLPieMenu* gAttachScreenPieMenu = NULL |
LLMenuGL* gAttachSubMenu = NULL |
LLMenuItemCallGL* gBusyMenu = NULL |
Definition at line 290 of file llviewermenu.cpp.
Referenced by LLAgent::clearBusy(), and LLAgent::setBusy().
Definition at line 133 of file llvoavatar.cpp.
Referenced by init_debug_avatar_menu(), and LLVOAvatar::updateCharacter().
Definition at line 57 of file llwindow.cpp.
Definition at line 106 of file llselectmgr.cpp.
Referenced by LLSelectMgr::deselectAllIfTooFar(), and init_debug_ui_menu().
Definition at line 58 of file llwindow.cpp.
Referenced by LLAppViewer::cleanupSavedSettings(), init_debug_ui_menu(), and settings_to_globals().
LLPieMenu* gDetachPieMenu = NULL |
LLPieMenu* gDetachScreenPieMenu = NULL |
LLMenuGL* gDetachSubMenu = NULL |
LLUploadDialog* gExportDialog = NULL |
Definition at line 4883 of file llviewermenu.cpp.
Definition at line 4881 of file llviewermenu.cpp.
Definition at line 4880 of file llviewermenu.cpp.
Definition at line 108 of file llselectmgr.cpp.
LLMenuGL* gLandmarkMenu = NULL |
Definition at line 288 of file llviewermenu.cpp.
LLLandmarkObserver* gLandmarkObserver = NULL [static] |
Definition at line 568 of file llviewermenu.cpp.
LLMenuBarGL* gLoginMenuBarView = NULL |
Definition at line 248 of file llviewermenu.cpp.
Referenced by LLViewerWindow::handleKey(), idle_startup(), LLPanelLogin::loadLoginPage(), and reset_login().
LLMenuBarGL* gMenuBarView = NULL |
Definition at line 245 of file llviewermenu.cpp.
Referenced by LLViewerWindow::handleFocusLost(), LLViewerWindow::handleKey(), LLViewerWindow::handleMouseDown(), LLViewerWindow::handleRightMouseDown(), LLViewerWindow::handleUnicodeChar(), LLViewerWindow::initWorldUI(), LLPanelLogin::loadLoginPage(), LLFloaterTools::onClose(), LLFloaterTools::onOpen(), LLStatusBar::refresh(), LLViewerWindow::setMenuBackgroundColor(), and LLViewerWindow::setNormalControlsVisible().
LLViewerMenuHolderGL* gMenuHolder = NULL |
Definition at line 246 of file llviewermenu.cpp.
Referenced by LLVOAvatar::buildCharacter(), LLFileEnableCloseAllWindows::handleEvent(), LLFileEnableCloseWindow::handleEvent(), LLFileEnableUpload::handleEvent(), LLFileEnableSaveAs::handleEvent(), LLViewerWindow::handleKey(), init_menu_file(), LLViewerWindow::initWorldUI(), LLToolPie::pickAndShowMenu(), process_economy_data(), and LLAgent::resetView().
LLMenuParcelObserver* gMenuParcelObserver = NULL [static] |
Definition at line 567 of file llviewermenu.cpp.
LLPieMenu* gPieAttachment = NULL |
LLPieMenu* gPieAvatar = NULL |
LLPieMenu* gPieObject = NULL |
Definition at line 253 of file llviewermenu.cpp.
Referenced by LLSelectMgr::deselectAllIfTooFar(), dialog_refresh_all(), and LLToolPie::pickAndShowMenu().
LLMenuGL* gPopupMenuView = NULL |
Definition at line 247 of file llviewermenu.cpp.
Referenced by LLToolCompGun::handleHover(), and LLSelectMgr::processObjectProperties().
Definition at line 105 of file lldrawpoolavatar.cpp.
Referenced by LLDrawPoolAvatar::renderAvatars(), and LLDrawPoolAvatar::renderForSelect().
Definition at line 238 of file llviewerwindow.cpp.
Referenced by LLViewerWindow::draw(), handle_show_overlay_title(), and LLViewerWindow::LLViewerWindow().
LLMenuGL* gTakeOffClothes = NULL |
Definition at line 279 of file llviewermenu.cpp.
const LLString LANDMARK_MENU_NAME("Landmarks") |
Definition at line 6195 of file llviewermenu.cpp.
Referenced by LLPreviewNotecard::onLoadComplete(), and LLPreviewGesture::refresh().
Definition at line 6196 of file llviewermenu.cpp.
const LLString SAVE_INTO_INVENTORY("Save Object Back to My Inventory") |
Referenced by LLSelectMgr::processObjectProperties().
const LLString SAVE_INTO_TASK_INVENTORY("Save Object Back to Object Contents") |
Definition at line 6194 of file llviewermenu.cpp.
const LLString SERVER_MENU_NAME("Admin") |
Referenced by init_menus(), and show_debug_menus().
std::vector<LLPointer<view_listener_t> > sMenus [static] |