LLToolset Class Reference

#include <lltoolmgr.h>

Collaboration diagram for LLToolset:

Collaboration graph
[legend]
List of all members.

Public Member Functions

 LLToolset ()
LLToolgetSelectedTool ()
void addTool (LLTool *tool)
void selectTool (LLTool *tool)
void selectToolByIndex (S32 index)
void selectFirstTool ()
void selectNextTool ()
void selectPrevTool ()
void handleScrollWheel (S32 clicks)
BOOL isToolSelected (S32 index)

Protected Attributes

LLToolmSelectedTool
LLDoubleLinkedList< LLToolmToolList

Detailed Description

Definition at line 88 of file lltoolmgr.h.


Constructor & Destructor Documentation

LLToolset::LLToolset (  )  [inline]

Definition at line 91 of file lltoolmgr.h.


Member Function Documentation

void LLToolset::addTool ( LLTool tool  ) 

Definition at line 434 of file lltoolmgr.cpp.

References LLDoubleLinkedList< DATA_TYPE >::addDataAtEnd(), LLDoubleLinkedList< DATA_TYPE >::checkData(), llassert, mSelectedTool, and mToolList.

Referenced by LLToolMgr::initTools().

LLTool* LLToolset::getSelectedTool (  )  [inline]

Definition at line 93 of file lltoolmgr.h.

References mSelectedTool.

Referenced by LLToolView::draw(), and LLToolMgr::setCurrentToolset().

void LLToolset::handleScrollWheel ( S32  clicks  ) 

BOOL LLToolset::isToolSelected ( S32  index  ) 

Definition at line 463 of file lltoolmgr.cpp.

References LLDoubleLinkedList< DATA_TYPE >::getNthData(), mSelectedTool, and mToolList.

Referenced by menu_check_build_tool().

void LLToolset::selectFirstTool (  ) 

Definition at line 469 of file lltoolmgr.cpp.

References LLDoubleLinkedList< DATA_TYPE >::getFirstData(), gToolMgr, mSelectedTool, mToolList, and LLToolMgr::setCurrentTool().

Referenced by LLFloaterTools::onClose(), and LLToolMgr::setCurrentToolset().

void LLToolset::selectNextTool (  ) 

Definition at line 479 of file lltoolmgr.cpp.

References LLDoubleLinkedList< DATA_TYPE >::getFirstData(), LLDoubleLinkedList< DATA_TYPE >::getNextData(), gToolMgr, mSelectedTool, mToolList, NULL, and LLToolMgr::setCurrentTool().

void LLToolset::selectPrevTool (  ) 

Definition at line 500 of file lltoolmgr.cpp.

References LLDoubleLinkedList< DATA_TYPE >::getLastData(), LLDoubleLinkedList< DATA_TYPE >::getPreviousData(), gToolMgr, mSelectedTool, mToolList, NULL, and LLToolMgr::setCurrentTool().

void LLToolset::selectTool ( LLTool tool  ) 

Definition at line 446 of file lltoolmgr.cpp.

References gToolMgr, mSelectedTool, and LLToolMgr::setCurrentTool().

Referenced by handle_focus(), handle_move(), LLToolCompGun::handleDoubleClick(), LLLandEdit::handleEvent(), LLLandBuild::handleEvent(), LLObjectBuild::handleEvent(), LLToolGun::handleMouseDown(), LLToolCompGun::handleMouseDown(), LLToolGrab::handleMouseUp(), LLToolGrab::handleObjectHit(), LLToolMgr::initTools(), LLToolView::onClickToolButton(), LLToolPie::pickAndShowMenu(), LLToolPlacer::placeObject(), select_tool(), LLFloaterTelehub::show(), and toggle_build_mode().

void LLToolset::selectToolByIndex ( S32  index  ) 

Definition at line 453 of file lltoolmgr.cpp.

References LLDoubleLinkedList< DATA_TYPE >::getNthData(), gToolMgr, mSelectedTool, mToolList, and LLToolMgr::setCurrentTool().

Referenced by LLToolsSelectTool::handleEvent().


Member Data Documentation

LLTool* LLToolset::mSelectedTool [protected]

Definition at line 108 of file lltoolmgr.h.

Referenced by addTool(), getSelectedTool(), isToolSelected(), selectFirstTool(), selectNextTool(), selectPrevTool(), selectTool(), and selectToolByIndex().

LLDoubleLinkedList<LLTool> LLToolset::mToolList [protected]

Definition at line 109 of file lltoolmgr.h.

Referenced by addTool(), isToolSelected(), selectFirstTool(), selectNextTool(), selectPrevTool(), and selectToolByIndex().


The documentation for this class was generated from the following files:
Generated on Thu Jul 1 06:11:53 2010 for Second Life Viewer by  doxygen 1.4.7