X-Git-Url: http://git.hungrycats.org/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=hacks%2Fanalogtv.h;h=0bc8b2603f548ea915eb3d726ef922d6b72e201a;hb=d6b0217f2417bd19187f0ebc389d6c5c2233b11c;hp=92d9b8e69605909d3b359b44e30a87d917c1e2e1;hpb=d1ae2829ff0fd2a96c16a0c8c5420efaa47d7b30;p=xscreensaver diff --git a/hacks/analogtv.h b/hacks/analogtv.h index 92d9b8e6..0bc8b260 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 @@ -15,6 +15,10 @@ #include "thread_util.h" #include "xshm.h" +#if defined(USE_IPHONE) || defined(HAVE_ANDROID) +# define HAVE_MOBILE +#endif + /* You'll need these to generate standard NTSC TV signals */ @@ -294,13 +298,13 @@ int analogtv_handle_events (analogtv *it); #define ANALOGTV_DEFAULTS_SHM #endif -#ifndef USE_IPHONE +#ifndef HAVE_MOBILE # define ANALOGTV_DEF_BRIGHTNESS "2" # define ANALOGTV_DEF_CONTRAST "150" #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 \