annotate src/bar_exif.h @ 1331:a5c15bf32cdb

compute histmap in idle callback and only if the histogram is expanded
author nadvornik
date Fri, 27 Feb 2009 21:30:28 +0000
parents 55ea4962887a
children 9d190c098b97
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
1284
8b89e3ff286b Add year 2009 to copyright info everywhere.
zas_
parents: 1055
diff changeset
4 * Copyright (C) 2008 - 2009 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
1293
48e064b37ba6 separated "normal" and advanced exif, "Normal" exif is now in the
nadvornik
parents: 1284
diff changeset
30 #define EXIF_BAR_CUSTOM_COUNT 20
9
d907d608745f Sync to GQview 1.5.9 release.
gqview
parents:
diff changeset
31
d907d608745f Sync to GQview 1.5.9 release.
gqview
parents:
diff changeset
32
1309
55ea4962887a config file format changed to XML
nadvornik
parents: 1293
diff changeset
33 GtkWidget *bar_pane_exif_new(const gchar *title, gboolean expanded);
55ea4962887a config file format changed to XML
nadvornik
parents: 1293
diff changeset
34 GtkWidget *bar_pane_exif_new_from_config(const gchar **attribute_names, const gchar **attribute_values);
9
d907d608745f Sync to GQview 1.5.9 release.
gqview
parents:
diff changeset
35
95
eb9bb29cbd65 Fri Nov 3 11:40:48 2006 John Ellis <johne@verizon.net>
gqview
parents: 9
diff changeset
36 /* 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
37
eb9bb29cbd65 Fri Nov 3 11:40:48 2006 John Ellis <johne@verizon.net>
gqview
parents: 9
diff changeset
38 const gchar **bar_exif_key_list;
eb9bb29cbd65 Fri Nov 3 11:40:48 2006 John Ellis <johne@verizon.net>
gqview
parents: 9
diff changeset
39 const gint bar_exif_key_count;
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
9
d907d608745f Sync to GQview 1.5.9 release.
gqview
parents:
diff changeset
42 #endif
1055
1646720364cf Adding a vim modeline to all files - patch by Klaus Ethgen
nadvornik
parents: 645
diff changeset
43 /* vim: set shiftwidth=8 softtabstop=0 cindent cinoptions={1s: */