#include <lltoolmgr.h>
Collaboration diagram for LLToolset:

| Public Member Functions | |
| LLToolset () | |
| LLTool * | getSelectedTool () | 
| 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 | |
| LLTool * | mSelectedTool | 
| LLDoubleLinkedList< LLTool > | mToolList | 
Definition at line 88 of file lltoolmgr.h.
| LLToolset::LLToolset | ( | ) |  [inline] | 
Definition at line 91 of file lltoolmgr.h.
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().
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().
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().
Definition at line 453 of file lltoolmgr.cpp.
References LLDoubleLinkedList< DATA_TYPE >::getNthData(), gToolMgr, mSelectedTool, mToolList, and LLToolMgr::setCurrentTool().
Referenced by LLToolsSelectTool::handleEvent().
| 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().
 1.4.7
 1.4.7