diff options
| author | Richard Nelson <none@none> | 2010-08-06 15:49:38 -0700 | 
|---|---|---|
| committer | Richard Nelson <none@none> | 2010-08-06 15:49:38 -0700 | 
| commit | a11a8c4027eb949c8a33951b9e8c7475e59a2eeb (patch) | |
| tree | 98acb8c4275b08dd73e68a04eb6a6fb45fc6121b | |
| parent | d65d5485fb6e330d7ce9d90bf82d8621a0bd1504 (diff) | |
double click to expand all timers in LLFastTimerView
| -rw-r--r-- | indra/newview/llfasttimerview.cpp | 11 | ||||
| -rw-r--r-- | indra/newview/llfasttimerview.h | 1 | 
2 files changed, 12 insertions, 0 deletions
| diff --git a/indra/newview/llfasttimerview.cpp b/indra/newview/llfasttimerview.cpp index ec772c2295..696ac4e6fa 100644 --- a/indra/newview/llfasttimerview.cpp +++ b/indra/newview/llfasttimerview.cpp @@ -140,6 +140,17 @@ LLFastTimer::NamedTimer* LLFastTimerView::getLegendID(S32 y)  	return NULL;  } +BOOL LLFastTimerView::handleDoubleClick(S32 x, S32 y, MASK mask) +{ +	for(timer_tree_iterator_t it = begin_timer_tree(LLFastTimer::NamedTimer::getRootNamedTimer()); +		it != end_timer_tree(); +		++it) +	{ +		(*it)->setCollapsed(false); +	} +	return TRUE; +} +  BOOL LLFastTimerView::handleMouseDown(S32 x, S32 y, MASK mask)  { diff --git a/indra/newview/llfasttimerview.h b/indra/newview/llfasttimerview.h index ac06990913..6f64248f78 100644 --- a/indra/newview/llfasttimerview.h +++ b/indra/newview/llfasttimerview.h @@ -54,6 +54,7 @@ private:  public:  	virtual BOOL handleMouseDown(S32 x, S32 y, MASK mask); +	virtual BOOL handleDoubleClick(S32 x, S32 y, MASK mask);  	virtual BOOL handleRightMouseDown(S32 x, S32 y, MASK mask);  	virtual BOOL handleMouseUp(S32 x, S32 y, MASK mask);  	virtual BOOL handleHover(S32 x, S32 y, MASK mask); | 
