summaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorSascha Hauer <s.hauer@pengutronix.de>2015-07-10 21:31:18 +0200
committerSascha Hauer <s.hauer@pengutronix.de>2015-07-16 09:03:05 +0200
commit976ad2aea264c0af632d1429e16ca9a03cc55bbe (patch)
tree792e3b66b633961ea7dcb7dde3e6e16f1c4d6c17 /include
parentea532ddb865852ded9b7547bc2c7e2b64ad2ff7e (diff)
downloadbarebox-976ad2aea264c0af632d1429e16ca9a03cc55bbe.tar.gz
barebox-976ad2aea264c0af632d1429e16ca9a03cc55bbe.tar.xz
graphics_utils: Add function to invert an area
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
Diffstat (limited to 'include')
-rw-r--r--include/gui/graphic_utils.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/include/gui/graphic_utils.h b/include/gui/graphic_utils.h
index de7bb24ec3..5c5c40a67d 100644
--- a/include/gui/graphic_utils.h
+++ b/include/gui/graphic_utils.h
@@ -20,5 +20,7 @@ void gu_memset_pixel(struct fb_info *info, void* buf, u32 color, size_t size);
int fb_open(const char * fbdev, struct screen *sc, bool offscreen);
void fb_close(struct screen *sc);
void gu_screen_blit(struct screen *sc);
+void gu_invert_area(struct fb_info *info, void *buf, int startx, int starty, int width,
+ int height);
#endif /* __GRAPHIC_UTILS_H__ */