Mercurial > hg > forks > geeqie
annotate src/options.h @ 2830:5d88a8dfa364
Fix #160: Replace print dialog by standard GTK dialog
https://github.com/BestImageViewer/geeqie/issues/160
Does not include proof print.
author | Colin Clark <colin.clark@cclark.uk> |
---|---|
date | Thu, 20 Sep 2018 19:29:39 +0100 |
parents | d0c6c5ae586b |
children | ac46f4e545a4 |
rev | line source |
---|---|
508
a1b9ad02cf71
Move options stuff to options.{c,h} and remove globals.c
Laurent Monin <geeqie@norz.org>
parents:
diff
changeset
|
1 /* |
2350
95507e596256
Update copyright in all files
Klaus Ethgen <Klaus@Ethgen.de>
parents:
2343
diff
changeset
|
2 * Copyright (C) 2008 - 2016 The Geeqie Team |
508
a1b9ad02cf71
Move options stuff to options.{c,h} and remove globals.c
Laurent Monin <geeqie@norz.org>
parents:
diff
changeset
|
3 * |
a1b9ad02cf71
Move options stuff to options.{c,h} and remove globals.c
Laurent Monin <geeqie@norz.org>
parents:
diff
changeset
|
4 * Authors: Vladimir Nadvornik, Laurent Monin |
a1b9ad02cf71
Move options stuff to options.{c,h} and remove globals.c
Laurent Monin <geeqie@norz.org>
parents:
diff
changeset
|
5 * |
2350
95507e596256
Update copyright in all files
Klaus Ethgen <Klaus@Ethgen.de>
parents:
2343
diff
changeset
|
6 * This program is free software; you can redistribute it and/or modify |
95507e596256
Update copyright in all files
Klaus Ethgen <Klaus@Ethgen.de>
parents:
2343
diff
changeset
|
7 * it under the terms of the GNU General Public License as published by |
95507e596256
Update copyright in all files
Klaus Ethgen <Klaus@Ethgen.de>
parents:
2343
diff
changeset
|
8 * the Free Software Foundation; either version 2 of the License, or |
95507e596256
Update copyright in all files
Klaus Ethgen <Klaus@Ethgen.de>
parents:
2343
diff
changeset
|
9 * (at your option) any later version. |
95507e596256
Update copyright in all files
Klaus Ethgen <Klaus@Ethgen.de>
parents:
2343
diff
changeset
|
10 * |
95507e596256
Update copyright in all files
Klaus Ethgen <Klaus@Ethgen.de>
parents:
2343
diff
changeset
|
11 * This program is distributed in the hope that it will be useful, |
95507e596256
Update copyright in all files
Klaus Ethgen <Klaus@Ethgen.de>
parents:
2343
diff
changeset
|
12 * but WITHOUT ANY WARRANTY; without even the implied warranty of |
95507e596256
Update copyright in all files
Klaus Ethgen <Klaus@Ethgen.de>
parents:
2343
diff
changeset
|
13 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
95507e596256
Update copyright in all files
Klaus Ethgen <Klaus@Ethgen.de>
parents:
2343
diff
changeset
|
14 * GNU General Public License for more details. |
95507e596256
Update copyright in all files
Klaus Ethgen <Klaus@Ethgen.de>
parents:
2343
diff
changeset
|
15 * |
95507e596256
Update copyright in all files
Klaus Ethgen <Klaus@Ethgen.de>
parents:
2343
diff
changeset
|
16 * You should have received a copy of the GNU General Public License along |
95507e596256
Update copyright in all files
Klaus Ethgen <Klaus@Ethgen.de>
parents:
2343
diff
changeset
|
17 * with this program; if not, write to the Free Software Foundation, Inc., |
95507e596256
Update copyright in all files
Klaus Ethgen <Klaus@Ethgen.de>
parents:
2343
diff
changeset
|
18 * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. |
508
a1b9ad02cf71
Move options stuff to options.{c,h} and remove globals.c
Laurent Monin <geeqie@norz.org>
parents:
diff
changeset
|
19 */ |
a1b9ad02cf71
Move options stuff to options.{c,h} and remove globals.c
Laurent Monin <geeqie@norz.org>
parents:
diff
changeset
|
20 |
a1b9ad02cf71
Move options stuff to options.{c,h} and remove globals.c
Laurent Monin <geeqie@norz.org>
parents:
diff
changeset
|
21 #ifndef OPTIONS_H |
a1b9ad02cf71
Move options stuff to options.{c,h} and remove globals.c
Laurent Monin <geeqie@norz.org>
parents:
diff
changeset
|
22 #define OPTIONS_H |
a1b9ad02cf71
Move options stuff to options.{c,h} and remove globals.c
Laurent Monin <geeqie@norz.org>
parents:
diff
changeset
|
23 |
a1b9ad02cf71
Move options stuff to options.{c,h} and remove globals.c
Laurent Monin <geeqie@norz.org>
parents:
diff
changeset
|
24 typedef struct _ConfOptions ConfOptions; |
a1b9ad02cf71
Move options stuff to options.{c,h} and remove globals.c
Laurent Monin <geeqie@norz.org>
parents:
diff
changeset
|
25 |
a1b9ad02cf71
Move options stuff to options.{c,h} and remove globals.c
Laurent Monin <geeqie@norz.org>
parents:
diff
changeset
|
26 struct _ConfOptions |
a1b9ad02cf71
Move options stuff to options.{c,h} and remove globals.c
Laurent Monin <geeqie@norz.org>
parents:
diff
changeset
|
27 { |
a1b9ad02cf71
Move options stuff to options.{c,h} and remove globals.c
Laurent Monin <geeqie@norz.org>
parents:
diff
changeset
|
28 /* ui */ |
870
9934892744f7
Make better matching between options types in options.h and the rest of the code.
Laurent Monin <geeqie@norz.org>
parents:
858
diff
changeset
|
29 gboolean progressive_key_scrolling; |
2376
6c310168a91c
Add four new preferences
Maciej S. Szmigiero <mail@maciej.szmigiero.name>
parents:
2350
diff
changeset
|
30 guint keyboard_scroll_step; |
870
9934892744f7
Make better matching between options types in options.h and the rest of the code.
Laurent Monin <geeqie@norz.org>
parents:
858
diff
changeset
|
31 gboolean place_dialogs_under_mouse; |
736
31d858f3272d
Fix signed vs unsigned warnings.
Laurent Monin <geeqie@norz.org>
parents:
730
diff
changeset
|
32 gboolean mousewheel_scrolls; |
2376
6c310168a91c
Add four new preferences
Maciej S. Szmigiero <mail@maciej.szmigiero.name>
parents:
2350
diff
changeset
|
33 gboolean image_lm_click_nav; |
2631
e493a7df8745
Addl fix #510: Rudimentary video support
Tomasz Golinski <tomaszg@math.uwb.edu.pl>
parents:
2596
diff
changeset
|
34 gboolean image_l_click_video; |
e493a7df8745
Addl fix #510: Rudimentary video support
Tomasz Golinski <tomaszg@math.uwb.edu.pl>
parents:
2596
diff
changeset
|
35 gchar *image_l_click_video_editor; |
870
9934892744f7
Make better matching between options types in options.h and the rest of the code.
Laurent Monin <geeqie@norz.org>
parents:
858
diff
changeset
|
36 gboolean show_icon_names; |
2771
3aa4c31b93ff
Show star rating in files pane
Colin Clark <colin.clark@cclark.uk>
parents:
2770
diff
changeset
|
37 gboolean show_star_rating; |
2794
780a9b685335
Ref #331: Overimposed custom composition rule lines
Colin Clark <colin.clark@cclark.uk>
parents:
2793
diff
changeset
|
38 gboolean show_guidelines; |
2801
3e9ca298bb1d
Fix #251: Crop simulation
Colin Clark <colin.clark@cclark.uk>
parents:
2800
diff
changeset
|
39 gboolean draw_rectangle; |
2826
d0c6c5ae586b
Option to hide predefined keyword tree
Colin Clark <colin.clark@cclark.uk>
parents:
2801
diff
changeset
|
40 gboolean show_predefined_keyword_tree; |
508
a1b9ad02cf71
Move options stuff to options.{c,h} and remove globals.c
Laurent Monin <geeqie@norz.org>
parents:
diff
changeset
|
41 |
a1b9ad02cf71
Move options stuff to options.{c,h} and remove globals.c
Laurent Monin <geeqie@norz.org>
parents:
diff
changeset
|
42 /* various */ |
870
9934892744f7
Make better matching between options types in options.h and the rest of the code.
Laurent Monin <geeqie@norz.org>
parents:
858
diff
changeset
|
43 gboolean tree_descend_subdirs; |
2376
6c310168a91c
Add four new preferences
Maciej S. Szmigiero <mail@maciej.szmigiero.name>
parents:
2350
diff
changeset
|
44 gboolean view_dir_list_single_click_enter; |
508
a1b9ad02cf71
Move options stuff to options.{c,h} and remove globals.c
Laurent Monin <geeqie@norz.org>
parents:
diff
changeset
|
45 |
870
9934892744f7
Make better matching between options types in options.h and the rest of the code.
Laurent Monin <geeqie@norz.org>
parents:
858
diff
changeset
|
46 gboolean lazy_image_sync; |
9934892744f7
Make better matching between options types in options.h and the rest of the code.
Laurent Monin <geeqie@norz.org>
parents:
858
diff
changeset
|
47 gboolean update_on_time_change; |
508
a1b9ad02cf71
Move options stuff to options.{c,h} and remove globals.c
Laurent Monin <geeqie@norz.org>
parents:
diff
changeset
|
48 |
870
9934892744f7
Make better matching between options types in options.h and the rest of the code.
Laurent Monin <geeqie@norz.org>
parents:
858
diff
changeset
|
49 guint duplicates_similarity_threshold; |
2426
28546abc2b90
Fix #435: Remember duplicates settings
Colin Clark <cclark@mcb.net>
parents:
2406
diff
changeset
|
50 guint duplicates_match; |
28546abc2b90
Fix #435: Remember duplicates settings
Colin Clark <cclark@mcb.net>
parents:
2406
diff
changeset
|
51 gboolean duplicates_thumbnails; |
28546abc2b90
Fix #435: Remember duplicates settings
Colin Clark <cclark@mcb.net>
parents:
2406
diff
changeset
|
52 guint duplicates_select_type; |
2328
ad005c02001a
Allow to configure rotation invariance
Klaus Ethgen <Klaus@Ethgen.de>
parents:
2301
diff
changeset
|
53 gboolean rot_invariant_sim; |
2489
ab6a0d1bd821
Fix #477: similarity duplicate search
Colin Clark <colin.clark@cclark.uk>
parents:
2482
diff
changeset
|
54 gboolean sort_totals; |
508
a1b9ad02cf71
Move options stuff to options.{c,h} and remove globals.c
Laurent Monin <geeqie@norz.org>
parents:
diff
changeset
|
55 |
a1b9ad02cf71
Move options stuff to options.{c,h} and remove globals.c
Laurent Monin <geeqie@norz.org>
parents:
diff
changeset
|
56 gint open_recent_list_maxsize; |
a1b9ad02cf71
Move options stuff to options.{c,h} and remove globals.c
Laurent Monin <geeqie@norz.org>
parents:
diff
changeset
|
57 gint dnd_icon_size; |
2662
08d2547d72ea
Fix #137: "Copy path" problem (or may be feature)
Colin Clark <colin.clark@cclark.uk>
parents:
2631
diff
changeset
|
58 gint clipboard_selection; |
508
a1b9ad02cf71
Move options stuff to options.{c,h} and remove globals.c
Laurent Monin <geeqie@norz.org>
parents:
diff
changeset
|
59 |
1436
13d61fe760fb
completely separated global and layout window options
Vladimir Nadvornik <nadvornik@suse.cz>
parents:
1336
diff
changeset
|
60 gboolean save_window_positions; |
2376
6c310168a91c
Add four new preferences
Maciej S. Szmigiero <mail@maciej.szmigiero.name>
parents:
2350
diff
changeset
|
61 gboolean use_saved_window_positions_for_new_windows; |
1436
13d61fe760fb
completely separated global and layout window options
Vladimir Nadvornik <nadvornik@suse.cz>
parents:
1336
diff
changeset
|
62 gboolean tools_restore_state; |
2670
ec21b78a088c
Fix #543: Size of dialog windows in the GTK3 version is too small
Colin Clark <colin.clark@cclark.uk>
parents:
2662
diff
changeset
|
63 gboolean save_dialog_window_positions; |
2740
808983eb036e
Option to display window ID
Colin Clark <colin.clark@cclark.uk>
parents:
2673
diff
changeset
|
64 gboolean show_window_ids; |
594
b6753f5ee521
Use a dedicated option to enable keywords and comment saving as XMP tags
Laurent Monin <geeqie@norz.org>
parents:
556
diff
changeset
|
65 |
2511
9897069380d9
Bug fix: Additional debug features
Colin Clark <colin.clark@cclark.uk>
parents:
2508
diff
changeset
|
66 gint log_window_lines; |
2505
d01e5b8e80d9
Eliminate FIXME: Log window line limit
Colin Clark <colin.clark@cclark.uk>
parents:
2504
diff
changeset
|
67 |
2750
0eac8ea9b1be
Fix #220, 269: marks do not persist
Colin Clark <colin.clark@cclark.uk>
parents:
2740
diff
changeset
|
68 gboolean marks_save; // save marks on exit |
2752
829c6cb08dd9
Mnemonic text for marks
Colin Clark <colin.clark@cclark.uk>
parents:
2750
diff
changeset
|
69 gchar *marks_tooltips[FILEDATA_MARKS_SIZE]; |
2750
0eac8ea9b1be
Fix #220, 269: marks do not persist
Colin Clark <colin.clark@cclark.uk>
parents:
2740
diff
changeset
|
70 |
2769
ed8cc78cb9dd
Option to change default button for copy/move dialogs
Colin Clark <colin.clark@cclark.uk>
parents:
2756
diff
changeset
|
71 gboolean with_rename; |
2793 | 72 gboolean collections_on_top; |
2769
ed8cc78cb9dd
Option to change default button for copy/move dialogs
Colin Clark <colin.clark@cclark.uk>
parents:
2756
diff
changeset
|
73 |
2756
f2f01d556f51
Fix #597: Help file search
Colin Clark <colin.clark@cclark.uk>
parents:
2752
diff
changeset
|
74 gchar *help_search_engine; |
f2f01d556f51
Fix #597: Help file search
Colin Clark <colin.clark@cclark.uk>
parents:
2752
diff
changeset
|
75 |
2482
9b050f7e7b6c
Fix #445: Info sidebar section heights
Colin Clark <colin.clark@cclark.uk>
parents:
2474
diff
changeset
|
76 /* info sidebar component heights */ |
9b050f7e7b6c
Fix #445: Info sidebar section heights
Colin Clark <colin.clark@cclark.uk>
parents:
2474
diff
changeset
|
77 struct { |
9b050f7e7b6c
Fix #445: Info sidebar section heights
Colin Clark <colin.clark@cclark.uk>
parents:
2474
diff
changeset
|
78 gint height; |
9b050f7e7b6c
Fix #445: Info sidebar section heights
Colin Clark <colin.clark@cclark.uk>
parents:
2474
diff
changeset
|
79 } info_comment; |
9b050f7e7b6c
Fix #445: Info sidebar section heights
Colin Clark <colin.clark@cclark.uk>
parents:
2474
diff
changeset
|
80 |
9b050f7e7b6c
Fix #445: Info sidebar section heights
Colin Clark <colin.clark@cclark.uk>
parents:
2474
diff
changeset
|
81 struct { |
9b050f7e7b6c
Fix #445: Info sidebar section heights
Colin Clark <colin.clark@cclark.uk>
parents:
2474
diff
changeset
|
82 gint height; |
9b050f7e7b6c
Fix #445: Info sidebar section heights
Colin Clark <colin.clark@cclark.uk>
parents:
2474
diff
changeset
|
83 } info_keywords; |
9b050f7e7b6c
Fix #445: Info sidebar section heights
Colin Clark <colin.clark@cclark.uk>
parents:
2474
diff
changeset
|
84 |
9b050f7e7b6c
Fix #445: Info sidebar section heights
Colin Clark <colin.clark@cclark.uk>
parents:
2474
diff
changeset
|
85 struct { |
9b050f7e7b6c
Fix #445: Info sidebar section heights
Colin Clark <colin.clark@cclark.uk>
parents:
2474
diff
changeset
|
86 gint height; |
9b050f7e7b6c
Fix #445: Info sidebar section heights
Colin Clark <colin.clark@cclark.uk>
parents:
2474
diff
changeset
|
87 } info_title; |
9b050f7e7b6c
Fix #445: Info sidebar section heights
Colin Clark <colin.clark@cclark.uk>
parents:
2474
diff
changeset
|
88 |
2500
eb2ce489ceea
Fix #323: Rating system
Colin Clark <colin.clark@cclark.uk>
parents:
2489
diff
changeset
|
89 struct { |
eb2ce489ceea
Fix #323: Rating system
Colin Clark <colin.clark@cclark.uk>
parents:
2489
diff
changeset
|
90 gint height; |
eb2ce489ceea
Fix #323: Rating system
Colin Clark <colin.clark@cclark.uk>
parents:
2489
diff
changeset
|
91 } info_rating; |
eb2ce489ceea
Fix #323: Rating system
Colin Clark <colin.clark@cclark.uk>
parents:
2489
diff
changeset
|
92 |
508
a1b9ad02cf71
Move options stuff to options.{c,h} and remove globals.c
Laurent Monin <geeqie@norz.org>
parents:
diff
changeset
|
93 /* file ops */ |
a1b9ad02cf71
Move options stuff to options.{c,h} and remove globals.c
Laurent Monin <geeqie@norz.org>
parents:
diff
changeset
|
94 struct { |
870
9934892744f7
Make better matching between options types in options.h and the rest of the code.
Laurent Monin <geeqie@norz.org>
parents:
858
diff
changeset
|
95 gboolean enable_in_place_rename; |
508
a1b9ad02cf71
Move options stuff to options.{c,h} and remove globals.c
Laurent Monin <geeqie@norz.org>
parents:
diff
changeset
|
96 |
870
9934892744f7
Make better matching between options types in options.h and the rest of the code.
Laurent Monin <geeqie@norz.org>
parents:
858
diff
changeset
|
97 gboolean confirm_delete; |
9934892744f7
Make better matching between options types in options.h and the rest of the code.
Laurent Monin <geeqie@norz.org>
parents:
858
diff
changeset
|
98 gboolean enable_delete_key; |
9934892744f7
Make better matching between options types in options.h and the rest of the code.
Laurent Monin <geeqie@norz.org>
parents:
858
diff
changeset
|
99 gboolean safe_delete_enable; |
508
a1b9ad02cf71
Move options stuff to options.{c,h} and remove globals.c
Laurent Monin <geeqie@norz.org>
parents:
diff
changeset
|
100 gchar *safe_delete_path; |
a1b9ad02cf71
Move options stuff to options.{c,h} and remove globals.c
Laurent Monin <geeqie@norz.org>
parents:
diff
changeset
|
101 gint safe_delete_folder_maxsize; |
a1b9ad02cf71
Move options stuff to options.{c,h} and remove globals.c
Laurent Monin <geeqie@norz.org>
parents:
diff
changeset
|
102 } file_ops; |
a1b9ad02cf71
Move options stuff to options.{c,h} and remove globals.c
Laurent Monin <geeqie@norz.org>
parents:
diff
changeset
|
103 |
a1b9ad02cf71
Move options stuff to options.{c,h} and remove globals.c
Laurent Monin <geeqie@norz.org>
parents:
diff
changeset
|
104 /* image */ |
a1b9ad02cf71
Move options stuff to options.{c,h} and remove globals.c
Laurent Monin <geeqie@norz.org>
parents:
diff
changeset
|
105 struct { |
858
d0fd70db05b9
Use stricter types for image options.
Laurent Monin <geeqie@norz.org>
parents:
848
diff
changeset
|
106 gboolean exif_rotate_enable; |
2066
01d2c966209e
exif autorotate for proofs
Jonathan Woithe <jwoithe@physics.adelaide.edu.au>
parents:
2043
diff
changeset
|
107 gboolean exif_proof_rotate_enable; |
858
d0fd70db05b9
Use stricter types for image options.
Laurent Monin <geeqie@norz.org>
parents:
848
diff
changeset
|
108 guint scroll_reset_method; |
d0fd70db05b9
Use stricter types for image options.
Laurent Monin <geeqie@norz.org>
parents:
848
diff
changeset
|
109 gboolean fit_window_to_image; |
d0fd70db05b9
Use stricter types for image options.
Laurent Monin <geeqie@norz.org>
parents:
848
diff
changeset
|
110 gboolean limit_window_size; |
508
a1b9ad02cf71
Move options stuff to options.{c,h} and remove globals.c
Laurent Monin <geeqie@norz.org>
parents:
diff
changeset
|
111 gint max_window_size; |
858
d0fd70db05b9
Use stricter types for image options.
Laurent Monin <geeqie@norz.org>
parents:
848
diff
changeset
|
112 gboolean limit_autofit_size; |
508
a1b9ad02cf71
Move options stuff to options.{c,h} and remove globals.c
Laurent Monin <geeqie@norz.org>
parents:
diff
changeset
|
113 gint max_autofit_size; |
2474
f591509cb3d3
Fix #123: Limit image expansion in Fit To Window
Colin Clark <colin.clark@cclark.uk>
parents:
2457
diff
changeset
|
114 gint max_enlargement_size; |
508
a1b9ad02cf71
Move options stuff to options.{c,h} and remove globals.c
Laurent Monin <geeqie@norz.org>
parents:
diff
changeset
|
115 |
a1b9ad02cf71
Move options stuff to options.{c,h} and remove globals.c
Laurent Monin <geeqie@norz.org>
parents:
diff
changeset
|
116 gint tile_cache_max; /* in megabytes */ |
848
79fc2c215d64
cache size made configurable
Vladimir Nadvornik <nadvornik@suse.cz>
parents:
825
diff
changeset
|
117 gint image_cache_max; /* in megabytes */ |
858
d0fd70db05b9
Use stricter types for image options.
Laurent Monin <geeqie@norz.org>
parents:
848
diff
changeset
|
118 gboolean enable_read_ahead; |
508
a1b9ad02cf71
Move options stuff to options.{c,h} and remove globals.c
Laurent Monin <geeqie@norz.org>
parents:
diff
changeset
|
119 |
885
b561a43f7fb0
Use a specific enum for image.zoom_mode values (ZoomMode) and
Laurent Monin <geeqie@norz.org>
parents:
884
diff
changeset
|
120 ZoomMode zoom_mode; |
858
d0fd70db05b9
Use stricter types for image options.
Laurent Monin <geeqie@norz.org>
parents:
848
diff
changeset
|
121 gboolean zoom_2pass; |
d0fd70db05b9
Use stricter types for image options.
Laurent Monin <geeqie@norz.org>
parents:
848
diff
changeset
|
122 gboolean zoom_to_fit_allow_expand; |
870
9934892744f7
Make better matching between options types in options.h and the rest of the code.
Laurent Monin <geeqie@norz.org>
parents:
858
diff
changeset
|
123 guint zoom_quality; |
2341 | 124 gint zoom_increment; /* 100 is 1.0, 5 is 0.05, 200 is 2.0, etc. */ |
2084
1c712b43f063
added option for clutter renderer
Vladimir Nadvornik <nadvornik@suse.cz>
parents:
2066
diff
changeset
|
125 gboolean use_clutter_renderer; |
508
a1b9ad02cf71
Move options stuff to options.{c,h} and remove globals.c
Laurent Monin <geeqie@norz.org>
parents:
diff
changeset
|
126 |
1644
2b10e2bee592
the options for custom border color were made independent
Vladimir Nadvornik <nadvornik@suse.cz>
parents:
1626
diff
changeset
|
127 gboolean use_custom_border_color_in_fullscreen; |
1626
63527696d61c
Add an option to Image preferences to restrict custom border to fullscreen mode only. Bug 2798062.
Laurent Monin <geeqie@norz.org>
parents:
1590
diff
changeset
|
128 gboolean use_custom_border_color; |
508
a1b9ad02cf71
Move options stuff to options.{c,h} and remove globals.c
Laurent Monin <geeqie@norz.org>
parents:
diff
changeset
|
129 GdkColor border_color; |
2457
58f993045468
Fix #219: Ability to set solid colour for transparency layer
Colin Clark <cclark@mcb.net>
parents:
2454
diff
changeset
|
130 GdkColor alpha_color_1; |
58f993045468
Fix #219: Ability to set solid colour for transparency layer
Colin Clark <cclark@mcb.net>
parents:
2454
diff
changeset
|
131 GdkColor alpha_color_2; |
508
a1b9ad02cf71
Move options stuff to options.{c,h} and remove globals.c
Laurent Monin <geeqie@norz.org>
parents:
diff
changeset
|
132 } image; |
a1b9ad02cf71
Move options stuff to options.{c,h} and remove globals.c
Laurent Monin <geeqie@norz.org>
parents:
diff
changeset
|
133 |
a1b9ad02cf71
Move options stuff to options.{c,h} and remove globals.c
Laurent Monin <geeqie@norz.org>
parents:
diff
changeset
|
134 /* thumbnails */ |
a1b9ad02cf71
Move options stuff to options.{c,h} and remove globals.c
Laurent Monin <geeqie@norz.org>
parents:
diff
changeset
|
135 struct { |
a1b9ad02cf71
Move options stuff to options.{c,h} and remove globals.c
Laurent Monin <geeqie@norz.org>
parents:
diff
changeset
|
136 gint max_width; |
a1b9ad02cf71
Move options stuff to options.{c,h} and remove globals.c
Laurent Monin <geeqie@norz.org>
parents:
diff
changeset
|
137 gint max_height; |
870
9934892744f7
Make better matching between options types in options.h and the rest of the code.
Laurent Monin <geeqie@norz.org>
parents:
858
diff
changeset
|
138 gboolean enable_caching; |
9934892744f7
Make better matching between options types in options.h and the rest of the code.
Laurent Monin <geeqie@norz.org>
parents:
858
diff
changeset
|
139 gboolean cache_into_dirs; |
9934892744f7
Make better matching between options types in options.h and the rest of the code.
Laurent Monin <geeqie@norz.org>
parents:
858
diff
changeset
|
140 gboolean use_xvpics; |
9934892744f7
Make better matching between options types in options.h and the rest of the code.
Laurent Monin <geeqie@norz.org>
parents:
858
diff
changeset
|
141 gboolean spec_standard; |
9934892744f7
Make better matching between options types in options.h and the rest of the code.
Laurent Monin <geeqie@norz.org>
parents:
858
diff
changeset
|
142 guint quality; |
1060
54806f8e4af5
added option to use exif thumbnails
Vladimir Nadvornik <nadvornik@suse.cz>
parents:
1055
diff
changeset
|
143 gboolean use_exif; |
2673
bef1f1a91df9
Fix #541: Showing existing, or maybe generating thumbnails for MP4 and WEBM
Tomasz Golinski <tomaszg@math.uwb.edu.pl>
parents:
2670
diff
changeset
|
144 gboolean use_ft_metadata; |
2800
0ecd4885dc09
Bug fix: Collection preview
Colin Clark <colin.clark@cclark.uk>
parents:
2794
diff
changeset
|
145 gint collection_preview; |
2673
bef1f1a91df9
Fix #541: Showing existing, or maybe generating thumbnails for MP4 and WEBM
Tomasz Golinski <tomaszg@math.uwb.edu.pl>
parents:
2670
diff
changeset
|
146 // gboolean use_ft_metadata_small; |
508
a1b9ad02cf71
Move options stuff to options.{c,h} and remove globals.c
Laurent Monin <geeqie@norz.org>
parents:
diff
changeset
|
147 } thumbnails; |
a1b9ad02cf71
Move options stuff to options.{c,h} and remove globals.c
Laurent Monin <geeqie@norz.org>
parents:
diff
changeset
|
148 |
a1b9ad02cf71
Move options stuff to options.{c,h} and remove globals.c
Laurent Monin <geeqie@norz.org>
parents:
diff
changeset
|
149 /* file filtering */ |
a1b9ad02cf71
Move options stuff to options.{c,h} and remove globals.c
Laurent Monin <geeqie@norz.org>
parents:
diff
changeset
|
150 struct { |
870
9934892744f7
Make better matching between options types in options.h and the rest of the code.
Laurent Monin <geeqie@norz.org>
parents:
858
diff
changeset
|
151 gboolean show_hidden_files; |
2265
15d51cf8ff3d
Allow to choose to show parent folder
Klaus Ethgen <Klaus@Ethgen.de>
parents:
2221
diff
changeset
|
152 gboolean show_parent_directory; |
870
9934892744f7
Make better matching between options types in options.h and the rest of the code.
Laurent Monin <geeqie@norz.org>
parents:
858
diff
changeset
|
153 gboolean show_dot_directory; |
2301
dec8d9db5770
Fix #333 Renaming file extensions
Colin Clark <cclark@mcb.net>
parents:
2265
diff
changeset
|
154 gboolean disable_file_extension_checks; |
870
9934892744f7
Make better matching between options types in options.h and the rest of the code.
Laurent Monin <geeqie@norz.org>
parents:
858
diff
changeset
|
155 gboolean disable; |
508
a1b9ad02cf71
Move options stuff to options.{c,h} and remove globals.c
Laurent Monin <geeqie@norz.org>
parents:
diff
changeset
|
156 } file_filter; |
a1b9ad02cf71
Move options stuff to options.{c,h} and remove globals.c
Laurent Monin <geeqie@norz.org>
parents:
diff
changeset
|
157 |
1229
2f11fec715ca
sidecar files grouping was made case-insensitive
Vladimir Nadvornik <nadvornik@suse.cz>
parents:
1208
diff
changeset
|
158 struct { |
2f11fec715ca
sidecar files grouping was made case-insensitive
Vladimir Nadvornik <nadvornik@suse.cz>
parents:
1208
diff
changeset
|
159 gchar *ext; |
2f11fec715ca
sidecar files grouping was made case-insensitive
Vladimir Nadvornik <nadvornik@suse.cz>
parents:
1208
diff
changeset
|
160 } sidecar; |
2185
c14a1d8e6aa4
Trim trailing white spaces on empty lines.
Laurent Monin <zas@norz.org>
parents:
2184
diff
changeset
|
161 |
508
a1b9ad02cf71
Move options stuff to options.{c,h} and remove globals.c
Laurent Monin <geeqie@norz.org>
parents:
diff
changeset
|
162 /* collections */ |
a1b9ad02cf71
Move options stuff to options.{c,h} and remove globals.c
Laurent Monin <geeqie@norz.org>
parents:
diff
changeset
|
163 struct { |
870
9934892744f7
Make better matching between options types in options.h and the rest of the code.
Laurent Monin <geeqie@norz.org>
parents:
858
diff
changeset
|
164 gboolean rectangular_selection; |
508
a1b9ad02cf71
Move options stuff to options.{c,h} and remove globals.c
Laurent Monin <geeqie@norz.org>
parents:
diff
changeset
|
165 } collections; |
a1b9ad02cf71
Move options stuff to options.{c,h} and remove globals.c
Laurent Monin <geeqie@norz.org>
parents:
diff
changeset
|
166 |
737
7c3a287e2922
Make shell command and its option rc file options instead of hardcoded strings.
Laurent Monin <geeqie@norz.org>
parents:
736
diff
changeset
|
167 /* shell */ |
7c3a287e2922
Make shell command and its option rc file options instead of hardcoded strings.
Laurent Monin <geeqie@norz.org>
parents:
736
diff
changeset
|
168 struct { |
7c3a287e2922
Make shell command and its option rc file options instead of hardcoded strings.
Laurent Monin <geeqie@norz.org>
parents:
736
diff
changeset
|
169 gchar *path; |
7c3a287e2922
Make shell command and its option rc file options instead of hardcoded strings.
Laurent Monin <geeqie@norz.org>
parents:
736
diff
changeset
|
170 gchar *options; |
7c3a287e2922
Make shell command and its option rc file options instead of hardcoded strings.
Laurent Monin <geeqie@norz.org>
parents:
736
diff
changeset
|
171 } shell; |
2185
c14a1d8e6aa4
Trim trailing white spaces on empty lines.
Laurent Monin <zas@norz.org>
parents:
2184
diff
changeset
|
172 |
508
a1b9ad02cf71
Move options stuff to options.{c,h} and remove globals.c
Laurent Monin <geeqie@norz.org>
parents:
diff
changeset
|
173 /* file sorting */ |
a1b9ad02cf71
Move options stuff to options.{c,h} and remove globals.c
Laurent Monin <geeqie@norz.org>
parents:
diff
changeset
|
174 struct { |
a1b9ad02cf71
Move options stuff to options.{c,h} and remove globals.c
Laurent Monin <geeqie@norz.org>
parents:
diff
changeset
|
175 SortType method; |
870
9934892744f7
Make better matching between options types in options.h and the rest of the code.
Laurent Monin <geeqie@norz.org>
parents:
858
diff
changeset
|
176 gboolean ascending; |
9934892744f7
Make better matching between options types in options.h and the rest of the code.
Laurent Monin <geeqie@norz.org>
parents:
858
diff
changeset
|
177 gboolean case_sensitive; /* file sorting method (case) */ |
2406 | 178 gboolean natural; |
508
a1b9ad02cf71
Move options stuff to options.{c,h} and remove globals.c
Laurent Monin <geeqie@norz.org>
parents:
diff
changeset
|
179 } file_sort; |
a1b9ad02cf71
Move options stuff to options.{c,h} and remove globals.c
Laurent Monin <geeqie@norz.org>
parents:
diff
changeset
|
180 |
a1b9ad02cf71
Move options stuff to options.{c,h} and remove globals.c
Laurent Monin <geeqie@norz.org>
parents:
diff
changeset
|
181 /* slideshow */ |
a1b9ad02cf71
Move options stuff to options.{c,h} and remove globals.c
Laurent Monin <geeqie@norz.org>
parents:
diff
changeset
|
182 struct { |
a1b9ad02cf71
Move options stuff to options.{c,h} and remove globals.c
Laurent Monin <geeqie@norz.org>
parents:
diff
changeset
|
183 gint delay; /* in tenths of a second */ |
870
9934892744f7
Make better matching between options types in options.h and the rest of the code.
Laurent Monin <geeqie@norz.org>
parents:
858
diff
changeset
|
184 gboolean random; |
9934892744f7
Make better matching between options types in options.h and the rest of the code.
Laurent Monin <geeqie@norz.org>
parents:
858
diff
changeset
|
185 gboolean repeat; |
508
a1b9ad02cf71
Move options stuff to options.{c,h} and remove globals.c
Laurent Monin <geeqie@norz.org>
parents:
diff
changeset
|
186 } slideshow; |
a1b9ad02cf71
Move options stuff to options.{c,h} and remove globals.c
Laurent Monin <geeqie@norz.org>
parents:
diff
changeset
|
187 |
a1b9ad02cf71
Move options stuff to options.{c,h} and remove globals.c
Laurent Monin <geeqie@norz.org>
parents:
diff
changeset
|
188 /* fullscreen */ |
a1b9ad02cf71
Move options stuff to options.{c,h} and remove globals.c
Laurent Monin <geeqie@norz.org>
parents:
diff
changeset
|
189 struct { |
a1b9ad02cf71
Move options stuff to options.{c,h} and remove globals.c
Laurent Monin <geeqie@norz.org>
parents:
diff
changeset
|
190 gint screen; |
870
9934892744f7
Make better matching between options types in options.h and the rest of the code.
Laurent Monin <geeqie@norz.org>
parents:
858
diff
changeset
|
191 gboolean clean_flip; |
9934892744f7
Make better matching between options types in options.h and the rest of the code.
Laurent Monin <geeqie@norz.org>
parents:
858
diff
changeset
|
192 gboolean disable_saver; |
9934892744f7
Make better matching between options types in options.h and the rest of the code.
Laurent Monin <geeqie@norz.org>
parents:
858
diff
changeset
|
193 gboolean above; |
508
a1b9ad02cf71
Move options stuff to options.{c,h} and remove globals.c
Laurent Monin <geeqie@norz.org>
parents:
diff
changeset
|
194 } fullscreen; |
a1b9ad02cf71
Move options stuff to options.{c,h} and remove globals.c
Laurent Monin <geeqie@norz.org>
parents:
diff
changeset
|
195 |
a1b9ad02cf71
Move options stuff to options.{c,h} and remove globals.c
Laurent Monin <geeqie@norz.org>
parents:
diff
changeset
|
196 /* image overlay */ |
a1b9ad02cf71
Move options stuff to options.{c,h} and remove globals.c
Laurent Monin <geeqie@norz.org>
parents:
diff
changeset
|
197 struct { |
1336
7fe7536f02e1
fixed overlay configuration
Vladimir Nadvornik <nadvornik@suse.cz>
parents:
1329
diff
changeset
|
198 gchar *template_string; |
7fe7536f02e1
fixed overlay configuration
Vladimir Nadvornik <nadvornik@suse.cz>
parents:
1329
diff
changeset
|
199 gint x; |
7fe7536f02e1
fixed overlay configuration
Vladimir Nadvornik <nadvornik@suse.cz>
parents:
1329
diff
changeset
|
200 gint y; |
2343
ab475bde511b
Image overlay configurable items GTK2
Colin Clark <cclark@mcb.net>
parents:
2341
diff
changeset
|
201 guint16 text_red; |
ab475bde511b
Image overlay configurable items GTK2
Colin Clark <cclark@mcb.net>
parents:
2341
diff
changeset
|
202 guint16 text_green; |
ab475bde511b
Image overlay configurable items GTK2
Colin Clark <cclark@mcb.net>
parents:
2341
diff
changeset
|
203 guint16 text_blue; |
ab475bde511b
Image overlay configurable items GTK2
Colin Clark <cclark@mcb.net>
parents:
2341
diff
changeset
|
204 guint16 text_alpha; |
ab475bde511b
Image overlay configurable items GTK2
Colin Clark <cclark@mcb.net>
parents:
2341
diff
changeset
|
205 guint16 background_red; |
ab475bde511b
Image overlay configurable items GTK2
Colin Clark <cclark@mcb.net>
parents:
2341
diff
changeset
|
206 guint16 background_green; |
ab475bde511b
Image overlay configurable items GTK2
Colin Clark <cclark@mcb.net>
parents:
2341
diff
changeset
|
207 guint16 background_blue; |
ab475bde511b
Image overlay configurable items GTK2
Colin Clark <cclark@mcb.net>
parents:
2341
diff
changeset
|
208 guint16 background_alpha; |
2334
e38178f556f6
Image overlay configurable font
Colin Clark <cclark@mcb.net>
parents:
2328
diff
changeset
|
209 gchar *font; |
508
a1b9ad02cf71
Move options stuff to options.{c,h} and remove globals.c
Laurent Monin <geeqie@norz.org>
parents:
diff
changeset
|
210 } image_overlay; |
a1b9ad02cf71
Move options stuff to options.{c,h} and remove globals.c
Laurent Monin <geeqie@norz.org>
parents:
diff
changeset
|
211 |
684
47248196ef4c
Save order of Properties dialog tabs to rc file.
Laurent Monin <geeqie@norz.org>
parents:
638
diff
changeset
|
212 /* properties dialog */ |
47248196ef4c
Save order of Properties dialog tabs to rc file.
Laurent Monin <geeqie@norz.org>
parents:
638
diff
changeset
|
213 struct { |
47248196ef4c
Save order of Properties dialog tabs to rc file.
Laurent Monin <geeqie@norz.org>
parents:
638
diff
changeset
|
214 gchar *tabs_order; |
47248196ef4c
Save order of Properties dialog tabs to rc file.
Laurent Monin <geeqie@norz.org>
parents:
638
diff
changeset
|
215 } properties; |
508
a1b9ad02cf71
Move options stuff to options.{c,h} and remove globals.c
Laurent Monin <geeqie@norz.org>
parents:
diff
changeset
|
216 |
a1b9ad02cf71
Move options stuff to options.{c,h} and remove globals.c
Laurent Monin <geeqie@norz.org>
parents:
diff
changeset
|
217 /* color profiles */ |
a1b9ad02cf71
Move options stuff to options.{c,h} and remove globals.c
Laurent Monin <geeqie@norz.org>
parents:
diff
changeset
|
218 struct { |
870
9934892744f7
Make better matching between options types in options.h and the rest of the code.
Laurent Monin <geeqie@norz.org>
parents:
858
diff
changeset
|
219 gboolean enabled; |
508
a1b9ad02cf71
Move options stuff to options.{c,h} and remove globals.c
Laurent Monin <geeqie@norz.org>
parents:
diff
changeset
|
220 gint input_type; |
a1b9ad02cf71
Move options stuff to options.{c,h} and remove globals.c
Laurent Monin <geeqie@norz.org>
parents:
diff
changeset
|
221 gchar *input_file[COLOR_PROFILE_INPUTS]; |
a1b9ad02cf71
Move options stuff to options.{c,h} and remove globals.c
Laurent Monin <geeqie@norz.org>
parents:
diff
changeset
|
222 gchar *input_name[COLOR_PROFILE_INPUTS]; |
a1b9ad02cf71
Move options stuff to options.{c,h} and remove globals.c
Laurent Monin <geeqie@norz.org>
parents:
diff
changeset
|
223 gchar *screen_file; |
870
9934892744f7
Make better matching between options types in options.h and the rest of the code.
Laurent Monin <geeqie@norz.org>
parents:
858
diff
changeset
|
224 gboolean use_image; |
1548
1bd57e730350
support X11 screen profile
Vladimir Nadvornik <nadvornik@suse.cz>
parents:
1540
diff
changeset
|
225 gboolean use_x11_screen_profile; |
2386 | 226 gint render_intent; |
508
a1b9ad02cf71
Move options stuff to options.{c,h} and remove globals.c
Laurent Monin <geeqie@norz.org>
parents:
diff
changeset
|
227 } color_profile; |
a1b9ad02cf71
Move options stuff to options.{c,h} and remove globals.c
Laurent Monin <geeqie@norz.org>
parents:
diff
changeset
|
228 |
884
bca2fba8791f
Improve ways to specify html browser (used for help, see bug 2015099).
Laurent Monin <geeqie@norz.org>
parents:
870
diff
changeset
|
229 /* Helpers programs */ |
bca2fba8791f
Improve ways to specify html browser (used for help, see bug 2015099).
Laurent Monin <geeqie@norz.org>
parents:
870
diff
changeset
|
230 struct { |
bca2fba8791f
Improve ways to specify html browser (used for help, see bug 2015099).
Laurent Monin <geeqie@norz.org>
parents:
870
diff
changeset
|
231 struct { |
bca2fba8791f
Improve ways to specify html browser (used for help, see bug 2015099).
Laurent Monin <geeqie@norz.org>
parents:
870
diff
changeset
|
232 gchar *command_name; |
bca2fba8791f
Improve ways to specify html browser (used for help, see bug 2015099).
Laurent Monin <geeqie@norz.org>
parents:
870
diff
changeset
|
233 gchar *command_line; |
bca2fba8791f
Improve ways to specify html browser (used for help, see bug 2015099).
Laurent Monin <geeqie@norz.org>
parents:
870
diff
changeset
|
234 } html_browser; |
bca2fba8791f
Improve ways to specify html browser (used for help, see bug 2015099).
Laurent Monin <geeqie@norz.org>
parents:
870
diff
changeset
|
235 } helpers; |
1013
bce5d6ab9be4
Allow to override documentation paths through options:
Laurent Monin <geeqie@norz.org>
parents:
980
diff
changeset
|
236 |
1208
338afd22a394
added options for metadata - not yet used
Vladimir Nadvornik <nadvornik@suse.cz>
parents:
1060
diff
changeset
|
237 /* Metadata */ |
338afd22a394
added options for metadata - not yet used
Vladimir Nadvornik <nadvornik@suse.cz>
parents:
1060
diff
changeset
|
238 struct { |
338afd22a394
added options for metadata - not yet used
Vladimir Nadvornik <nadvornik@suse.cz>
parents:
1060
diff
changeset
|
239 gboolean enable_metadata_dirs; |
338afd22a394
added options for metadata - not yet used
Vladimir Nadvornik <nadvornik@suse.cz>
parents:
1060
diff
changeset
|
240 |
338afd22a394
added options for metadata - not yet used
Vladimir Nadvornik <nadvornik@suse.cz>
parents:
1060
diff
changeset
|
241 gboolean save_in_image_file; |
338afd22a394
added options for metadata - not yet used
Vladimir Nadvornik <nadvornik@suse.cz>
parents:
1060
diff
changeset
|
242 gboolean save_legacy_IPTC; |
338afd22a394
added options for metadata - not yet used
Vladimir Nadvornik <nadvornik@suse.cz>
parents:
1060
diff
changeset
|
243 gboolean warn_on_write_problems; |
338afd22a394
added options for metadata - not yet used
Vladimir Nadvornik <nadvornik@suse.cz>
parents:
1060
diff
changeset
|
244 |
338afd22a394
added options for metadata - not yet used
Vladimir Nadvornik <nadvornik@suse.cz>
parents:
1060
diff
changeset
|
245 gboolean save_legacy_format; |
2185
c14a1d8e6aa4
Trim trailing white spaces on empty lines.
Laurent Monin <zas@norz.org>
parents:
2184
diff
changeset
|
246 |
1208
338afd22a394
added options for metadata - not yet used
Vladimir Nadvornik <nadvornik@suse.cz>
parents:
1060
diff
changeset
|
247 gboolean sync_grouped_files; |
2185
c14a1d8e6aa4
Trim trailing white spaces on empty lines.
Laurent Monin <zas@norz.org>
parents:
2184
diff
changeset
|
248 |
1208
338afd22a394
added options for metadata - not yet used
Vladimir Nadvornik <nadvornik@suse.cz>
parents:
1060
diff
changeset
|
249 gboolean confirm_write; |
338afd22a394
added options for metadata - not yet used
Vladimir Nadvornik <nadvornik@suse.cz>
parents:
1060
diff
changeset
|
250 gint confirm_timeout; |
1244
eeefa0f10d39
improved metadata preferences
Vladimir Nadvornik <nadvornik@suse.cz>
parents:
1229
diff
changeset
|
251 gboolean confirm_after_timeout; |
1208
338afd22a394
added options for metadata - not yet used
Vladimir Nadvornik <nadvornik@suse.cz>
parents:
1060
diff
changeset
|
252 gboolean confirm_on_image_change; |
338afd22a394
added options for metadata - not yet used
Vladimir Nadvornik <nadvornik@suse.cz>
parents:
1060
diff
changeset
|
253 gboolean confirm_on_dir_change; |
1590
32a63a57690f
use "keywords" instead of "tags" in option name, it is more consistent
Vladimir Nadvornik <nadvornik@suse.cz>
parents:
1567
diff
changeset
|
254 gboolean keywords_case_sensitive; |
1567
ef3ca18df43f
added an option to write image orientation to the metadata
Vladimir Nadvornik <nadvornik@suse.cz>
parents:
1548
diff
changeset
|
255 gboolean write_orientation; |
2454
93d1c77a312b
Fix #147: Alternative format for sidecar extension
Tomasz Golinski <tomaszg@math.uwb.edu.pl>
parents:
2426
diff
changeset
|
256 gboolean sidecar_extended_name; |
1208
338afd22a394
added options for metadata - not yet used
Vladimir Nadvornik <nadvornik@suse.cz>
parents:
1060
diff
changeset
|
257 } metadata; |
2185
c14a1d8e6aa4
Trim trailing white spaces on empty lines.
Laurent Monin <zas@norz.org>
parents:
2184
diff
changeset
|
258 |
1887
cca739d627fd
stereo mode preferences
Vladimir Nadvornik <nadvornik@suse.cz>
parents:
1802
diff
changeset
|
259 /* Stereo */ |
cca739d627fd
stereo mode preferences
Vladimir Nadvornik <nadvornik@suse.cz>
parents:
1802
diff
changeset
|
260 struct { |
1889
14088e0b25ec
temporarily disable stereo mode, added more stereo prefs
Vladimir Nadvornik <nadvornik@suse.cz>
parents:
1887
diff
changeset
|
261 gint mode;; |
1887
cca739d627fd
stereo mode preferences
Vladimir Nadvornik <nadvornik@suse.cz>
parents:
1802
diff
changeset
|
262 gint fsmode; |
cca739d627fd
stereo mode preferences
Vladimir Nadvornik <nadvornik@suse.cz>
parents:
1802
diff
changeset
|
263 gboolean enable_fsmode; |
cca739d627fd
stereo mode preferences
Vladimir Nadvornik <nadvornik@suse.cz>
parents:
1802
diff
changeset
|
264 gint fixed_w, fixed_h; |
cca739d627fd
stereo mode preferences
Vladimir Nadvornik <nadvornik@suse.cz>
parents:
1802
diff
changeset
|
265 gint fixed_x1, fixed_y1; |
cca739d627fd
stereo mode preferences
Vladimir Nadvornik <nadvornik@suse.cz>
parents:
1802
diff
changeset
|
266 gint fixed_x2, fixed_y2; |
1889
14088e0b25ec
temporarily disable stereo mode, added more stereo prefs
Vladimir Nadvornik <nadvornik@suse.cz>
parents:
1887
diff
changeset
|
267 struct { /* options in this struct are packed to mode and fsmode entries */ |
14088e0b25ec
temporarily disable stereo mode, added more stereo prefs
Vladimir Nadvornik <nadvornik@suse.cz>
parents:
1887
diff
changeset
|
268 gboolean mirror_right; |
14088e0b25ec
temporarily disable stereo mode, added more stereo prefs
Vladimir Nadvornik <nadvornik@suse.cz>
parents:
1887
diff
changeset
|
269 gboolean mirror_left; |
14088e0b25ec
temporarily disable stereo mode, added more stereo prefs
Vladimir Nadvornik <nadvornik@suse.cz>
parents:
1887
diff
changeset
|
270 gboolean flip_right; |
14088e0b25ec
temporarily disable stereo mode, added more stereo prefs
Vladimir Nadvornik <nadvornik@suse.cz>
parents:
1887
diff
changeset
|
271 gboolean flip_left; |
14088e0b25ec
temporarily disable stereo mode, added more stereo prefs
Vladimir Nadvornik <nadvornik@suse.cz>
parents:
1887
diff
changeset
|
272 gboolean swap; |
14088e0b25ec
temporarily disable stereo mode, added more stereo prefs
Vladimir Nadvornik <nadvornik@suse.cz>
parents:
1887
diff
changeset
|
273 gboolean temp_disable; |
14088e0b25ec
temporarily disable stereo mode, added more stereo prefs
Vladimir Nadvornik <nadvornik@suse.cz>
parents:
1887
diff
changeset
|
274 gboolean fs_mirror_right; |
14088e0b25ec
temporarily disable stereo mode, added more stereo prefs
Vladimir Nadvornik <nadvornik@suse.cz>
parents:
1887
diff
changeset
|
275 gboolean fs_mirror_left; |
14088e0b25ec
temporarily disable stereo mode, added more stereo prefs
Vladimir Nadvornik <nadvornik@suse.cz>
parents:
1887
diff
changeset
|
276 gboolean fs_flip_right; |
14088e0b25ec
temporarily disable stereo mode, added more stereo prefs
Vladimir Nadvornik <nadvornik@suse.cz>
parents:
1887
diff
changeset
|
277 gboolean fs_flip_left; |
14088e0b25ec
temporarily disable stereo mode, added more stereo prefs
Vladimir Nadvornik <nadvornik@suse.cz>
parents:
1887
diff
changeset
|
278 gboolean fs_swap; |
14088e0b25ec
temporarily disable stereo mode, added more stereo prefs
Vladimir Nadvornik <nadvornik@suse.cz>
parents:
1887
diff
changeset
|
279 gboolean fs_temp_disable; |
2184 | 280 } tmp; |
1887
cca739d627fd
stereo mode preferences
Vladimir Nadvornik <nadvornik@suse.cz>
parents:
1802
diff
changeset
|
281 } stereo; |
2504
130acea2daa0
Fix #280: Set defaults for Auto Rename
Colin Clark <colin.clark@cclark.uk>
parents:
2500
diff
changeset
|
282 |
130acea2daa0
Fix #280: Set defaults for Auto Rename
Colin Clark <colin.clark@cclark.uk>
parents:
2500
diff
changeset
|
283 /* copy move rename */ |
130acea2daa0
Fix #280: Set defaults for Auto Rename
Colin Clark <colin.clark@cclark.uk>
parents:
2500
diff
changeset
|
284 struct { |
130acea2daa0
Fix #280: Set defaults for Auto Rename
Colin Clark <colin.clark@cclark.uk>
parents:
2500
diff
changeset
|
285 gint auto_start; |
130acea2daa0
Fix #280: Set defaults for Auto Rename
Colin Clark <colin.clark@cclark.uk>
parents:
2500
diff
changeset
|
286 gchar *auto_end; |
130acea2daa0
Fix #280: Set defaults for Auto Rename
Colin Clark <colin.clark@cclark.uk>
parents:
2500
diff
changeset
|
287 gint auto_padding; |
130acea2daa0
Fix #280: Set defaults for Auto Rename
Colin Clark <colin.clark@cclark.uk>
parents:
2500
diff
changeset
|
288 gint formatted_start; |
130acea2daa0
Fix #280: Set defaults for Auto Rename
Colin Clark <colin.clark@cclark.uk>
parents:
2500
diff
changeset
|
289 } cp_mv_rn; |
2508
a39331032807
Additional debug features
Colin Clark <colin.clark@cclark.uk>
parents:
2505
diff
changeset
|
290 |
a39331032807
Additional debug features
Colin Clark <colin.clark@cclark.uk>
parents:
2505
diff
changeset
|
291 /* log window */ |
a39331032807
Additional debug features
Colin Clark <colin.clark@cclark.uk>
parents:
2505
diff
changeset
|
292 struct { |
a39331032807
Additional debug features
Colin Clark <colin.clark@cclark.uk>
parents:
2505
diff
changeset
|
293 gboolean paused; |
a39331032807
Additional debug features
Colin Clark <colin.clark@cclark.uk>
parents:
2505
diff
changeset
|
294 gboolean line_wrap; |
2596
9c435c86a296
Optional timer data in log window
Colin Clark <colin.clark@cclark.uk>
parents:
2511
diff
changeset
|
295 gboolean timer_data; |
2508
a39331032807
Additional debug features
Colin Clark <colin.clark@cclark.uk>
parents:
2505
diff
changeset
|
296 } log_window; |
2770
2e819f4a7a41
Read metadata in the idle loop
Colin Clark <colin.clark@cclark.uk>
parents:
2769
diff
changeset
|
297 |
2777
813be27b1cd5
Addl fix #323: Rating system
Colin Clark <colin.clark@cclark.uk>
parents:
2771
diff
changeset
|
298 /* star rating */ |
813be27b1cd5
Addl fix #323: Rating system
Colin Clark <colin.clark@cclark.uk>
parents:
2771
diff
changeset
|
299 struct { |
813be27b1cd5
Addl fix #323: Rating system
Colin Clark <colin.clark@cclark.uk>
parents:
2771
diff
changeset
|
300 gunichar star; |
813be27b1cd5
Addl fix #323: Rating system
Colin Clark <colin.clark@cclark.uk>
parents:
2771
diff
changeset
|
301 gunichar rejected; |
813be27b1cd5
Addl fix #323: Rating system
Colin Clark <colin.clark@cclark.uk>
parents:
2771
diff
changeset
|
302 } star_rating; |
813be27b1cd5
Addl fix #323: Rating system
Colin Clark <colin.clark@cclark.uk>
parents:
2771
diff
changeset
|
303 |
2830
5d88a8dfa364
Fix #160: Replace print dialog by standard GTK dialog
Colin Clark <colin.clark@cclark.uk>
parents:
2826
diff
changeset
|
304 /* Printer */ |
5d88a8dfa364
Fix #160: Replace print dialog by standard GTK dialog
Colin Clark <colin.clark@cclark.uk>
parents:
2826
diff
changeset
|
305 struct { |
5d88a8dfa364
Fix #160: Replace print dialog by standard GTK dialog
Colin Clark <colin.clark@cclark.uk>
parents:
2826
diff
changeset
|
306 gchar *font; |
5d88a8dfa364
Fix #160: Replace print dialog by standard GTK dialog
Colin Clark <colin.clark@cclark.uk>
parents:
2826
diff
changeset
|
307 gint text_fields; |
5d88a8dfa364
Fix #160: Replace print dialog by standard GTK dialog
Colin Clark <colin.clark@cclark.uk>
parents:
2826
diff
changeset
|
308 } printer; |
5d88a8dfa364
Fix #160: Replace print dialog by standard GTK dialog
Colin Clark <colin.clark@cclark.uk>
parents:
2826
diff
changeset
|
309 |
2770
2e819f4a7a41
Read metadata in the idle loop
Colin Clark <colin.clark@cclark.uk>
parents:
2769
diff
changeset
|
310 gboolean read_metadata_in_idle; |
508
a1b9ad02cf71
Move options stuff to options.{c,h} and remove globals.c
Laurent Monin <geeqie@norz.org>
parents:
diff
changeset
|
311 }; |
a1b9ad02cf71
Move options stuff to options.{c,h} and remove globals.c
Laurent Monin <geeqie@norz.org>
parents:
diff
changeset
|
312 |
a1b9ad02cf71
Move options stuff to options.{c,h} and remove globals.c
Laurent Monin <geeqie@norz.org>
parents:
diff
changeset
|
313 ConfOptions *options; |
1313
29ff0de0a67e
enabled commandline again
Vladimir Nadvornik <nadvornik@suse.cz>
parents:
1309
diff
changeset
|
314 CommandLine *command_line; |
508
a1b9ad02cf71
Move options stuff to options.{c,h} and remove globals.c
Laurent Monin <geeqie@norz.org>
parents:
diff
changeset
|
315 |
a1b9ad02cf71
Move options stuff to options.{c,h} and remove globals.c
Laurent Monin <geeqie@norz.org>
parents:
diff
changeset
|
316 ConfOptions *init_options(ConfOptions *options); |
740
004aa8fe7914
Move setup_default_options() and sync_options_with_current_state() to options.[ch].
Laurent Monin <geeqie@norz.org>
parents:
737
diff
changeset
|
317 void setup_default_options(ConfOptions *options); |
1019
90fb159e5161
Move save/load_options() to options.[ch].
Laurent Monin <geeqie@norz.org>
parents:
1013
diff
changeset
|
318 void save_options(ConfOptions *options); |
1313
29ff0de0a67e
enabled commandline again
Vladimir Nadvornik <nadvornik@suse.cz>
parents:
1309
diff
changeset
|
319 gboolean load_options(ConfOptions *options); |
1019
90fb159e5161
Move save/load_options() to options.[ch].
Laurent Monin <geeqie@norz.org>
parents:
1013
diff
changeset
|
320 |
1309
d89f8c4d593b
config file format changed to XML
Vladimir Nadvornik <nadvornik@suse.cz>
parents:
1284
diff
changeset
|
321 void copy_layout_options(LayoutOptions *dest, const LayoutOptions *src); |
d89f8c4d593b
config file format changed to XML
Vladimir Nadvornik <nadvornik@suse.cz>
parents:
1284
diff
changeset
|
322 void free_layout_options_content(LayoutOptions *dest); |
1436
13d61fe760fb
completely separated global and layout window options
Vladimir Nadvornik <nadvornik@suse.cz>
parents:
1336
diff
changeset
|
323 LayoutOptions *init_layout_options(LayoutOptions *options); |
508
a1b9ad02cf71
Move options stuff to options.{c,h} and remove globals.c
Laurent Monin <geeqie@norz.org>
parents:
diff
changeset
|
324 |
a1b9ad02cf71
Move options stuff to options.{c,h} and remove globals.c
Laurent Monin <geeqie@norz.org>
parents:
diff
changeset
|
325 #endif /* OPTIONS_H */ |
1055
4bbdfab3c89a
Adding a vim modeline to all files - patch by Klaus Ethgen
Vladimir Nadvornik <nadvornik@suse.cz>
parents:
1019
diff
changeset
|
326 /* vim: set shiftwidth=8 softtabstop=0 cindent cinoptions={1s: */ |