3 * Copyright (C) 2008 - 2012 The Geeqie Team
5 * Authors: Vladimir Nadvornik, Laurent Monin
7 * This software is released under the GNU General Public License (GNU GPL).
8 * Please read the included file COPYING for more information.
9 * This software comes with no warranty of any kind, use at your own risk!
15 typedef struct _ConfOptions ConfOptions;
20 gboolean progressive_key_scrolling;
21 gboolean place_dialogs_under_mouse;
22 gboolean mousewheel_scrolls;
23 gboolean show_icon_names;
26 gboolean tree_descend_subdirs;
28 gboolean lazy_image_sync;
29 gboolean update_on_time_change;
31 guint duplicates_similarity_threshold;
32 gboolean rot_invariant_sim;
34 gint open_recent_list_maxsize;
37 gboolean save_window_positions;
38 gboolean tools_restore_state;
42 gboolean enable_in_place_rename;
44 gboolean confirm_delete;
45 gboolean enable_delete_key;
46 gboolean safe_delete_enable;
47 gchar *safe_delete_path;
48 gint safe_delete_folder_maxsize;
53 gboolean exif_rotate_enable;
54 gboolean exif_proof_rotate_enable;
55 guint scroll_reset_method;
56 gboolean fit_window_to_image;
57 gboolean limit_window_size;
59 gboolean limit_autofit_size;
60 gint max_autofit_size;
62 gint tile_cache_max; /* in megabytes */
63 gint image_cache_max; /* in megabytes */
64 gboolean enable_read_ahead;
68 gboolean zoom_to_fit_allow_expand;
70 gint zoom_increment; /* 10 is 1.0, 5 is 0.05, 20 is 2.0, etc. */
71 gboolean use_clutter_renderer;
73 gboolean use_custom_border_color_in_fullscreen;
74 gboolean use_custom_border_color;
75 GdkColor border_color;
82 gboolean enable_caching;
83 gboolean cache_into_dirs;
85 gboolean spec_standard;
92 gboolean show_hidden_files;
93 gboolean show_parent_directory;
94 gboolean show_dot_directory;
95 gboolean disable_file_extension_checks;
105 gboolean rectangular_selection;
118 gboolean case_sensitive; /* file sorting method (case) */
123 gint delay; /* in tenths of a second */
132 gboolean disable_saver;
138 gchar *template_string;
143 /* properties dialog */
152 gchar *input_file[COLOR_PROFILE_INPUTS];
153 gchar *input_name[COLOR_PROFILE_INPUTS];
156 gboolean use_x11_screen_profile;
160 /* Helpers programs */
170 gboolean enable_metadata_dirs;
172 gboolean save_in_image_file;
173 gboolean save_legacy_IPTC;
174 gboolean warn_on_write_problems;
176 gboolean save_legacy_format;
178 gboolean sync_grouped_files;
180 gboolean confirm_write;
181 gint confirm_timeout;
182 gboolean confirm_after_timeout;
183 gboolean confirm_on_image_change;
184 gboolean confirm_on_dir_change;
185 gboolean keywords_case_sensitive;
186 gboolean write_orientation;
193 gboolean enable_fsmode;
194 gint fixed_w, fixed_h;
195 gint fixed_x1, fixed_y1;
196 gint fixed_x2, fixed_y2;
197 struct { /* options in this struct are packed to mode and fsmode entries */
198 gboolean mirror_right;
199 gboolean mirror_left;
203 gboolean temp_disable;
204 gboolean fs_mirror_right;
205 gboolean fs_mirror_left;
206 gboolean fs_flip_right;
207 gboolean fs_flip_left;
209 gboolean fs_temp_disable;
214 ConfOptions *options;
215 CommandLine *command_line;
217 ConfOptions *init_options(ConfOptions *options);
218 void setup_default_options(ConfOptions *options);
219 void save_options(ConfOptions *options);
220 gboolean load_options(ConfOptions *options);
222 void copy_layout_options(LayoutOptions *dest, const LayoutOptions *src);
223 void free_layout_options_content(LayoutOptions *dest);
224 LayoutOptions *init_layout_options(LayoutOptions *options);
226 #endif /* OPTIONS_H */
227 /* vim: set shiftwidth=8 softtabstop=0 cindent cinoptions={1s: */