summaryrefslogtreecommitdiffstats
path: root/options.h
diff options
context:
space:
mode:
Diffstat (limited to 'options.h')
-rw-r--r--options.h7
1 files changed, 7 insertions, 0 deletions
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;