本文转载自:http://blog.csdn.net/wed110/article/details/26554197
- int gr_init(void);
- void gr_exit(void);
-
- int gr_fb_width(void);
- int gr_fb_height(void);
- gr_pixel *gr_fb_data(void);
- void gr_flip(void);
- void gr_fb_blank(bool blank);
-
- void gr_color(unsigned char r, unsigned char g, unsigned char b, unsigned char a);
- void gr_fill(int x, int y, int w, int h);
- int gr_text(int x, int y, const char *s);
- int gr_measure(const char *s);
- void gr_font_size(int *x, int *y);
-
- void gr_blit(gr_surface source, int sx, int sy, int w, int h, int dx, int dy);
- unsigned int gr_get_width(gr_surface surface);
- unsigned int gr_get_height(gr_surface surface);
- int res_create_surface(const char* name, gr_surface* pSurface);
- void res_free_surface(gr_surface surface);
Recovery 中的UI知识积累【转】
原文:http://www.cnblogs.com/zzb-Dream-90Time/p/7612493.html