|
@@ -131,6 +131,9 @@ static void rtgui_event_dump(rt_thread_t tid, rtgui_event_t* event)
|
|
|
|
|
|
if(info->wid != RT_NULL)
|
|
|
rt_kprintf("win: %s", info->wid->title);
|
|
|
+#ifdef RTGUI_USING_SMALL_SIZE
|
|
|
+ rt_kprintf(" clip no. %d", info->num_rect);
|
|
|
+#endif
|
|
|
}
|
|
|
break;
|
|
|
|
|
@@ -325,6 +328,8 @@ rt_err_t rtgui_thread_send(rt_thread_t tid, rtgui_event_t* event, rt_size_t even
|
|
|
struct rtgui_thread* thread;
|
|
|
|
|
|
rtgui_event_dump(tid, event);
|
|
|
+ if (event->type != RTGUI_EVENT_TIMER)
|
|
|
+ rt_kprintf("event size: %d\n", event_size);
|
|
|
|
|
|
/* find rtgui_thread */
|
|
|
thread = (struct rtgui_thread*) (tid->user_data);
|
|
@@ -338,6 +343,7 @@ rt_err_t rtgui_thread_send_urgent(rt_thread_t tid, rtgui_event_t* event, rt_size
|
|
|
struct rtgui_thread* thread;
|
|
|
|
|
|
rtgui_event_dump(tid, event);
|
|
|
+ rt_kprintf("event size: %d\n", event_size);
|
|
|
|
|
|
/* find rtgui_thread */
|
|
|
thread = (struct rtgui_thread*) (tid->user_data);
|
|
@@ -354,6 +360,7 @@ rt_err_t rtgui_thread_send_sync(rt_thread_t tid, rtgui_event_t* event, rt_size_t
|
|
|
struct rt_mailbox ack_mb;
|
|
|
|
|
|
rtgui_event_dump(tid, event);
|
|
|
+ rt_kprintf("event size: %d\n", event_size);
|
|
|
|
|
|
/* init ack mailbox */
|
|
|
r = rt_mb_init(&ack_mb, "ack", &ack_buffer, 1, 0);
|