fbc8b45832f11e0d81466c6ecd23039c546d75ff
[geeqie.git] / src / layout_image.h
1 /*
2  * GQview
3  * (C) 2004 John Ellis
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
26
27 const gchar *layout_image_get_path(LayoutWindow *lw);
28 const gchar *layout_image_get_name(LayoutWindow *lw);
29 CollectionData *layout_image_get_collection(LayoutWindow *lw, CollectInfo **info);
30 gint layout_image_get_index(LayoutWindow *lw);
31
32
33 void layout_image_scroll(LayoutWindow *lw, gint x, gint y);
34 void layout_image_zoom_adjust(LayoutWindow *lw, gdouble increment);
35 void layout_image_zoom_set(LayoutWindow *lw, gdouble zoom);
36 void layout_image_zoom_set_fill_geometry(LayoutWindow *lw, gint vertical);
37 void layout_image_alter(LayoutWindow *lw, AlterType type);
38
39 void layout_image_next(LayoutWindow *lw);
40 void layout_image_prev(LayoutWindow *lw);
41 void layout_image_first(LayoutWindow *lw);
42 void layout_image_last(LayoutWindow *lw);
43
44 void layout_image_menu_popup(LayoutWindow *lw);
45
46 void layout_image_to_root(LayoutWindow *lw);
47
48 void layout_image_full_screen_start(LayoutWindow *lw);
49 void layout_image_full_screen_stop(LayoutWindow *lw);
50 void layout_image_full_screen_toggle(LayoutWindow *lw);
51 gint layout_image_full_screen_active(LayoutWindow *lw);
52
53 void layout_image_slideshow_start(LayoutWindow *lw);
54 void layout_image_slideshow_start_from_list(LayoutWindow *lw, GList *list);
55 void layout_image_slideshow_stop(LayoutWindow *lw);
56 void layout_image_slideshow_toggle(LayoutWindow *lw);
57 gint layout_image_slideshow_active(LayoutWindow *lw);
58 gint layout_image_slideshow_pause_toggle(LayoutWindow *lw);
59 gint layout_image_slideshow_paused(LayoutWindow *lw);
60
61
62 void layout_image_overlay_update(LayoutWindow *lw);
63
64
65 void layout_image_maint_renamed(LayoutWindow *lw, const gchar *source, const gchar *dest);
66 void layout_image_maint_removed(LayoutWindow *lw, const gchar *path);
67 void layout_image_maint_moved(LayoutWindow *lw, const gchar *source, const gchar *dest);
68
69
70 #endif
71
72