diff options
| author | bernard.xiong <[email protected]> | 2010-08-09 10:11:45 +0000 |
|---|---|---|
| committer | bernard.xiong <[email protected]> | 2010-08-09 10:11:45 +0000 |
| commit | 82239341b575b8644463a0b686745460a38857d3 (patch) | |
| tree | c690f87c2085400ad934c5d933c60ff82c7d5f90 /components/rtgui/include | |
| parent | 2e0297c5273c016b2d6a96c011d90422880cb404 (diff) | |
rename hardware dc to client dc.
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@836 bbd45198-f89e-11dd-88c7-29a3b14d5316
Diffstat (limited to 'components/rtgui/include')
| -rw-r--r-- | components/rtgui/include/rtgui/dc.h | 1 | ||||
| -rw-r--r-- | components/rtgui/include/rtgui/dc_client.h | 30 | ||||
| -rw-r--r-- | components/rtgui/include/rtgui/dc_hw.h | 1 |
3 files changed, 31 insertions, 1 deletions
diff --git a/components/rtgui/include/rtgui/dc.h b/components/rtgui/include/rtgui/dc.h index 5f442b27ae..3b5fe1d36e 100644 --- a/components/rtgui/include/rtgui/dc.h +++ b/components/rtgui/include/rtgui/dc.h @@ -22,6 +22,7 @@ enum rtgui_dc_type
{
RTGUI_DC_HW,
+ RTGUI_DC_CLIENT,
RTGUI_DC_BUFFER,
RTGUI_DC_IMLIB2,
};
diff --git a/components/rtgui/include/rtgui/dc_client.h b/components/rtgui/include/rtgui/dc_client.h new file mode 100644 index 0000000000..b12f59538e --- /dev/null +++ b/components/rtgui/include/rtgui/dc_client.h @@ -0,0 +1,30 @@ +/*
+ * File : dc_buffer.h
+ * This file is part of RT-Thread RTOS
+ * COPYRIGHT (C) 2006 - 2010, RT-Thread Development Team
+ *
+ * The license and distribution terms for this file may be
+ * found in the file LICENSE in this distribution or at
+ * http://www.rt-thread.org/license/LICENSE
+ *
+ * Change Logs:
+ * Date Author Notes
+ * 2010-04-10 Bernard first version
+ * 2010-06-14 Bernard embedded hardware dc to each widget
+ * 2010-08-09 Bernard rename hardware dc to client dc
+ */
+
+#ifndef __RTGUI_DC_CLIENT_H__
+#define __RTGUI_DC_CLIENT_H__
+
+#include <rtgui/dc.h>
+
+/* create a hardware dc */
+struct rtgui_dc* rtgui_dc_client_create(rtgui_widget_t* owner);
+void rtgui_dc_client_init(rtgui_widget_t* owner);
+
+/* draw a hline with raw pixel data */
+void rtgui_dc_client_draw_raw_hline(struct rtgui_dc* dc, rt_uint8_t* raw_ptr, int x1, int x2, int y);
+
+#endif
+
diff --git a/components/rtgui/include/rtgui/dc_hw.h b/components/rtgui/include/rtgui/dc_hw.h index 7b6e7b5b20..c313373aec 100644 --- a/components/rtgui/include/rtgui/dc_hw.h +++ b/components/rtgui/include/rtgui/dc_hw.h @@ -19,7 +19,6 @@ /* create a hardware dc */
struct rtgui_dc* rtgui_dc_hw_create(rtgui_widget_t* owner);
-void rtgui_dc_hw_init(rtgui_widget_t* owner);
/* draw a hline with raw pixel data */
void rtgui_dc_hw_draw_raw_hline(struct rtgui_dc* dc, rt_uint8_t* raw_ptr, int x1, int x2, int y);
|
