diff options
| author | [email protected] <[email protected]> | 2011-06-11 06:18:46 +0000 |
|---|---|---|
| committer | [email protected] <[email protected]> | 2011-06-11 06:18:46 +0000 |
| commit | 14c2f8c0399d2041d75fac43c42d87bf6a2e3b93 (patch) | |
| tree | a7a5de9eb33296b476eeb813be8df28baf4384ef /components/rtgui/widgets/progressbar.c | |
| parent | e8d7220682b061846844f98eb0f8d891c89c0e37 (diff) | |
add rtgui_listbox_set_current_item function; fix draw rect issue on the border; fix progress bar drawing issue; fix on_item issue in menu if the sub_menu is shown;
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@1488 bbd45198-f89e-11dd-88c7-29a3b14d5316
Diffstat (limited to 'components/rtgui/widgets/progressbar.c')
| -rw-r--r-- | components/rtgui/widgets/progressbar.c | 9 |
1 files changed, 1 insertions, 8 deletions
diff --git a/components/rtgui/widgets/progressbar.c b/components/rtgui/widgets/progressbar.c index 2d7ddc0ed2..84e2adea1d 100644 --- a/components/rtgui/widgets/progressbar.c +++ b/components/rtgui/widgets/progressbar.c @@ -33,14 +33,7 @@ rt_bool_t rtgui_progressbar_event_handler(struct rtgui_widget* widget, switch (event->type)
{
case RTGUI_EVENT_PAINT:
-#ifndef RTGUI_USING_SMALL_SIZE
- if (widget->on_draw != RT_NULL) widget->on_draw(widget, event);
- else
-#endif
- {
- rtgui_theme_draw_progressbar(bar);
- }
-
+ rtgui_theme_draw_progressbar(bar);
break;
}
|
