X-Git-Url: http://git.hungrycats.org/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=hacks%2Fanalogtv.h;h=54092f338be9da5b18e9ff5f4d4621ac584fc400;hb=bc7b7a8eb122206d239ec0e693676bcce31be1aa;hp=ff9e8db2d6b8bb8942e5298c9ee2ede36a1ef228;hpb=96a411663168b0ba5432b407a83be55f3df0c802;p=xscreensaver diff --git a/hacks/analogtv.h b/hacks/analogtv.h index ff9e8db2..54092f33 100644 --- a/hacks/analogtv.h +++ b/hacks/analogtv.h @@ -1,4 +1,4 @@ -/* analogtv, Copyright (c) 2003 Trevor Blackwell +/* analogtv, Copyright (c) 2003, 2004 Trevor Blackwell * * Permission to use, copy, modify, distribute, and sell this software and its * documentation for any purpose is hereby granted without fee, provided that @@ -69,7 +69,7 @@ enum { }; typedef struct analogtv_input_s { - char signal[ANALOGTV_V+1][ANALOGTV_H]; + signed char signal[ANALOGTV_V+1][ANALOGTV_H]; int do_teletext; @@ -163,6 +163,8 @@ typedef struct analogtv_s { int screen_xo,screen_yo; /* centers image in window */ void (*event_handler)(Display *dpy, XEvent *event); + int (*key_handler)(Display *dpy, XEvent *event,void *key_data); + void *key_data; int flutter_horiz_desync; int flutter_tint;