summaryrefslogtreecommitdiffstats
path: root/src/libdraw/nowsys-mouse.c
diff options
context:
space:
mode:
authorrsc <devnull@localhost>2005-02-02 22:27:17 +0000
committerrsc <devnull@localhost>2005-02-02 22:27:17 +0000
commitc4553e9cd0f42874d23d5c99ea68ea57513206b1 (patch)
tree908ea58e1b943fc028a13f500a4fb152c417ec15 /src/libdraw/nowsys-mouse.c
parent52fdc1a5470b984b68afa7392980ef190e74b916 (diff)
downloadplan9port-c4553e9cd0f42874d23d5c99ea68ea57513206b1.tar.gz
plan9port-c4553e9cd0f42874d23d5c99ea68ea57513206b1.zip
more nowsys
Diffstat (limited to 'src/libdraw/nowsys-mouse.c')
-rw-r--r--src/libdraw/nowsys-mouse.c60
1 files changed, 60 insertions, 0 deletions
diff --git a/src/libdraw/nowsys-mouse.c b/src/libdraw/nowsys-mouse.c
index e69de29b..d76de555 100644
--- a/src/libdraw/nowsys-mouse.c
+++ b/src/libdraw/nowsys-mouse.c
@@ -0,0 +1,60 @@
+#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);
+ USED(pt);
+ 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();
+}
+