From f4481d9956fa8e3f3022bedaea07a37c02ad6b22 Mon Sep 17 00:00:00 2001 From: Tavian Barnes Date: Thu, 7 Aug 2014 16:14:01 -0400 Subject: Support average selection. --- options.h | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'options.h') diff --git a/options.h b/options.h index 6f1b2f8..fe996f7 100644 --- a/options.h +++ b/options.h @@ -21,6 +21,12 @@ typedef enum { MODE_RANDOM, } mode_t; +// Possible pixel selection modes +typedef enum { + SELECTION_MIN, + SELECTION_MEAN, +} selection_t; + // Possible color spaces typedef enum { COLOR_SPACE_RGB, @@ -32,6 +38,7 @@ typedef enum { typedef struct { unsigned int bit_depth; mode_t mode; + selection_t selection; color_space_t color_space; bool animate; const char *filename; -- cgit v1.2.3