fix widget hide/enable issue and add on_changed in slider widget.

git-svn-id: https://rt-thread.googlecode.com/svn/trunk@899 bbd45198-f89e-11dd-88c7-29a3b14d5316
This commit is contained in:
bernard.xiong@gmail.com
2010-09-09 23:07:22 +00:00
parent 814ac8fb22
commit 3c975d6922
7 changed files with 36 additions and 9 deletions
@@ -33,6 +33,8 @@ struct rtgui_slider
rt_size_t thumb_width;
int orient;
void (*on_changed)(struct rtgui_widget* widget, struct rtgui_event *event);
};
typedef struct rtgui_slider rtgui_slider_t;