double click to expand all timers in LLFastTimerView
parent
d65d5485fb
commit
a11a8c4027
|
|
@ -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)
|
||||
{
|
||||
|
||||
|
|
|
|||
|
|
@ -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);
|
||||
|
|
|
|||
Loading…
Reference in New Issue