diff options
| author | [email protected] <[email protected]> | 2012-08-27 07:57:19 +0000 |
|---|---|---|
| committer | [email protected] <[email protected]> | 2012-08-27 07:57:19 +0000 |
| commit | 64b0cd34fe31b9277d091d71e2a877f81d582df5 (patch) | |
| tree | 58c546e41fcd49b01b0bc9f3286d093d3bee176e /components/rtgui/widgets/button.c | |
| parent | a2c5b921511c555410425e1f099624c391a2b7fc (diff) | |
sync RTGUI with github(https://github.com/RT-Thread/RTGUI) 126336387561442a0508b661595134deb28ad34b
As always, full log is in GitHub.
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@2265 bbd45198-f89e-11dd-88c7-29a3b14d5316
Diffstat (limited to 'components/rtgui/widgets/button.c')
| -rw-r--r-- | components/rtgui/widgets/button.c | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/components/rtgui/widgets/button.c b/components/rtgui/widgets/button.c index 0e02b27611..27bf9d2e53 100644 --- a/components/rtgui/widgets/button.c +++ b/components/rtgui/widgets/button.c @@ -195,6 +195,7 @@ rt_bool_t rtgui_button_event_handler(struct rtgui_object* object, struct rtgui_e return RT_FALSE; } +RTM_EXPORT(rtgui_button_event_handler); rtgui_button_t* rtgui_button_create(const char* text) { @@ -215,6 +216,7 @@ rtgui_button_t* rtgui_button_create(const char* text) return btn; } +RTM_EXPORT(rtgui_button_create); rtgui_button_t* rtgui_pushbutton_create(const char* text) { @@ -225,11 +227,13 @@ rtgui_button_t* rtgui_pushbutton_create(const char* text) return btn; } +RTM_EXPORT(rtgui_pushbutton_create); void rtgui_button_destroy(rtgui_button_t* btn) { rtgui_widget_destroy(RTGUI_WIDGET(btn)); } +RTM_EXPORT(rtgui_button_destroy); void rtgui_button_set_pressed_image(rtgui_button_t* btn, rtgui_image_t* image) { @@ -237,6 +241,7 @@ void rtgui_button_set_pressed_image(rtgui_button_t* btn, rtgui_image_t* image) btn->pressed_image = image; } +RTM_EXPORT(rtgui_button_set_pressed_image); void rtgui_button_set_unpressed_image(rtgui_button_t* btn, rtgui_image_t* image) { @@ -244,6 +249,7 @@ void rtgui_button_set_unpressed_image(rtgui_button_t* btn, rtgui_image_t* image) btn->unpressed_image = image; } +RTM_EXPORT(rtgui_button_set_unpressed_image); void rtgui_button_set_onbutton(rtgui_button_t* btn, rtgui_onbutton_func_t func) { @@ -251,4 +257,5 @@ void rtgui_button_set_onbutton(rtgui_button_t* btn, rtgui_onbutton_func_t func) btn->on_button = func; } +RTM_EXPORT(rtgui_button_set_onbutton); |
