From c4553e9cd0f42874d23d5c99ea68ea57513206b1 Mon Sep 17 00:00:00 2001 From: rsc Date: Wed, 2 Feb 2005 22:27:17 +0000 Subject: more nowsys --- src/libdraw/nowsys-event.c | 83 ++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 83 insertions(+) (limited to 'src/libdraw/nowsys-event.c') diff --git a/src/libdraw/nowsys-event.c b/src/libdraw/nowsys-event.c index e69de29b..4695028d 100644 --- a/src/libdraw/nowsys-event.c +++ b/src/libdraw/nowsys-event.c @@ -0,0 +1,83 @@ +#include +#include +#include +#include +#include + +static int +bad(void) +{ + sysfatal("compiled with no window system support"); + return 0; +} + +ulong +event(Event *e) +{ + USED(e); + return bad(); +} + +ulong +eread(ulong keys, Event *e) +{ + USED(keys); + USED(e); + return bad(); +} + +void +einit(ulong keys) +{ + USED(keys); + bad(); +} + +int +ekbd(void) +{ + return bad(); +} + +Mouse +emouse(void) +{ + Mouse m; + + bad(); + return m; +} + +int +ecanread(ulong keys) +{ + USED(keys); + return bad(); +} + +int +ecanmouse(void) +{ + return bad(); +} + +int +ecankbd(void) +{ + return bad(); +} + +void +emoveto(Point p) +{ + USED(p); + bad(); +} + +void +esetcursor(Cursor *c) +{ + USED(c); + bad(); +} + -- cgit v1.2.3