summaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorSascha Hauer <s.hauer@pengutronix.de>2015-07-09 09:33:32 +0200
committerSascha Hauer <s.hauer@pengutronix.de>2015-07-15 07:25:00 +0200
commit592ae690f5fa0e0a07ad4390ef3b15cd0f465a80 (patch)
tree96adad58ef660aed49687444783993461526c221 /include
parent0011d7c1fc43d51359f2f966215049e0ee8f5b62 (diff)
downloadbarebox-592ae690f5fa0e0a07ad4390ef3b15cd0f465a80.tar.gz
barebox-592ae690f5fa0e0a07ad4390ef3b15cd0f465a80.tar.xz
graphic_utils: Add a common namespace to functions
This adds a common namespace to the graphic functions. We use gu_ for graphic_utils. Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
Diffstat (limited to 'include')
-rw-r--r--include/gui/graphic_utils.h12
1 files changed, 6 insertions, 6 deletions
diff --git a/include/gui/graphic_utils.h b/include/gui/graphic_utils.h
index 33e0cbfb2..de7bb24ec 100644
--- a/include/gui/graphic_utils.h
+++ b/include/gui/graphic_utils.h
@@ -11,14 +11,14 @@
#include <gui/image.h>
#include <gui/gui.h>
-void rgba_blend(struct fb_info *info, struct image *img, void* dest, int height,
+void gu_rgba_blend(struct fb_info *info, struct image *img, void* dest, int height,
int width, int startx, int starty, bool is_rgba);
-void set_pixel(struct fb_info *info, void *adr, u32 px);
-void set_rgb_pixel(struct fb_info *info, void *adr, u8 r, u8 g, u8 b);
-void set_rgba_pixel(struct fb_info *info, void *adr, u8 r, u8 g, u8 b, u8 a);
-void memset_pixel(struct fb_info *info, void* buf, u32 color, size_t size);
+void gu_set_pixel(struct fb_info *info, void *adr, u32 px);
+void gu_set_rgb_pixel(struct fb_info *info, void *adr, u8 r, u8 g, u8 b);
+void gu_set_rgba_pixel(struct fb_info *info, void *adr, u8 r, u8 g, u8 b, u8 a);
+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 screen_blit(struct screen *sc);
+void gu_screen_blit(struct screen *sc);
#endif /* __GRAPHIC_UTILS_H__ */