Remove unused View::dirty_screen_rect member.

This commit is contained in:
Jared Boone 2016-02-07 10:53:40 -08:00
parent 41d4fd0044
commit a420f018c7
2 changed files with 0 additions and 8 deletions

View File

@ -222,11 +222,6 @@ void Widget::dirty_overlapping_children_in_rect(const Rect& child_rect) {
/* View ******************************************************************/
void View::set_parent_rect(const Rect new_parent_rect) {
Widget::set_parent_rect(new_parent_rect);
dirty_screen_rect += screen_rect();
}
void View::paint(Painter& painter) {
painter.fill_rectangle(
screen_rect(),

View File

@ -151,8 +151,6 @@ public:
// TODO: ~View() should on_hide() all children?
void set_parent_rect(const Rect new_parent_rect) override;
void paint(Painter& painter) override;
void add_child(Widget* const widget);
@ -164,7 +162,6 @@ public:
protected:
std::vector<Widget*> children_;
Rect dirty_screen_rect;
void invalidate_child(Widget* const widget);
};