Properly redraw the scrollbar container's content.

Before the background also updated the content, which made the text
getting redrawn to often on top of itself and got ugly.
This commit is contained in:
Mark de Wever 2009-01-02 13:43:07 +00:00
parent b641bdb0ac
commit e658ecd86b
2 changed files with 9 additions and 1 deletions

View File

@ -459,11 +459,16 @@ void tscrollbar_container::
}
void tscrollbar_container::impl_draw_background(surface& frame_buffer)
{
// Inherited.
tcontainer_::impl_draw_background(frame_buffer);
}
void tscrollbar_container::impl_draw_children(surface& frame_buffer)
{
// Inherited.
tcontainer_::impl_draw_background(frame_buffer);
// Draw.
content_grid_->draw_children(frame_buffer);
}

View File

@ -244,6 +244,9 @@ private:
/** Inherited from tcontainer_. */
void impl_draw_background(surface& frame_buffer);
/** Inherited from tcontainer_. */
void impl_draw_children(surface& frame_buffer);
/** Inherited from tcontainer_. */
void impl_draw_foreground(surface& frame_buffer);