plan9port/src/libdraw/nowsys-mouse.c

61 lines
603 B
C
Raw Normal View History

2005-02-02 22:27:17 +00:00
#include <u.h>
#include <libc.h>
#include <draw.h>
#include <thread.h>
#include <cursor.h>
#include <mouse.h>
static int
bad(void)
{
sysfatal("compiled with no window system support");
return 0;
}
void
moveto(Mousectl *m, Point pt)
{
USED(m);
2005-07-13 03:56:55 +00:00
/* USED(pt); */
2005-02-02 22:27:17 +00:00
bad();
}
void
closemouse(Mousectl *mc)
{
USED(mc);
bad();
}
int
readmouse(Mousectl *mc)
{
USED(mc);
return bad();
}
Mousectl*
initmouse(char *file, Image *i)
{
USED(file);
USED(i);
bad();
return nil;
}
void
setcursor(Mousectl *mc, Cursor *c)
{
USED(mc);
USED(c);
bad();
}
void
bouncemouse(Mouse *m)
{
USED(m);
bad();
}