diff options
author | Jacek Antonelli | 2008-08-15 23:45:37 -0500 |
---|---|---|
committer | Jacek Antonelli | 2008-08-15 23:45:37 -0500 |
commit | 31ba05810c641f14e8ab5da8ad2aaf527779f6c1 (patch) | |
tree | c4b8d635dfb657fa4cfee7c285f8cadbf24afa90 /linden/indra/llui/llscrolllistctrl.cpp | |
parent | Second Life viewer sources 1.19.1.1 (diff) | |
download | meta-impy-31ba05810c641f14e8ab5da8ad2aaf527779f6c1.zip meta-impy-31ba05810c641f14e8ab5da8ad2aaf527779f6c1.tar.gz meta-impy-31ba05810c641f14e8ab5da8ad2aaf527779f6c1.tar.bz2 meta-impy-31ba05810c641f14e8ab5da8ad2aaf527779f6c1.tar.xz |
Second Life viewer sources 1.19.1.2
Diffstat (limited to 'linden/indra/llui/llscrolllistctrl.cpp')
-rw-r--r-- | linden/indra/llui/llscrolllistctrl.cpp | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/linden/indra/llui/llscrolllistctrl.cpp b/linden/indra/llui/llscrolllistctrl.cpp index eee2bcf..01c37d9 100644 --- a/linden/indra/llui/llscrolllistctrl.cpp +++ b/linden/indra/llui/llscrolllistctrl.cpp | |||
@@ -842,6 +842,9 @@ BOOL LLScrollListCtrl::addItem( LLScrollListItem* item, EAddPosition pos, BOOL r | |||
842 | return not_too_big; | 842 | return not_too_big; |
843 | } | 843 | } |
844 | 844 | ||
845 | // NOTE: This is *very* expensive for large lists, especially when we are dirtying the list every frame | ||
846 | // while receiving a long list of names. | ||
847 | // *TODO: Use bookkeeping to make this an incramental cost with item additions | ||
845 | void LLScrollListCtrl::calcColumnWidths() | 848 | void LLScrollListCtrl::calcColumnWidths() |
846 | { | 849 | { |
847 | const S32 HEADING_TEXT_PADDING = 30; | 850 | const S32 HEADING_TEXT_PADDING = 30; |