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