annotate src/typedefs.h @ 143:0d1bf3ac6cd8

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