annotate src/bar_exif.h @ 254:9faf34f047b1

Make the wmclass value unique among the code by defining it in main header file as GQ_WMCLASS. Before this patch, it was set using PACKAGE (="geeqie"), or by the hardcoded string "Geeqie". Now all Geeqie windows have the same value for wmclass.
author zas_
date Thu, 03 Apr 2008 23:29:14 +0000
parents 77f1bcc6c161
children ddabc4873a3f
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: 138
diff changeset
2 * Geeqie
9
d907d608745f Sync to GQview 1.5.9 release.
gqview
parents:
diff changeset
3 * (C) 2004 John Ellis
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 BAR_EXIF_H
d907d608745f Sync to GQview 1.5.9 release.
gqview
parents:
diff changeset
14 #define BAR_EXIF_H
d907d608745f Sync to GQview 1.5.9 release.
gqview
parents:
diff changeset
15
222
77f1bcc6c161 various exif improvements based on patch by Uwe Ohse
nadvornik
parents: 196
diff changeset
16 #define EXIF_UI_OFF 0
77f1bcc6c161 various exif improvements based on patch by Uwe Ohse
nadvornik
parents: 196
diff changeset
17 #define EXIF_UI_IFSET 1
77f1bcc6c161 various exif improvements based on patch by Uwe Ohse
nadvornik
parents: 196
diff changeset
18 #define EXIF_UI_ON 2
77f1bcc6c161 various exif improvements based on patch by Uwe Ohse
nadvornik
parents: 196
diff changeset
19
77f1bcc6c161 various exif improvements based on patch by Uwe Ohse
nadvornik
parents: 196
diff changeset
20 typedef struct _ExifUI ExifUI;
77f1bcc6c161 various exif improvements based on patch by Uwe Ohse
nadvornik
parents: 196
diff changeset
21 struct _ExifUI {
77f1bcc6c161 various exif improvements based on patch by Uwe Ohse
nadvornik
parents: 196
diff changeset
22 gint current;
77f1bcc6c161 various exif improvements based on patch by Uwe Ohse
nadvornik
parents: 196
diff changeset
23 gint temp;
77f1bcc6c161 various exif improvements based on patch by Uwe Ohse
nadvornik
parents: 196
diff changeset
24 gint default_value;
77f1bcc6c161 various exif improvements based on patch by Uwe Ohse
nadvornik
parents: 196
diff changeset
25 const gchar *key;
77f1bcc6c161 various exif improvements based on patch by Uwe Ohse
nadvornik
parents: 196
diff changeset
26 };
77f1bcc6c161 various exif improvements based on patch by Uwe Ohse
nadvornik
parents: 196
diff changeset
27 extern ExifUI ExifUIList[];
77f1bcc6c161 various exif improvements based on patch by Uwe Ohse
nadvornik
parents: 196
diff changeset
28
9
d907d608745f Sync to GQview 1.5.9 release.
gqview
parents:
diff changeset
29
138
71e1ebee420e replaced gchar* path with FileData *fd
nadvornik
parents: 95
diff changeset
30 GtkWidget *bar_exif_new(gint show_title, FileData *fd, gint advanced, GtkWidget *bounding_widget);
9
d907d608745f Sync to GQview 1.5.9 release.
gqview
parents:
diff changeset
31 void bar_exif_close(GtkWidget *bar);
d907d608745f Sync to GQview 1.5.9 release.
gqview
parents:
diff changeset
32
138
71e1ebee420e replaced gchar* path with FileData *fd
nadvornik
parents: 95
diff changeset
33 void bar_exif_set(GtkWidget *bar, FileData *fd);
9
d907d608745f Sync to GQview 1.5.9 release.
gqview
parents:
diff changeset
34
d907d608745f Sync to GQview 1.5.9 release.
gqview
parents:
diff changeset
35 gint bar_exif_is_advanced(GtkWidget *bar);
d907d608745f Sync to GQview 1.5.9 release.
gqview
parents:
diff changeset
36
d907d608745f Sync to GQview 1.5.9 release.
gqview
parents:
diff changeset
37
95
eb9bb29cbd65 Fri Nov 3 11:40:48 2006 John Ellis <johne@verizon.net>
gqview
parents: 9
diff changeset
38 /* these are exposed for when duplication of the exif bar's text is needed */
eb9bb29cbd65 Fri Nov 3 11:40:48 2006 John Ellis <johne@verizon.net>
gqview
parents: 9
diff changeset
39
eb9bb29cbd65 Fri Nov 3 11:40:48 2006 John Ellis <johne@verizon.net>
gqview
parents: 9
diff changeset
40 const gchar **bar_exif_key_list;
eb9bb29cbd65 Fri Nov 3 11:40:48 2006 John Ellis <johne@verizon.net>
gqview
parents: 9
diff changeset
41 const gint bar_exif_key_count;
eb9bb29cbd65 Fri Nov 3 11:40:48 2006 John Ellis <johne@verizon.net>
gqview
parents: 9
diff changeset
42
eb9bb29cbd65 Fri Nov 3 11:40:48 2006 John Ellis <johne@verizon.net>
gqview
parents: 9
diff changeset
43 gchar *bar_exif_validate_text(gchar *text);
eb9bb29cbd65 Fri Nov 3 11:40:48 2006 John Ellis <johne@verizon.net>
gqview
parents: 9
diff changeset
44
eb9bb29cbd65 Fri Nov 3 11:40:48 2006 John Ellis <johne@verizon.net>
gqview
parents: 9
diff changeset
45
9
d907d608745f Sync to GQview 1.5.9 release.
gqview
parents:
diff changeset
46 #endif
d907d608745f Sync to GQview 1.5.9 release.
gqview
parents:
diff changeset
47