annotate src/typedefs.h @ 321:20d9b3cd7434

options_c -> c_options
author zas_
date Fri, 11 Apr 2008 23:01:00 +0000
parents c74af1cbd61a
children d344bcf37618
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
9
d907d608745f Sync to GQview 1.5.9 release.
gqview
parents:
diff changeset
1 /*
196
f6e307c7bad6 rename GQview -> Geeqie over the code
nadvornik
parents: 161
diff changeset
2 * Geeqie
115
53b2bfdcff69 Tue Nov 28 11:54:30 2006 John Ellis <johne@verizon.net>
gqview
parents: 113
diff changeset
3 * (C) 2006 John Ellis
9
d907d608745f Sync to GQview 1.5.9 release.
gqview
parents:
diff changeset
4 *
d907d608745f Sync to GQview 1.5.9 release.
gqview
parents:
diff changeset
5 * Author: John Ellis
d907d608745f Sync to GQview 1.5.9 release.
gqview
parents:
diff changeset
6 *
d907d608745f Sync to GQview 1.5.9 release.
gqview
parents:
diff changeset
7 * This software is released under the GNU General Public License (GNU GPL).
d907d608745f Sync to GQview 1.5.9 release.
gqview
parents:
diff changeset
8 * Please read the included file COPYING for more information.
d907d608745f Sync to GQview 1.5.9 release.
gqview
parents:
diff changeset
9 * This software comes with no warranty of any kind, use at your own risk!
d907d608745f Sync to GQview 1.5.9 release.
gqview
parents:
diff changeset
10 */
d907d608745f Sync to GQview 1.5.9 release.
gqview
parents:
diff changeset
11
d907d608745f Sync to GQview 1.5.9 release.
gqview
parents:
diff changeset
12
d907d608745f Sync to GQview 1.5.9 release.
gqview
parents:
diff changeset
13 #ifndef TYPEDEFS_H
d907d608745f Sync to GQview 1.5.9 release.
gqview
parents:
diff changeset
14 #define TYPEDEFS_H
d907d608745f Sync to GQview 1.5.9 release.
gqview
parents:
diff changeset
15
134
9009856628f7 started implementation of external commands; external Delete should work
nadvornik
parents: 132
diff changeset
16 typedef enum {
283
e213fb025621 GQVIEW_* -> GQ_*
zas_
parents: 276
diff changeset
17 CMD_COPY = GQ_EDITOR_GENERIC_SLOTS,
134
9009856628f7 started implementation of external commands; external Delete should work
nadvornik
parents: 132
diff changeset
18 CMD_MOVE,
9009856628f7 started implementation of external commands; external Delete should work
nadvornik
parents: 132
diff changeset
19 CMD_RENAME,
9009856628f7 started implementation of external commands; external Delete should work
nadvornik
parents: 132
diff changeset
20 CMD_DELETE,
9009856628f7 started implementation of external commands; external Delete should work
nadvornik
parents: 132
diff changeset
21 CMD_FOLDER,
283
e213fb025621 GQVIEW_* -> GQ_*
zas_
parents: 276
diff changeset
22 GQ_EDITOR_SLOTS
134
9009856628f7 started implementation of external commands; external Delete should work
nadvornik
parents: 132
diff changeset
23 } SpecialEditor;
9
d907d608745f Sync to GQview 1.5.9 release.
gqview
parents:
diff changeset
24
d907d608745f Sync to GQview 1.5.9 release.
gqview
parents:
diff changeset
25 typedef enum {
d907d608745f Sync to GQview 1.5.9 release.
gqview
parents:
diff changeset
26 SORT_NONE,
d907d608745f Sync to GQview 1.5.9 release.
gqview
parents:
diff changeset
27 SORT_NAME,
d907d608745f Sync to GQview 1.5.9 release.
gqview
parents:
diff changeset
28 SORT_SIZE,
d907d608745f Sync to GQview 1.5.9 release.
gqview
parents:
diff changeset
29 SORT_TIME,
d907d608745f Sync to GQview 1.5.9 release.
gqview
parents:
diff changeset
30 SORT_PATH,
d907d608745f Sync to GQview 1.5.9 release.
gqview
parents:
diff changeset
31 SORT_NUMBER
d907d608745f Sync to GQview 1.5.9 release.
gqview
parents:
diff changeset
32 } SortType;
d907d608745f Sync to GQview 1.5.9 release.
gqview
parents:
diff changeset
33
d907d608745f Sync to GQview 1.5.9 release.
gqview
parents:
diff changeset
34 typedef enum {
d907d608745f Sync to GQview 1.5.9 release.
gqview
parents:
diff changeset
35 ALTER_NONE, /* do nothing */
d907d608745f Sync to GQview 1.5.9 release.
gqview
parents:
diff changeset
36 ALTER_ROTATE_90,
d907d608745f Sync to GQview 1.5.9 release.
gqview
parents:
diff changeset
37 ALTER_ROTATE_90_CC, /* counterclockwise */
d907d608745f Sync to GQview 1.5.9 release.
gqview
parents:
diff changeset
38 ALTER_ROTATE_180,
d907d608745f Sync to GQview 1.5.9 release.
gqview
parents:
diff changeset
39 ALTER_MIRROR,
82
a4c1b7014e6e Thu Oct 19 15:20:51 2006 John Ellis <johne@verizon.net>
gqview
parents: 41
diff changeset
40 ALTER_FLIP,
a4c1b7014e6e Thu Oct 19 15:20:51 2006 John Ellis <johne@verizon.net>
gqview
parents: 41
diff changeset
41 ALTER_DESATURATE
9
d907d608745f Sync to GQview 1.5.9 release.
gqview
parents:
diff changeset
42 } AlterType;
d907d608745f Sync to GQview 1.5.9 release.
gqview
parents:
diff changeset
43
d907d608745f Sync to GQview 1.5.9 release.
gqview
parents:
diff changeset
44 typedef enum {
d907d608745f Sync to GQview 1.5.9 release.
gqview
parents:
diff changeset
45 LAYOUT_HIDE = 0,
d907d608745f Sync to GQview 1.5.9 release.
gqview
parents:
diff changeset
46 LAYOUT_LEFT = 1 << 0,
d907d608745f Sync to GQview 1.5.9 release.
gqview
parents:
diff changeset
47 LAYOUT_RIGHT = 1 << 1,
d907d608745f Sync to GQview 1.5.9 release.
gqview
parents:
diff changeset
48 LAYOUT_TOP = 1 << 2,
d907d608745f Sync to GQview 1.5.9 release.
gqview
parents:
diff changeset
49 LAYOUT_BOTTOM = 1 << 3
d907d608745f Sync to GQview 1.5.9 release.
gqview
parents:
diff changeset
50 } LayoutLocation;
d907d608745f Sync to GQview 1.5.9 release.
gqview
parents:
diff changeset
51
d907d608745f Sync to GQview 1.5.9 release.
gqview
parents:
diff changeset
52
113
55166d93498d Fri Nov 24 21:37:01 2006 John Ellis <johne@verizon.net>
gqview
parents: 82
diff changeset
53 typedef enum {
55166d93498d Fri Nov 24 21:37:01 2006 John Ellis <johne@verizon.net>
gqview
parents: 82
diff changeset
54 IMAGE_STATE_NONE = 0,
55166d93498d Fri Nov 24 21:37:01 2006 John Ellis <johne@verizon.net>
gqview
parents: 82
diff changeset
55 IMAGE_STATE_IMAGE = 1 << 0,
55166d93498d Fri Nov 24 21:37:01 2006 John Ellis <johne@verizon.net>
gqview
parents: 82
diff changeset
56 IMAGE_STATE_LOADING = 1 << 1,
55166d93498d Fri Nov 24 21:37:01 2006 John Ellis <johne@verizon.net>
gqview
parents: 82
diff changeset
57 IMAGE_STATE_ERROR = 1 << 2,
55166d93498d Fri Nov 24 21:37:01 2006 John Ellis <johne@verizon.net>
gqview
parents: 82
diff changeset
58 IMAGE_STATE_COLOR_ADJ = 1 << 3,
55166d93498d Fri Nov 24 21:37:01 2006 John Ellis <johne@verizon.net>
gqview
parents: 82
diff changeset
59 IMAGE_STATE_ROTATE_AUTO = 1 << 4,
55166d93498d Fri Nov 24 21:37:01 2006 John Ellis <johne@verizon.net>
gqview
parents: 82
diff changeset
60 IMAGE_STATE_ROTATE_USER = 1 << 5,
55166d93498d Fri Nov 24 21:37:01 2006 John Ellis <johne@verizon.net>
gqview
parents: 82
diff changeset
61 IMAGE_STATE_DELAY_FLIP = 1 << 6
55166d93498d Fri Nov 24 21:37:01 2006 John Ellis <johne@verizon.net>
gqview
parents: 82
diff changeset
62 } ImageState;
55166d93498d Fri Nov 24 21:37:01 2006 John Ellis <johne@verizon.net>
gqview
parents: 82
diff changeset
63
127
271afad04d07 implemented split windows
nadvornik
parents: 122
diff changeset
64 typedef enum {
271afad04d07 implemented split windows
nadvornik
parents: 122
diff changeset
65 SPLIT_NONE = 0,
271afad04d07 implemented split windows
nadvornik
parents: 122
diff changeset
66 SPLIT_VERT,
271afad04d07 implemented split windows
nadvornik
parents: 122
diff changeset
67 SPLIT_HOR,
271afad04d07 implemented split windows
nadvornik
parents: 122
diff changeset
68 SPLIT_QUAD,
271afad04d07 implemented split windows
nadvornik
parents: 122
diff changeset
69 } ImageSplitMode;
271afad04d07 implemented split windows
nadvornik
parents: 122
diff changeset
70
143
0d1bf3ac6cd8 improved FileDataChangeInfo structure, check for another file operation in progress
nadvornik
parents: 141
diff changeset
71 typedef enum {
0d1bf3ac6cd8 improved FileDataChangeInfo structure, check for another file operation in progress
nadvornik
parents: 141
diff changeset
72 FILEDATA_CHANGE_DELETE,
0d1bf3ac6cd8 improved FileDataChangeInfo structure, check for another file operation in progress
nadvornik
parents: 141
diff changeset
73 FILEDATA_CHANGE_MOVE,
0d1bf3ac6cd8 improved FileDataChangeInfo structure, check for another file operation in progress
nadvornik
parents: 141
diff changeset
74 FILEDATA_CHANGE_RENAME,
0d1bf3ac6cd8 improved FileDataChangeInfo structure, check for another file operation in progress
nadvornik
parents: 141
diff changeset
75 FILEDATA_CHANGE_COPY
0d1bf3ac6cd8 improved FileDataChangeInfo structure, check for another file operation in progress
nadvornik
parents: 141
diff changeset
76 } FileDataChangeType;
0d1bf3ac6cd8 improved FileDataChangeInfo structure, check for another file operation in progress
nadvornik
parents: 141
diff changeset
77
161
08ab6367b4e6 complete set of boolean operation with marks -
nadvornik
parents: 158
diff changeset
78 typedef enum {
08ab6367b4e6 complete set of boolean operation with marks -
nadvornik
parents: 158
diff changeset
79 MTS_MODE_MINUS,
08ab6367b4e6 complete set of boolean operation with marks -
nadvornik
parents: 158
diff changeset
80 MTS_MODE_SET,
08ab6367b4e6 complete set of boolean operation with marks -
nadvornik
parents: 158
diff changeset
81 MTS_MODE_OR,
08ab6367b4e6 complete set of boolean operation with marks -
nadvornik
parents: 158
diff changeset
82 MTS_MODE_AND
08ab6367b4e6 complete set of boolean operation with marks -
nadvornik
parents: 158
diff changeset
83 } MarkToSelectionMode;
08ab6367b4e6 complete set of boolean operation with marks -
nadvornik
parents: 158
diff changeset
84
08ab6367b4e6 complete set of boolean operation with marks -
nadvornik
parents: 158
diff changeset
85 typedef enum {
08ab6367b4e6 complete set of boolean operation with marks -
nadvornik
parents: 158
diff changeset
86 STM_MODE_RESET,
08ab6367b4e6 complete set of boolean operation with marks -
nadvornik
parents: 158
diff changeset
87 STM_MODE_SET,
08ab6367b4e6 complete set of boolean operation with marks -
nadvornik
parents: 158
diff changeset
88 STM_MODE_TOGGLE
08ab6367b4e6 complete set of boolean operation with marks -
nadvornik
parents: 158
diff changeset
89 } SelectionToMarkMode;
08ab6367b4e6 complete set of boolean operation with marks -
nadvornik
parents: 158
diff changeset
90
212
c7021159079d differentiate among normal image, raw image and metadata
nadvornik
parents: 196
diff changeset
91 typedef enum {
c7021159079d differentiate among normal image, raw image and metadata
nadvornik
parents: 196
diff changeset
92 FORMAT_CLASS_UNKNOWN,
c7021159079d differentiate among normal image, raw image and metadata
nadvornik
parents: 196
diff changeset
93 FORMAT_CLASS_IMAGE,
c7021159079d differentiate among normal image, raw image and metadata
nadvornik
parents: 196
diff changeset
94 FORMAT_CLASS_RAWIMAGE,
c7021159079d differentiate among normal image, raw image and metadata
nadvornik
parents: 196
diff changeset
95 FORMAT_CLASS_META,
c7021159079d differentiate among normal image, raw image and metadata
nadvornik
parents: 196
diff changeset
96 FILE_FORMAT_CLASSES
c7021159079d differentiate among normal image, raw image and metadata
nadvornik
parents: 196
diff changeset
97 } FileFormatClass;
c7021159079d differentiate among normal image, raw image and metadata
nadvornik
parents: 196
diff changeset
98
276
4f526d436873 Implement secure rc file saving.
zas_
parents: 273
diff changeset
99 typedef enum {
4f526d436873 Implement secure rc file saving.
zas_
parents: 273
diff changeset
100 SS_ERR_NONE = 0,
4f526d436873 Implement secure rc file saving.
zas_
parents: 273
diff changeset
101 SS_ERR_DISABLED, /**< secsave is disabled. */
4f526d436873 Implement secure rc file saving.
zas_
parents: 273
diff changeset
102 SS_ERR_OUT_OF_MEM, /**< memory allocation failure */
4f526d436873 Implement secure rc file saving.
zas_
parents: 273
diff changeset
103
4f526d436873 Implement secure rc file saving.
zas_
parents: 273
diff changeset
104 /* see err field in SecureSaveInfo */
4f526d436873 Implement secure rc file saving.
zas_
parents: 273
diff changeset
105 SS_ERR_OPEN_READ,
4f526d436873 Implement secure rc file saving.
zas_
parents: 273
diff changeset
106 SS_ERR_OPEN_WRITE,
4f526d436873 Implement secure rc file saving.
zas_
parents: 273
diff changeset
107 SS_ERR_STAT,
4f526d436873 Implement secure rc file saving.
zas_
parents: 273
diff changeset
108 SS_ERR_ACCESS,
4f526d436873 Implement secure rc file saving.
zas_
parents: 273
diff changeset
109 SS_ERR_MKSTEMP,
4f526d436873 Implement secure rc file saving.
zas_
parents: 273
diff changeset
110 SS_ERR_RENAME,
4f526d436873 Implement secure rc file saving.
zas_
parents: 273
diff changeset
111 SS_ERR_OTHER,
4f526d436873 Implement secure rc file saving.
zas_
parents: 273
diff changeset
112 } SecureSaveErrno;
4f526d436873 Implement secure rc file saving.
zas_
parents: 273
diff changeset
113
143
0d1bf3ac6cd8 improved FileDataChangeInfo structure, check for another file operation in progress
nadvornik
parents: 141
diff changeset
114
127
271afad04d07 implemented split windows
nadvornik
parents: 122
diff changeset
115 #define MAX_SPLIT_IMAGES 4
271afad04d07 implemented split windows
nadvornik
parents: 122
diff changeset
116
9
d907d608745f Sync to GQview 1.5.9 release.
gqview
parents:
diff changeset
117 typedef struct _ImageLoader ImageLoader;
d907d608745f Sync to GQview 1.5.9 release.
gqview
parents:
diff changeset
118 typedef struct _ThumbLoader ThumbLoader;
d907d608745f Sync to GQview 1.5.9 release.
gqview
parents:
diff changeset
119
d907d608745f Sync to GQview 1.5.9 release.
gqview
parents:
diff changeset
120 typedef struct _CollectInfo CollectInfo;
d907d608745f Sync to GQview 1.5.9 release.
gqview
parents:
diff changeset
121 typedef struct _CollectionData CollectionData;
d907d608745f Sync to GQview 1.5.9 release.
gqview
parents:
diff changeset
122 typedef struct _CollectTable CollectTable;
d907d608745f Sync to GQview 1.5.9 release.
gqview
parents:
diff changeset
123 typedef struct _CollectWindow CollectWindow;
d907d608745f Sync to GQview 1.5.9 release.
gqview
parents:
diff changeset
124
d907d608745f Sync to GQview 1.5.9 release.
gqview
parents:
diff changeset
125 typedef struct _ImageWindow ImageWindow;
d907d608745f Sync to GQview 1.5.9 release.
gqview
parents:
diff changeset
126
d907d608745f Sync to GQview 1.5.9 release.
gqview
parents:
diff changeset
127 typedef struct _FileData FileData;
138
71e1ebee420e replaced gchar* path with FileData *fd
nadvornik
parents: 137
diff changeset
128 typedef struct _FileDataChangeInfo FileDataChangeInfo;
9
d907d608745f Sync to GQview 1.5.9 release.
gqview
parents:
diff changeset
129
d907d608745f Sync to GQview 1.5.9 release.
gqview
parents:
diff changeset
130 typedef struct _LayoutWindow LayoutWindow;
d907d608745f Sync to GQview 1.5.9 release.
gqview
parents:
diff changeset
131 typedef struct _ViewDirList ViewDirList;
d907d608745f Sync to GQview 1.5.9 release.
gqview
parents:
diff changeset
132 typedef struct _ViewDirTree ViewDirTree;
d907d608745f Sync to GQview 1.5.9 release.
gqview
parents:
diff changeset
133 typedef struct _ViewFileList ViewFileList;
d907d608745f Sync to GQview 1.5.9 release.
gqview
parents:
diff changeset
134 typedef struct _ViewFileIcon ViewFileIcon;
d907d608745f Sync to GQview 1.5.9 release.
gqview
parents:
diff changeset
135
d907d608745f Sync to GQview 1.5.9 release.
gqview
parents:
diff changeset
136 typedef struct _SlideShowData SlideShowData;
d907d608745f Sync to GQview 1.5.9 release.
gqview
parents:
diff changeset
137 typedef struct _FullScreenData FullScreenData;
d907d608745f Sync to GQview 1.5.9 release.
gqview
parents:
diff changeset
138
d907d608745f Sync to GQview 1.5.9 release.
gqview
parents:
diff changeset
139 typedef struct _PixmapFolders PixmapFolders;
273
e0e2c2b72c5a reworked the histogram patch by Uwe Ohse, most of the code is in
nadvornik
parents: 212
diff changeset
140 typedef struct _Histogram Histogram;
e0e2c2b72c5a reworked the histogram patch by Uwe Ohse, most of the code is in
nadvornik
parents: 212
diff changeset
141
276
4f526d436873 Implement secure rc file saving.
zas_
parents: 273
diff changeset
142 typedef struct _SecureSaveInfo SecureSaveInfo;
9
d907d608745f Sync to GQview 1.5.9 release.
gqview
parents:
diff changeset
143
318
b16b9b8979e5 Add a new struct ConfOptions to handle options.
zas_
parents: 313
diff changeset
144 typedef struct _ConfOptions ConfOptions;
9
d907d608745f Sync to GQview 1.5.9 release.
gqview
parents:
diff changeset
145
d907d608745f Sync to GQview 1.5.9 release.
gqview
parents:
diff changeset
146 struct _ImageLoader
d907d608745f Sync to GQview 1.5.9 release.
gqview
parents:
diff changeset
147 {
d907d608745f Sync to GQview 1.5.9 release.
gqview
parents:
diff changeset
148 GdkPixbuf *pixbuf;
138
71e1ebee420e replaced gchar* path with FileData *fd
nadvornik
parents: 137
diff changeset
149 FileData *fd;
9
d907d608745f Sync to GQview 1.5.9 release.
gqview
parents:
diff changeset
150 gchar *path;
d907d608745f Sync to GQview 1.5.9 release.
gqview
parents:
diff changeset
151
d907d608745f Sync to GQview 1.5.9 release.
gqview
parents:
diff changeset
152 gint bytes_read;
d907d608745f Sync to GQview 1.5.9 release.
gqview
parents:
diff changeset
153 gint bytes_total;
d907d608745f Sync to GQview 1.5.9 release.
gqview
parents:
diff changeset
154
d907d608745f Sync to GQview 1.5.9 release.
gqview
parents:
diff changeset
155 guint buffer_size;
d907d608745f Sync to GQview 1.5.9 release.
gqview
parents:
diff changeset
156
d907d608745f Sync to GQview 1.5.9 release.
gqview
parents:
diff changeset
157 gint requested_width;
d907d608745f Sync to GQview 1.5.9 release.
gqview
parents:
diff changeset
158 gint requested_height;
14
25335c62cd9b ##### Note: GQview CVS on sourceforge is not always up to date, please use #####
gqview
parents: 12
diff changeset
159 gint shrunk;
9
d907d608745f Sync to GQview 1.5.9 release.
gqview
parents:
diff changeset
160
d907d608745f Sync to GQview 1.5.9 release.
gqview
parents:
diff changeset
161 gint done;
d907d608745f Sync to GQview 1.5.9 release.
gqview
parents:
diff changeset
162 gint idle_id;
d907d608745f Sync to GQview 1.5.9 release.
gqview
parents:
diff changeset
163 gint idle_priority;
d907d608745f Sync to GQview 1.5.9 release.
gqview
parents:
diff changeset
164
d907d608745f Sync to GQview 1.5.9 release.
gqview
parents:
diff changeset
165 GdkPixbufLoader *loader;
d907d608745f Sync to GQview 1.5.9 release.
gqview
parents:
diff changeset
166 gint load_fd;
d907d608745f Sync to GQview 1.5.9 release.
gqview
parents:
diff changeset
167
d907d608745f Sync to GQview 1.5.9 release.
gqview
parents:
diff changeset
168 void (*func_area_ready)(ImageLoader *, guint x, guint y, guint w, guint h, gpointer);
d907d608745f Sync to GQview 1.5.9 release.
gqview
parents:
diff changeset
169 void (*func_error)(ImageLoader *, gpointer);
d907d608745f Sync to GQview 1.5.9 release.
gqview
parents:
diff changeset
170 void (*func_done)(ImageLoader *, gpointer);
d907d608745f Sync to GQview 1.5.9 release.
gqview
parents:
diff changeset
171 void (*func_percent)(ImageLoader *, gdouble, gpointer);
d907d608745f Sync to GQview 1.5.9 release.
gqview
parents:
diff changeset
172
d907d608745f Sync to GQview 1.5.9 release.
gqview
parents:
diff changeset
173 gpointer data_area_ready;
d907d608745f Sync to GQview 1.5.9 release.
gqview
parents:
diff changeset
174 gpointer data_error;
d907d608745f Sync to GQview 1.5.9 release.
gqview
parents:
diff changeset
175 gpointer data_done;
d907d608745f Sync to GQview 1.5.9 release.
gqview
parents:
diff changeset
176 gpointer data_percent;
d907d608745f Sync to GQview 1.5.9 release.
gqview
parents:
diff changeset
177
d907d608745f Sync to GQview 1.5.9 release.
gqview
parents:
diff changeset
178 gint idle_done_id;
d907d608745f Sync to GQview 1.5.9 release.
gqview
parents:
diff changeset
179 };
d907d608745f Sync to GQview 1.5.9 release.
gqview
parents:
diff changeset
180
d907d608745f Sync to GQview 1.5.9 release.
gqview
parents:
diff changeset
181 typedef void (* ThumbLoaderFunc)(ThumbLoader *tl, gpointer data);
d907d608745f Sync to GQview 1.5.9 release.
gqview
parents:
diff changeset
182
d907d608745f Sync to GQview 1.5.9 release.
gqview
parents:
diff changeset
183 struct _ThumbLoader
d907d608745f Sync to GQview 1.5.9 release.
gqview
parents:
diff changeset
184 {
d907d608745f Sync to GQview 1.5.9 release.
gqview
parents:
diff changeset
185 gint standard_loader;
d907d608745f Sync to GQview 1.5.9 release.
gqview
parents:
diff changeset
186
d907d608745f Sync to GQview 1.5.9 release.
gqview
parents:
diff changeset
187 GdkPixbuf *pixbuf; /* contains final (scaled) image when done */
d907d608745f Sync to GQview 1.5.9 release.
gqview
parents:
diff changeset
188 ImageLoader *il;
d907d608745f Sync to GQview 1.5.9 release.
gqview
parents:
diff changeset
189 gchar *path;
d907d608745f Sync to GQview 1.5.9 release.
gqview
parents:
diff changeset
190
d907d608745f Sync to GQview 1.5.9 release.
gqview
parents:
diff changeset
191 gint cache_enable;
d907d608745f Sync to GQview 1.5.9 release.
gqview
parents:
diff changeset
192 gint cache_hit;
d907d608745f Sync to GQview 1.5.9 release.
gqview
parents:
diff changeset
193 gdouble percent_done;
d907d608745f Sync to GQview 1.5.9 release.
gqview
parents:
diff changeset
194
d907d608745f Sync to GQview 1.5.9 release.
gqview
parents:
diff changeset
195 gint max_w;
d907d608745f Sync to GQview 1.5.9 release.
gqview
parents:
diff changeset
196 gint max_h;
d907d608745f Sync to GQview 1.5.9 release.
gqview
parents:
diff changeset
197
d907d608745f Sync to GQview 1.5.9 release.
gqview
parents:
diff changeset
198 ThumbLoaderFunc func_done;
d907d608745f Sync to GQview 1.5.9 release.
gqview
parents:
diff changeset
199 ThumbLoaderFunc func_error;
d907d608745f Sync to GQview 1.5.9 release.
gqview
parents:
diff changeset
200 ThumbLoaderFunc func_progress;
d907d608745f Sync to GQview 1.5.9 release.
gqview
parents:
diff changeset
201
d907d608745f Sync to GQview 1.5.9 release.
gqview
parents:
diff changeset
202 gpointer data;
d907d608745f Sync to GQview 1.5.9 release.
gqview
parents:
diff changeset
203
d907d608745f Sync to GQview 1.5.9 release.
gqview
parents:
diff changeset
204 gint idle_done_id;
d907d608745f Sync to GQview 1.5.9 release.
gqview
parents:
diff changeset
205 };
d907d608745f Sync to GQview 1.5.9 release.
gqview
parents:
diff changeset
206
d907d608745f Sync to GQview 1.5.9 release.
gqview
parents:
diff changeset
207 struct _CollectInfo
d907d608745f Sync to GQview 1.5.9 release.
gqview
parents:
diff changeset
208 {
138
71e1ebee420e replaced gchar* path with FileData *fd
nadvornik
parents: 137
diff changeset
209 FileData *fd;
9
d907d608745f Sync to GQview 1.5.9 release.
gqview
parents:
diff changeset
210 GdkPixbuf *pixbuf;
d907d608745f Sync to GQview 1.5.9 release.
gqview
parents:
diff changeset
211 gint flag_mask;
d907d608745f Sync to GQview 1.5.9 release.
gqview
parents:
diff changeset
212 };
d907d608745f Sync to GQview 1.5.9 release.
gqview
parents:
diff changeset
213
d907d608745f Sync to GQview 1.5.9 release.
gqview
parents:
diff changeset
214 struct _CollectionData
d907d608745f Sync to GQview 1.5.9 release.
gqview
parents:
diff changeset
215 {
d907d608745f Sync to GQview 1.5.9 release.
gqview
parents:
diff changeset
216 gchar *path;
d907d608745f Sync to GQview 1.5.9 release.
gqview
parents:
diff changeset
217 gchar *name;
d907d608745f Sync to GQview 1.5.9 release.
gqview
parents:
diff changeset
218 GList *list;
d907d608745f Sync to GQview 1.5.9 release.
gqview
parents:
diff changeset
219 SortType sort_method;
d907d608745f Sync to GQview 1.5.9 release.
gqview
parents:
diff changeset
220
d907d608745f Sync to GQview 1.5.9 release.
gqview
parents:
diff changeset
221 ThumbLoader *thumb_loader;
d907d608745f Sync to GQview 1.5.9 release.
gqview
parents:
diff changeset
222 CollectInfo *thumb_info;
d907d608745f Sync to GQview 1.5.9 release.
gqview
parents:
diff changeset
223
d907d608745f Sync to GQview 1.5.9 release.
gqview
parents:
diff changeset
224 void (*info_updated_func)(CollectionData *, CollectInfo *, gpointer);
d907d608745f Sync to GQview 1.5.9 release.
gqview
parents:
diff changeset
225 gpointer info_updated_data;
d907d608745f Sync to GQview 1.5.9 release.
gqview
parents:
diff changeset
226
d907d608745f Sync to GQview 1.5.9 release.
gqview
parents:
diff changeset
227 gint ref;
d907d608745f Sync to GQview 1.5.9 release.
gqview
parents:
diff changeset
228
d907d608745f Sync to GQview 1.5.9 release.
gqview
parents:
diff changeset
229 /* geometry */
d907d608745f Sync to GQview 1.5.9 release.
gqview
parents:
diff changeset
230 gint window_read;
d907d608745f Sync to GQview 1.5.9 release.
gqview
parents:
diff changeset
231 gint window_x;
d907d608745f Sync to GQview 1.5.9 release.
gqview
parents:
diff changeset
232 gint window_y;
d907d608745f Sync to GQview 1.5.9 release.
gqview
parents:
diff changeset
233 gint window_w;
d907d608745f Sync to GQview 1.5.9 release.
gqview
parents:
diff changeset
234 gint window_h;
d907d608745f Sync to GQview 1.5.9 release.
gqview
parents:
diff changeset
235
d907d608745f Sync to GQview 1.5.9 release.
gqview
parents:
diff changeset
236 /* contents changed since save flag */
d907d608745f Sync to GQview 1.5.9 release.
gqview
parents:
diff changeset
237 gint changed;
303
6ff0bc50ac46 Prevent multiple insertion of the same file in a collection.
zas_
parents: 290
diff changeset
238
6ff0bc50ac46 Prevent multiple insertion of the same file in a collection.
zas_
parents: 290
diff changeset
239 GHashTable *existence;
9
d907d608745f Sync to GQview 1.5.9 release.
gqview
parents:
diff changeset
240 };
d907d608745f Sync to GQview 1.5.9 release.
gqview
parents:
diff changeset
241
d907d608745f Sync to GQview 1.5.9 release.
gqview
parents:
diff changeset
242 struct _CollectTable
d907d608745f Sync to GQview 1.5.9 release.
gqview
parents:
diff changeset
243 {
d907d608745f Sync to GQview 1.5.9 release.
gqview
parents:
diff changeset
244 GtkWidget *scrolled;
d907d608745f Sync to GQview 1.5.9 release.
gqview
parents:
diff changeset
245 GtkWidget *listview;
d907d608745f Sync to GQview 1.5.9 release.
gqview
parents:
diff changeset
246 gint columns;
d907d608745f Sync to GQview 1.5.9 release.
gqview
parents:
diff changeset
247 gint rows;
d907d608745f Sync to GQview 1.5.9 release.
gqview
parents:
diff changeset
248
d907d608745f Sync to GQview 1.5.9 release.
gqview
parents:
diff changeset
249 CollectionData *cd;
d907d608745f Sync to GQview 1.5.9 release.
gqview
parents:
diff changeset
250
d907d608745f Sync to GQview 1.5.9 release.
gqview
parents:
diff changeset
251 GList *selection;
d907d608745f Sync to GQview 1.5.9 release.
gqview
parents:
diff changeset
252 CollectInfo *prev_selection;
d907d608745f Sync to GQview 1.5.9 release.
gqview
parents:
diff changeset
253
d907d608745f Sync to GQview 1.5.9 release.
gqview
parents:
diff changeset
254 CollectInfo *click_info;
d907d608745f Sync to GQview 1.5.9 release.
gqview
parents:
diff changeset
255
d907d608745f Sync to GQview 1.5.9 release.
gqview
parents:
diff changeset
256 GtkWidget *tip_window;
d907d608745f Sync to GQview 1.5.9 release.
gqview
parents:
diff changeset
257 gint tip_delay_id;
d907d608745f Sync to GQview 1.5.9 release.
gqview
parents:
diff changeset
258 CollectInfo *tip_info;
d907d608745f Sync to GQview 1.5.9 release.
gqview
parents:
diff changeset
259
d907d608745f Sync to GQview 1.5.9 release.
gqview
parents:
diff changeset
260 GdkWindow *marker_window;
d907d608745f Sync to GQview 1.5.9 release.
gqview
parents:
diff changeset
261 CollectInfo *marker_info;
d907d608745f Sync to GQview 1.5.9 release.
gqview
parents:
diff changeset
262
d907d608745f Sync to GQview 1.5.9 release.
gqview
parents:
diff changeset
263 GtkWidget *status_label;
d907d608745f Sync to GQview 1.5.9 release.
gqview
parents:
diff changeset
264 GtkWidget *extra_label;
d907d608745f Sync to GQview 1.5.9 release.
gqview
parents:
diff changeset
265
d907d608745f Sync to GQview 1.5.9 release.
gqview
parents:
diff changeset
266 gint focus_row;
d907d608745f Sync to GQview 1.5.9 release.
gqview
parents:
diff changeset
267 gint focus_column;
d907d608745f Sync to GQview 1.5.9 release.
gqview
parents:
diff changeset
268 CollectInfo *focus_info;
d907d608745f Sync to GQview 1.5.9 release.
gqview
parents:
diff changeset
269
d907d608745f Sync to GQview 1.5.9 release.
gqview
parents:
diff changeset
270 GtkWidget *popup;
d907d608745f Sync to GQview 1.5.9 release.
gqview
parents:
diff changeset
271 CollectInfo *drop_info;
d907d608745f Sync to GQview 1.5.9 release.
gqview
parents:
diff changeset
272 GList *drop_list;
d907d608745f Sync to GQview 1.5.9 release.
gqview
parents:
diff changeset
273
d907d608745f Sync to GQview 1.5.9 release.
gqview
parents:
diff changeset
274 gint sync_idle_id;
d907d608745f Sync to GQview 1.5.9 release.
gqview
parents:
diff changeset
275 gint drop_idle_id;
d907d608745f Sync to GQview 1.5.9 release.
gqview
parents:
diff changeset
276
d907d608745f Sync to GQview 1.5.9 release.
gqview
parents:
diff changeset
277 gint show_text;
d907d608745f Sync to GQview 1.5.9 release.
gqview
parents:
diff changeset
278 };
d907d608745f Sync to GQview 1.5.9 release.
gqview
parents:
diff changeset
279
d907d608745f Sync to GQview 1.5.9 release.
gqview
parents:
diff changeset
280 struct _CollectWindow
d907d608745f Sync to GQview 1.5.9 release.
gqview
parents:
diff changeset
281 {
d907d608745f Sync to GQview 1.5.9 release.
gqview
parents:
diff changeset
282 GtkWidget *window;
d907d608745f Sync to GQview 1.5.9 release.
gqview
parents:
diff changeset
283 CollectTable *table;
d907d608745f Sync to GQview 1.5.9 release.
gqview
parents:
diff changeset
284 GtkWidget *status_box;
d907d608745f Sync to GQview 1.5.9 release.
gqview
parents:
diff changeset
285 GList *list;
d907d608745f Sync to GQview 1.5.9 release.
gqview
parents:
diff changeset
286
d907d608745f Sync to GQview 1.5.9 release.
gqview
parents:
diff changeset
287 GtkWidget *close_dialog;
d907d608745f Sync to GQview 1.5.9 release.
gqview
parents:
diff changeset
288
d907d608745f Sync to GQview 1.5.9 release.
gqview
parents:
diff changeset
289 CollectionData *cd;
d907d608745f Sync to GQview 1.5.9 release.
gqview
parents:
diff changeset
290 };
d907d608745f Sync to GQview 1.5.9 release.
gqview
parents:
diff changeset
291
12
147f4c4b9025 ##### Note: GQview CVS on sourceforge is not always up to date, please use #####
gqview
parents: 9
diff changeset
292 typedef gint (* ImageTileRequestFunc)(ImageWindow *imd, gint x, gint y,
147f4c4b9025 ##### Note: GQview CVS on sourceforge is not always up to date, please use #####
gqview
parents: 9
diff changeset
293 gint width, gint height, GdkPixbuf *pixbuf, gpointer);
147f4c4b9025 ##### Note: GQview CVS on sourceforge is not always up to date, please use #####
gqview
parents: 9
diff changeset
294 typedef void (* ImageTileDisposeFunc)(ImageWindow *imd, gint x, gint y,
147f4c4b9025 ##### Note: GQview CVS on sourceforge is not always up to date, please use #####
gqview
parents: 9
diff changeset
295 gint width, gint height, GdkPixbuf *pixbuf, gpointer);
147f4c4b9025 ##### Note: GQview CVS on sourceforge is not always up to date, please use #####
gqview
parents: 9
diff changeset
296
9
d907d608745f Sync to GQview 1.5.9 release.
gqview
parents:
diff changeset
297 struct _ImageWindow
d907d608745f Sync to GQview 1.5.9 release.
gqview
parents:
diff changeset
298 {
d907d608745f Sync to GQview 1.5.9 release.
gqview
parents:
diff changeset
299 GtkWidget *widget; /* use this to add it and show it */
23
17acca639a86 ##### Note: GQview CVS on sourceforge is not always up to date, please use #####
gqview
parents: 14
diff changeset
300 GtkWidget *pr;
17acca639a86 ##### Note: GQview CVS on sourceforge is not always up to date, please use #####
gqview
parents: 14
diff changeset
301 GtkWidget *frame;
9
d907d608745f Sync to GQview 1.5.9 release.
gqview
parents:
diff changeset
302
138
71e1ebee420e replaced gchar* path with FileData *fd
nadvornik
parents: 137
diff changeset
303 FileData *image_fd;
9
d907d608745f Sync to GQview 1.5.9 release.
gqview
parents:
diff changeset
304
d907d608745f Sync to GQview 1.5.9 release.
gqview
parents:
diff changeset
305 gint64 size; /* file size (bytes) */
d907d608745f Sync to GQview 1.5.9 release.
gqview
parents:
diff changeset
306 time_t mtime; /* file modified time stamp */
d907d608745f Sync to GQview 1.5.9 release.
gqview
parents:
diff changeset
307 gint unknown; /* failed to load image */
d907d608745f Sync to GQview 1.5.9 release.
gqview
parents:
diff changeset
308
d907d608745f Sync to GQview 1.5.9 release.
gqview
parents:
diff changeset
309 ImageLoader *il;
d907d608745f Sync to GQview 1.5.9 release.
gqview
parents:
diff changeset
310
d907d608745f Sync to GQview 1.5.9 release.
gqview
parents:
diff changeset
311 gint has_frame;
d907d608745f Sync to GQview 1.5.9 release.
gqview
parents:
diff changeset
312
d907d608745f Sync to GQview 1.5.9 release.
gqview
parents:
diff changeset
313 /* top level (not necessarily parent) window */
23
17acca639a86 ##### Note: GQview CVS on sourceforge is not always up to date, please use #####
gqview
parents: 14
diff changeset
314 gint top_window_sync; /* resize top_window when image dimensions change */
9
d907d608745f Sync to GQview 1.5.9 release.
gqview
parents:
diff changeset
315 GtkWidget *top_window; /* window that gets title, and window to resize when 'fitting' */
d907d608745f Sync to GQview 1.5.9 release.
gqview
parents:
diff changeset
316 gchar *title; /* window title to display left of file name */
d907d608745f Sync to GQview 1.5.9 release.
gqview
parents:
diff changeset
317 gchar *title_right; /* window title to display right of file name */
d907d608745f Sync to GQview 1.5.9 release.
gqview
parents:
diff changeset
318 gint title_show_zoom; /* option to include zoom in window title */
d907d608745f Sync to GQview 1.5.9 release.
gqview
parents:
diff changeset
319
d907d608745f Sync to GQview 1.5.9 release.
gqview
parents:
diff changeset
320 gint completed;
113
55166d93498d Fri Nov 24 21:37:01 2006 John Ellis <johne@verizon.net>
gqview
parents: 82
diff changeset
321 ImageState state; /* mask of IMAGE_STATE_* flags about current image */
9
d907d608745f Sync to GQview 1.5.9 release.
gqview
parents:
diff changeset
322
117
0c2e1f0a001b Wed Nov 29 14:28:30 2006 John Ellis <johne@verizon.net>
gqview
parents: 115
diff changeset
323 void (*func_update)(ImageWindow *imd, gpointer data);
0c2e1f0a001b Wed Nov 29 14:28:30 2006 John Ellis <johne@verizon.net>
gqview
parents: 115
diff changeset
324 void (*func_complete)(ImageWindow *imd, gint preload, gpointer data);
0c2e1f0a001b Wed Nov 29 14:28:30 2006 John Ellis <johne@verizon.net>
gqview
parents: 115
diff changeset
325 void (*func_state)(ImageWindow *imd, ImageState state, gpointer data);
12
147f4c4b9025 ##### Note: GQview CVS on sourceforge is not always up to date, please use #####
gqview
parents: 9
diff changeset
326 ImageTileRequestFunc func_tile_request;
147f4c4b9025 ##### Note: GQview CVS on sourceforge is not always up to date, please use #####
gqview
parents: 9
diff changeset
327 ImageTileDisposeFunc func_tile_dispose;
9
d907d608745f Sync to GQview 1.5.9 release.
gqview
parents:
diff changeset
328
d907d608745f Sync to GQview 1.5.9 release.
gqview
parents:
diff changeset
329 gpointer data_update;
d907d608745f Sync to GQview 1.5.9 release.
gqview
parents:
diff changeset
330 gpointer data_complete;
117
0c2e1f0a001b Wed Nov 29 14:28:30 2006 John Ellis <johne@verizon.net>
gqview
parents: 115
diff changeset
331 gpointer data_state;
12
147f4c4b9025 ##### Note: GQview CVS on sourceforge is not always up to date, please use #####
gqview
parents: 9
diff changeset
332 gpointer data_tile;
9
d907d608745f Sync to GQview 1.5.9 release.
gqview
parents:
diff changeset
333
d907d608745f Sync to GQview 1.5.9 release.
gqview
parents:
diff changeset
334 /* button, scroll functions */
d907d608745f Sync to GQview 1.5.9 release.
gqview
parents:
diff changeset
335 void (*func_button)(ImageWindow *, gint button,
d907d608745f Sync to GQview 1.5.9 release.
gqview
parents:
diff changeset
336 guint32 time, gdouble x, gdouble y, guint state, gpointer);
128
98e2632b5d3d improved connected scroll and active image switching
nadvornik
parents: 127
diff changeset
337 void (*func_drag)(ImageWindow *, gint button,
98e2632b5d3d improved connected scroll and active image switching
nadvornik
parents: 127
diff changeset
338 guint32 time, gdouble x, gdouble y, guint state, gdouble dx, gdouble dy,gpointer);
9
d907d608745f Sync to GQview 1.5.9 release.
gqview
parents:
diff changeset
339 void (*func_scroll)(ImageWindow *, GdkScrollDirection direction,
d907d608745f Sync to GQview 1.5.9 release.
gqview
parents:
diff changeset
340 guint32 time, gdouble x, gdouble y, guint state, gpointer);
d907d608745f Sync to GQview 1.5.9 release.
gqview
parents:
diff changeset
341
d907d608745f Sync to GQview 1.5.9 release.
gqview
parents:
diff changeset
342 gpointer data_button;
128
98e2632b5d3d improved connected scroll and active image switching
nadvornik
parents: 127
diff changeset
343 gpointer data_drag;
9
d907d608745f Sync to GQview 1.5.9 release.
gqview
parents:
diff changeset
344 gpointer data_scroll;
d907d608745f Sync to GQview 1.5.9 release.
gqview
parents:
diff changeset
345
12
147f4c4b9025 ##### Note: GQview CVS on sourceforge is not always up to date, please use #####
gqview
parents: 9
diff changeset
346 /* scroll notification (for scroll bar implementation) */
147f4c4b9025 ##### Note: GQview CVS on sourceforge is not always up to date, please use #####
gqview
parents: 9
diff changeset
347 void (*func_scroll_notify)(ImageWindow *, gint x, gint y, gint width, gint height, gpointer);
147f4c4b9025 ##### Note: GQview CVS on sourceforge is not always up to date, please use #####
gqview
parents: 9
diff changeset
348
147f4c4b9025 ##### Note: GQview CVS on sourceforge is not always up to date, please use #####
gqview
parents: 9
diff changeset
349 gpointer data_scroll_notify;
147f4c4b9025 ##### Note: GQview CVS on sourceforge is not always up to date, please use #####
gqview
parents: 9
diff changeset
350
9
d907d608745f Sync to GQview 1.5.9 release.
gqview
parents:
diff changeset
351 /* collection info */
d907d608745f Sync to GQview 1.5.9 release.
gqview
parents:
diff changeset
352 CollectionData *collection;
d907d608745f Sync to GQview 1.5.9 release.
gqview
parents:
diff changeset
353 CollectInfo *collection_info;
d907d608745f Sync to GQview 1.5.9 release.
gqview
parents:
diff changeset
354
113
55166d93498d Fri Nov 24 21:37:01 2006 John Ellis <johne@verizon.net>
gqview
parents: 82
diff changeset
355 /* color profiles */
55166d93498d Fri Nov 24 21:37:01 2006 John Ellis <johne@verizon.net>
gqview
parents: 82
diff changeset
356 gint color_profile_enable;
55166d93498d Fri Nov 24 21:37:01 2006 John Ellis <johne@verizon.net>
gqview
parents: 82
diff changeset
357 gint color_profile_input;
55166d93498d Fri Nov 24 21:37:01 2006 John Ellis <johne@verizon.net>
gqview
parents: 82
diff changeset
358 gint color_profile_screen;
55166d93498d Fri Nov 24 21:37:01 2006 John Ellis <johne@verizon.net>
gqview
parents: 82
diff changeset
359 gint color_profile_use_image;
115
53b2bfdcff69 Tue Nov 28 11:54:30 2006 John Ellis <johne@verizon.net>
gqview
parents: 113
diff changeset
360 gpointer cm;
113
55166d93498d Fri Nov 24 21:37:01 2006 John Ellis <johne@verizon.net>
gqview
parents: 82
diff changeset
361
9
d907d608745f Sync to GQview 1.5.9 release.
gqview
parents:
diff changeset
362 AlterType delay_alter_type;
d907d608745f Sync to GQview 1.5.9 release.
gqview
parents:
diff changeset
363
d907d608745f Sync to GQview 1.5.9 release.
gqview
parents:
diff changeset
364 ImageLoader *read_ahead_il;
d907d608745f Sync to GQview 1.5.9 release.
gqview
parents:
diff changeset
365 GdkPixbuf *read_ahead_pixbuf;
138
71e1ebee420e replaced gchar* path with FileData *fd
nadvornik
parents: 137
diff changeset
366 FileData *read_ahead_fd;
9
d907d608745f Sync to GQview 1.5.9 release.
gqview
parents:
diff changeset
367
d907d608745f Sync to GQview 1.5.9 release.
gqview
parents:
diff changeset
368 GdkPixbuf *prev_pixbuf;
138
71e1ebee420e replaced gchar* path with FileData *fd
nadvornik
parents: 137
diff changeset
369 FileData *prev_fd;
113
55166d93498d Fri Nov 24 21:37:01 2006 John Ellis <johne@verizon.net>
gqview
parents: 82
diff changeset
370 gint prev_color_row;
9
d907d608745f Sync to GQview 1.5.9 release.
gqview
parents:
diff changeset
371
d907d608745f Sync to GQview 1.5.9 release.
gqview
parents:
diff changeset
372 gint auto_refresh_id;
d907d608745f Sync to GQview 1.5.9 release.
gqview
parents:
diff changeset
373 gint auto_refresh_interval;
d907d608745f Sync to GQview 1.5.9 release.
gqview
parents:
diff changeset
374
d907d608745f Sync to GQview 1.5.9 release.
gqview
parents:
diff changeset
375 gint delay_flip;
d907d608745f Sync to GQview 1.5.9 release.
gqview
parents:
diff changeset
376 };
d907d608745f Sync to GQview 1.5.9 release.
gqview
parents:
diff changeset
377
149
f0c79a514c06 marks: fixes and cleanup
nadvornik
parents: 143
diff changeset
378 #define FILEDATA_MARKS_SIZE 6
132
661cd91e5a7e First implementation of marks for all photos.
bruclik
parents: 128
diff changeset
379
138
71e1ebee420e replaced gchar* path with FileData *fd
nadvornik
parents: 137
diff changeset
380 struct _FileDataChangeInfo {
143
0d1bf3ac6cd8 improved FileDataChangeInfo structure, check for another file operation in progress
nadvornik
parents: 141
diff changeset
381 FileDataChangeType type;
138
71e1ebee420e replaced gchar* path with FileData *fd
nadvornik
parents: 137
diff changeset
382 gchar *source;
71e1ebee420e replaced gchar* path with FileData *fd
nadvornik
parents: 137
diff changeset
383 gchar *dest;
71e1ebee420e replaced gchar* path with FileData *fd
nadvornik
parents: 137
diff changeset
384 };
137
be3328a58875 started support for sidecar files like xmp, raw+jpeg etc.
nadvornik
parents: 134
diff changeset
385
be3328a58875 started support for sidecar files like xmp, raw+jpeg etc.
nadvornik
parents: 134
diff changeset
386 struct _FileData {
138
71e1ebee420e replaced gchar* path with FileData *fd
nadvornik
parents: 137
diff changeset
387 gint magick;
137
be3328a58875 started support for sidecar files like xmp, raw+jpeg etc.
nadvornik
parents: 134
diff changeset
388 gint type;
138
71e1ebee420e replaced gchar* path with FileData *fd
nadvornik
parents: 137
diff changeset
389 gchar *original_path; /* key to file_data_pool hash table */
137
be3328a58875 started support for sidecar files like xmp, raw+jpeg etc.
nadvornik
parents: 134
diff changeset
390 gchar *path;
be3328a58875 started support for sidecar files like xmp, raw+jpeg etc.
nadvornik
parents: 134
diff changeset
391 const gchar *name;
be3328a58875 started support for sidecar files like xmp, raw+jpeg etc.
nadvornik
parents: 134
diff changeset
392 const gchar *extension;
be3328a58875 started support for sidecar files like xmp, raw+jpeg etc.
nadvornik
parents: 134
diff changeset
393 gint64 size;
be3328a58875 started support for sidecar files like xmp, raw+jpeg etc.
nadvornik
parents: 134
diff changeset
394 time_t date;
be3328a58875 started support for sidecar files like xmp, raw+jpeg etc.
nadvornik
parents: 134
diff changeset
395 gboolean marks[FILEDATA_MARKS_SIZE];
be3328a58875 started support for sidecar files like xmp, raw+jpeg etc.
nadvornik
parents: 134
diff changeset
396 GList *sidecar_files;
141
bdc16027fa6f use FileData even for sidecar file list
nadvornik
parents: 138
diff changeset
397 FileData *parent; /* parent file if this is a sidecar file, NULL otherwise */
138
71e1ebee420e replaced gchar* path with FileData *fd
nadvornik
parents: 137
diff changeset
398 FileDataChangeInfo *change; /* for rename, move ... */
9
d907d608745f Sync to GQview 1.5.9 release.
gqview
parents:
diff changeset
399 GdkPixbuf *pixbuf;
138
71e1ebee420e replaced gchar* path with FileData *fd
nadvornik
parents: 137
diff changeset
400 gint ref;
9
d907d608745f Sync to GQview 1.5.9 release.
gqview
parents:
diff changeset
401 };
d907d608745f Sync to GQview 1.5.9 release.
gqview
parents:
diff changeset
402
d907d608745f Sync to GQview 1.5.9 release.
gqview
parents:
diff changeset
403 struct _LayoutWindow
d907d608745f Sync to GQview 1.5.9 release.
gqview
parents:
diff changeset
404 {
d907d608745f Sync to GQview 1.5.9 release.
gqview
parents:
diff changeset
405 gchar *path;
d907d608745f Sync to GQview 1.5.9 release.
gqview
parents:
diff changeset
406
d907d608745f Sync to GQview 1.5.9 release.
gqview
parents:
diff changeset
407 /* base */
d907d608745f Sync to GQview 1.5.9 release.
gqview
parents:
diff changeset
408
d907d608745f Sync to GQview 1.5.9 release.
gqview
parents:
diff changeset
409 GtkWidget *window;
d907d608745f Sync to GQview 1.5.9 release.
gqview
parents:
diff changeset
410
d907d608745f Sync to GQview 1.5.9 release.
gqview
parents:
diff changeset
411 GtkWidget *main_box;
d907d608745f Sync to GQview 1.5.9 release.
gqview
parents:
diff changeset
412
d907d608745f Sync to GQview 1.5.9 release.
gqview
parents:
diff changeset
413 GtkWidget *group_box;
d907d608745f Sync to GQview 1.5.9 release.
gqview
parents:
diff changeset
414 GtkWidget *h_pane;
d907d608745f Sync to GQview 1.5.9 release.
gqview
parents:
diff changeset
415 GtkWidget *v_pane;
d907d608745f Sync to GQview 1.5.9 release.
gqview
parents:
diff changeset
416
d907d608745f Sync to GQview 1.5.9 release.
gqview
parents:
diff changeset
417 /* menus, path selector */
d907d608745f Sync to GQview 1.5.9 release.
gqview
parents:
diff changeset
418
d907d608745f Sync to GQview 1.5.9 release.
gqview
parents:
diff changeset
419 GtkActionGroup *action_group;
d907d608745f Sync to GQview 1.5.9 release.
gqview
parents:
diff changeset
420 GtkUIManager *ui_manager;
d907d608745f Sync to GQview 1.5.9 release.
gqview
parents:
diff changeset
421
d907d608745f Sync to GQview 1.5.9 release.
gqview
parents:
diff changeset
422 GtkWidget *path_entry;
d907d608745f Sync to GQview 1.5.9 release.
gqview
parents:
diff changeset
423
d907d608745f Sync to GQview 1.5.9 release.
gqview
parents:
diff changeset
424 /* image */
d907d608745f Sync to GQview 1.5.9 release.
gqview
parents:
diff changeset
425
d907d608745f Sync to GQview 1.5.9 release.
gqview
parents:
diff changeset
426 LayoutLocation image_location;
d907d608745f Sync to GQview 1.5.9 release.
gqview
parents:
diff changeset
427
d907d608745f Sync to GQview 1.5.9 release.
gqview
parents:
diff changeset
428 ImageWindow *image;
d907d608745f Sync to GQview 1.5.9 release.
gqview
parents:
diff changeset
429
127
271afad04d07 implemented split windows
nadvornik
parents: 122
diff changeset
430 ImageWindow *split_images[MAX_SPLIT_IMAGES];
271afad04d07 implemented split windows
nadvornik
parents: 122
diff changeset
431 ImageSplitMode split_mode;
271afad04d07 implemented split windows
nadvornik
parents: 122
diff changeset
432 gint active_split_image;
271afad04d07 implemented split windows
nadvornik
parents: 122
diff changeset
433
271afad04d07 implemented split windows
nadvornik
parents: 122
diff changeset
434 GtkWidget *split_image_widget;
271afad04d07 implemented split windows
nadvornik
parents: 122
diff changeset
435
271afad04d07 implemented split windows
nadvornik
parents: 122
diff changeset
436 gint connect_zoom, connect_scroll;
271afad04d07 implemented split windows
nadvornik
parents: 122
diff changeset
437
9
d907d608745f Sync to GQview 1.5.9 release.
gqview
parents:
diff changeset
438 /* tools window (float) */
d907d608745f Sync to GQview 1.5.9 release.
gqview
parents:
diff changeset
439
d907d608745f Sync to GQview 1.5.9 release.
gqview
parents:
diff changeset
440 GtkWidget *tools;
d907d608745f Sync to GQview 1.5.9 release.
gqview
parents:
diff changeset
441 GtkWidget *tools_pane;
d907d608745f Sync to GQview 1.5.9 release.
gqview
parents:
diff changeset
442
d907d608745f Sync to GQview 1.5.9 release.
gqview
parents:
diff changeset
443 gint tools_float;
d907d608745f Sync to GQview 1.5.9 release.
gqview
parents:
diff changeset
444 gint tools_hidden;
d907d608745f Sync to GQview 1.5.9 release.
gqview
parents:
diff changeset
445
d907d608745f Sync to GQview 1.5.9 release.
gqview
parents:
diff changeset
446 /* toolbar */
d907d608745f Sync to GQview 1.5.9 release.
gqview
parents:
diff changeset
447
d907d608745f Sync to GQview 1.5.9 release.
gqview
parents:
diff changeset
448 GtkWidget *toolbar;
d907d608745f Sync to GQview 1.5.9 release.
gqview
parents:
diff changeset
449 gint toolbar_hidden;
d907d608745f Sync to GQview 1.5.9 release.
gqview
parents:
diff changeset
450
d907d608745f Sync to GQview 1.5.9 release.
gqview
parents:
diff changeset
451 GtkWidget *thumb_button;
d907d608745f Sync to GQview 1.5.9 release.
gqview
parents:
diff changeset
452 gint thumbs_enabled;
137
be3328a58875 started support for sidecar files like xmp, raw+jpeg etc.
nadvornik
parents: 134
diff changeset
453 gint marks_enabled;
132
661cd91e5a7e First implementation of marks for all photos.
bruclik
parents: 128
diff changeset
454
9
d907d608745f Sync to GQview 1.5.9 release.
gqview
parents:
diff changeset
455 /* dir view */
d907d608745f Sync to GQview 1.5.9 release.
gqview
parents:
diff changeset
456
d907d608745f Sync to GQview 1.5.9 release.
gqview
parents:
diff changeset
457 LayoutLocation dir_location;
d907d608745f Sync to GQview 1.5.9 release.
gqview
parents:
diff changeset
458
d907d608745f Sync to GQview 1.5.9 release.
gqview
parents:
diff changeset
459 ViewDirList *vdl;
d907d608745f Sync to GQview 1.5.9 release.
gqview
parents:
diff changeset
460 ViewDirTree *vdt;
d907d608745f Sync to GQview 1.5.9 release.
gqview
parents:
diff changeset
461 GtkWidget *dir_view;
d907d608745f Sync to GQview 1.5.9 release.
gqview
parents:
diff changeset
462
d907d608745f Sync to GQview 1.5.9 release.
gqview
parents:
diff changeset
463 gint tree_view;
d907d608745f Sync to GQview 1.5.9 release.
gqview
parents:
diff changeset
464
d907d608745f Sync to GQview 1.5.9 release.
gqview
parents:
diff changeset
465 /* file view */
d907d608745f Sync to GQview 1.5.9 release.
gqview
parents:
diff changeset
466
d907d608745f Sync to GQview 1.5.9 release.
gqview
parents:
diff changeset
467 LayoutLocation file_location;
d907d608745f Sync to GQview 1.5.9 release.
gqview
parents:
diff changeset
468
d907d608745f Sync to GQview 1.5.9 release.
gqview
parents:
diff changeset
469 ViewFileList *vfl;
d907d608745f Sync to GQview 1.5.9 release.
gqview
parents:
diff changeset
470 ViewFileIcon *vfi;
d907d608745f Sync to GQview 1.5.9 release.
gqview
parents:
diff changeset
471 GtkWidget *file_view;
d907d608745f Sync to GQview 1.5.9 release.
gqview
parents:
diff changeset
472
d907d608745f Sync to GQview 1.5.9 release.
gqview
parents:
diff changeset
473 gint icon_view;
d907d608745f Sync to GQview 1.5.9 release.
gqview
parents:
diff changeset
474 SortType sort_method;
d907d608745f Sync to GQview 1.5.9 release.
gqview
parents:
diff changeset
475 gint sort_ascend;
d907d608745f Sync to GQview 1.5.9 release.
gqview
parents:
diff changeset
476
d907d608745f Sync to GQview 1.5.9 release.
gqview
parents:
diff changeset
477 /* status bar */
d907d608745f Sync to GQview 1.5.9 release.
gqview
parents:
diff changeset
478
d907d608745f Sync to GQview 1.5.9 release.
gqview
parents:
diff changeset
479 GtkWidget *info_box;
d907d608745f Sync to GQview 1.5.9 release.
gqview
parents:
diff changeset
480 GtkWidget *info_progress_bar;
d907d608745f Sync to GQview 1.5.9 release.
gqview
parents:
diff changeset
481 GtkWidget *info_sort;
113
55166d93498d Fri Nov 24 21:37:01 2006 John Ellis <johne@verizon.net>
gqview
parents: 82
diff changeset
482 GtkWidget *info_color;
9
d907d608745f Sync to GQview 1.5.9 release.
gqview
parents:
diff changeset
483 GtkWidget *info_status;
d907d608745f Sync to GQview 1.5.9 release.
gqview
parents:
diff changeset
484 GtkWidget *info_details;
d907d608745f Sync to GQview 1.5.9 release.
gqview
parents:
diff changeset
485 GtkWidget *info_zoom;
d907d608745f Sync to GQview 1.5.9 release.
gqview
parents:
diff changeset
486
d907d608745f Sync to GQview 1.5.9 release.
gqview
parents:
diff changeset
487 /* slide show */
d907d608745f Sync to GQview 1.5.9 release.
gqview
parents:
diff changeset
488
d907d608745f Sync to GQview 1.5.9 release.
gqview
parents:
diff changeset
489 SlideShowData *slideshow;
d907d608745f Sync to GQview 1.5.9 release.
gqview
parents:
diff changeset
490
d907d608745f Sync to GQview 1.5.9 release.
gqview
parents:
diff changeset
491 /* full screen */
d907d608745f Sync to GQview 1.5.9 release.
gqview
parents:
diff changeset
492
d907d608745f Sync to GQview 1.5.9 release.
gqview
parents:
diff changeset
493 FullScreenData *full_screen;
d907d608745f Sync to GQview 1.5.9 release.
gqview
parents:
diff changeset
494
d907d608745f Sync to GQview 1.5.9 release.
gqview
parents:
diff changeset
495 /* dividers */
d907d608745f Sync to GQview 1.5.9 release.
gqview
parents:
diff changeset
496
d907d608745f Sync to GQview 1.5.9 release.
gqview
parents:
diff changeset
497 gint div_h;
d907d608745f Sync to GQview 1.5.9 release.
gqview
parents:
diff changeset
498 gint div_v;
d907d608745f Sync to GQview 1.5.9 release.
gqview
parents:
diff changeset
499 gint div_float;
d907d608745f Sync to GQview 1.5.9 release.
gqview
parents:
diff changeset
500
d907d608745f Sync to GQview 1.5.9 release.
gqview
parents:
diff changeset
501 /* directory update check */
d907d608745f Sync to GQview 1.5.9 release.
gqview
parents:
diff changeset
502
d907d608745f Sync to GQview 1.5.9 release.
gqview
parents:
diff changeset
503 gint last_time_id;
d907d608745f Sync to GQview 1.5.9 release.
gqview
parents:
diff changeset
504 time_t last_time;
d907d608745f Sync to GQview 1.5.9 release.
gqview
parents:
diff changeset
505
d907d608745f Sync to GQview 1.5.9 release.
gqview
parents:
diff changeset
506 /* misc */
d907d608745f Sync to GQview 1.5.9 release.
gqview
parents:
diff changeset
507
d907d608745f Sync to GQview 1.5.9 release.
gqview
parents:
diff changeset
508 GtkWidget *utility_box;
d907d608745f Sync to GQview 1.5.9 release.
gqview
parents:
diff changeset
509 GtkWidget *bar_sort;
d907d608745f Sync to GQview 1.5.9 release.
gqview
parents:
diff changeset
510 GtkWidget *bar_exif;
d907d608745f Sync to GQview 1.5.9 release.
gqview
parents:
diff changeset
511 GtkWidget *bar_info;
d907d608745f Sync to GQview 1.5.9 release.
gqview
parents:
diff changeset
512
273
e0e2c2b72c5a reworked the histogram patch by Uwe Ohse, most of the code is in
nadvornik
parents: 212
diff changeset
513 gint histogram_enabled;
e0e2c2b72c5a reworked the histogram patch by Uwe Ohse, most of the code is in
nadvornik
parents: 212
diff changeset
514 Histogram *histogram;
e0e2c2b72c5a reworked the histogram patch by Uwe Ohse, most of the code is in
nadvornik
parents: 212
diff changeset
515
9
d907d608745f Sync to GQview 1.5.9 release.
gqview
parents:
diff changeset
516 gint bar_sort_enabled;
d907d608745f Sync to GQview 1.5.9 release.
gqview
parents:
diff changeset
517 gint bar_exif_enabled;
d907d608745f Sync to GQview 1.5.9 release.
gqview
parents:
diff changeset
518 gint bar_info_enabled;
d907d608745f Sync to GQview 1.5.9 release.
gqview
parents:
diff changeset
519
d907d608745f Sync to GQview 1.5.9 release.
gqview
parents:
diff changeset
520 gint bar_exif_size;
d907d608745f Sync to GQview 1.5.9 release.
gqview
parents:
diff changeset
521 gint bar_exif_advanced;
d907d608745f Sync to GQview 1.5.9 release.
gqview
parents:
diff changeset
522 };
d907d608745f Sync to GQview 1.5.9 release.
gqview
parents:
diff changeset
523
d907d608745f Sync to GQview 1.5.9 release.
gqview
parents:
diff changeset
524 struct _ViewDirList
d907d608745f Sync to GQview 1.5.9 release.
gqview
parents:
diff changeset
525 {
d907d608745f Sync to GQview 1.5.9 release.
gqview
parents:
diff changeset
526 GtkWidget *widget;
d907d608745f Sync to GQview 1.5.9 release.
gqview
parents:
diff changeset
527 GtkWidget *listview;
d907d608745f Sync to GQview 1.5.9 release.
gqview
parents:
diff changeset
528
d907d608745f Sync to GQview 1.5.9 release.
gqview
parents:
diff changeset
529 gchar *path;
d907d608745f Sync to GQview 1.5.9 release.
gqview
parents:
diff changeset
530 GList *list;
d907d608745f Sync to GQview 1.5.9 release.
gqview
parents:
diff changeset
531
d907d608745f Sync to GQview 1.5.9 release.
gqview
parents:
diff changeset
532 FileData *click_fd;
d907d608745f Sync to GQview 1.5.9 release.
gqview
parents:
diff changeset
533
d907d608745f Sync to GQview 1.5.9 release.
gqview
parents:
diff changeset
534 FileData *drop_fd;
d907d608745f Sync to GQview 1.5.9 release.
gqview
parents:
diff changeset
535 GList *drop_list;
d907d608745f Sync to GQview 1.5.9 release.
gqview
parents:
diff changeset
536
d907d608745f Sync to GQview 1.5.9 release.
gqview
parents:
diff changeset
537 gint drop_scroll_id;
d907d608745f Sync to GQview 1.5.9 release.
gqview
parents:
diff changeset
538
d907d608745f Sync to GQview 1.5.9 release.
gqview
parents:
diff changeset
539 /* func list */
d907d608745f Sync to GQview 1.5.9 release.
gqview
parents:
diff changeset
540 void (*select_func)(ViewDirList *vdl, const gchar *path, gpointer data);
d907d608745f Sync to GQview 1.5.9 release.
gqview
parents:
diff changeset
541 gpointer select_data;
d907d608745f Sync to GQview 1.5.9 release.
gqview
parents:
diff changeset
542
d907d608745f Sync to GQview 1.5.9 release.
gqview
parents:
diff changeset
543 LayoutWindow *layout;
d907d608745f Sync to GQview 1.5.9 release.
gqview
parents:
diff changeset
544
d907d608745f Sync to GQview 1.5.9 release.
gqview
parents:
diff changeset
545 GtkWidget *popup;
d907d608745f Sync to GQview 1.5.9 release.
gqview
parents:
diff changeset
546
d907d608745f Sync to GQview 1.5.9 release.
gqview
parents:
diff changeset
547 PixmapFolders *pf;
d907d608745f Sync to GQview 1.5.9 release.
gqview
parents:
diff changeset
548 };
d907d608745f Sync to GQview 1.5.9 release.
gqview
parents:
diff changeset
549
d907d608745f Sync to GQview 1.5.9 release.
gqview
parents:
diff changeset
550 struct _ViewDirTree
d907d608745f Sync to GQview 1.5.9 release.
gqview
parents:
diff changeset
551 {
d907d608745f Sync to GQview 1.5.9 release.
gqview
parents:
diff changeset
552 GtkWidget *widget;
d907d608745f Sync to GQview 1.5.9 release.
gqview
parents:
diff changeset
553 GtkWidget *treeview;
d907d608745f Sync to GQview 1.5.9 release.
gqview
parents:
diff changeset
554
d907d608745f Sync to GQview 1.5.9 release.
gqview
parents:
diff changeset
555 gchar *path;
d907d608745f Sync to GQview 1.5.9 release.
gqview
parents:
diff changeset
556
d907d608745f Sync to GQview 1.5.9 release.
gqview
parents:
diff changeset
557 FileData *click_fd;
d907d608745f Sync to GQview 1.5.9 release.
gqview
parents:
diff changeset
558
d907d608745f Sync to GQview 1.5.9 release.
gqview
parents:
diff changeset
559 FileData *drop_fd;
d907d608745f Sync to GQview 1.5.9 release.
gqview
parents:
diff changeset
560 GList *drop_list;
d907d608745f Sync to GQview 1.5.9 release.
gqview
parents:
diff changeset
561
d907d608745f Sync to GQview 1.5.9 release.
gqview
parents:
diff changeset
562 gint drop_scroll_id;
d907d608745f Sync to GQview 1.5.9 release.
gqview
parents:
diff changeset
563 gint drop_expand_id;
d907d608745f Sync to GQview 1.5.9 release.
gqview
parents:
diff changeset
564
d907d608745f Sync to GQview 1.5.9 release.
gqview
parents:
diff changeset
565 /* func list */
d907d608745f Sync to GQview 1.5.9 release.
gqview
parents:
diff changeset
566 void (*select_func)(ViewDirTree *vdt, const gchar *path, gpointer data);
d907d608745f Sync to GQview 1.5.9 release.
gqview
parents:
diff changeset
567 gpointer select_data;
d907d608745f Sync to GQview 1.5.9 release.
gqview
parents:
diff changeset
568
d907d608745f Sync to GQview 1.5.9 release.
gqview
parents:
diff changeset
569 LayoutWindow *layout;
d907d608745f Sync to GQview 1.5.9 release.
gqview
parents:
diff changeset
570
d907d608745f Sync to GQview 1.5.9 release.
gqview
parents:
diff changeset
571 GtkWidget *popup;
d907d608745f Sync to GQview 1.5.9 release.
gqview
parents:
diff changeset
572
d907d608745f Sync to GQview 1.5.9 release.
gqview
parents:
diff changeset
573 PixmapFolders *pf;
d907d608745f Sync to GQview 1.5.9 release.
gqview
parents:
diff changeset
574
d907d608745f Sync to GQview 1.5.9 release.
gqview
parents:
diff changeset
575 gint busy_ref;
d907d608745f Sync to GQview 1.5.9 release.
gqview
parents:
diff changeset
576 };
d907d608745f Sync to GQview 1.5.9 release.
gqview
parents:
diff changeset
577
d907d608745f Sync to GQview 1.5.9 release.
gqview
parents:
diff changeset
578 struct _ViewFileList
d907d608745f Sync to GQview 1.5.9 release.
gqview
parents:
diff changeset
579 {
d907d608745f Sync to GQview 1.5.9 release.
gqview
parents:
diff changeset
580 GtkWidget *widget;
d907d608745f Sync to GQview 1.5.9 release.
gqview
parents:
diff changeset
581 GtkWidget *listview;
d907d608745f Sync to GQview 1.5.9 release.
gqview
parents:
diff changeset
582
d907d608745f Sync to GQview 1.5.9 release.
gqview
parents:
diff changeset
583 gchar *path;
d907d608745f Sync to GQview 1.5.9 release.
gqview
parents:
diff changeset
584 GList *list;
d907d608745f Sync to GQview 1.5.9 release.
gqview
parents:
diff changeset
585
d907d608745f Sync to GQview 1.5.9 release.
gqview
parents:
diff changeset
586 SortType sort_method;
d907d608745f Sync to GQview 1.5.9 release.
gqview
parents:
diff changeset
587 gint sort_ascend;
d907d608745f Sync to GQview 1.5.9 release.
gqview
parents:
diff changeset
588
d907d608745f Sync to GQview 1.5.9 release.
gqview
parents:
diff changeset
589 FileData *click_fd;
d907d608745f Sync to GQview 1.5.9 release.
gqview
parents:
diff changeset
590 FileData *select_fd;
d907d608745f Sync to GQview 1.5.9 release.
gqview
parents:
diff changeset
591
d907d608745f Sync to GQview 1.5.9 release.
gqview
parents:
diff changeset
592 gint thumbs_enabled;
138
71e1ebee420e replaced gchar* path with FileData *fd
nadvornik
parents: 137
diff changeset
593 gint marks_enabled;
150
976fba0add7c more operations with file marks
nadvornik
parents: 149
diff changeset
594 gint active_mark;
132
661cd91e5a7e First implementation of marks for all photos.
bruclik
parents: 128
diff changeset
595
9
d907d608745f Sync to GQview 1.5.9 release.
gqview
parents:
diff changeset
596 /* thumb updates */
d907d608745f Sync to GQview 1.5.9 release.
gqview
parents:
diff changeset
597 gint thumbs_running;
d907d608745f Sync to GQview 1.5.9 release.
gqview
parents:
diff changeset
598 gint thumbs_count;
d907d608745f Sync to GQview 1.5.9 release.
gqview
parents:
diff changeset
599 ThumbLoader *thumbs_loader;
d907d608745f Sync to GQview 1.5.9 release.
gqview
parents:
diff changeset
600 FileData *thumbs_filedata;
d907d608745f Sync to GQview 1.5.9 release.
gqview
parents:
diff changeset
601
d907d608745f Sync to GQview 1.5.9 release.
gqview
parents:
diff changeset
602 /* func list */
d907d608745f Sync to GQview 1.5.9 release.
gqview
parents:
diff changeset
603 void (*func_thumb_status)(ViewFileList *vfl, gdouble val, const gchar *text, gpointer data);
d907d608745f Sync to GQview 1.5.9 release.
gqview
parents:
diff changeset
604 gpointer data_thumb_status;
d907d608745f Sync to GQview 1.5.9 release.
gqview
parents:
diff changeset
605
d907d608745f Sync to GQview 1.5.9 release.
gqview
parents:
diff changeset
606 void (*func_status)(ViewFileList *vfl, gpointer data);
d907d608745f Sync to GQview 1.5.9 release.
gqview
parents:
diff changeset
607 gpointer data_status;
d907d608745f Sync to GQview 1.5.9 release.
gqview
parents:
diff changeset
608
d907d608745f Sync to GQview 1.5.9 release.
gqview
parents:
diff changeset
609 gint select_idle_id;
d907d608745f Sync to GQview 1.5.9 release.
gqview
parents:
diff changeset
610 LayoutWindow *layout;
d907d608745f Sync to GQview 1.5.9 release.
gqview
parents:
diff changeset
611
d907d608745f Sync to GQview 1.5.9 release.
gqview
parents:
diff changeset
612 GtkWidget *popup;
d907d608745f Sync to GQview 1.5.9 release.
gqview
parents:
diff changeset
613 };
d907d608745f Sync to GQview 1.5.9 release.
gqview
parents:
diff changeset
614
138
71e1ebee420e replaced gchar* path with FileData *fd
nadvornik
parents: 137
diff changeset
615 struct _IconData;
71e1ebee420e replaced gchar* path with FileData *fd
nadvornik
parents: 137
diff changeset
616
9
d907d608745f Sync to GQview 1.5.9 release.
gqview
parents:
diff changeset
617 struct _ViewFileIcon
d907d608745f Sync to GQview 1.5.9 release.
gqview
parents:
diff changeset
618 {
d907d608745f Sync to GQview 1.5.9 release.
gqview
parents:
diff changeset
619 GtkWidget *widget;
d907d608745f Sync to GQview 1.5.9 release.
gqview
parents:
diff changeset
620 GtkWidget *listview;
d907d608745f Sync to GQview 1.5.9 release.
gqview
parents:
diff changeset
621
d907d608745f Sync to GQview 1.5.9 release.
gqview
parents:
diff changeset
622 gchar *path;
d907d608745f Sync to GQview 1.5.9 release.
gqview
parents:
diff changeset
623 GList *list;
d907d608745f Sync to GQview 1.5.9 release.
gqview
parents:
diff changeset
624
d907d608745f Sync to GQview 1.5.9 release.
gqview
parents:
diff changeset
625 /* table stuff */
d907d608745f Sync to GQview 1.5.9 release.
gqview
parents:
diff changeset
626
d907d608745f Sync to GQview 1.5.9 release.
gqview
parents:
diff changeset
627 gint columns;
d907d608745f Sync to GQview 1.5.9 release.
gqview
parents:
diff changeset
628 gint rows;
d907d608745f Sync to GQview 1.5.9 release.
gqview
parents:
diff changeset
629
d907d608745f Sync to GQview 1.5.9 release.
gqview
parents:
diff changeset
630 GList *selection;
138
71e1ebee420e replaced gchar* path with FileData *fd
nadvornik
parents: 137
diff changeset
631 struct _IconData *prev_selection;
9
d907d608745f Sync to GQview 1.5.9 release.
gqview
parents:
diff changeset
632
d907d608745f Sync to GQview 1.5.9 release.
gqview
parents:
diff changeset
633 GtkWidget *tip_window;
d907d608745f Sync to GQview 1.5.9 release.
gqview
parents:
diff changeset
634 gint tip_delay_id;
138
71e1ebee420e replaced gchar* path with FileData *fd
nadvornik
parents: 137
diff changeset
635 struct _IconData *tip_id;
9
d907d608745f Sync to GQview 1.5.9 release.
gqview
parents:
diff changeset
636
138
71e1ebee420e replaced gchar* path with FileData *fd
nadvornik
parents: 137
diff changeset
637 struct _IconData *click_id;
9
d907d608745f Sync to GQview 1.5.9 release.
gqview
parents:
diff changeset
638
138
71e1ebee420e replaced gchar* path with FileData *fd
nadvornik
parents: 137
diff changeset
639 struct _IconData *focus_id;
9
d907d608745f Sync to GQview 1.5.9 release.
gqview
parents:
diff changeset
640 gint focus_row;
d907d608745f Sync to GQview 1.5.9 release.
gqview
parents:
diff changeset
641 gint focus_column;
d907d608745f Sync to GQview 1.5.9 release.
gqview
parents:
diff changeset
642
d907d608745f Sync to GQview 1.5.9 release.
gqview
parents:
diff changeset
643 SortType sort_method;
d907d608745f Sync to GQview 1.5.9 release.
gqview
parents:
diff changeset
644 gint sort_ascend;
d907d608745f Sync to GQview 1.5.9 release.
gqview
parents:
diff changeset
645
d907d608745f Sync to GQview 1.5.9 release.
gqview
parents:
diff changeset
646 gint show_text;
d907d608745f Sync to GQview 1.5.9 release.
gqview
parents:
diff changeset
647
d907d608745f Sync to GQview 1.5.9 release.
gqview
parents:
diff changeset
648 gint sync_idle_id;
d907d608745f Sync to GQview 1.5.9 release.
gqview
parents:
diff changeset
649
d907d608745f Sync to GQview 1.5.9 release.
gqview
parents:
diff changeset
650 /* thumbs */
d907d608745f Sync to GQview 1.5.9 release.
gqview
parents:
diff changeset
651
d907d608745f Sync to GQview 1.5.9 release.
gqview
parents:
diff changeset
652 gint thumbs_running;
d907d608745f Sync to GQview 1.5.9 release.
gqview
parents:
diff changeset
653 GList *thumbs_list;
d907d608745f Sync to GQview 1.5.9 release.
gqview
parents:
diff changeset
654 gint thumbs_count;
d907d608745f Sync to GQview 1.5.9 release.
gqview
parents:
diff changeset
655 ThumbLoader *thumbs_loader;
d907d608745f Sync to GQview 1.5.9 release.
gqview
parents:
diff changeset
656 FileData *thumbs_fd;
d907d608745f Sync to GQview 1.5.9 release.
gqview
parents:
diff changeset
657
d907d608745f Sync to GQview 1.5.9 release.
gqview
parents:
diff changeset
658 /* func list */
d907d608745f Sync to GQview 1.5.9 release.
gqview
parents:
diff changeset
659 void (*func_thumb_status)(ViewFileIcon *vfi, gdouble val, const gchar *text, gpointer data);
d907d608745f Sync to GQview 1.5.9 release.
gqview
parents:
diff changeset
660 gpointer data_thumb_status;
d907d608745f Sync to GQview 1.5.9 release.
gqview
parents:
diff changeset
661
d907d608745f Sync to GQview 1.5.9 release.
gqview
parents:
diff changeset
662 void (*func_status)(ViewFileIcon *vfi, gpointer data);
d907d608745f Sync to GQview 1.5.9 release.
gqview
parents:
diff changeset
663 gpointer data_status;
d907d608745f Sync to GQview 1.5.9 release.
gqview
parents:
diff changeset
664
d907d608745f Sync to GQview 1.5.9 release.
gqview
parents:
diff changeset
665 LayoutWindow *layout;
d907d608745f Sync to GQview 1.5.9 release.
gqview
parents:
diff changeset
666
d907d608745f Sync to GQview 1.5.9 release.
gqview
parents:
diff changeset
667 GtkWidget *popup;
d907d608745f Sync to GQview 1.5.9 release.
gqview
parents:
diff changeset
668 };
d907d608745f Sync to GQview 1.5.9 release.
gqview
parents:
diff changeset
669
d907d608745f Sync to GQview 1.5.9 release.
gqview
parents:
diff changeset
670 struct _SlideShowData
d907d608745f Sync to GQview 1.5.9 release.
gqview
parents:
diff changeset
671 {
d907d608745f Sync to GQview 1.5.9 release.
gqview
parents:
diff changeset
672 ImageWindow *imd;
d907d608745f Sync to GQview 1.5.9 release.
gqview
parents:
diff changeset
673
138
71e1ebee420e replaced gchar* path with FileData *fd
nadvornik
parents: 137
diff changeset
674 GList *filelist;
9
d907d608745f Sync to GQview 1.5.9 release.
gqview
parents:
diff changeset
675 CollectionData *cd;
d907d608745f Sync to GQview 1.5.9 release.
gqview
parents:
diff changeset
676 gchar *layout_path;
d907d608745f Sync to GQview 1.5.9 release.
gqview
parents:
diff changeset
677 LayoutWindow *layout;
d907d608745f Sync to GQview 1.5.9 release.
gqview
parents:
diff changeset
678
d907d608745f Sync to GQview 1.5.9 release.
gqview
parents:
diff changeset
679 GList *list;
d907d608745f Sync to GQview 1.5.9 release.
gqview
parents:
diff changeset
680 GList *list_done;
d907d608745f Sync to GQview 1.5.9 release.
gqview
parents:
diff changeset
681
138
71e1ebee420e replaced gchar* path with FileData *fd
nadvornik
parents: 137
diff changeset
682 FileData *slide_fd;
9
d907d608745f Sync to GQview 1.5.9 release.
gqview
parents:
diff changeset
683
d907d608745f Sync to GQview 1.5.9 release.
gqview
parents:
diff changeset
684 gint slide_count;
d907d608745f Sync to GQview 1.5.9 release.
gqview
parents:
diff changeset
685 gint timeout_id;
d907d608745f Sync to GQview 1.5.9 release.
gqview
parents:
diff changeset
686
d907d608745f Sync to GQview 1.5.9 release.
gqview
parents:
diff changeset
687 gint from_selection;
d907d608745f Sync to GQview 1.5.9 release.
gqview
parents:
diff changeset
688
d907d608745f Sync to GQview 1.5.9 release.
gqview
parents:
diff changeset
689 void (*stop_func)(SlideShowData *, gpointer);
d907d608745f Sync to GQview 1.5.9 release.
gqview
parents:
diff changeset
690 gpointer stop_data;
d907d608745f Sync to GQview 1.5.9 release.
gqview
parents:
diff changeset
691
d907d608745f Sync to GQview 1.5.9 release.
gqview
parents:
diff changeset
692 gint paused;
d907d608745f Sync to GQview 1.5.9 release.
gqview
parents:
diff changeset
693 };
d907d608745f Sync to GQview 1.5.9 release.
gqview
parents:
diff changeset
694
d907d608745f Sync to GQview 1.5.9 release.
gqview
parents:
diff changeset
695 struct _FullScreenData
d907d608745f Sync to GQview 1.5.9 release.
gqview
parents:
diff changeset
696 {
d907d608745f Sync to GQview 1.5.9 release.
gqview
parents:
diff changeset
697 GtkWidget *window;
d907d608745f Sync to GQview 1.5.9 release.
gqview
parents:
diff changeset
698 ImageWindow *imd;
d907d608745f Sync to GQview 1.5.9 release.
gqview
parents:
diff changeset
699
d907d608745f Sync to GQview 1.5.9 release.
gqview
parents:
diff changeset
700 GtkWidget *normal_window;
d907d608745f Sync to GQview 1.5.9 release.
gqview
parents:
diff changeset
701 ImageWindow *normal_imd;
d907d608745f Sync to GQview 1.5.9 release.
gqview
parents:
diff changeset
702
d907d608745f Sync to GQview 1.5.9 release.
gqview
parents:
diff changeset
703 gint hide_mouse_id;
d907d608745f Sync to GQview 1.5.9 release.
gqview
parents:
diff changeset
704 gint busy_mouse_id;
d907d608745f Sync to GQview 1.5.9 release.
gqview
parents:
diff changeset
705 gint cursor_state;
d907d608745f Sync to GQview 1.5.9 release.
gqview
parents:
diff changeset
706
d907d608745f Sync to GQview 1.5.9 release.
gqview
parents:
diff changeset
707 gint saver_block_id;
d907d608745f Sync to GQview 1.5.9 release.
gqview
parents:
diff changeset
708
d907d608745f Sync to GQview 1.5.9 release.
gqview
parents:
diff changeset
709 void (*stop_func)(FullScreenData *, gpointer);
d907d608745f Sync to GQview 1.5.9 release.
gqview
parents:
diff changeset
710 gpointer stop_data;
d907d608745f Sync to GQview 1.5.9 release.
gqview
parents:
diff changeset
711 };
d907d608745f Sync to GQview 1.5.9 release.
gqview
parents:
diff changeset
712
d907d608745f Sync to GQview 1.5.9 release.
gqview
parents:
diff changeset
713 struct _PixmapFolders
d907d608745f Sync to GQview 1.5.9 release.
gqview
parents:
diff changeset
714 {
d907d608745f Sync to GQview 1.5.9 release.
gqview
parents:
diff changeset
715 GdkPixbuf *close;
d907d608745f Sync to GQview 1.5.9 release.
gqview
parents:
diff changeset
716 GdkPixbuf *open;
d907d608745f Sync to GQview 1.5.9 release.
gqview
parents:
diff changeset
717 GdkPixbuf *deny;
d907d608745f Sync to GQview 1.5.9 release.
gqview
parents:
diff changeset
718 GdkPixbuf *parent;
d907d608745f Sync to GQview 1.5.9 release.
gqview
parents:
diff changeset
719 };
d907d608745f Sync to GQview 1.5.9 release.
gqview
parents:
diff changeset
720
276
4f526d436873 Implement secure rc file saving.
zas_
parents: 273
diff changeset
721 struct _SecureSaveInfo {
4f526d436873 Implement secure rc file saving.
zas_
parents: 273
diff changeset
722 FILE *fp; /**< file stream pointer */
4f526d436873 Implement secure rc file saving.
zas_
parents: 273
diff changeset
723 gchar *file_name; /**< final file name */
4f526d436873 Implement secure rc file saving.
zas_
parents: 273
diff changeset
724 gchar *tmp_file_name; /**< temporary file name */
4f526d436873 Implement secure rc file saving.
zas_
parents: 273
diff changeset
725 gint err; /**< set to non-zero value in case of error */
313
a955b7fd626b Secure save now unlinks temporary file on error by default.
zas_
parents: 311
diff changeset
726 gint secure_save; /**< use secure save for this file, internal use only */
a955b7fd626b Secure save now unlinks temporary file on error by default.
zas_
parents: 311
diff changeset
727 gint preserve_perms; /**< whether to preserve perms, TRUE by default */
a955b7fd626b Secure save now unlinks temporary file on error by default.
zas_
parents: 311
diff changeset
728 gint preserve_mtime; /**< whether to preserve mtime, FALSE by default */
a955b7fd626b Secure save now unlinks temporary file on error by default.
zas_
parents: 311
diff changeset
729 gint unlink_on_error; /**< whether to remove temporary file on save failure, TRUE by default */
276
4f526d436873 Implement secure rc file saving.
zas_
parents: 273
diff changeset
730 };
4f526d436873 Implement secure rc file saving.
zas_
parents: 273
diff changeset
731
318
b16b9b8979e5 Add a new struct ConfOptions to handle options.
zas_
parents: 313
diff changeset
732 struct _ConfOptions
b16b9b8979e5 Add a new struct ConfOptions to handle options.
zas_
parents: 313
diff changeset
733 {
b16b9b8979e5 Add a new struct ConfOptions to handle options.
zas_
parents: 313
diff changeset
734 gint main_window_w;
b16b9b8979e5 Add a new struct ConfOptions to handle options.
zas_
parents: 313
diff changeset
735 gint main_window_h;
b16b9b8979e5 Add a new struct ConfOptions to handle options.
zas_
parents: 313
diff changeset
736 gint main_window_x;
b16b9b8979e5 Add a new struct ConfOptions to handle options.
zas_
parents: 313
diff changeset
737 gint main_window_y;
b16b9b8979e5 Add a new struct ConfOptions to handle options.
zas_
parents: 313
diff changeset
738 gint main_window_maximized;
b16b9b8979e5 Add a new struct ConfOptions to handle options.
zas_
parents: 313
diff changeset
739
b16b9b8979e5 Add a new struct ConfOptions to handle options.
zas_
parents: 313
diff changeset
740 gint float_window_w;
b16b9b8979e5 Add a new struct ConfOptions to handle options.
zas_
parents: 313
diff changeset
741 gint float_window_h;
b16b9b8979e5 Add a new struct ConfOptions to handle options.
zas_
parents: 313
diff changeset
742 gint float_window_x;
b16b9b8979e5 Add a new struct ConfOptions to handle options.
zas_
parents: 313
diff changeset
743 gint float_window_y;
b16b9b8979e5 Add a new struct ConfOptions to handle options.
zas_
parents: 313
diff changeset
744 gint float_window_divider;
b16b9b8979e5 Add a new struct ConfOptions to handle options.
zas_
parents: 313
diff changeset
745
b16b9b8979e5 Add a new struct ConfOptions to handle options.
zas_
parents: 313
diff changeset
746 gint window_hdivider_pos;
b16b9b8979e5 Add a new struct ConfOptions to handle options.
zas_
parents: 313
diff changeset
747 gint window_vdivider_pos;
b16b9b8979e5 Add a new struct ConfOptions to handle options.
zas_
parents: 313
diff changeset
748
b16b9b8979e5 Add a new struct ConfOptions to handle options.
zas_
parents: 313
diff changeset
749 gint save_window_positions;
b16b9b8979e5 Add a new struct ConfOptions to handle options.
zas_
parents: 313
diff changeset
750 gint tools_float;
b16b9b8979e5 Add a new struct ConfOptions to handle options.
zas_
parents: 313
diff changeset
751 gint tools_hidden;
b16b9b8979e5 Add a new struct ConfOptions to handle options.
zas_
parents: 313
diff changeset
752 gint toolbar_hidden;
b16b9b8979e5 Add a new struct ConfOptions to handle options.
zas_
parents: 313
diff changeset
753 gint progressive_key_scrolling;
b16b9b8979e5 Add a new struct ConfOptions to handle options.
zas_
parents: 313
diff changeset
754
b16b9b8979e5 Add a new struct ConfOptions to handle options.
zas_
parents: 313
diff changeset
755 gint startup_path_enable;
b16b9b8979e5 Add a new struct ConfOptions to handle options.
zas_
parents: 313
diff changeset
756 gchar *startup_path;
b16b9b8979e5 Add a new struct ConfOptions to handle options.
zas_
parents: 313
diff changeset
757 gint confirm_delete;
b16b9b8979e5 Add a new struct ConfOptions to handle options.
zas_
parents: 313
diff changeset
758 gint enable_delete_key;
b16b9b8979e5 Add a new struct ConfOptions to handle options.
zas_
parents: 313
diff changeset
759 gint safe_delete_enable;
b16b9b8979e5 Add a new struct ConfOptions to handle options.
zas_
parents: 313
diff changeset
760 gchar *safe_delete_path;
b16b9b8979e5 Add a new struct ConfOptions to handle options.
zas_
parents: 313
diff changeset
761 gint safe_delete_size;
b16b9b8979e5 Add a new struct ConfOptions to handle options.
zas_
parents: 313
diff changeset
762 gint restore_tool;
b16b9b8979e5 Add a new struct ConfOptions to handle options.
zas_
parents: 313
diff changeset
763 gint zoom_mode;
b16b9b8979e5 Add a new struct ConfOptions to handle options.
zas_
parents: 313
diff changeset
764 gint two_pass_zoom;
b16b9b8979e5 Add a new struct ConfOptions to handle options.
zas_
parents: 313
diff changeset
765 gint scroll_reset_method;
b16b9b8979e5 Add a new struct ConfOptions to handle options.
zas_
parents: 313
diff changeset
766 gint fit_window;
b16b9b8979e5 Add a new struct ConfOptions to handle options.
zas_
parents: 313
diff changeset
767 gint limit_window_size;
b16b9b8979e5 Add a new struct ConfOptions to handle options.
zas_
parents: 313
diff changeset
768 gint zoom_to_fit_expands;
b16b9b8979e5 Add a new struct ConfOptions to handle options.
zas_
parents: 313
diff changeset
769 gint max_window_size;
b16b9b8979e5 Add a new struct ConfOptions to handle options.
zas_
parents: 313
diff changeset
770 gint limit_autofit_size;
b16b9b8979e5 Add a new struct ConfOptions to handle options.
zas_
parents: 313
diff changeset
771 gint max_autofit_size;
b16b9b8979e5 Add a new struct ConfOptions to handle options.
zas_
parents: 313
diff changeset
772 gint thumb_max_width;
b16b9b8979e5 Add a new struct ConfOptions to handle options.
zas_
parents: 313
diff changeset
773 gint thumb_max_height;
b16b9b8979e5 Add a new struct ConfOptions to handle options.
zas_
parents: 313
diff changeset
774 gint enable_thumb_caching;
b16b9b8979e5 Add a new struct ConfOptions to handle options.
zas_
parents: 313
diff changeset
775 gint enable_thumb_dirs;
b16b9b8979e5 Add a new struct ConfOptions to handle options.
zas_
parents: 313
diff changeset
776 gint thumbnail_fast;
b16b9b8979e5 Add a new struct ConfOptions to handle options.
zas_
parents: 313
diff changeset
777 gint use_xvpics_thumbnails;
b16b9b8979e5 Add a new struct ConfOptions to handle options.
zas_
parents: 313
diff changeset
778 gint thumbnail_spec_standard;
b16b9b8979e5 Add a new struct ConfOptions to handle options.
zas_
parents: 313
diff changeset
779 gint enable_metadata_dirs;
b16b9b8979e5 Add a new struct ConfOptions to handle options.
zas_
parents: 313
diff changeset
780 gint show_dot_files;
b16b9b8979e5 Add a new struct ConfOptions to handle options.
zas_
parents: 313
diff changeset
781 gint file_filter_disable;
b16b9b8979e5 Add a new struct ConfOptions to handle options.
zas_
parents: 313
diff changeset
782 gchar *editor_name[GQ_EDITOR_SLOTS];
b16b9b8979e5 Add a new struct ConfOptions to handle options.
zas_
parents: 313
diff changeset
783 gchar *editor_command[GQ_EDITOR_SLOTS];
b16b9b8979e5 Add a new struct ConfOptions to handle options.
zas_
parents: 313
diff changeset
784
b16b9b8979e5 Add a new struct ConfOptions to handle options.
zas_
parents: 313
diff changeset
785 gint thumbnails_enabled;
b16b9b8979e5 Add a new struct ConfOptions to handle options.
zas_
parents: 313
diff changeset
786 SortType file_sort_method;
b16b9b8979e5 Add a new struct ConfOptions to handle options.
zas_
parents: 313
diff changeset
787 gint file_sort_ascending;
b16b9b8979e5 Add a new struct ConfOptions to handle options.
zas_
parents: 313
diff changeset
788
b16b9b8979e5 Add a new struct ConfOptions to handle options.
zas_
parents: 313
diff changeset
789 gint slideshow_delay; /* in tenths of a second */
b16b9b8979e5 Add a new struct ConfOptions to handle options.
zas_
parents: 313
diff changeset
790 gint slideshow_random;
b16b9b8979e5 Add a new struct ConfOptions to handle options.
zas_
parents: 313
diff changeset
791 gint slideshow_repeat;
b16b9b8979e5 Add a new struct ConfOptions to handle options.
zas_
parents: 313
diff changeset
792
b16b9b8979e5 Add a new struct ConfOptions to handle options.
zas_
parents: 313
diff changeset
793 gint mousewheel_scrolls;
b16b9b8979e5 Add a new struct ConfOptions to handle options.
zas_
parents: 313
diff changeset
794 gint enable_in_place_rename;
b16b9b8979e5 Add a new struct ConfOptions to handle options.
zas_
parents: 313
diff changeset
795
b16b9b8979e5 Add a new struct ConfOptions to handle options.
zas_
parents: 313
diff changeset
796 gint user_specified_window_background;
b16b9b8979e5 Add a new struct ConfOptions to handle options.
zas_
parents: 313
diff changeset
797 GdkColor window_background_color;
b16b9b8979e5 Add a new struct ConfOptions to handle options.
zas_
parents: 313
diff changeset
798
b16b9b8979e5 Add a new struct ConfOptions to handle options.
zas_
parents: 313
diff changeset
799 gint fullscreen_screen;
b16b9b8979e5 Add a new struct ConfOptions to handle options.
zas_
parents: 313
diff changeset
800 gint fullscreen_clean_flip;
b16b9b8979e5 Add a new struct ConfOptions to handle options.
zas_
parents: 313
diff changeset
801 gint fullscreen_disable_saver;
b16b9b8979e5 Add a new struct ConfOptions to handle options.
zas_
parents: 313
diff changeset
802 gint fullscreen_above;
b16b9b8979e5 Add a new struct ConfOptions to handle options.
zas_
parents: 313
diff changeset
803 gint show_fullscreen_info;
b16b9b8979e5 Add a new struct ConfOptions to handle options.
zas_
parents: 313
diff changeset
804 gchar *fullscreen_info;
b16b9b8979e5 Add a new struct ConfOptions to handle options.
zas_
parents: 313
diff changeset
805
b16b9b8979e5 Add a new struct ConfOptions to handle options.
zas_
parents: 313
diff changeset
806 gint dupe_custom_threshold;
b16b9b8979e5 Add a new struct ConfOptions to handle options.
zas_
parents: 313
diff changeset
807
b16b9b8979e5 Add a new struct ConfOptions to handle options.
zas_
parents: 313
diff changeset
808 gint recent_list_max;
b16b9b8979e5 Add a new struct ConfOptions to handle options.
zas_
parents: 313
diff changeset
809
b16b9b8979e5 Add a new struct ConfOptions to handle options.
zas_
parents: 313
diff changeset
810 gint collection_rectangular_selection;
b16b9b8979e5 Add a new struct ConfOptions to handle options.
zas_
parents: 313
diff changeset
811
b16b9b8979e5 Add a new struct ConfOptions to handle options.
zas_
parents: 313
diff changeset
812 gint tile_cache_max; /* in megabytes */
b16b9b8979e5 Add a new struct ConfOptions to handle options.
zas_
parents: 313
diff changeset
813 gint thumbnail_quality;
b16b9b8979e5 Add a new struct ConfOptions to handle options.
zas_
parents: 313
diff changeset
814 gint zoom_quality;
b16b9b8979e5 Add a new struct ConfOptions to handle options.
zas_
parents: 313
diff changeset
815 gint dither_quality;
b16b9b8979e5 Add a new struct ConfOptions to handle options.
zas_
parents: 313
diff changeset
816
b16b9b8979e5 Add a new struct ConfOptions to handle options.
zas_
parents: 313
diff changeset
817 gint zoom_increment; /* 10 is 1.0, 5 is 0.05, 20 is 2.0, etc. */
b16b9b8979e5 Add a new struct ConfOptions to handle options.
zas_
parents: 313
diff changeset
818
b16b9b8979e5 Add a new struct ConfOptions to handle options.
zas_
parents: 313
diff changeset
819 gint enable_read_ahead;
b16b9b8979e5 Add a new struct ConfOptions to handle options.
zas_
parents: 313
diff changeset
820
b16b9b8979e5 Add a new struct ConfOptions to handle options.
zas_
parents: 313
diff changeset
821 gint place_dialogs_under_mouse;
319
f9611a6cf0e2 Move file_sort_case_sensitive to ConfOptions.
zas_
parents: 318
diff changeset
822
f9611a6cf0e2 Move file_sort_case_sensitive to ConfOptions.
zas_
parents: 318
diff changeset
823 gint file_sort_case_sensitive; /* file sorting method (case) */
f9611a6cf0e2 Move file_sort_case_sensitive to ConfOptions.
zas_
parents: 318
diff changeset
824
320
c74af1cbd61a Move more options to ConfOptions.
zas_
parents: 319
diff changeset
825 /* layout */
c74af1cbd61a Move more options to ConfOptions.
zas_
parents: 319
diff changeset
826 gchar *layout_order;
c74af1cbd61a Move more options to ConfOptions.
zas_
parents: 319
diff changeset
827 gint layout_style;
c74af1cbd61a Move more options to ConfOptions.
zas_
parents: 319
diff changeset
828
c74af1cbd61a Move more options to ConfOptions.
zas_
parents: 319
diff changeset
829 gint layout_view_icons;
c74af1cbd61a Move more options to ConfOptions.
zas_
parents: 319
diff changeset
830 gint layout_view_tree;
c74af1cbd61a Move more options to ConfOptions.
zas_
parents: 319
diff changeset
831
c74af1cbd61a Move more options to ConfOptions.
zas_
parents: 319
diff changeset
832 gint show_icon_names;
c74af1cbd61a Move more options to ConfOptions.
zas_
parents: 319
diff changeset
833
c74af1cbd61a Move more options to ConfOptions.
zas_
parents: 319
diff changeset
834 gint tree_descend_subdirs;
c74af1cbd61a Move more options to ConfOptions.
zas_
parents: 319
diff changeset
835
c74af1cbd61a Move more options to ConfOptions.
zas_
parents: 319
diff changeset
836 gint lazy_image_sync;
c74af1cbd61a Move more options to ConfOptions.
zas_
parents: 319
diff changeset
837 gint update_on_time_change;
c74af1cbd61a Move more options to ConfOptions.
zas_
parents: 319
diff changeset
838 gint exif_rotate_enable;
c74af1cbd61a Move more options to ConfOptions.
zas_
parents: 319
diff changeset
839
c74af1cbd61a Move more options to ConfOptions.
zas_
parents: 319
diff changeset
840 gint color_profile_enabled;
c74af1cbd61a Move more options to ConfOptions.
zas_
parents: 319
diff changeset
841 gint color_profile_input_type;
c74af1cbd61a Move more options to ConfOptions.
zas_
parents: 319
diff changeset
842 gchar *color_profile_input_file[COLOR_PROFILE_INPUTS];
c74af1cbd61a Move more options to ConfOptions.
zas_
parents: 319
diff changeset
843 gchar *color_profile_input_name[COLOR_PROFILE_INPUTS];
c74af1cbd61a Move more options to ConfOptions.
zas_
parents: 319
diff changeset
844 gint color_profile_screen_type;
c74af1cbd61a Move more options to ConfOptions.
zas_
parents: 319
diff changeset
845 gchar *color_profile_screen_file;
c74af1cbd61a Move more options to ConfOptions.
zas_
parents: 319
diff changeset
846 gint color_profile_use_image;
c74af1cbd61a Move more options to ConfOptions.
zas_
parents: 319
diff changeset
847
c74af1cbd61a Move more options to ConfOptions.
zas_
parents: 319
diff changeset
848 GList *filename_filter;
318
b16b9b8979e5 Add a new struct ConfOptions to handle options.
zas_
parents: 313
diff changeset
849 };
9
d907d608745f Sync to GQview 1.5.9 release.
gqview
parents:
diff changeset
850
d907d608745f Sync to GQview 1.5.9 release.
gqview
parents:
diff changeset
851 #endif
d907d608745f Sync to GQview 1.5.9 release.
gqview
parents:
diff changeset
852
d907d608745f Sync to GQview 1.5.9 release.
gqview
parents:
diff changeset
853