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 Types

typedef std::vector< LLTool * > tool_list_t

Protected Attributes

LLToolmSelectedTool
tool_list_t mToolList


Detailed Description

Definition at line 92 of file lltoolmgr.h.


Member Typedef Documentation

typedef std::vector<LLTool*> LLToolset::tool_list_t [protected]

Definition at line 113 of file lltoolmgr.h.


Constructor & Destructor Documentation

LLToolset::LLToolset (  )  [inline]

Definition at line 95 of file lltoolmgr.h.


Member Function Documentation

LLTool* LLToolset::getSelectedTool (  )  [inline]

Definition at line 97 of file lltoolmgr.h.

References mSelectedTool.

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

Here is the caller graph for this function:

void LLToolset::addTool ( LLTool tool  ) 

Definition at line 306 of file lltoolmgr.cpp.

References mSelectedTool, and mToolList.

Referenced by LLToolMgr::initTools().

Here is the caller graph for this function:

void LLToolset::selectTool ( LLTool tool  ) 

void LLToolset::selectToolByIndex ( S32  index  ) 

Definition at line 323 of file lltoolmgr.cpp.

References LLSingleton< LLToolMgr >::getInstance(), mSelectedTool, mToolList, NULL, S32, and LLToolMgr::setCurrentTool().

Referenced by LLToolsSelectTool::handleEvent(), and selectPrevTool().

Here is the call graph for this function:

Here is the caller graph for this function:

void LLToolset::selectFirstTool (  ) 

Definition at line 340 of file lltoolmgr.cpp.

References LLSingleton< LLToolMgr >::getInstance(), mSelectedTool, mToolList, NULL, and LLToolMgr::setCurrentTool().

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

Here is the call graph for this function:

Here is the caller graph for this function:

void LLToolset::selectNextTool (  ) 

Definition at line 347 of file lltoolmgr.cpp.

References LLSingleton< LLToolMgr >::getInstance(), mSelectedTool, mToolList, NULL, selectFirstTool(), and LLToolMgr::setCurrentTool().

Here is the call graph for this function:

void LLToolset::selectPrevTool (  ) 

Definition at line 372 of file lltoolmgr.cpp.

References LLSingleton< LLToolMgr >::getInstance(), mSelectedTool, mToolList, NULL, S32, selectToolByIndex(), and LLToolMgr::setCurrentTool().

Here is the call graph for this function:

void LLToolset::handleScrollWheel ( S32  clicks  ) 

BOOL LLToolset::isToolSelected ( S32  index  ) 

Definition at line 333 of file lltoolmgr.cpp.

References mSelectedTool, mToolList, NULL, and S32.

Referenced by menu_check_build_tool().

Here is the caller graph for this function:


Member Data Documentation


The documentation for this class was generated from the following files:

Generated on Fri May 16 09:18:03 2008 for SecondLife by  doxygen 1.5.5