您的位置:首页 > Web前端 > JavaScript

javascript+div实现鼠标划过,切换层效果

2009-07-17 14:38 1071 查看
#include <event.h>
#include <stdio.h>
#include <time.h>

static void
hello(int fd, short event, void *arg)
{
printf("hello man\n");
}

int main(int argc, const char *argv[])
{
struct event_base *base;
struct timeval tm;
struct event evt;

evutil_timerclear(&tm);
tm.tv_sec = 10;

base = event_base_new();
evtimer_set(&evt, hello, NULL);
event_base_set(base, &evt);
evtimer_add(&evt, &tm);
event_base_loop(base, 0);
return 0;
}

 
内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息
标签: