X-Git-Url: http://git.hungrycats.org/cgi-bin/gitweb.cgi?a=blobdiff_plain;ds=inline;f=hacks%2Fanalogtv.h;h=ed3ce340bb184362b3da02f433fef405daa227f4;hb=4361b69d3178d7fc98d0388f9a223af6c2651aba;hp=99c7909d5b6098a1fec5bf911d224fe743bd4de3;hpb=aa75c7476aeaa84cf3abc192b376a8b03c325213;p=xscreensaver diff --git a/hacks/analogtv.h b/hacks/analogtv.h index 99c7909d..ed3ce340 100644 --- a/hacks/analogtv.h +++ b/hacks/analogtv.h @@ -1,4 +1,4 @@ -/* analogtv, Copyright (c) 2003, 2004 Trevor Blackwell +/* analogtv, Copyright (c) 2003-2016 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 @@ -161,17 +161,15 @@ typedef struct analogtv_s { int fakeit_scroll; int redraw_all; - int use_shm,use_cmap,use_color; + int use_cmap,use_color; int bilevel_signal; -#ifdef HAVE_XSHM_EXTENSION XShmSegmentInfo shm_info; -#endif int visdepth,visclass,visbits; int red_invprec, red_shift; int green_invprec, green_shift; int blue_invprec, blue_shift; - unsigned int red_mask, green_mask, blue_mask; + unsigned long red_mask, green_mask, blue_mask; Colormap colormap; int usewidth,useheight,xrepl,subwidth; @@ -304,7 +302,7 @@ int analogtv_handle_events (analogtv *it); #else /* Need to really crank this up for it to look good on the iPhone screen. */ # define ANALOGTV_DEF_BRIGHTNESS "3" -# define ANALOGTV_DEF_CONTRAST "1000" +# define ANALOGTV_DEF_CONTRAST "400" #endif #define ANALOGTV_DEFAULTS \