Mercurial > geeqie
annotate src/bar_exif.h @ 738:ff8b802eac58
Separate path building code from options loading code.
Most code of load_options() is moved to new load_options_from().
ExifUIList initialization is moved to setup_default_options().
author | zas_ |
---|---|
date | Thu, 22 May 2008 22:43:07 +0000 |
parents | b50deb0f9968 |
children | 1646720364cf |
rev | line source |
---|---|
9 | 1 /* |
196 | 2 * Geeqie |
9 | 3 * (C) 2004 John Ellis |
475 | 4 * Copyright (C) 2008 The Geeqie Team |
9 | 5 * |
6 * Author: John Ellis | |
7 * | |
8 * This software is released under the GNU General Public License (GNU GPL). | |
9 * Please read the included file COPYING for more information. | |
10 * This software comes with no warranty of any kind, use at your own risk! | |
11 */ | |
12 | |
13 | |
14 #ifndef BAR_EXIF_H | |
15 #define BAR_EXIF_H | |
16 | |
222
77f1bcc6c161
various exif improvements based on patch by Uwe Ohse
nadvornik
parents:
196
diff
changeset
|
17 #define EXIF_UI_OFF 0 |
77f1bcc6c161
various exif improvements based on patch by Uwe Ohse
nadvornik
parents:
196
diff
changeset
|
18 #define EXIF_UI_IFSET 1 |
77f1bcc6c161
various exif improvements based on patch by Uwe Ohse
nadvornik
parents:
196
diff
changeset
|
19 #define EXIF_UI_ON 2 |
77f1bcc6c161
various exif improvements based on patch by Uwe Ohse
nadvornik
parents:
196
diff
changeset
|
20 |
77f1bcc6c161
various exif improvements based on patch by Uwe Ohse
nadvornik
parents:
196
diff
changeset
|
21 typedef struct _ExifUI ExifUI; |
77f1bcc6c161
various exif improvements based on patch by Uwe Ohse
nadvornik
parents:
196
diff
changeset
|
22 struct _ExifUI { |
77f1bcc6c161
various exif improvements based on patch by Uwe Ohse
nadvornik
parents:
196
diff
changeset
|
23 gint current; |
77f1bcc6c161
various exif improvements based on patch by Uwe Ohse
nadvornik
parents:
196
diff
changeset
|
24 gint temp; |
77f1bcc6c161
various exif improvements based on patch by Uwe Ohse
nadvornik
parents:
196
diff
changeset
|
25 gint default_value; |
77f1bcc6c161
various exif improvements based on patch by Uwe Ohse
nadvornik
parents:
196
diff
changeset
|
26 const gchar *key; |
77f1bcc6c161
various exif improvements based on patch by Uwe Ohse
nadvornik
parents:
196
diff
changeset
|
27 }; |
77f1bcc6c161
various exif improvements based on patch by Uwe Ohse
nadvornik
parents:
196
diff
changeset
|
28 extern ExifUI ExifUIList[]; |
77f1bcc6c161
various exif improvements based on patch by Uwe Ohse
nadvornik
parents:
196
diff
changeset
|
29 |
9 | 30 |
138 | 31 GtkWidget *bar_exif_new(gint show_title, FileData *fd, gint advanced, GtkWidget *bounding_widget); |
9 | 32 void bar_exif_close(GtkWidget *bar); |
33 | |
138 | 34 void bar_exif_set(GtkWidget *bar, FileData *fd); |
9 | 35 |
36 gint bar_exif_is_advanced(GtkWidget *bar); | |
37 | |
38 | |
95
eb9bb29cbd65
Fri Nov 3 11:40:48 2006 John Ellis <johne@verizon.net>
gqview
parents:
9
diff
changeset
|
39 /* 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
|
40 |
eb9bb29cbd65
Fri Nov 3 11:40:48 2006 John Ellis <johne@verizon.net>
gqview
parents:
9
diff
changeset
|
41 const gchar **bar_exif_key_list; |
eb9bb29cbd65
Fri Nov 3 11:40:48 2006 John Ellis <johne@verizon.net>
gqview
parents:
9
diff
changeset
|
42 const gint bar_exif_key_count; |
eb9bb29cbd65
Fri Nov 3 11:40:48 2006 John Ellis <johne@verizon.net>
gqview
parents:
9
diff
changeset
|
43 |
eb9bb29cbd65
Fri Nov 3 11:40:48 2006 John Ellis <johne@verizon.net>
gqview
parents:
9
diff
changeset
|
44 |
9 | 45 #endif |