void UserInterface::scrollbarChanged() { Common::Rect r(73, 4, 73 + 9, 4 + 38); _uiSlots.add(r); _uiSlots.draw(false, false); drawScroller(); updateRect(r); }
//----------------------------------------------------------------------------- void CScrollbar::draw (CDrawContext* pContext) { drawBackground (pContext); if (scrollerLength > 0) { CRect scrollerRect = getScrollerRect (); drawScroller (pContext, scrollerRect); } setDirty (false); }