diff options
author | Jacek Antonelli | 2008-08-15 23:45:44 -0500 |
---|---|---|
committer | Jacek Antonelli | 2008-08-15 23:45:44 -0500 |
commit | acfdcf2b1deeb04698174c78e8cb22b093445bb1 (patch) | |
tree | 811293650bcf81d01ea7c54d7c2cf263110aa329 /linden/indra/llui/llscrollbar.cpp | |
parent | Second Life viewer sources 1.20.2 (diff) | |
download | meta-impy-acfdcf2b1deeb04698174c78e8cb22b093445bb1.zip meta-impy-acfdcf2b1deeb04698174c78e8cb22b093445bb1.tar.gz meta-impy-acfdcf2b1deeb04698174c78e8cb22b093445bb1.tar.bz2 meta-impy-acfdcf2b1deeb04698174c78e8cb22b093445bb1.tar.xz |
Second Life viewer sources 1.20.3
Diffstat (limited to '')
-rw-r--r-- | linden/indra/llui/llscrollbar.cpp | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/linden/indra/llui/llscrollbar.cpp b/linden/indra/llui/llscrollbar.cpp index cdabda0..8940b80 100644 --- a/linden/indra/llui/llscrollbar.cpp +++ b/linden/indra/llui/llscrollbar.cpp | |||
@@ -501,6 +501,13 @@ void LLScrollbar::draw() | |||
501 | } | 501 | } |
502 | else | 502 | else |
503 | { | 503 | { |
504 | // Background | ||
505 | rounded_rect_imagep->drawSolid(mOrientation == HORIZONTAL ? SCROLLBAR_SIZE : 0, | ||
506 | mOrientation == VERTICAL ? SCROLLBAR_SIZE : 0, | ||
507 | mOrientation == HORIZONTAL ? getRect().getWidth() - 2 * SCROLLBAR_SIZE : getRect().getWidth(), | ||
508 | mOrientation == VERTICAL ? getRect().getHeight() - 2 * SCROLLBAR_SIZE : getRect().getHeight(), | ||
509 | mTrackColor); | ||
510 | |||
504 | // Thumb | 511 | // Thumb |
505 | LLRect outline_rect = mThumbRect; | 512 | LLRect outline_rect = mThumbRect; |
506 | outline_rect.stretch(2); | 513 | outline_rect.stretch(2); |