diff options
| author | [email protected] <[email protected]> | 2011-06-08 14:53:32 +0000 |
|---|---|---|
| committer | [email protected] <[email protected]> | 2011-06-08 14:53:32 +0000 |
| commit | ce5a42cc189f6a2bb18a7d7c7d02ad8737d94a9f (patch) | |
| tree | 982262077ee0a85074905371225340e1846697ca /components/rtgui/include | |
| parent | 34d4a1bf2faf66956243afd773f6ae439873d3f8 (diff) | |
update graphic driver interface.
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@1463 bbd45198-f89e-11dd-88c7-29a3b14d5316
Diffstat (limited to 'components/rtgui/include')
| -rw-r--r-- | components/rtgui/include/rtgui/driver.h | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/components/rtgui/include/rtgui/driver.h b/components/rtgui/include/rtgui/driver.h index 89ff99f156..052fc137b1 100644 --- a/components/rtgui/include/rtgui/driver.h +++ b/components/rtgui/include/rtgui/driver.h @@ -20,14 +20,14 @@ struct rtgui_graphic_driver_ops
{
/* set and get pixel in (x, y) */
- void (*set_pixel) (rtgui_color_t *c, rt_base_t x, rt_base_t y);
- void (*get_pixel) (rtgui_color_t *c, rt_base_t x, rt_base_t y);
+ void (*set_pixel) (rtgui_color_t *c, int x, int y);
+ void (*get_pixel) (rtgui_color_t *c, int x, int y);
- void (*draw_hline)(rtgui_color_t *c, rt_base_t x1, rt_base_t x2, rt_base_t y);
- void (*draw_vline)(rtgui_color_t *c, rt_base_t x , rt_base_t y1, rt_base_t y2);
+ void (*draw_hline)(rtgui_color_t *c, int x1, int x2, int y);
+ void (*draw_vline)(rtgui_color_t *c, int x , int y1, int y2);
/* draw raw hline */
- void (*draw_raw_hline)(rt_uint8_t *pixels, rt_base_t x1, rt_base_t x2, rt_base_t y);
+ void (*draw_raw_hline)(rt_uint8_t *pixels, int x1, int x2, int y);
};
struct rtgui_graphic_driver
|
