LLToolView Class Reference

#include <lltoolview.h>

Inheritance diagram for LLToolView:

Inheritance graph
[legend]
Collaboration diagram for LLToolView:

Collaboration graph
[legend]

List of all members.

Public Member Functions

 LLToolView (const std::string &name, const LLRect &rect)
 ~LLToolView ()
virtual void draw ()
void addTool (const LLString &icon_off, const LLString &icon_on, LLPanel *panel, LLTool *tool, LLView *hoverView, const char *label)
LLViewgetCurrentHoverView ()

Static Public Member Functions

static void onClickToolButton (void *container)

Private Types

typedef std::vector
< LLToolContainer * > 
contain_list_t

Private Member Functions

LLRect getButtonRect (S32 button_index)
LLToolContainerfindToolContainer (LLTool *tool)

Private Attributes

contain_list_t mContainList
S32 mButtonCount


Detailed Description

Definition at line 65 of file lltoolview.h.


Member Typedef Documentation

typedef std::vector<LLToolContainer*> LLToolView::contain_list_t [private]

Definition at line 86 of file lltoolview.h.


Constructor & Destructor Documentation

LLToolView::LLToolView ( const std::string &  name,
const LLRect rect 
)

Definition at line 66 of file lltoolview.cpp.

LLToolView::~LLToolView (  ) 

Definition at line 73 of file lltoolview.cpp.

References mContainList.


Member Function Documentation

void LLToolView::draw ( void   )  [virtual]

void LLToolView::onClickToolButton ( void *  container  )  [static]

Definition at line 192 of file lltoolview.cpp.

References LLToolMgr::getCurrentToolset(), LLSingleton< LLToolMgr >::getInstance(), LLToolContainer::mTool, and LLToolset::selectTool().

Referenced by addTool().

Here is the call graph for this function:

Here is the caller graph for this function:

void LLToolView::addTool ( const LLString icon_off,
const LLString icon_on,
LLPanel panel,
LLTool tool,
LLView hoverView,
const char *  label 
)

LLView* LLToolView::getCurrentHoverView (  ) 

LLRect LLToolView::getButtonRect ( S32  button_index  )  [private]

Definition at line 126 of file lltoolview.cpp.

References LLView::getRect(), LLRectBase< Type >::getWidth(), HPAD, S32, LLRectBase< Type >::setLeftTopAndSize(), and VPAD.

Referenced by addTool().

Here is the call graph for this function:

Here is the caller graph for this function:

LLToolContainer * LLToolView::findToolContainer ( LLTool tool  )  [private]

Definition at line 174 of file lltoolview.cpp.

References llassert, llendl, llerrs, mContainList, LLToolContainer::mTool, and NULL.


Member Data Documentation

Definition at line 87 of file lltoolview.h.

Referenced by addTool(), draw(), findToolContainer(), and ~LLToolView().

Definition at line 88 of file lltoolview.h.

Referenced by addTool().


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

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