summaryrefslogtreecommitdiff
path: root/src/options.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/options.h')
-rw-r--r--src/options.h205
1 files changed, 102 insertions, 103 deletions
diff --git a/src/options.h b/src/options.h
index ba88fc8..cba2b37 100644
--- a/src/options.h
+++ b/src/options.h
@@ -26,109 +26,108 @@ CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
#ifndef OPTIONS_H
#define OPTIONS_H
-struct __fehoptions
-{
- unsigned char multiwindow;
- unsigned char montage;
- unsigned char collage;
- unsigned char index;
- unsigned char index_show_name;
- unsigned char index_show_dim;
- unsigned char index_show_size;
- unsigned char thumbs;
- unsigned char slideshow;
- unsigned char recursive;
- unsigned char output;
- unsigned char verbose;
- unsigned char display;
- unsigned char bg;
- unsigned char alpha;
- unsigned char alpha_level;
- unsigned char aspect;
- unsigned char stretch;
- unsigned char keep_http;
- unsigned char borderless;
- unsigned char randomize;
- unsigned char no_jump_on_resort;
- unsigned char full_screen;
- unsigned char auto_zoom;
- unsigned char draw_filename;
- unsigned char list;
- unsigned char quiet;
- unsigned char preload;
- unsigned char loadables;
- unsigned char unloadables;
- unsigned char reverse;
- unsigned char no_menus;
- unsigned char scale_down;
- unsigned char builtin_http;
- unsigned char wget_timestamp;
- unsigned char bgmode;
- unsigned char xinerama;
- unsigned char screen_clip;
- unsigned char hide_pointer;
- unsigned char fmmode;
- unsigned char draw_actions;
- unsigned char cache_thumbnails;
- unsigned char cycle_once;
-
- char *output_file;
- char *output_dir;
- char *bg_file;
- char *font;
- char *title_font;
- char *title;
- char *thumb_title;
- char *actions[10];
- char *fontpath;
- char *filelistfile;
- char *menu_font;
- char *customlist;
- char *menu_bg;
- char *image_bg;
- char *rcfile;
- char *menu_style;
- char *caption_path;
-
- gib_style *menu_style_l;
-
- unsigned char pan_button;
- unsigned char zoom_button;
- unsigned char menu_button;
- unsigned char menu_ctrl_mask;
- unsigned char prev_button;
- unsigned char next_button;
-
- unsigned char rotate_button;
- unsigned char blur_button;
- unsigned char reload_button;
- unsigned char no_rotate_ctrl_mask;
- unsigned char no_blur_ctrl_mask;
- unsigned char no_pan_ctrl_mask;
-
- int thumb_w;
- int thumb_h;
- int limit_w;
- int limit_h;
- int reload;
- int sort;
- int debug_level;
- int geom_flags;
- int geom_x;
- int geom_y;
- int geom_w;
- int geom_h;
- int default_zoom;
- int menu_border;
- unsigned char adjust_reload;
- unsigned int start_list_at;
-
- unsigned char mode;
- unsigned char paused;
-
- double slideshow_delay;
-
- Imlib_Font menu_fn;
+struct __fehoptions {
+ unsigned char multiwindow;
+ unsigned char montage;
+ unsigned char collage;
+ unsigned char index;
+ unsigned char index_show_name;
+ unsigned char index_show_dim;
+ unsigned char index_show_size;
+ unsigned char thumbs;
+ unsigned char slideshow;
+ unsigned char recursive;
+ unsigned char output;
+ unsigned char verbose;
+ unsigned char display;
+ unsigned char bg;
+ unsigned char alpha;
+ unsigned char alpha_level;
+ unsigned char aspect;
+ unsigned char stretch;
+ unsigned char keep_http;
+ unsigned char borderless;
+ unsigned char randomize;
+ unsigned char no_jump_on_resort;
+ unsigned char full_screen;
+ unsigned char auto_zoom;
+ unsigned char draw_filename;
+ unsigned char list;
+ unsigned char quiet;
+ unsigned char preload;
+ unsigned char loadables;
+ unsigned char unloadables;
+ unsigned char reverse;
+ unsigned char no_menus;
+ unsigned char scale_down;
+ unsigned char builtin_http;
+ unsigned char wget_timestamp;
+ unsigned char bgmode;
+ unsigned char xinerama;
+ unsigned char screen_clip;
+ unsigned char hide_pointer;
+ unsigned char fmmode;
+ unsigned char draw_actions;
+ unsigned char cache_thumbnails;
+ unsigned char cycle_once;
+
+ char *output_file;
+ char *output_dir;
+ char *bg_file;
+ char *font;
+ char *title_font;
+ char *title;
+ char *thumb_title;
+ char *actions[10];
+ char *fontpath;
+ char *filelistfile;
+ char *menu_font;
+ char *customlist;
+ char *menu_bg;
+ char *image_bg;
+ char *rcfile;
+ char *menu_style;
+ char *caption_path;
+
+ gib_style *menu_style_l;
+
+ unsigned char pan_button;
+ unsigned char zoom_button;
+ unsigned char menu_button;
+ unsigned char menu_ctrl_mask;
+ unsigned char prev_button;
+ unsigned char next_button;
+
+ unsigned char rotate_button;
+ unsigned char blur_button;
+ unsigned char reload_button;
+ unsigned char no_rotate_ctrl_mask;
+ unsigned char no_blur_ctrl_mask;
+ unsigned char no_pan_ctrl_mask;
+
+ int thumb_w;
+ int thumb_h;
+ int limit_w;
+ int limit_h;
+ int reload;
+ int sort;
+ int debug_level;
+ int geom_flags;
+ int geom_x;
+ int geom_y;
+ int geom_w;
+ int geom_h;
+ int default_zoom;
+ int menu_border;
+ unsigned char adjust_reload;
+ unsigned int start_list_at;
+
+ unsigned char mode;
+ unsigned char paused;
+
+ double slideshow_delay;
+
+ Imlib_Font menu_fn;
};
void init_parse_options(int argc, char **argv);