annotate src/typedefs.h @ 216:a57b153e7fa4

Indentation and white lines minor fixes.
author zas_
date Mon, 31 Mar 2008 07:29:03 +0000
parents c7021159079d
children e0e2c2b72c5a
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 {
9009856628f7 started implementation of external commands; external Delete should work
nadvornik
parents: 132
diff changeset
17 CMD_COPY = GQVIEW_EDITOR_GENERIC_SLOTS,
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,
9009856628f7 started implementation of external commands; external Delete should work
nadvornik
parents: 132
diff changeset
22 GQVIEW_EDITOR_SLOTS
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
143
0d1bf3ac6cd8 improved FileDataChangeInfo structure, check for another file operation in progress
nadvornik
parents: 141
diff changeset
99
127
271afad04d07 implemented split windows
nadvornik
parents: 122
diff changeset
100 #define MAX_SPLIT_IMAGES 4
271afad04d07 implemented split windows
nadvornik
parents: 122
diff changeset
101
9
d907d608745f Sync to GQview 1.5.9 release.
gqview
parents:
diff changeset
102 typedef struct _ImageLoader ImageLoader;
d907d608745f Sync to GQview 1.5.9 release.
gqview
parents:
diff changeset
103 typedef struct _ThumbLoader ThumbLoader;
d907d608745f Sync to GQview 1.5.9 release.
gqview
parents:
diff changeset
104
d907d608745f Sync to GQview 1.5.9 release.
gqview
parents:
diff changeset
105 typedef struct _CollectInfo CollectInfo;
d907d608745f Sync to GQview 1.5.9 release.
gqview
parents:
diff changeset
106 typedef struct _CollectionData CollectionData;
d907d608745f Sync to GQview 1.5.9 release.
gqview
parents:
diff changeset
107 typedef struct _CollectTable CollectTable;
d907d608745f Sync to GQview 1.5.9 release.
gqview
parents:
diff changeset
108 typedef struct _CollectWindow CollectWindow;
d907d608745f Sync to GQview 1.5.9 release.
gqview
parents:
diff changeset
109
d907d608745f Sync to GQview 1.5.9 release.
gqview
parents:
diff changeset
110 typedef struct _ImageWindow ImageWindow;
d907d608745f Sync to GQview 1.5.9 release.
gqview
parents:
diff changeset
111
d907d608745f Sync to GQview 1.5.9 release.
gqview
parents:
diff changeset
112 typedef struct _FileData FileData;
138
71e1ebee420e replaced gchar* path with FileData *fd
nadvornik
parents: 137
diff changeset
113 typedef struct _FileDataChangeInfo FileDataChangeInfo;
9
d907d608745f Sync to GQview 1.5.9 release.
gqview
parents:
diff changeset
114
d907d608745f Sync to GQview 1.5.9 release.
gqview
parents:
diff changeset
115 typedef struct _LayoutWindow LayoutWindow;
d907d608745f Sync to GQview 1.5.9 release.
gqview
parents:
diff changeset
116 typedef struct _ViewDirList ViewDirList;
d907d608745f Sync to GQview 1.5.9 release.
gqview
parents:
diff changeset
117 typedef struct _ViewDirTree ViewDirTree;
d907d608745f Sync to GQview 1.5.9 release.
gqview
parents:
diff changeset
118 typedef struct _ViewFileList ViewFileList;
d907d608745f Sync to GQview 1.5.9 release.
gqview
parents:
diff changeset
119 typedef struct _ViewFileIcon ViewFileIcon;
d907d608745f Sync to GQview 1.5.9 release.
gqview
parents:
diff changeset
120
d907d608745f Sync to GQview 1.5.9 release.
gqview
parents:
diff changeset
121 typedef struct _SlideShowData SlideShowData;
d907d608745f Sync to GQview 1.5.9 release.
gqview
parents:
diff changeset
122 typedef struct _FullScreenData FullScreenData;
d907d608745f Sync to GQview 1.5.9 release.
gqview
parents:
diff changeset
123
d907d608745f Sync to GQview 1.5.9 release.
gqview
parents:
diff changeset
124 typedef struct _PixmapFolders PixmapFolders;
d907d608745f Sync to GQview 1.5.9 release.
gqview
parents:
diff changeset
125
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 struct _ImageLoader
d907d608745f Sync to GQview 1.5.9 release.
gqview
parents:
diff changeset
128 {
d907d608745f Sync to GQview 1.5.9 release.
gqview
parents:
diff changeset
129 GdkPixbuf *pixbuf;
138
71e1ebee420e replaced gchar* path with FileData *fd
nadvornik
parents: 137
diff changeset
130 FileData *fd;
9
d907d608745f Sync to GQview 1.5.9 release.
gqview
parents:
diff changeset
131 gchar *path;
d907d608745f Sync to GQview 1.5.9 release.
gqview
parents:
diff changeset
132
d907d608745f Sync to GQview 1.5.9 release.
gqview
parents:
diff changeset
133 gint bytes_read;
d907d608745f Sync to GQview 1.5.9 release.
gqview
parents:
diff changeset
134 gint bytes_total;
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 guint buffer_size;
d907d608745f Sync to GQview 1.5.9 release.
gqview
parents:
diff changeset
137
d907d608745f Sync to GQview 1.5.9 release.
gqview
parents:
diff changeset
138 gint requested_width;
d907d608745f Sync to GQview 1.5.9 release.
gqview
parents:
diff changeset
139 gint requested_height;
14
25335c62cd9b ##### Note: GQview CVS on sourceforge is not always up to date, please use #####
gqview
parents: 12
diff changeset
140 gint shrunk;
9
d907d608745f Sync to GQview 1.5.9 release.
gqview
parents:
diff changeset
141
d907d608745f Sync to GQview 1.5.9 release.
gqview
parents:
diff changeset
142 gint done;
d907d608745f Sync to GQview 1.5.9 release.
gqview
parents:
diff changeset
143 gint idle_id;
d907d608745f Sync to GQview 1.5.9 release.
gqview
parents:
diff changeset
144 gint idle_priority;
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 GdkPixbufLoader *loader;
d907d608745f Sync to GQview 1.5.9 release.
gqview
parents:
diff changeset
147 gint load_fd;
d907d608745f Sync to GQview 1.5.9 release.
gqview
parents:
diff changeset
148
d907d608745f Sync to GQview 1.5.9 release.
gqview
parents:
diff changeset
149 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
150 void (*func_error)(ImageLoader *, gpointer);
d907d608745f Sync to GQview 1.5.9 release.
gqview
parents:
diff changeset
151 void (*func_done)(ImageLoader *, gpointer);
d907d608745f Sync to GQview 1.5.9 release.
gqview
parents:
diff changeset
152 void (*func_percent)(ImageLoader *, gdouble, gpointer);
d907d608745f Sync to GQview 1.5.9 release.
gqview
parents:
diff changeset
153
d907d608745f Sync to GQview 1.5.9 release.
gqview
parents:
diff changeset
154 gpointer data_area_ready;
d907d608745f Sync to GQview 1.5.9 release.
gqview
parents:
diff changeset
155 gpointer data_error;
d907d608745f Sync to GQview 1.5.9 release.
gqview
parents:
diff changeset
156 gpointer data_done;
d907d608745f Sync to GQview 1.5.9 release.
gqview
parents:
diff changeset
157 gpointer data_percent;
d907d608745f Sync to GQview 1.5.9 release.
gqview
parents:
diff changeset
158
d907d608745f Sync to GQview 1.5.9 release.
gqview
parents:
diff changeset
159 gint idle_done_id;
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
d907d608745f Sync to GQview 1.5.9 release.
gqview
parents:
diff changeset
162 typedef void (* ThumbLoaderFunc)(ThumbLoader *tl, gpointer data);
d907d608745f Sync to GQview 1.5.9 release.
gqview
parents:
diff changeset
163
d907d608745f Sync to GQview 1.5.9 release.
gqview
parents:
diff changeset
164 struct _ThumbLoader
d907d608745f Sync to GQview 1.5.9 release.
gqview
parents:
diff changeset
165 {
d907d608745f Sync to GQview 1.5.9 release.
gqview
parents:
diff changeset
166 gint standard_loader;
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 GdkPixbuf *pixbuf; /* contains final (scaled) image when done */
d907d608745f Sync to GQview 1.5.9 release.
gqview
parents:
diff changeset
169 ImageLoader *il;
d907d608745f Sync to GQview 1.5.9 release.
gqview
parents:
diff changeset
170 gchar *path;
d907d608745f Sync to GQview 1.5.9 release.
gqview
parents:
diff changeset
171
d907d608745f Sync to GQview 1.5.9 release.
gqview
parents:
diff changeset
172 gint cache_enable;
d907d608745f Sync to GQview 1.5.9 release.
gqview
parents:
diff changeset
173 gint cache_hit;
d907d608745f Sync to GQview 1.5.9 release.
gqview
parents:
diff changeset
174 gdouble percent_done;
d907d608745f Sync to GQview 1.5.9 release.
gqview
parents:
diff changeset
175
d907d608745f Sync to GQview 1.5.9 release.
gqview
parents:
diff changeset
176 gint max_w;
d907d608745f Sync to GQview 1.5.9 release.
gqview
parents:
diff changeset
177 gint max_h;
d907d608745f Sync to GQview 1.5.9 release.
gqview
parents:
diff changeset
178
d907d608745f Sync to GQview 1.5.9 release.
gqview
parents:
diff changeset
179 ThumbLoaderFunc func_done;
d907d608745f Sync to GQview 1.5.9 release.
gqview
parents:
diff changeset
180 ThumbLoaderFunc func_error;
d907d608745f Sync to GQview 1.5.9 release.
gqview
parents:
diff changeset
181 ThumbLoaderFunc func_progress;
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 gpointer data;
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 idle_done_id;
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
d907d608745f Sync to GQview 1.5.9 release.
gqview
parents:
diff changeset
188 struct _CollectInfo
d907d608745f Sync to GQview 1.5.9 release.
gqview
parents:
diff changeset
189 {
138
71e1ebee420e replaced gchar* path with FileData *fd
nadvornik
parents: 137
diff changeset
190 FileData *fd;
9
d907d608745f Sync to GQview 1.5.9 release.
gqview
parents:
diff changeset
191 GdkPixbuf *pixbuf;
d907d608745f Sync to GQview 1.5.9 release.
gqview
parents:
diff changeset
192 gint flag_mask;
d907d608745f Sync to GQview 1.5.9 release.
gqview
parents:
diff changeset
193 };
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 struct _CollectionData
d907d608745f Sync to GQview 1.5.9 release.
gqview
parents:
diff changeset
196 {
d907d608745f Sync to GQview 1.5.9 release.
gqview
parents:
diff changeset
197 gchar *path;
d907d608745f Sync to GQview 1.5.9 release.
gqview
parents:
diff changeset
198 gchar *name;
d907d608745f Sync to GQview 1.5.9 release.
gqview
parents:
diff changeset
199 GList *list;
d907d608745f Sync to GQview 1.5.9 release.
gqview
parents:
diff changeset
200 SortType sort_method;
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 ThumbLoader *thumb_loader;
d907d608745f Sync to GQview 1.5.9 release.
gqview
parents:
diff changeset
203 CollectInfo *thumb_info;
d907d608745f Sync to GQview 1.5.9 release.
gqview
parents:
diff changeset
204
d907d608745f Sync to GQview 1.5.9 release.
gqview
parents:
diff changeset
205 void (*info_updated_func)(CollectionData *, CollectInfo *, gpointer);
d907d608745f Sync to GQview 1.5.9 release.
gqview
parents:
diff changeset
206 gpointer info_updated_data;
d907d608745f Sync to GQview 1.5.9 release.
gqview
parents:
diff changeset
207
d907d608745f Sync to GQview 1.5.9 release.
gqview
parents:
diff changeset
208 gint ref;
d907d608745f Sync to GQview 1.5.9 release.
gqview
parents:
diff changeset
209
d907d608745f Sync to GQview 1.5.9 release.
gqview
parents:
diff changeset
210 /* geometry */
d907d608745f Sync to GQview 1.5.9 release.
gqview
parents:
diff changeset
211 gint window_read;
d907d608745f Sync to GQview 1.5.9 release.
gqview
parents:
diff changeset
212 gint window_x;
d907d608745f Sync to GQview 1.5.9 release.
gqview
parents:
diff changeset
213 gint window_y;
d907d608745f Sync to GQview 1.5.9 release.
gqview
parents:
diff changeset
214 gint window_w;
d907d608745f Sync to GQview 1.5.9 release.
gqview
parents:
diff changeset
215 gint window_h;
d907d608745f Sync to GQview 1.5.9 release.
gqview
parents:
diff changeset
216
d907d608745f Sync to GQview 1.5.9 release.
gqview
parents:
diff changeset
217 /* contents changed since save flag */
d907d608745f Sync to GQview 1.5.9 release.
gqview
parents:
diff changeset
218 gint changed;
d907d608745f Sync to GQview 1.5.9 release.
gqview
parents:
diff changeset
219 };
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 struct _CollectTable
d907d608745f Sync to GQview 1.5.9 release.
gqview
parents:
diff changeset
222 {
d907d608745f Sync to GQview 1.5.9 release.
gqview
parents:
diff changeset
223 GtkWidget *scrolled;
d907d608745f Sync to GQview 1.5.9 release.
gqview
parents:
diff changeset
224 GtkWidget *listview;
d907d608745f Sync to GQview 1.5.9 release.
gqview
parents:
diff changeset
225 gint columns;
d907d608745f Sync to GQview 1.5.9 release.
gqview
parents:
diff changeset
226 gint rows;
d907d608745f Sync to GQview 1.5.9 release.
gqview
parents:
diff changeset
227
d907d608745f Sync to GQview 1.5.9 release.
gqview
parents:
diff changeset
228 CollectionData *cd;
d907d608745f Sync to GQview 1.5.9 release.
gqview
parents:
diff changeset
229
d907d608745f Sync to GQview 1.5.9 release.
gqview
parents:
diff changeset
230 GList *selection;
d907d608745f Sync to GQview 1.5.9 release.
gqview
parents:
diff changeset
231 CollectInfo *prev_selection;
d907d608745f Sync to GQview 1.5.9 release.
gqview
parents:
diff changeset
232
d907d608745f Sync to GQview 1.5.9 release.
gqview
parents:
diff changeset
233 CollectInfo *click_info;
d907d608745f Sync to GQview 1.5.9 release.
gqview
parents:
diff changeset
234
d907d608745f Sync to GQview 1.5.9 release.
gqview
parents:
diff changeset
235 GtkWidget *tip_window;
d907d608745f Sync to GQview 1.5.9 release.
gqview
parents:
diff changeset
236 gint tip_delay_id;
d907d608745f Sync to GQview 1.5.9 release.
gqview
parents:
diff changeset
237 CollectInfo *tip_info;
d907d608745f Sync to GQview 1.5.9 release.
gqview
parents:
diff changeset
238
d907d608745f Sync to GQview 1.5.9 release.
gqview
parents:
diff changeset
239 GdkWindow *marker_window;
d907d608745f Sync to GQview 1.5.9 release.
gqview
parents:
diff changeset
240 CollectInfo *marker_info;
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 GtkWidget *status_label;
d907d608745f Sync to GQview 1.5.9 release.
gqview
parents:
diff changeset
243 GtkWidget *extra_label;
d907d608745f Sync to GQview 1.5.9 release.
gqview
parents:
diff changeset
244
d907d608745f Sync to GQview 1.5.9 release.
gqview
parents:
diff changeset
245 gint focus_row;
d907d608745f Sync to GQview 1.5.9 release.
gqview
parents:
diff changeset
246 gint focus_column;
d907d608745f Sync to GQview 1.5.9 release.
gqview
parents:
diff changeset
247 CollectInfo *focus_info;
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 GtkWidget *popup;
d907d608745f Sync to GQview 1.5.9 release.
gqview
parents:
diff changeset
250 CollectInfo *drop_info;
d907d608745f Sync to GQview 1.5.9 release.
gqview
parents:
diff changeset
251 GList *drop_list;
d907d608745f Sync to GQview 1.5.9 release.
gqview
parents:
diff changeset
252
d907d608745f Sync to GQview 1.5.9 release.
gqview
parents:
diff changeset
253 gint sync_idle_id;
d907d608745f Sync to GQview 1.5.9 release.
gqview
parents:
diff changeset
254 gint drop_idle_id;
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 gint show_text;
d907d608745f Sync to GQview 1.5.9 release.
gqview
parents:
diff changeset
257 };
d907d608745f Sync to GQview 1.5.9 release.
gqview
parents:
diff changeset
258
d907d608745f Sync to GQview 1.5.9 release.
gqview
parents:
diff changeset
259 struct _CollectWindow
d907d608745f Sync to GQview 1.5.9 release.
gqview
parents:
diff changeset
260 {
d907d608745f Sync to GQview 1.5.9 release.
gqview
parents:
diff changeset
261 GtkWidget *window;
d907d608745f Sync to GQview 1.5.9 release.
gqview
parents:
diff changeset
262 CollectTable *table;
d907d608745f Sync to GQview 1.5.9 release.
gqview
parents:
diff changeset
263 GtkWidget *status_box;
d907d608745f Sync to GQview 1.5.9 release.
gqview
parents:
diff changeset
264 GList *list;
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 GtkWidget *close_dialog;
d907d608745f Sync to GQview 1.5.9 release.
gqview
parents:
diff changeset
267
d907d608745f Sync to GQview 1.5.9 release.
gqview
parents:
diff changeset
268 CollectionData *cd;
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
12
147f4c4b9025 ##### Note: GQview CVS on sourceforge is not always up to date, please use #####
gqview
parents: 9
diff changeset
271 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
272 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
273 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
274 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
275
9
d907d608745f Sync to GQview 1.5.9 release.
gqview
parents:
diff changeset
276 struct _ImageWindow
d907d608745f Sync to GQview 1.5.9 release.
gqview
parents:
diff changeset
277 {
d907d608745f Sync to GQview 1.5.9 release.
gqview
parents:
diff changeset
278 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
279 GtkWidget *pr;
17acca639a86 ##### Note: GQview CVS on sourceforge is not always up to date, please use #####
gqview
parents: 14
diff changeset
280 GtkWidget *frame;
9
d907d608745f Sync to GQview 1.5.9 release.
gqview
parents:
diff changeset
281
138
71e1ebee420e replaced gchar* path with FileData *fd
nadvornik
parents: 137
diff changeset
282 FileData *image_fd;
9
d907d608745f Sync to GQview 1.5.9 release.
gqview
parents:
diff changeset
283
d907d608745f Sync to GQview 1.5.9 release.
gqview
parents:
diff changeset
284 gint64 size; /* file size (bytes) */
d907d608745f Sync to GQview 1.5.9 release.
gqview
parents:
diff changeset
285 time_t mtime; /* file modified time stamp */
d907d608745f Sync to GQview 1.5.9 release.
gqview
parents:
diff changeset
286 gint unknown; /* failed to load image */
d907d608745f Sync to GQview 1.5.9 release.
gqview
parents:
diff changeset
287
d907d608745f Sync to GQview 1.5.9 release.
gqview
parents:
diff changeset
288 ImageLoader *il;
d907d608745f Sync to GQview 1.5.9 release.
gqview
parents:
diff changeset
289
d907d608745f Sync to GQview 1.5.9 release.
gqview
parents:
diff changeset
290 gint has_frame;
d907d608745f Sync to GQview 1.5.9 release.
gqview
parents:
diff changeset
291
d907d608745f Sync to GQview 1.5.9 release.
gqview
parents:
diff changeset
292 /* 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
293 gint top_window_sync; /* resize top_window when image dimensions change */
9
d907d608745f Sync to GQview 1.5.9 release.
gqview
parents:
diff changeset
294 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
295 gchar *title; /* window title to display left of file name */
d907d608745f Sync to GQview 1.5.9 release.
gqview
parents:
diff changeset
296 gchar *title_right; /* window title to display right of file name */
d907d608745f Sync to GQview 1.5.9 release.
gqview
parents:
diff changeset
297 gint title_show_zoom; /* option to include zoom in window title */
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 gint completed;
113
55166d93498d Fri Nov 24 21:37:01 2006 John Ellis <johne@verizon.net>
gqview
parents: 82
diff changeset
300 ImageState state; /* mask of IMAGE_STATE_* flags about current image */
9
d907d608745f Sync to GQview 1.5.9 release.
gqview
parents:
diff changeset
301
117
0c2e1f0a001b Wed Nov 29 14:28:30 2006 John Ellis <johne@verizon.net>
gqview
parents: 115
diff changeset
302 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
303 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
304 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
305 ImageTileRequestFunc func_tile_request;
147f4c4b9025 ##### Note: GQview CVS on sourceforge is not always up to date, please use #####
gqview
parents: 9
diff changeset
306 ImageTileDisposeFunc func_tile_dispose;
9
d907d608745f Sync to GQview 1.5.9 release.
gqview
parents:
diff changeset
307
d907d608745f Sync to GQview 1.5.9 release.
gqview
parents:
diff changeset
308 gpointer data_update;
d907d608745f Sync to GQview 1.5.9 release.
gqview
parents:
diff changeset
309 gpointer data_complete;
117
0c2e1f0a001b Wed Nov 29 14:28:30 2006 John Ellis <johne@verizon.net>
gqview
parents: 115
diff changeset
310 gpointer data_state;
12
147f4c4b9025 ##### Note: GQview CVS on sourceforge is not always up to date, please use #####
gqview
parents: 9
diff changeset
311 gpointer data_tile;
9
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 /* button, scroll functions */
d907d608745f Sync to GQview 1.5.9 release.
gqview
parents:
diff changeset
314 void (*func_button)(ImageWindow *, gint button,
d907d608745f Sync to GQview 1.5.9 release.
gqview
parents:
diff changeset
315 guint32 time, gdouble x, gdouble y, guint state, gpointer);
128
98e2632b5d3d improved connected scroll and active image switching
nadvornik
parents: 127
diff changeset
316 void (*func_drag)(ImageWindow *, gint button,
98e2632b5d3d improved connected scroll and active image switching
nadvornik
parents: 127
diff changeset
317 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
318 void (*func_scroll)(ImageWindow *, GdkScrollDirection direction,
d907d608745f Sync to GQview 1.5.9 release.
gqview
parents:
diff changeset
319 guint32 time, gdouble x, gdouble y, guint state, gpointer);
d907d608745f Sync to GQview 1.5.9 release.
gqview
parents:
diff changeset
320
d907d608745f Sync to GQview 1.5.9 release.
gqview
parents:
diff changeset
321 gpointer data_button;
128
98e2632b5d3d improved connected scroll and active image switching
nadvornik
parents: 127
diff changeset
322 gpointer data_drag;
9
d907d608745f Sync to GQview 1.5.9 release.
gqview
parents:
diff changeset
323 gpointer data_scroll;
d907d608745f Sync to GQview 1.5.9 release.
gqview
parents:
diff changeset
324
12
147f4c4b9025 ##### Note: GQview CVS on sourceforge is not always up to date, please use #####
gqview
parents: 9
diff changeset
325 /* 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
326 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
327
147f4c4b9025 ##### Note: GQview CVS on sourceforge is not always up to date, please use #####
gqview
parents: 9
diff changeset
328 gpointer data_scroll_notify;
147f4c4b9025 ##### Note: GQview CVS on sourceforge is not always up to date, please use #####
gqview
parents: 9
diff changeset
329
9
d907d608745f Sync to GQview 1.5.9 release.
gqview
parents:
diff changeset
330 /* collection info */
d907d608745f Sync to GQview 1.5.9 release.
gqview
parents:
diff changeset
331 CollectionData *collection;
d907d608745f Sync to GQview 1.5.9 release.
gqview
parents:
diff changeset
332 CollectInfo *collection_info;
d907d608745f Sync to GQview 1.5.9 release.
gqview
parents:
diff changeset
333
113
55166d93498d Fri Nov 24 21:37:01 2006 John Ellis <johne@verizon.net>
gqview
parents: 82
diff changeset
334 /* color profiles */
55166d93498d Fri Nov 24 21:37:01 2006 John Ellis <johne@verizon.net>
gqview
parents: 82
diff changeset
335 gint color_profile_enable;
55166d93498d Fri Nov 24 21:37:01 2006 John Ellis <johne@verizon.net>
gqview
parents: 82
diff changeset
336 gint color_profile_input;
55166d93498d Fri Nov 24 21:37:01 2006 John Ellis <johne@verizon.net>
gqview
parents: 82
diff changeset
337 gint color_profile_screen;
55166d93498d Fri Nov 24 21:37:01 2006 John Ellis <johne@verizon.net>
gqview
parents: 82
diff changeset
338 gint color_profile_use_image;
115
53b2bfdcff69 Tue Nov 28 11:54:30 2006 John Ellis <johne@verizon.net>
gqview
parents: 113
diff changeset
339 gpointer cm;
113
55166d93498d Fri Nov 24 21:37:01 2006 John Ellis <johne@verizon.net>
gqview
parents: 82
diff changeset
340
9
d907d608745f Sync to GQview 1.5.9 release.
gqview
parents:
diff changeset
341 AlterType delay_alter_type;
d907d608745f Sync to GQview 1.5.9 release.
gqview
parents:
diff changeset
342
d907d608745f Sync to GQview 1.5.9 release.
gqview
parents:
diff changeset
343 ImageLoader *read_ahead_il;
d907d608745f Sync to GQview 1.5.9 release.
gqview
parents:
diff changeset
344 GdkPixbuf *read_ahead_pixbuf;
138
71e1ebee420e replaced gchar* path with FileData *fd
nadvornik
parents: 137
diff changeset
345 FileData *read_ahead_fd;
9
d907d608745f Sync to GQview 1.5.9 release.
gqview
parents:
diff changeset
346
d907d608745f Sync to GQview 1.5.9 release.
gqview
parents:
diff changeset
347 GdkPixbuf *prev_pixbuf;
138
71e1ebee420e replaced gchar* path with FileData *fd
nadvornik
parents: 137
diff changeset
348 FileData *prev_fd;
113
55166d93498d Fri Nov 24 21:37:01 2006 John Ellis <johne@verizon.net>
gqview
parents: 82
diff changeset
349 gint prev_color_row;
9
d907d608745f Sync to GQview 1.5.9 release.
gqview
parents:
diff changeset
350
d907d608745f Sync to GQview 1.5.9 release.
gqview
parents:
diff changeset
351 gint auto_refresh_id;
d907d608745f Sync to GQview 1.5.9 release.
gqview
parents:
diff changeset
352 gint auto_refresh_interval;
d907d608745f Sync to GQview 1.5.9 release.
gqview
parents:
diff changeset
353
d907d608745f Sync to GQview 1.5.9 release.
gqview
parents:
diff changeset
354 gint delay_flip;
d907d608745f Sync to GQview 1.5.9 release.
gqview
parents:
diff changeset
355 };
d907d608745f Sync to GQview 1.5.9 release.
gqview
parents:
diff changeset
356
149
f0c79a514c06 marks: fixes and cleanup
nadvornik
parents: 143
diff changeset
357 #define FILEDATA_MARKS_SIZE 6
132
661cd91e5a7e First implementation of marks for all photos.
bruclik
parents: 128
diff changeset
358
138
71e1ebee420e replaced gchar* path with FileData *fd
nadvornik
parents: 137
diff changeset
359 struct _FileDataChangeInfo {
143
0d1bf3ac6cd8 improved FileDataChangeInfo structure, check for another file operation in progress
nadvornik
parents: 141
diff changeset
360 FileDataChangeType type;
138
71e1ebee420e replaced gchar* path with FileData *fd
nadvornik
parents: 137
diff changeset
361 gchar *source;
71e1ebee420e replaced gchar* path with FileData *fd
nadvornik
parents: 137
diff changeset
362 gchar *dest;
71e1ebee420e replaced gchar* path with FileData *fd
nadvornik
parents: 137
diff changeset
363 };
137
be3328a58875 started support for sidecar files like xmp, raw+jpeg etc.
nadvornik
parents: 134
diff changeset
364
be3328a58875 started support for sidecar files like xmp, raw+jpeg etc.
nadvornik
parents: 134
diff changeset
365 struct _FileData {
138
71e1ebee420e replaced gchar* path with FileData *fd
nadvornik
parents: 137
diff changeset
366 gint magick;
137
be3328a58875 started support for sidecar files like xmp, raw+jpeg etc.
nadvornik
parents: 134
diff changeset
367 gint type;
138
71e1ebee420e replaced gchar* path with FileData *fd
nadvornik
parents: 137
diff changeset
368 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
369 gchar *path;
be3328a58875 started support for sidecar files like xmp, raw+jpeg etc.
nadvornik
parents: 134
diff changeset
370 const gchar *name;
be3328a58875 started support for sidecar files like xmp, raw+jpeg etc.
nadvornik
parents: 134
diff changeset
371 const gchar *extension;
be3328a58875 started support for sidecar files like xmp, raw+jpeg etc.
nadvornik
parents: 134
diff changeset
372 gint64 size;
be3328a58875 started support for sidecar files like xmp, raw+jpeg etc.
nadvornik
parents: 134
diff changeset
373 time_t date;
be3328a58875 started support for sidecar files like xmp, raw+jpeg etc.
nadvornik
parents: 134
diff changeset
374 gboolean marks[FILEDATA_MARKS_SIZE];
be3328a58875 started support for sidecar files like xmp, raw+jpeg etc.
nadvornik
parents: 134
diff changeset
375 GList *sidecar_files;
141
bdc16027fa6f use FileData even for sidecar file list
nadvornik
parents: 138
diff changeset
376 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
377 FileDataChangeInfo *change; /* for rename, move ... */
9
d907d608745f Sync to GQview 1.5.9 release.
gqview
parents:
diff changeset
378 GdkPixbuf *pixbuf;
138
71e1ebee420e replaced gchar* path with FileData *fd
nadvornik
parents: 137
diff changeset
379 gint ref;
9
d907d608745f Sync to GQview 1.5.9 release.
gqview
parents:
diff changeset
380 };
d907d608745f Sync to GQview 1.5.9 release.
gqview
parents:
diff changeset
381
d907d608745f Sync to GQview 1.5.9 release.
gqview
parents:
diff changeset
382 struct _LayoutWindow
d907d608745f Sync to GQview 1.5.9 release.
gqview
parents:
diff changeset
383 {
d907d608745f Sync to GQview 1.5.9 release.
gqview
parents:
diff changeset
384 gchar *path;
d907d608745f Sync to GQview 1.5.9 release.
gqview
parents:
diff changeset
385
d907d608745f Sync to GQview 1.5.9 release.
gqview
parents:
diff changeset
386 /* base */
d907d608745f Sync to GQview 1.5.9 release.
gqview
parents:
diff changeset
387
d907d608745f Sync to GQview 1.5.9 release.
gqview
parents:
diff changeset
388 GtkWidget *window;
d907d608745f Sync to GQview 1.5.9 release.
gqview
parents:
diff changeset
389
d907d608745f Sync to GQview 1.5.9 release.
gqview
parents:
diff changeset
390 GtkWidget *main_box;
d907d608745f Sync to GQview 1.5.9 release.
gqview
parents:
diff changeset
391
d907d608745f Sync to GQview 1.5.9 release.
gqview
parents:
diff changeset
392 GtkWidget *group_box;
d907d608745f Sync to GQview 1.5.9 release.
gqview
parents:
diff changeset
393 GtkWidget *h_pane;
d907d608745f Sync to GQview 1.5.9 release.
gqview
parents:
diff changeset
394 GtkWidget *v_pane;
d907d608745f Sync to GQview 1.5.9 release.
gqview
parents:
diff changeset
395
d907d608745f Sync to GQview 1.5.9 release.
gqview
parents:
diff changeset
396 /* menus, path selector */
d907d608745f Sync to GQview 1.5.9 release.
gqview
parents:
diff changeset
397
d907d608745f Sync to GQview 1.5.9 release.
gqview
parents:
diff changeset
398 GtkActionGroup *action_group;
d907d608745f Sync to GQview 1.5.9 release.
gqview
parents:
diff changeset
399 GtkUIManager *ui_manager;
d907d608745f Sync to GQview 1.5.9 release.
gqview
parents:
diff changeset
400
d907d608745f Sync to GQview 1.5.9 release.
gqview
parents:
diff changeset
401 GtkWidget *path_entry;
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 /* image */
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 LayoutLocation image_location;
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 ImageWindow *image;
d907d608745f Sync to GQview 1.5.9 release.
gqview
parents:
diff changeset
408
127
271afad04d07 implemented split windows
nadvornik
parents: 122
diff changeset
409 ImageWindow *split_images[MAX_SPLIT_IMAGES];
271afad04d07 implemented split windows
nadvornik
parents: 122
diff changeset
410 ImageSplitMode split_mode;
271afad04d07 implemented split windows
nadvornik
parents: 122
diff changeset
411 gint active_split_image;
271afad04d07 implemented split windows
nadvornik
parents: 122
diff changeset
412
271afad04d07 implemented split windows
nadvornik
parents: 122
diff changeset
413 GtkWidget *split_image_widget;
271afad04d07 implemented split windows
nadvornik
parents: 122
diff changeset
414
271afad04d07 implemented split windows
nadvornik
parents: 122
diff changeset
415 gint connect_zoom, connect_scroll;
271afad04d07 implemented split windows
nadvornik
parents: 122
diff changeset
416
9
d907d608745f Sync to GQview 1.5.9 release.
gqview
parents:
diff changeset
417 /* tools window (float) */
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 GtkWidget *tools;
d907d608745f Sync to GQview 1.5.9 release.
gqview
parents:
diff changeset
420 GtkWidget *tools_pane;
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 gint tools_float;
d907d608745f Sync to GQview 1.5.9 release.
gqview
parents:
diff changeset
423 gint tools_hidden;
d907d608745f Sync to GQview 1.5.9 release.
gqview
parents:
diff changeset
424
d907d608745f Sync to GQview 1.5.9 release.
gqview
parents:
diff changeset
425 /* toolbar */
d907d608745f Sync to GQview 1.5.9 release.
gqview
parents:
diff changeset
426
d907d608745f Sync to GQview 1.5.9 release.
gqview
parents:
diff changeset
427 GtkWidget *toolbar;
d907d608745f Sync to GQview 1.5.9 release.
gqview
parents:
diff changeset
428 gint toolbar_hidden;
d907d608745f Sync to GQview 1.5.9 release.
gqview
parents:
diff changeset
429
d907d608745f Sync to GQview 1.5.9 release.
gqview
parents:
diff changeset
430 GtkWidget *thumb_button;
d907d608745f Sync to GQview 1.5.9 release.
gqview
parents:
diff changeset
431 gint thumbs_enabled;
137
be3328a58875 started support for sidecar files like xmp, raw+jpeg etc.
nadvornik
parents: 134
diff changeset
432 gint marks_enabled;
132
661cd91e5a7e First implementation of marks for all photos.
bruclik
parents: 128
diff changeset
433
9
d907d608745f Sync to GQview 1.5.9 release.
gqview
parents:
diff changeset
434 /* dir view */
d907d608745f Sync to GQview 1.5.9 release.
gqview
parents:
diff changeset
435
d907d608745f Sync to GQview 1.5.9 release.
gqview
parents:
diff changeset
436 LayoutLocation dir_location;
d907d608745f Sync to GQview 1.5.9 release.
gqview
parents:
diff changeset
437
d907d608745f Sync to GQview 1.5.9 release.
gqview
parents:
diff changeset
438 ViewDirList *vdl;
d907d608745f Sync to GQview 1.5.9 release.
gqview
parents:
diff changeset
439 ViewDirTree *vdt;
d907d608745f Sync to GQview 1.5.9 release.
gqview
parents:
diff changeset
440 GtkWidget *dir_view;
d907d608745f Sync to GQview 1.5.9 release.
gqview
parents:
diff changeset
441
d907d608745f Sync to GQview 1.5.9 release.
gqview
parents:
diff changeset
442 gint tree_view;
d907d608745f Sync to GQview 1.5.9 release.
gqview
parents:
diff changeset
443
d907d608745f Sync to GQview 1.5.9 release.
gqview
parents:
diff changeset
444 /* file view */
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 LayoutLocation file_location;
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 ViewFileList *vfl;
d907d608745f Sync to GQview 1.5.9 release.
gqview
parents:
diff changeset
449 ViewFileIcon *vfi;
d907d608745f Sync to GQview 1.5.9 release.
gqview
parents:
diff changeset
450 GtkWidget *file_view;
d907d608745f Sync to GQview 1.5.9 release.
gqview
parents:
diff changeset
451
d907d608745f Sync to GQview 1.5.9 release.
gqview
parents:
diff changeset
452 gint icon_view;
d907d608745f Sync to GQview 1.5.9 release.
gqview
parents:
diff changeset
453 SortType sort_method;
d907d608745f Sync to GQview 1.5.9 release.
gqview
parents:
diff changeset
454 gint sort_ascend;
d907d608745f Sync to GQview 1.5.9 release.
gqview
parents:
diff changeset
455
d907d608745f Sync to GQview 1.5.9 release.
gqview
parents:
diff changeset
456 /* status bar */
d907d608745f Sync to GQview 1.5.9 release.
gqview
parents:
diff changeset
457
d907d608745f Sync to GQview 1.5.9 release.
gqview
parents:
diff changeset
458 GtkWidget *info_box;
d907d608745f Sync to GQview 1.5.9 release.
gqview
parents:
diff changeset
459 GtkWidget *info_progress_bar;
d907d608745f Sync to GQview 1.5.9 release.
gqview
parents:
diff changeset
460 GtkWidget *info_sort;
113
55166d93498d Fri Nov 24 21:37:01 2006 John Ellis <johne@verizon.net>
gqview
parents: 82
diff changeset
461 GtkWidget *info_color;
9
d907d608745f Sync to GQview 1.5.9 release.
gqview
parents:
diff changeset
462 GtkWidget *info_status;
d907d608745f Sync to GQview 1.5.9 release.
gqview
parents:
diff changeset
463 GtkWidget *info_details;
d907d608745f Sync to GQview 1.5.9 release.
gqview
parents:
diff changeset
464 GtkWidget *info_zoom;
d907d608745f Sync to GQview 1.5.9 release.
gqview
parents:
diff changeset
465
d907d608745f Sync to GQview 1.5.9 release.
gqview
parents:
diff changeset
466 /* slide show */
d907d608745f Sync to GQview 1.5.9 release.
gqview
parents:
diff changeset
467
d907d608745f Sync to GQview 1.5.9 release.
gqview
parents:
diff changeset
468 SlideShowData *slideshow;
d907d608745f Sync to GQview 1.5.9 release.
gqview
parents:
diff changeset
469
d907d608745f Sync to GQview 1.5.9 release.
gqview
parents:
diff changeset
470 /* full screen */
d907d608745f Sync to GQview 1.5.9 release.
gqview
parents:
diff changeset
471
d907d608745f Sync to GQview 1.5.9 release.
gqview
parents:
diff changeset
472 FullScreenData *full_screen;
d907d608745f Sync to GQview 1.5.9 release.
gqview
parents:
diff changeset
473
d907d608745f Sync to GQview 1.5.9 release.
gqview
parents:
diff changeset
474 /* dividers */
d907d608745f Sync to GQview 1.5.9 release.
gqview
parents:
diff changeset
475
d907d608745f Sync to GQview 1.5.9 release.
gqview
parents:
diff changeset
476 gint div_h;
d907d608745f Sync to GQview 1.5.9 release.
gqview
parents:
diff changeset
477 gint div_v;
d907d608745f Sync to GQview 1.5.9 release.
gqview
parents:
diff changeset
478 gint div_float;
d907d608745f Sync to GQview 1.5.9 release.
gqview
parents:
diff changeset
479
d907d608745f Sync to GQview 1.5.9 release.
gqview
parents:
diff changeset
480 /* directory update check */
d907d608745f Sync to GQview 1.5.9 release.
gqview
parents:
diff changeset
481
d907d608745f Sync to GQview 1.5.9 release.
gqview
parents:
diff changeset
482 gint last_time_id;
d907d608745f Sync to GQview 1.5.9 release.
gqview
parents:
diff changeset
483 time_t last_time;
d907d608745f Sync to GQview 1.5.9 release.
gqview
parents:
diff changeset
484
d907d608745f Sync to GQview 1.5.9 release.
gqview
parents:
diff changeset
485 /* misc */
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 GtkWidget *utility_box;
d907d608745f Sync to GQview 1.5.9 release.
gqview
parents:
diff changeset
488 GtkWidget *bar_sort;
d907d608745f Sync to GQview 1.5.9 release.
gqview
parents:
diff changeset
489 GtkWidget *bar_exif;
d907d608745f Sync to GQview 1.5.9 release.
gqview
parents:
diff changeset
490 GtkWidget *bar_info;
d907d608745f Sync to GQview 1.5.9 release.
gqview
parents:
diff changeset
491
d907d608745f Sync to GQview 1.5.9 release.
gqview
parents:
diff changeset
492 gint bar_sort_enabled;
d907d608745f Sync to GQview 1.5.9 release.
gqview
parents:
diff changeset
493 gint bar_exif_enabled;
d907d608745f Sync to GQview 1.5.9 release.
gqview
parents:
diff changeset
494 gint bar_info_enabled;
d907d608745f Sync to GQview 1.5.9 release.
gqview
parents:
diff changeset
495
d907d608745f Sync to GQview 1.5.9 release.
gqview
parents:
diff changeset
496 gint bar_exif_size;
d907d608745f Sync to GQview 1.5.9 release.
gqview
parents:
diff changeset
497 gint bar_exif_advanced;
d907d608745f Sync to GQview 1.5.9 release.
gqview
parents:
diff changeset
498 };
d907d608745f Sync to GQview 1.5.9 release.
gqview
parents:
diff changeset
499
d907d608745f Sync to GQview 1.5.9 release.
gqview
parents:
diff changeset
500 struct _ViewDirList
d907d608745f Sync to GQview 1.5.9 release.
gqview
parents:
diff changeset
501 {
d907d608745f Sync to GQview 1.5.9 release.
gqview
parents:
diff changeset
502 GtkWidget *widget;
d907d608745f Sync to GQview 1.5.9 release.
gqview
parents:
diff changeset
503 GtkWidget *listview;
d907d608745f Sync to GQview 1.5.9 release.
gqview
parents:
diff changeset
504
d907d608745f Sync to GQview 1.5.9 release.
gqview
parents:
diff changeset
505 gchar *path;
d907d608745f Sync to GQview 1.5.9 release.
gqview
parents:
diff changeset
506 GList *list;
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 FileData *click_fd;
d907d608745f Sync to GQview 1.5.9 release.
gqview
parents:
diff changeset
509
d907d608745f Sync to GQview 1.5.9 release.
gqview
parents:
diff changeset
510 FileData *drop_fd;
d907d608745f Sync to GQview 1.5.9 release.
gqview
parents:
diff changeset
511 GList *drop_list;
d907d608745f Sync to GQview 1.5.9 release.
gqview
parents:
diff changeset
512
d907d608745f Sync to GQview 1.5.9 release.
gqview
parents:
diff changeset
513 gint drop_scroll_id;
d907d608745f Sync to GQview 1.5.9 release.
gqview
parents:
diff changeset
514
d907d608745f Sync to GQview 1.5.9 release.
gqview
parents:
diff changeset
515 /* func list */
d907d608745f Sync to GQview 1.5.9 release.
gqview
parents:
diff changeset
516 void (*select_func)(ViewDirList *vdl, const gchar *path, gpointer data);
d907d608745f Sync to GQview 1.5.9 release.
gqview
parents:
diff changeset
517 gpointer select_data;
d907d608745f Sync to GQview 1.5.9 release.
gqview
parents:
diff changeset
518
d907d608745f Sync to GQview 1.5.9 release.
gqview
parents:
diff changeset
519 LayoutWindow *layout;
d907d608745f Sync to GQview 1.5.9 release.
gqview
parents:
diff changeset
520
d907d608745f Sync to GQview 1.5.9 release.
gqview
parents:
diff changeset
521 GtkWidget *popup;
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 PixmapFolders *pf;
d907d608745f Sync to GQview 1.5.9 release.
gqview
parents:
diff changeset
524 };
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 struct _ViewDirTree
d907d608745f Sync to GQview 1.5.9 release.
gqview
parents:
diff changeset
527 {
d907d608745f Sync to GQview 1.5.9 release.
gqview
parents:
diff changeset
528 GtkWidget *widget;
d907d608745f Sync to GQview 1.5.9 release.
gqview
parents:
diff changeset
529 GtkWidget *treeview;
d907d608745f Sync to GQview 1.5.9 release.
gqview
parents:
diff changeset
530
d907d608745f Sync to GQview 1.5.9 release.
gqview
parents:
diff changeset
531 gchar *path;
d907d608745f Sync to GQview 1.5.9 release.
gqview
parents:
diff changeset
532
d907d608745f Sync to GQview 1.5.9 release.
gqview
parents:
diff changeset
533 FileData *click_fd;
d907d608745f Sync to GQview 1.5.9 release.
gqview
parents:
diff changeset
534
d907d608745f Sync to GQview 1.5.9 release.
gqview
parents:
diff changeset
535 FileData *drop_fd;
d907d608745f Sync to GQview 1.5.9 release.
gqview
parents:
diff changeset
536 GList *drop_list;
d907d608745f Sync to GQview 1.5.9 release.
gqview
parents:
diff changeset
537
d907d608745f Sync to GQview 1.5.9 release.
gqview
parents:
diff changeset
538 gint drop_scroll_id;
d907d608745f Sync to GQview 1.5.9 release.
gqview
parents:
diff changeset
539 gint drop_expand_id;
d907d608745f Sync to GQview 1.5.9 release.
gqview
parents:
diff changeset
540
d907d608745f Sync to GQview 1.5.9 release.
gqview
parents:
diff changeset
541 /* func list */
d907d608745f Sync to GQview 1.5.9 release.
gqview
parents:
diff changeset
542 void (*select_func)(ViewDirTree *vdt, const gchar *path, gpointer data);
d907d608745f Sync to GQview 1.5.9 release.
gqview
parents:
diff changeset
543 gpointer select_data;
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 LayoutWindow *layout;
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 GtkWidget *popup;
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 PixmapFolders *pf;
d907d608745f Sync to GQview 1.5.9 release.
gqview
parents:
diff changeset
550
d907d608745f Sync to GQview 1.5.9 release.
gqview
parents:
diff changeset
551 gint busy_ref;
d907d608745f Sync to GQview 1.5.9 release.
gqview
parents:
diff changeset
552 };
d907d608745f Sync to GQview 1.5.9 release.
gqview
parents:
diff changeset
553
d907d608745f Sync to GQview 1.5.9 release.
gqview
parents:
diff changeset
554 struct _ViewFileList
d907d608745f Sync to GQview 1.5.9 release.
gqview
parents:
diff changeset
555 {
d907d608745f Sync to GQview 1.5.9 release.
gqview
parents:
diff changeset
556 GtkWidget *widget;
d907d608745f Sync to GQview 1.5.9 release.
gqview
parents:
diff changeset
557 GtkWidget *listview;
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 gchar *path;
d907d608745f Sync to GQview 1.5.9 release.
gqview
parents:
diff changeset
560 GList *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 SortType sort_method;
d907d608745f Sync to GQview 1.5.9 release.
gqview
parents:
diff changeset
563 gint sort_ascend;
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 FileData *click_fd;
d907d608745f Sync to GQview 1.5.9 release.
gqview
parents:
diff changeset
566 FileData *select_fd;
d907d608745f Sync to GQview 1.5.9 release.
gqview
parents:
diff changeset
567
d907d608745f Sync to GQview 1.5.9 release.
gqview
parents:
diff changeset
568 gint thumbs_enabled;
138
71e1ebee420e replaced gchar* path with FileData *fd
nadvornik
parents: 137
diff changeset
569 gint marks_enabled;
150
976fba0add7c more operations with file marks
nadvornik
parents: 149
diff changeset
570 gint active_mark;
132
661cd91e5a7e First implementation of marks for all photos.
bruclik
parents: 128
diff changeset
571
9
d907d608745f Sync to GQview 1.5.9 release.
gqview
parents:
diff changeset
572 /* thumb updates */
d907d608745f Sync to GQview 1.5.9 release.
gqview
parents:
diff changeset
573 gint thumbs_running;
d907d608745f Sync to GQview 1.5.9 release.
gqview
parents:
diff changeset
574 gint thumbs_count;
d907d608745f Sync to GQview 1.5.9 release.
gqview
parents:
diff changeset
575 ThumbLoader *thumbs_loader;
d907d608745f Sync to GQview 1.5.9 release.
gqview
parents:
diff changeset
576 FileData *thumbs_filedata;
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 /* func list */
d907d608745f Sync to GQview 1.5.9 release.
gqview
parents:
diff changeset
579 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
580 gpointer data_thumb_status;
d907d608745f Sync to GQview 1.5.9 release.
gqview
parents:
diff changeset
581
d907d608745f Sync to GQview 1.5.9 release.
gqview
parents:
diff changeset
582 void (*func_status)(ViewFileList *vfl, gpointer data);
d907d608745f Sync to GQview 1.5.9 release.
gqview
parents:
diff changeset
583 gpointer data_status;
d907d608745f Sync to GQview 1.5.9 release.
gqview
parents:
diff changeset
584
d907d608745f Sync to GQview 1.5.9 release.
gqview
parents:
diff changeset
585 gint select_idle_id;
d907d608745f Sync to GQview 1.5.9 release.
gqview
parents:
diff changeset
586 LayoutWindow *layout;
d907d608745f Sync to GQview 1.5.9 release.
gqview
parents:
diff changeset
587
d907d608745f Sync to GQview 1.5.9 release.
gqview
parents:
diff changeset
588 GtkWidget *popup;
d907d608745f Sync to GQview 1.5.9 release.
gqview
parents:
diff changeset
589 };
d907d608745f Sync to GQview 1.5.9 release.
gqview
parents:
diff changeset
590
138
71e1ebee420e replaced gchar* path with FileData *fd
nadvornik
parents: 137
diff changeset
591 struct _IconData;
71e1ebee420e replaced gchar* path with FileData *fd
nadvornik
parents: 137
diff changeset
592
9
d907d608745f Sync to GQview 1.5.9 release.
gqview
parents:
diff changeset
593 struct _ViewFileIcon
d907d608745f Sync to GQview 1.5.9 release.
gqview
parents:
diff changeset
594 {
d907d608745f Sync to GQview 1.5.9 release.
gqview
parents:
diff changeset
595 GtkWidget *widget;
d907d608745f Sync to GQview 1.5.9 release.
gqview
parents:
diff changeset
596 GtkWidget *listview;
d907d608745f Sync to GQview 1.5.9 release.
gqview
parents:
diff changeset
597
d907d608745f Sync to GQview 1.5.9 release.
gqview
parents:
diff changeset
598 gchar *path;
d907d608745f Sync to GQview 1.5.9 release.
gqview
parents:
diff changeset
599 GList *list;
d907d608745f Sync to GQview 1.5.9 release.
gqview
parents:
diff changeset
600
d907d608745f Sync to GQview 1.5.9 release.
gqview
parents:
diff changeset
601 /* table stuff */
d907d608745f Sync to GQview 1.5.9 release.
gqview
parents:
diff changeset
602
d907d608745f Sync to GQview 1.5.9 release.
gqview
parents:
diff changeset
603 gint columns;
d907d608745f Sync to GQview 1.5.9 release.
gqview
parents:
diff changeset
604 gint rows;
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 GList *selection;
138
71e1ebee420e replaced gchar* path with FileData *fd
nadvornik
parents: 137
diff changeset
607 struct _IconData *prev_selection;
9
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 GtkWidget *tip_window;
d907d608745f Sync to GQview 1.5.9 release.
gqview
parents:
diff changeset
610 gint tip_delay_id;
138
71e1ebee420e replaced gchar* path with FileData *fd
nadvornik
parents: 137
diff changeset
611 struct _IconData *tip_id;
9
d907d608745f Sync to GQview 1.5.9 release.
gqview
parents:
diff changeset
612
138
71e1ebee420e replaced gchar* path with FileData *fd
nadvornik
parents: 137
diff changeset
613 struct _IconData *click_id;
9
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 *focus_id;
9
d907d608745f Sync to GQview 1.5.9 release.
gqview
parents:
diff changeset
616 gint focus_row;
d907d608745f Sync to GQview 1.5.9 release.
gqview
parents:
diff changeset
617 gint focus_column;
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 SortType sort_method;
d907d608745f Sync to GQview 1.5.9 release.
gqview
parents:
diff changeset
620 gint sort_ascend;
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 gint show_text;
d907d608745f Sync to GQview 1.5.9 release.
gqview
parents:
diff changeset
623
d907d608745f Sync to GQview 1.5.9 release.
gqview
parents:
diff changeset
624 gint sync_idle_id;
d907d608745f Sync to GQview 1.5.9 release.
gqview
parents:
diff changeset
625
d907d608745f Sync to GQview 1.5.9 release.
gqview
parents:
diff changeset
626 /* thumbs */
d907d608745f Sync to GQview 1.5.9 release.
gqview
parents:
diff changeset
627
d907d608745f Sync to GQview 1.5.9 release.
gqview
parents:
diff changeset
628 gint thumbs_running;
d907d608745f Sync to GQview 1.5.9 release.
gqview
parents:
diff changeset
629 GList *thumbs_list;
d907d608745f Sync to GQview 1.5.9 release.
gqview
parents:
diff changeset
630 gint thumbs_count;
d907d608745f Sync to GQview 1.5.9 release.
gqview
parents:
diff changeset
631 ThumbLoader *thumbs_loader;
d907d608745f Sync to GQview 1.5.9 release.
gqview
parents:
diff changeset
632 FileData *thumbs_fd;
d907d608745f Sync to GQview 1.5.9 release.
gqview
parents:
diff changeset
633
d907d608745f Sync to GQview 1.5.9 release.
gqview
parents:
diff changeset
634 /* func list */
d907d608745f Sync to GQview 1.5.9 release.
gqview
parents:
diff changeset
635 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
636 gpointer data_thumb_status;
d907d608745f Sync to GQview 1.5.9 release.
gqview
parents:
diff changeset
637
d907d608745f Sync to GQview 1.5.9 release.
gqview
parents:
diff changeset
638 void (*func_status)(ViewFileIcon *vfi, gpointer data);
d907d608745f Sync to GQview 1.5.9 release.
gqview
parents:
diff changeset
639 gpointer data_status;
d907d608745f Sync to GQview 1.5.9 release.
gqview
parents:
diff changeset
640
d907d608745f Sync to GQview 1.5.9 release.
gqview
parents:
diff changeset
641 LayoutWindow *layout;
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 GtkWidget *popup;
d907d608745f Sync to GQview 1.5.9 release.
gqview
parents:
diff changeset
644 };
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 struct _SlideShowData
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 ImageWindow *imd;
d907d608745f Sync to GQview 1.5.9 release.
gqview
parents:
diff changeset
649
138
71e1ebee420e replaced gchar* path with FileData *fd
nadvornik
parents: 137
diff changeset
650 GList *filelist;
9
d907d608745f Sync to GQview 1.5.9 release.
gqview
parents:
diff changeset
651 CollectionData *cd;
d907d608745f Sync to GQview 1.5.9 release.
gqview
parents:
diff changeset
652 gchar *layout_path;
d907d608745f Sync to GQview 1.5.9 release.
gqview
parents:
diff changeset
653 LayoutWindow *layout;
d907d608745f Sync to GQview 1.5.9 release.
gqview
parents:
diff changeset
654
d907d608745f Sync to GQview 1.5.9 release.
gqview
parents:
diff changeset
655 GList *list;
d907d608745f Sync to GQview 1.5.9 release.
gqview
parents:
diff changeset
656 GList *list_done;
d907d608745f Sync to GQview 1.5.9 release.
gqview
parents:
diff changeset
657
138
71e1ebee420e replaced gchar* path with FileData *fd
nadvornik
parents: 137
diff changeset
658 FileData *slide_fd;
9
d907d608745f Sync to GQview 1.5.9 release.
gqview
parents:
diff changeset
659
d907d608745f Sync to GQview 1.5.9 release.
gqview
parents:
diff changeset
660 gint slide_count;
d907d608745f Sync to GQview 1.5.9 release.
gqview
parents:
diff changeset
661 gint timeout_id;
d907d608745f Sync to GQview 1.5.9 release.
gqview
parents:
diff changeset
662
d907d608745f Sync to GQview 1.5.9 release.
gqview
parents:
diff changeset
663 gint from_selection;
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 void (*stop_func)(SlideShowData *, gpointer);
d907d608745f Sync to GQview 1.5.9 release.
gqview
parents:
diff changeset
666 gpointer stop_data;
d907d608745f Sync to GQview 1.5.9 release.
gqview
parents:
diff changeset
667
d907d608745f Sync to GQview 1.5.9 release.
gqview
parents:
diff changeset
668 gint paused;
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
d907d608745f Sync to GQview 1.5.9 release.
gqview
parents:
diff changeset
671 struct _FullScreenData
d907d608745f Sync to GQview 1.5.9 release.
gqview
parents:
diff changeset
672 {
d907d608745f Sync to GQview 1.5.9 release.
gqview
parents:
diff changeset
673 GtkWidget *window;
d907d608745f Sync to GQview 1.5.9 release.
gqview
parents:
diff changeset
674 ImageWindow *imd;
d907d608745f Sync to GQview 1.5.9 release.
gqview
parents:
diff changeset
675
d907d608745f Sync to GQview 1.5.9 release.
gqview
parents:
diff changeset
676 GtkWidget *normal_window;
d907d608745f Sync to GQview 1.5.9 release.
gqview
parents:
diff changeset
677 ImageWindow *normal_imd;
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 gint hide_mouse_id;
d907d608745f Sync to GQview 1.5.9 release.
gqview
parents:
diff changeset
680 gint busy_mouse_id;
d907d608745f Sync to GQview 1.5.9 release.
gqview
parents:
diff changeset
681 gint cursor_state;
d907d608745f Sync to GQview 1.5.9 release.
gqview
parents:
diff changeset
682
d907d608745f Sync to GQview 1.5.9 release.
gqview
parents:
diff changeset
683 gint saver_block_id;
d907d608745f Sync to GQview 1.5.9 release.
gqview
parents:
diff changeset
684
d907d608745f Sync to GQview 1.5.9 release.
gqview
parents:
diff changeset
685 void (*stop_func)(FullScreenData *, gpointer);
d907d608745f Sync to GQview 1.5.9 release.
gqview
parents:
diff changeset
686 gpointer stop_data;
d907d608745f Sync to GQview 1.5.9 release.
gqview
parents:
diff changeset
687 };
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 struct _PixmapFolders
d907d608745f Sync to GQview 1.5.9 release.
gqview
parents:
diff changeset
690 {
d907d608745f Sync to GQview 1.5.9 release.
gqview
parents:
diff changeset
691 GdkPixbuf *close;
d907d608745f Sync to GQview 1.5.9 release.
gqview
parents:
diff changeset
692 GdkPixbuf *open;
d907d608745f Sync to GQview 1.5.9 release.
gqview
parents:
diff changeset
693 GdkPixbuf *deny;
d907d608745f Sync to GQview 1.5.9 release.
gqview
parents:
diff changeset
694 GdkPixbuf *parent;
d907d608745f Sync to GQview 1.5.9 release.
gqview
parents:
diff changeset
695 };
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
d907d608745f Sync to GQview 1.5.9 release.
gqview
parents:
diff changeset
698 #endif
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