#include "llviewerprecompiledheaders.h"
#include "lltoolpie.h"
#include "indra_constants.h"
#include "llclickaction.h"
#include "llmediabase.h"
#include "llparcel.h"
#include "llagent.h"
#include "llviewercontrol.h"
#include "llfirstuse.h"
#include "llfloateravatarinfo.h"
#include "llfloaterland.h"
#include "llfloaterscriptdebug.h"
#include "llhoverview.h"
#include "llhudeffecttrail.h"
#include "llhudmanager.h"
#include "llmenugl.h"
#include "llmutelist.h"
#include "llselectmgr.h"
#include "lltoolfocus.h"
#include "lltoolgrab.h"
#include "lltoolmgr.h"
#include "lltoolselect.h"
#include "llviewercamera.h"
#include "llviewerparcelmedia.h"
#include "llviewermenu.h"
#include "llviewerobjectlist.h"
#include "llviewerobject.h"
#include "llviewerparcelmgr.h"
#include "llviewerwindow.h"
#include "llviewermedia.h"
#include "llvoavatar.h"
#include "llworld.h"
#include "llui.h"
#include "llweb.h"
Go to the source code of this file.
Functions | |
void | handle_buy (void *) |
static void | handle_click_action_play () |
static void | handle_click_action_open_media (LLPointer< LLViewerObject > objectp) |
static ECursorType | cursor_from_parcel_media (U8 click_action) |
U8 | final_click_action (LLViewerObject *obj) |
ECursorType | cursor_from_object (LLViewerObject *object) |
Variables | |
BOOL | gDebugClicks |
Copyright (c) 2001-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 lltoolpie.cpp.
ECursorType cursor_from_object | ( | LLViewerObject * | object | ) |
Definition at line 431 of file lltoolpie.cpp.
References LLViewerObject::allowOpen(), CLICK_ACTION_BUY, CLICK_ACTION_OPEN, CLICK_ACTION_OPEN_MEDIA, CLICK_ACTION_PAY, CLICK_ACTION_PLAY, CLICK_ACTION_SIT, cursor_from_parcel_media(), final_click_action(), LLViewerObject::flagTakesMoney(), gAgent, LLAgent::getAvatarObject(), LLViewerObject::getRootEdit(), LLVOAvatar::mIsSitting, NULL, UI_CURSOR_ARROW, UI_CURSOR_TOOLBUY, UI_CURSOR_TOOLOPEN, UI_CURSOR_TOOLPAY, and UI_CURSOR_TOOLSIT.
Referenced by LLToolPie::handleHover().
static ECursorType cursor_from_parcel_media | ( | U8 | click_action | ) | [static] |
Definition at line 779 of file lltoolpie.cpp.
References CLICK_ACTION_PLAY, LLViewerParcelMgr::getAgentParcel(), LLMediaManager::getInstance(), LLSingleton< LLViewerParcelMgr >::getInstance(), LLParcel::getMediaType(), LLParcel::getMediaURL(), LLViewerParcelMedia::getStatus(), LLURI::scheme(), indra::ipc::saranwrap::status(), LLMediaBase::STATUS_STARTED, LLStringBase< char >::trim(), UI_CURSOR_ARROW, UI_CURSOR_TOOLMEDIAOPEN, UI_CURSOR_TOOLPAUSE, and UI_CURSOR_TOOLPLAY.
Referenced by cursor_from_object().
U8 final_click_action | ( | LLViewerObject * | obj | ) |
Definition at line 409 of file lltoolpie.cpp.
References CLICK_ACTION_NONE, CLICK_ACTION_TOUCH, LLViewerObject::getClickAction(), LLViewerObject::getRootEdit(), and LLViewerObject::isAttachment().
Referenced by cursor_from_object(), and LLToolPie::handleMouseUp().
void handle_buy | ( | void * | ) |
Definition at line 4272 of file llviewermenu.cpp.
References LLSaleInfo::FS_CONTENTS, LLSingleton< LLSelectMgr >::getInstance(), LLSaleInfo::getSaleType(), handle_buy_contents(), handle_buy_object(), and LLSelectMgr::selectGetSaleInfo().
Referenced by LLObjectBuy::handleEvent(), LLToolsBuyOrTake::handleEvent(), and LLToolPie::selectionPropertiesReceived().
static void handle_click_action_open_media | ( | LLPointer< LLViewerObject > | objectp | ) | [static] |
Definition at line 742 of file lltoolpie.cpp.
References LLViewerParcelMgr::getAgentParcel(), LLMediaManager::getInstance(), LLSingleton< LLViewerParcelMgr >::getInstance(), LLParcel::getMediaType(), LLParcel::getMediaURL(), gLastHitObjectFace, handle_click_action_play(), LLViewerMedia::isActiveMediaTexture(), LLPointer< Type >::isNull(), LLWeb::loadURL(), LLURI::scheme(), and LLStringBase< char >::trim().
Referenced by LLToolPie::pickAndShowMenu().
static void handle_click_action_play | ( | ) | [static] |
Definition at line 720 of file lltoolpie.cpp.
References LLViewerParcelMgr::getAgentParcel(), LLSingleton< LLViewerParcelMgr >::getInstance(), LLViewerParcelMedia::getStatus(), LLViewerParcelMedia::pause(), LLViewerParcelMedia::play(), LLViewerParcelMedia::start(), indra::ipc::saranwrap::status(), LLMediaBase::STATUS_PAUSED, and LLMediaBase::STATUS_STARTED.
Referenced by handle_click_action_open_media(), and LLToolPie::pickAndShowMenu().
Definition at line 57 of file llwindow.cpp.