diff options
| author | [email protected] <[email protected]> | 2010-05-30 22:44:21 +0000 |
|---|---|---|
| committer | [email protected] <[email protected]> | 2010-05-30 22:44:21 +0000 |
| commit | a1ee019309d171f9dc641c7ef09d545a49edc1a1 (patch) | |
| tree | 34f73bfd97dc5ae77372275f28d653a81297a1b2 /components/rtgui/common/rtgui_theme.c | |
| parent | ea6e5155ef903c6353d8f317dd73b3838658c971 (diff) | |
move the basic routine of dc to inline; add hdc memory image type; move event buffer from stack to gui thread structure.
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@755 bbd45198-f89e-11dd-88c7-29a3b14d5316
Diffstat (limited to 'components/rtgui/common/rtgui_theme.c')
| -rw-r--r-- | components/rtgui/common/rtgui_theme.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/components/rtgui/common/rtgui_theme.c b/components/rtgui/common/rtgui_theme.c index 1c5a6f1a9d..2cb4628d9c 100644 --- a/components/rtgui/common/rtgui_theme.c +++ b/components/rtgui/common/rtgui_theme.c @@ -488,7 +488,7 @@ void rtgui_theme_draw_radiobutton(struct rtgui_radiobox* radiobox, rt_uint16_t i { struct rtgui_dc* dc; struct rtgui_rect rect, item_rect; - rt_size_t item_size, bord_size; + int item_size, bord_size; /* begin drawing */ dc = rtgui_dc_begin_drawing(RTGUI_WIDGET(radiobox)); @@ -572,7 +572,7 @@ void rtgui_theme_draw_radiobox(struct rtgui_radiobox* radiobox) { struct rtgui_dc* dc; struct rtgui_rect rect, item_rect; - rt_size_t item_size, bord_size, index; + int item_size, bord_size, index; rtgui_color_t fc; /* begin drawing */ |
