CC-Progressbar: mark framebuffer region dirty

This commit is contained in:
Stefan Seyfried
2015-02-21 16:04:51 +01:00
parent 2e73e4c940
commit a229a56e12

View File

@@ -210,6 +210,7 @@ void CProgressBarCache::paint(int x, int y, int pb_active_width, int pb_passive_
ap += pb_passive_width; ap += pb_passive_width;
p += off; p += off;
} }
frameBuffer->mark(x, y, x + pb_width, y + pb_height);
} }
void CProgressBarCache::paintBoxRel(fb_pixel_t *b, int x, int y, int dx, int dy, fb_pixel_t col) void CProgressBarCache::paintBoxRel(fb_pixel_t *b, int x, int y, int dx, int dy, fb_pixel_t col)