|
-
-
- #ifndef OPTIONS_H
- #define OPTIONS_H
-
- #include "types.h"
- #include "image.h"
-
- typedef struct {
-
- char **filenames;
- bool from_stdin;
- bool to_stdout;
- bool recursive;
- int filecnt;
- int startnum;
-
-
- scalemode_t scalemode;
- float zoom;
- bool animate;
- int gamma;
- int slideshow;
- int framerate;
-
-
- bool fullscreen;
- bool hide_bar;
- long embed;
- char *geometry;
- char *res_name;
-
-
- bool quiet;
- bool thumb_mode;
- bool clean_cache;
- bool private_mode;
- } options_t;
-
- extern const options_t *options;
-
- void print_usage(void);
- void print_version(void);
-
- void parse_options(int, char**);
-
- #endif
|