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
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
475
48c8e49b571c updated copyright in source files
nadvornik
parents: 446
diff changeset
4 * Copyright (C) 2008 The Geeqie Team
9
d907d608745f Sync to GQview 1.5.9 release.
gqview
parents:
diff changeset
5 *
d907d608745f Sync to GQview 1.5.9 release.
gqview
parents:
diff changeset
6 * Author: John Ellis
d907d608745f Sync to GQview 1.5.9 release.
gqview
parents:
diff changeset
7 *
d907d608745f Sync to GQview 1.5.9 release.
gqview
parents:
diff changeset
8 * This software is released under the GNU General Public License (GNU GPL).
d907d608745f Sync to GQview 1.5.9 release.
gqview
parents:
diff changeset
9 * Please read the included file COPYING for more information.
d907d608745f Sync to GQview 1.5.9 release.
gqview
parents:
diff changeset
10 * 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
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
d907d608745f Sync to GQview 1.5.9 release.
gqview
parents:
diff changeset
14 #ifndef BAR_EXIF_H
d907d608745f Sync to GQview 1.5.9 release.
gqview
parents:
diff changeset
15 #define BAR_EXIF_H
d907d608745f Sync to GQview 1.5.9 release.
gqview
parents:
diff changeset
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
d907d608745f Sync to GQview 1.5.9 release.
gqview
parents:
diff changeset
30
138
71e1ebee420e replaced gchar* path with FileData *fd
nadvornik
parents: 95
diff changeset
31 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
32 void bar_exif_close(GtkWidget *bar);
d907d608745f Sync to GQview 1.5.9 release.
gqview
parents:
diff changeset
33
138
71e1ebee420e replaced gchar* path with FileData *fd
nadvornik
parents: 95
diff changeset
34 void bar_exif_set(GtkWidget *bar, FileData *fd);
9
d907d608745f Sync to GQview 1.5.9 release.
gqview
parents:
diff changeset
35
d907d608745f Sync to GQview 1.5.9 release.
gqview
parents:
diff changeset
36 gint bar_exif_is_advanced(GtkWidget *bar);
d907d608745f Sync to GQview 1.5.9 release.
gqview
parents:
diff changeset
37
d907d608745f Sync to GQview 1.5.9 release.
gqview
parents:
diff changeset
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
d907d608745f Sync to GQview 1.5.9 release.
gqview
parents:
diff changeset
45 #endif