提交 c188bba4 编写于 作者: B bernard.xiong

update list item callback action.

git-svn-id: https://rt-thread.googlecode.com/svn/trunk@864 bbd45198-f89e-11dd-88c7-29a3b14d5316
上级 0c31a7c3
......@@ -15,7 +15,7 @@ static rtgui_list_view_t* _view = RT_NULL;
static rtgui_image_t* return_image = RT_NULL;
/* 列表项的动作函数 */
static void listitem_action(void* parameter)
static void listitem_action(rtgui_widget_t *widget, void* parameter)
{
char label_text[32];
rtgui_win_t *win;
......@@ -46,7 +46,7 @@ static void listitem_action(void* parameter)
}
/* 返回功能的动作函数 */
static void return_action(void* parameter)
static void return_action(rtgui_widget_t* widget, void* parameter)
{
rtgui_view_end_modal(RTGUI_VIEW(_view), RTGUI_MODAL_OK);
}
......
......@@ -14,7 +14,7 @@ static rtgui_workbench_t* workbench = RT_NULL;
static rtgui_list_view_t* _view = RT_NULL;
/* 列表项的动作函数 */
static void listitem_action(void* parameter)
static void listitem_action(rtgui_widget_t* widget, void* parameter)
{
char label_text[32];
rtgui_win_t *win;
......@@ -45,7 +45,7 @@ static void listitem_action(void* parameter)
}
/* 返回功能的动作函数 */
static void return_action(void* parameter)
static void return_action(rtgui_widget_t* widget, void* parameter)
{
/* 退出模态显示 */
rtgui_view_end_modal(RTGUI_VIEW(_view), RTGUI_MODAL_OK);
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册