From 3c975d6922c5bd451c67f82a010786c979d20fac Mon Sep 17 00:00:00 2001 From: "bernard.xiong@gmail.com" Date: Thu, 9 Sep 2010 23:07:22 +0000 Subject: 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 --- components/rtgui/include/rtgui/widgets/slider.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'components/rtgui/include') diff --git a/components/rtgui/include/rtgui/widgets/slider.h b/components/rtgui/include/rtgui/widgets/slider.h index 23bceedc9e..062c617f2a 100644 --- a/components/rtgui/include/rtgui/widgets/slider.h +++ b/components/rtgui/include/rtgui/widgets/slider.h @@ -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; -- cgit v1.3.1