Mercurial > geeqie
annotate src/layout_image.h @ 122:e2a8b7f2165b
Sat Dec 2 16:44:48 2006 John Ellis <johne@verizon.net>
* image-overlay.[ch]: More work on osd icons.
* image.c: Use correct flag when setting auto rotation state, and set
the state again after the rotation so that osd can update.
* img-view.c: Show osd icon when overlay is enabled.
* layout.c, layout_image.[ch]: Enable overlay regardless of the
full screen state, only difference now is that image description text
is only shown when in full screen but icons will always appear.
* layout_util.c: Make I key toggle overlay from windowed mode too.
* typedefs.h (LayoutWindow): Remove no longer used
full_screen_overlay_on.
author | gqview |
---|---|
date | Sat, 02 Dec 2006 21:57:12 +0000 |
parents | 55166d93498d |
children | 271afad04d07 |
rev | line source |
---|---|
9 | 1 /* |
2 * GQview | |
113
55166d93498d
Fri Nov 24 21:37:01 2006 John Ellis <johne@verizon.net>
gqview
parents:
9
diff
changeset
|
3 * (C) 2006 John Ellis |
9 | 4 * |
5 * Author: John Ellis | |
6 * | |
7 * This software is released under the GNU General Public License (GNU GPL). | |
8 * Please read the included file COPYING for more information. | |
9 * This software comes with no warranty of any kind, use at your own risk! | |
10 */ | |
11 | |
12 #ifndef LAYOUT_IMAGE_H | |
13 #define LAYOUT_IMAGE_H | |
14 | |
15 | |
16 GtkWidget *layout_image_new(LayoutWindow *lw, const gchar *path); | |
17 | |
18 void layout_image_set_path(LayoutWindow *lw, const gchar *path); | |
19 void layout_image_set_with_ahead(LayoutWindow *lw, const gchar *path, const gchar *read_ahead_path); | |
20 | |
21 void layout_image_set_index(LayoutWindow *lw, gint index); | |
22 void layout_image_set_collection(LayoutWindow *lw, CollectionData *cd, CollectInfo *info); | |
23 | |
24 void layout_image_refresh(LayoutWindow *lw); | |
25 | |
113
55166d93498d
Fri Nov 24 21:37:01 2006 John Ellis <johne@verizon.net>
gqview
parents:
9
diff
changeset
|
26 void layout_image_color_profile_set(LayoutWindow *lw, |
55166d93498d
Fri Nov 24 21:37:01 2006 John Ellis <johne@verizon.net>
gqview
parents:
9
diff
changeset
|
27 gint input_type, gint screen_type, |
55166d93498d
Fri Nov 24 21:37:01 2006 John Ellis <johne@verizon.net>
gqview
parents:
9
diff
changeset
|
28 gint use_image); |
55166d93498d
Fri Nov 24 21:37:01 2006 John Ellis <johne@verizon.net>
gqview
parents:
9
diff
changeset
|
29 gint layout_image_color_profile_get(LayoutWindow *lw, |
55166d93498d
Fri Nov 24 21:37:01 2006 John Ellis <johne@verizon.net>
gqview
parents:
9
diff
changeset
|
30 gint *input_type, gint *screen_type, |
55166d93498d
Fri Nov 24 21:37:01 2006 John Ellis <johne@verizon.net>
gqview
parents:
9
diff
changeset
|
31 gint *use_image); |
55166d93498d
Fri Nov 24 21:37:01 2006 John Ellis <johne@verizon.net>
gqview
parents:
9
diff
changeset
|
32 void layout_image_color_profile_set_use(LayoutWindow *lw, gint enable); |
55166d93498d
Fri Nov 24 21:37:01 2006 John Ellis <johne@verizon.net>
gqview
parents:
9
diff
changeset
|
33 gint layout_image_color_profile_get_use(LayoutWindow *lw); |
55166d93498d
Fri Nov 24 21:37:01 2006 John Ellis <johne@verizon.net>
gqview
parents:
9
diff
changeset
|
34 |
9 | 35 |
36 const gchar *layout_image_get_path(LayoutWindow *lw); | |
37 const gchar *layout_image_get_name(LayoutWindow *lw); | |
38 CollectionData *layout_image_get_collection(LayoutWindow *lw, CollectInfo **info); | |
39 gint layout_image_get_index(LayoutWindow *lw); | |
40 | |
41 | |
42 void layout_image_scroll(LayoutWindow *lw, gint x, gint y); | |
43 void layout_image_zoom_adjust(LayoutWindow *lw, gdouble increment); | |
44 void layout_image_zoom_set(LayoutWindow *lw, gdouble zoom); | |
45 void layout_image_zoom_set_fill_geometry(LayoutWindow *lw, gint vertical); | |
46 void layout_image_alter(LayoutWindow *lw, AlterType type); | |
47 | |
48 void layout_image_next(LayoutWindow *lw); | |
49 void layout_image_prev(LayoutWindow *lw); | |
50 void layout_image_first(LayoutWindow *lw); | |
51 void layout_image_last(LayoutWindow *lw); | |
52 | |
53 void layout_image_menu_popup(LayoutWindow *lw); | |
54 | |
55 void layout_image_to_root(LayoutWindow *lw); | |
56 | |
57 void layout_image_full_screen_start(LayoutWindow *lw); | |
58 void layout_image_full_screen_stop(LayoutWindow *lw); | |
59 void layout_image_full_screen_toggle(LayoutWindow *lw); | |
60 gint layout_image_full_screen_active(LayoutWindow *lw); | |
61 | |
62 void layout_image_slideshow_start(LayoutWindow *lw); | |
63 void layout_image_slideshow_start_from_list(LayoutWindow *lw, GList *list); | |
64 void layout_image_slideshow_stop(LayoutWindow *lw); | |
65 void layout_image_slideshow_toggle(LayoutWindow *lw); | |
66 gint layout_image_slideshow_active(LayoutWindow *lw); | |
67 gint layout_image_slideshow_pause_toggle(LayoutWindow *lw); | |
68 gint layout_image_slideshow_paused(LayoutWindow *lw); | |
69 | |
70 | |
122
e2a8b7f2165b
Sat Dec 2 16:44:48 2006 John Ellis <johne@verizon.net>
gqview
parents:
113
diff
changeset
|
71 void layout_image_overlay_toggle(LayoutWindow *lw); |
9 | 72 void layout_image_overlay_update(LayoutWindow *lw); |
73 | |
74 | |
75 void layout_image_maint_renamed(LayoutWindow *lw, const gchar *source, const gchar *dest); | |
76 void layout_image_maint_removed(LayoutWindow *lw, const gchar *path); | |
77 void layout_image_maint_moved(LayoutWindow *lw, const gchar *source, const gchar *dest); | |
78 | |
79 | |
80 #endif | |
81 | |
82 |