lltoolmgr.cpp File Reference

LLToolMgr class implementation. More...

#include "llviewerprecompiledheaders.h"
#include "lltoolmgr.h"
#include "lltool.h"
#include "llmanipscale.h"
#include "lltoolbrush.h"
#include "lltoolcomp.h"
#include "lltooldraganddrop.h"
#include "lltoolface.h"
#include "lltoolfocus.h"
#include "lltoolgrab.h"
#include "lltoolindividual.h"
#include "lltoolmorph.h"
#include "lltoolpie.h"
#include "lltoolplacer.h"
#include "lltoolselect.h"
#include "lltoolselectland.h"
#include "lltoolobjpicker.h"
#include "lltoolpipette.h"

Include dependency graph for lltoolmgr.cpp:

Go to the source code of this file.

Functions

void select_tool (void *tool_pointer)

Variables

LLToolMgrgToolMgr = NULL
LLToolgToolNull = NULL
LLToolsetgBasicToolset = NULL
LLToolsetgCameraToolset = NULL
LLToolsetgMouselookToolset = NULL
LLToolsetgFaceEditToolset = NULL


Detailed Description

LLToolMgr class implementation.

LicenseInfo
firstyear=2001&license=viewergpl

Copyright (c) 2001-2007, 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://secondlife.com/developers/opensource/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://secondlife.com/developers/opensource/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 lltoolmgr.cpp.


Function Documentation

void select_tool ( void tool_pointer  ) 

Definition at line 521 of file lltoolmgr.cpp.

References LLToolMgr::getCurrentToolset(), gToolMgr, and LLToolset::selectTool().

Referenced by LLFloaterTools::setEditTool().


Variable Documentation

LLToolset* gBasicToolset = NULL

Definition at line 60 of file lltoolmgr.cpp.

Referenced by LLAgent::changeCameraToFollow(), LLAgent::changeCameraToThirdPerson(), LLAgent::endAnimationUpdateUI(), handle_move(), LLLandBuild::handleEvent(), LLObjectEdit::handleEvent(), LLObjectBuild::handleEvent(), LLToolGrab::handleMouseUp(), LLToolGrab::handleObjectHit(), LLToolMgr::initTools(), LLToolMgr::LLToolMgr(), LLFloaterTools::onClose(), LLFloaterTools::onFocusReceived(), reset_view_final(), LLFloaterTelehub::show(), toggle_build_mode(), LLFloaterInspect::~LLFloaterInspect(), and LLToolMgr::~LLToolMgr().

LLToolset* gCameraToolset = NULL

Definition at line 61 of file lltoolmgr.cpp.

Referenced by LLToolMgr::initTools(), LLToolMgr::LLToolMgr(), LLFloaterSnapshot::Impl::updateLayout(), and LLToolMgr::~LLToolMgr().

LLToolset* gFaceEditToolset = NULL

Definition at line 64 of file lltoolmgr.cpp.

Referenced by LLAgent::changeCameraToCustomizeAvatar(), LLAgent::endAnimationUpdateUI(), LLViewerWindow::handlePerFrameHover(), LLToolMgr::initTools(), LLToolMgr::LLToolMgr(), and LLToolMgr::~LLToolMgr().

LLToolset* gMouselookToolset = NULL

Definition at line 63 of file lltoolmgr.cpp.

Referenced by LLAgent::changeCameraToMouselook(), LLAgent::endAnimationUpdateUI(), LLViewerWindow::handlePerFrameHover(), LLToolMgr::initTools(), LLToolMgr::LLToolMgr(), and LLToolMgr::~LLToolMgr().

LLToolMgr* gToolMgr = NULL

Definition at line 55 of file lltoolmgr.cpp.

Referenced by LLToolDragAndDrop::beginDrag(), LLToolDragAndDrop::beginMultiDrag(), LLAgent::changeCameraToCustomizeAvatar(), LLAgent::changeCameraToFollow(), LLAgent::changeCameraToMouselook(), LLAgent::changeCameraToThirdPerson(), cleanup_app(), LLFloaterReporter::closePickTool(), LLViewerWindow::draw(), LLToolView::draw(), LLFloaterTexturePicker::draw(), LLPanelObject::draw(), LLFloaterColorPicker::draw(), LLToolDragAndDrop::dropObject(), LLAgent::endAnimationUpdateUI(), LLAgent::getRenderState(), handle_focus(), handle_move(), LLViewerWindow::handleDoubleClick(), LLToolCompGun::handleDoubleClick(), LLToolsSelectTool::handleEvent(), LLToolsEnableToolNotPie::handleEvent(), LLLandEdit::handleEvent(), LLLandBuild::handleEvent(), LLObjectEdit::handleEvent(), LLObjectBuild::handleEvent(), LLViewCheckBuildMode::handleEvent(), LLViewerWindow::handleFocus(), LLViewerWindow::handleFocusLost(), LLSnapshotFloaterView::handleHover(), LLViewerWindow::handleKey(), LLViewerWindow::handleMouseDown(), LLToolGun::handleMouseDown(), LLToolCompGun::handleMouseDown(), LLSnapshotFloaterView::handleMouseDown(), LLViewerWindow::handleMouseUp(), LLToolPipette::handleMouseUp(), LLToolPie::handleMouseUp(), LLSnapshotFloaterView::handleMouseUp(), LLViewerWindow::handlePerFrameHover(), LLViewerWindow::handleRightMouseDown(), LLViewerWindow::handleRightMouseUp(), LLToolPie::handleRightMouseUp(), idle_startup(), LLVOAvatar::idleUpdate(), menu_check_build_tool(), LLToolBrushLand::modifyLandInSelectionGlobal(), LLVOAvatar::needsRenderBeam(), LLFloaterTexturePicker::onBtnPipette(), LLFloaterReporter::onClickObjPicker(), LLFloaterColorPicker::onClickPipette(), LLToolView::onClickToolButton(), LLFloaterTools::onClose(), LLFloaterTools::onFocusReceived(), LLFloaterInspect::onFocusReceived(), LLToolBrushLand::onIdle(), LLToolDragAndDrop::onMouseCaptureLost(), LLToolPie::pickAndShowMenu(), LLToolCamera::pickCallback(), LLToolPlacer::placeObject(), LLViewerObjectList::processUpdateCore(), LLToolBar::refresh(), LLToolCamera::releaseMouse(), LLSelectMgr::removeObjectFromSelections(), LLViewerWindow::renderSelections(), reset_view_final(), select_tool(), LLToolset::selectFirstTool(), LLToolset::selectNextTool(), LLToolset::selectPrevTool(), LLToolset::selectTool(), LLToolset::selectToolByIndex(), LLSelectMgr::sendAttach(), LLFloaterTelehub::show(), LLFloaterInspect::show(), LLFloaterTexturePicker::stopUsingPipette(), LLFloaterColorPicker::stopUsingPipette(), toggle_build_mode(), LLFloaterSnapshot::Impl::updateLayout(), LLFloaterTools::updatePopup(), LLSelectMgr::updateSelectionCenter(), LLFloaterInspect::~LLFloaterInspect(), and LLFloaterSnapshot::~LLFloaterSnapshot().

LLTool* gToolNull = NULL

Definition at line 58 of file lltoolmgr.cpp.

Referenced by LLViewerWindow::handlePerFrameHover(), LLToolMgr::inEdit(), LLToolMgr::LLToolMgr(), LLToolMgr::onAppFocusLost(), LLFloaterTools::updatePopup(), and LLToolMgr::~LLToolMgr().


Generated on Thu Jul 1 06:10:43 2010 for Second Life Viewer by  doxygen 1.4.7