You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

36 lines
551 B

#ifndef __ALL_H__
#define __ALL_H__
struct pho {
long color;
long x;
long y;
long dx;
long dy;
};
struct user_timer{
long init_jiffies;
long jiffies;
int type;
int pid;
struct user_timer * next;
};
struct message{
long mid;
long pid;
} message;
extern struct message msg_que[1024];
extern void post_message(int type);
#define MSG_MOUSE_LEFT_DOWN 1
#define MSG_MOUSE_RIGHT_DOWN 2
#define MSG_MOUSE_CENTER_DOWN 3
#define MSG_USER_TIMER 4
#define TYPE_USER_TIMER_INFTY 5
#define TYPE_USER_TIMER_ONCE 6
#endif