summaryrefslogtreecommitdiff
path: root/components/rtgui/widgets
diff options
context:
space:
mode:
author[email protected] <[email protected]>2010-07-04 23:58:35 +0000
committer[email protected] <[email protected]>2010-07-04 23:58:35 +0000
commitb25f307b9b94918da883ba083ea4b1c33807719d (patch)
treef32c8323a8a62736c00d0019e7f63307e8b6727c /components/rtgui/widgets
parente76cd77c561149c3aa259715571d68729672cae6 (diff)
implement hardware DC in each widget.
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@787 bbd45198-f89e-11dd-88c7-29a3b14d5316
Diffstat (limited to 'components/rtgui/widgets')
-rw-r--r--components/rtgui/widgets/widget.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/components/rtgui/widgets/widget.c b/components/rtgui/widgets/widget.c
index 450d3c34e3..705cf5d682 100644
--- a/components/rtgui/widgets/widget.c
+++ b/components/rtgui/widgets/widget.c
@@ -60,6 +60,9 @@ static void _rtgui_widget_constructor(rtgui_widget_t *widget)
/* init clip information */
rtgui_region_init(&(widget->clip));
+
+ /* init hardware dc */
+ rtgui_dc_hw_init(widget);
}
/* Destroys the widget */