From a4794cb4196effcca4b3c7e1253a46f641c46107 Mon Sep 17 00:00:00 2001 From: Daniel Friesel Date: Tue, 23 Aug 2011 09:23:16 +0200 Subject: Add --draw-tinted option to draw overlay text on a semi-transparent background (closes #60, #61) By default, feh draws white text with a black drop-shadow, which is well readable in most, but not all cases. The --draw-tinted option draws a semi-transparent black box around all texts. This improves readability, but does not look as nice, so it won't become default behaviour. It was suggested to use #7f7f7f7f for the background, but I decided that for small images surrounded by a black border. --- src/options.h | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) (limited to 'src/options.h') diff --git a/src/options.h b/src/options.h index bfcb94c..2ca655e 100644 --- a/src/options.h +++ b/src/options.h @@ -27,9 +27,6 @@ CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. #ifndef OPTIONS_H #define OPTIONS_H -#define ZOOM_MODE_FILL 1 -#define ZOOM_MODE_MAX 2 - struct __fehoptions { unsigned char multiwindow; unsigned char montage; @@ -72,6 +69,7 @@ struct __fehoptions { unsigned char cache_thumbnails; unsigned char cycle_once; unsigned char hold_actions[10]; + unsigned char text_bg; char *output_file; char *output_dir; -- cgit v1.2.3