From 0b7731ebb7c06fd73e945cec777960d450e8192c Mon Sep 17 00:00:00 2001 From: Tavian Barnes Date: Fri, 8 Aug 2014 15:13:32 -0400 Subject: Allow image size and initial position to be specified on the command line. --- options.h | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'options.h') diff --git a/options.h b/options.h index fe996f7..382f5fc 100644 --- a/options.h +++ b/options.h @@ -40,6 +40,9 @@ typedef struct { mode_t mode; selection_t selection; color_space_t color_space; + unsigned int width, height; + size_t ncolors, npixels; + unsigned int x, y; bool animate; const char *filename; unsigned int seed; @@ -47,6 +50,6 @@ typedef struct { } options_t; bool parse_options(options_t *options, int argc, char *argv[]); -void print_usage(FILE *file, const char *command); +void print_usage(FILE *file, const char *command, bool verbose); #endif // OPTIONS_H -- cgit v1.2.3