summaryrefslogtreecommitdiff
path: root/components/rtgui/include
diff options
context:
space:
mode:
Diffstat (limited to 'components/rtgui/include')
-rw-r--r--components/rtgui/include/rtgui/widgets/slider.h2
1 files changed, 2 insertions, 0 deletions
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;