Mercurial > geeqie.yaz
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 |
rev | line source |
---|---|
9 | 1 /* |
196 | 2 * Geeqie |
9 | 3 * (C) 2004 John Ellis |
1284 | 4 * Copyright (C) 2008 - 2009 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 |
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 | 31 |
32 | |
1309 | 33 GtkWidget *bar_pane_exif_new(const gchar *title, gboolean expanded); |
34 GtkWidget *bar_pane_exif_new_from_config(const gchar **attribute_names, const gchar **attribute_values); | |
9 | 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 | 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: */ |