fix textbox caret timeout function declaration.

git-svn-id: https://rt-thread.googlecode.com/svn/trunk@282 bbd45198-f89e-11dd-88c7-29a3b14d5316
This commit is contained in:
bernard.xiong 2010-01-04 06:52:32 +00:00
parent 7474b05514
commit 95e2dd509c
2 changed files with 3 additions and 3 deletions

View File

@ -15,7 +15,6 @@
#define __RTGUI_TEXTBOX_H__ #define __RTGUI_TEXTBOX_H__
#include <rtgui/rtgui.h> #include <rtgui/rtgui.h>
#include <rtgui/caret.h>
#include <rtgui/widgets/widget.h> #include <rtgui/widgets/widget.h>
/** Gets the type of a textbox */ /** Gets the type of a textbox */

View File

@ -12,8 +12,9 @@
* 2009-10-16 Bernard first version * 2009-10-16 Bernard first version
*/ */
#include <rtgui/dc.h> #include <rtgui/dc.h>
#include <rtgui/widgets/textbox.h>
#include <rtgui/rtgui_theme.h> #include <rtgui/rtgui_theme.h>
#include <rtgui/rtgui_system.h>
#include <rtgui/widgets/textbox.h>
#ifndef _WIN32 #ifndef _WIN32
#include <ctype.h> #include <ctype.h>
@ -26,7 +27,7 @@ static void rtgui_textbox_onkey(struct rtgui_textbox* box, struct rtgui_event_kb
static rt_bool_t rtgui_textbox_onfocus(struct rtgui_widget* widget, struct rtgui_event* event); static rt_bool_t rtgui_textbox_onfocus(struct rtgui_widget* widget, struct rtgui_event* event);
static rt_bool_t rtgui_textbox_onunfocus(struct rtgui_widget* widget, struct rtgui_event* event); static rt_bool_t rtgui_textbox_onunfocus(struct rtgui_widget* widget, struct rtgui_event* event);
static void _rtgui_textbox_caret_timeout(void *parameter) static void _rtgui_textbox_caret_timeout(struct rtgui_timer* timer, void* parameter)
{ {
rtgui_textbox_t* box; rtgui_textbox_t* box;