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 /indra/newview/llfasttimerview.cpp | |
parent | d65d5485fb6e330d7ce9d90bf82d8621a0bd1504 (diff) |
double click to expand all timers in LLFastTimerView
Diffstat (limited to 'indra/newview/llfasttimerview.cpp')
-rw-r--r-- | indra/newview/llfasttimerview.cpp | 11 |
1 files changed, 11 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) { |