Mercurial > geeqie.yaz
annotate src/image-overlay.h @ 921:b416159a5820
Tidy up.
author | zas_ |
---|---|
date | Wed, 23 Jul 2008 12:46:35 +0000 |
parents | 57f759d012c7 |
children | 1646720364cf |
rev | line source |
---|---|
9 | 1 /* |
196 | 2 * Geeqie |
117
0c2e1f0a001b
Wed Nov 29 14:28:30 2006 John Ellis <johne@verizon.net>
gqview
parents:
9
diff
changeset
|
3 * (C) 2006 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 #ifndef IMAGE_OVERLAY_H | |
14 #define IMAGE_OVERLAY_H | |
15 | |
118
ac0f7f942c4d
Wed Nov 29 22:53:03 2006 John Ellis <johne@verizon.net>
gqview
parents:
117
diff
changeset
|
16 typedef enum { |
ac0f7f942c4d
Wed Nov 29 22:53:03 2006 John Ellis <johne@verizon.net>
gqview
parents:
117
diff
changeset
|
17 IMAGE_OSD_NONE = 0, |
ac0f7f942c4d
Wed Nov 29 22:53:03 2006 John Ellis <johne@verizon.net>
gqview
parents:
117
diff
changeset
|
18 IMAGE_OSD_ROTATE_USER, |
ac0f7f942c4d
Wed Nov 29 22:53:03 2006 John Ellis <johne@verizon.net>
gqview
parents:
117
diff
changeset
|
19 IMAGE_OSD_ROTATE_AUTO, |
ac0f7f942c4d
Wed Nov 29 22:53:03 2006 John Ellis <johne@verizon.net>
gqview
parents:
117
diff
changeset
|
20 IMAGE_OSD_COLOR, |
ac0f7f942c4d
Wed Nov 29 22:53:03 2006 John Ellis <johne@verizon.net>
gqview
parents:
117
diff
changeset
|
21 IMAGE_OSD_FIRST, |
ac0f7f942c4d
Wed Nov 29 22:53:03 2006 John Ellis <johne@verizon.net>
gqview
parents:
117
diff
changeset
|
22 IMAGE_OSD_LAST, |
122
e2a8b7f2165b
Sat Dec 2 16:44:48 2006 John Ellis <johne@verizon.net>
gqview
parents:
118
diff
changeset
|
23 IMAGE_OSD_ICON, |
118
ac0f7f942c4d
Wed Nov 29 22:53:03 2006 John Ellis <johne@verizon.net>
gqview
parents:
117
diff
changeset
|
24 IMAGE_OSD_COUNT |
ac0f7f942c4d
Wed Nov 29 22:53:03 2006 John Ellis <johne@verizon.net>
gqview
parents:
117
diff
changeset
|
25 } ImageOSDFlag; |
ac0f7f942c4d
Wed Nov 29 22:53:03 2006 John Ellis <johne@verizon.net>
gqview
parents:
117
diff
changeset
|
26 |
614 | 27 typedef enum { |
28 OSD_SHOW_NOTHING = 0, | |
29 OSD_SHOW_INFO = 1 << 0, | |
30 OSD_SHOW_STATUS = 1 << 1, | |
31 OSD_SHOW_HISTOGRAM = 1 << 2 | |
32 } OsdShowFlags; | |
33 | |
733
57f759d012c7
Modify set_default_image_overlay_template_string() to accept the pointer to
zas_
parents:
621
diff
changeset
|
34 void set_image_overlay_template_string(gchar **template_string, const gchar *value); |
57f759d012c7
Modify set_default_image_overlay_template_string() to accept the pointer to
zas_
parents:
621
diff
changeset
|
35 void set_default_image_overlay_template_string(gchar **template_string); |
9 | 36 |
614 | 37 void image_osd_set(ImageWindow *imd, OsdShowFlags show); |
621 | 38 OsdShowFlags image_osd_get(ImageWindow *imd); |
9 | 39 |
117
0c2e1f0a001b
Wed Nov 29 14:28:30 2006 John Ellis <johne@verizon.net>
gqview
parents:
9
diff
changeset
|
40 void image_osd_update(ImageWindow *imd); |
9 | 41 |
118
ac0f7f942c4d
Wed Nov 29 22:53:03 2006 John Ellis <johne@verizon.net>
gqview
parents:
117
diff
changeset
|
42 void image_osd_icon(ImageWindow *imd, ImageOSDFlag flag, gint duration); |
ac0f7f942c4d
Wed Nov 29 22:53:03 2006 John Ellis <johne@verizon.net>
gqview
parents:
117
diff
changeset
|
43 |
273
e0e2c2b72c5a
reworked the histogram patch by Uwe Ohse, most of the code is in
nadvornik
parents:
196
diff
changeset
|
44 void image_osd_histogram_chan_toggle(ImageWindow *); |
e0e2c2b72c5a
reworked the histogram patch by Uwe Ohse, most of the code is in
nadvornik
parents:
196
diff
changeset
|
45 void image_osd_histogram_log_toggle(ImageWindow *); |
9 | 46 |
481
67a612985686
Merge view_overlay_toggle() and layout_image_overlay_toggle() into new image_osd_toggle().
zas_
parents:
475
diff
changeset
|
47 void image_osd_toggle(ImageWindow *imd); |
67a612985686
Merge view_overlay_toggle() and layout_image_overlay_toggle() into new image_osd_toggle().
zas_
parents:
475
diff
changeset
|
48 |
67a612985686
Merge view_overlay_toggle() and layout_image_overlay_toggle() into new image_osd_toggle().
zas_
parents:
475
diff
changeset
|
49 |
9 | 50 #endif |