Mercurial > geeqie
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 |
rev | line source |
---|---|
9 | 1 /* |
196 | 2 * Geeqie |
9 | 3 * (C) 2004 John Ellis |
4 * | |
5 * Author: John Ellis | |
6 * | |
7 * This software is released under the GNU General Public License (GNU GPL). | |
8 * Please read the included file COPYING for more information. | |
9 * This software comes with no warranty of any kind, use at your own risk! | |
10 */ | |
11 | |
12 | |
13 #ifndef BAR_EXIF_H | |
14 #define BAR_EXIF_H | |
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 | 29 |
138 | 30 GtkWidget *bar_exif_new(gint show_title, FileData *fd, gint advanced, GtkWidget *bounding_widget); |
9 | 31 void bar_exif_close(GtkWidget *bar); |
32 | |
138 | 33 void bar_exif_set(GtkWidget *bar, FileData *fd); |
9 | 34 |
35 gint bar_exif_is_advanced(GtkWidget *bar); | |
36 | |
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 | 46 #endif |
47 |