diff options
author | Tavian Barnes <tavianator@tavianator.com> | 2014-08-08 15:13:32 -0400 |
---|---|---|
committer | Tavian Barnes <tavianator@tavianator.com> | 2014-08-08 15:13:32 -0400 |
commit | 0b7731ebb7c06fd73e945cec777960d450e8192c (patch) | |
tree | c9dfaf4f3f6a0335cbfe76d9e9db05267161236f /options.h | |
parent | af442be2fa586a98e8e4da1bb88a9236f5c191d2 (diff) | |
download | kd-forest-0b7731ebb7c06fd73e945cec777960d450e8192c.tar.xz |
Allow image size and initial position to be specified on the command line.
Diffstat (limited to 'options.h')
-rw-r--r-- | options.h | 5 |
1 files changed, 4 insertions, 1 deletions
@@ -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 |