implemented split windows
[geeqie.git] / src / layout_image.h
1 /*
2  * GQview
3  * (C) 2006 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, gint i);
17 void layout_image_activate(LayoutWindow *lw, gint i);
18 GtkWidget *layout_image_setup_split_none(LayoutWindow *lw);
19 GtkWidget *layout_image_setup_split_hv(LayoutWindow *lw, gboolean horizontal);
20 GtkWidget *layout_image_setup_split(LayoutWindow *lw, ImageSplitMode mode);
21
22 void layout_image_set_path(LayoutWindow *lw, const gchar *path);
23 void layout_image_set_with_ahead(LayoutWindow *lw, const gchar *path, const gchar *read_ahead_path);
24
25 void layout_image_set_index(LayoutWindow *lw, gint index);
26 void layout_image_set_collection(LayoutWindow *lw, CollectionData *cd, CollectInfo *info);
27
28 void layout_image_refresh(LayoutWindow *lw);
29
30 void layout_image_color_profile_set(LayoutWindow *lw,
31                                     gint input_type, gint screen_type,
32                                     gint use_image);
33 gint layout_image_color_profile_get(LayoutWindow *lw,
34                                     gint *input_type, gint *screen_type,
35                                     gint *use_image);
36 void layout_image_color_profile_set_use(LayoutWindow *lw, gint enable);
37 gint layout_image_color_profile_get_use(LayoutWindow *lw);
38
39
40 const gchar *layout_image_get_path(LayoutWindow *lw);
41 const gchar *layout_image_get_name(LayoutWindow *lw);
42 CollectionData *layout_image_get_collection(LayoutWindow *lw, CollectInfo **info);
43 gint layout_image_get_index(LayoutWindow *lw);
44
45
46 void layout_image_scroll(LayoutWindow *lw, gint x, gint y);
47 void layout_image_zoom_adjust(LayoutWindow *lw, gdouble increment);
48 void layout_image_zoom_set(LayoutWindow *lw, gdouble zoom);
49 void layout_image_zoom_set_fill_geometry(LayoutWindow *lw, gint vertical);
50 void layout_image_alter(LayoutWindow *lw, AlterType type);
51
52 void layout_image_next(LayoutWindow *lw);
53 void layout_image_prev(LayoutWindow *lw);
54 void layout_image_first(LayoutWindow *lw);
55 void layout_image_last(LayoutWindow *lw);
56
57 void layout_image_menu_popup(LayoutWindow *lw);
58
59 void layout_image_to_root(LayoutWindow *lw);
60
61 void layout_image_full_screen_start(LayoutWindow *lw);
62 void layout_image_full_screen_stop(LayoutWindow *lw);
63 void layout_image_full_screen_toggle(LayoutWindow *lw);
64 gint layout_image_full_screen_active(LayoutWindow *lw);
65
66 void layout_image_slideshow_start(LayoutWindow *lw);
67 void layout_image_slideshow_start_from_list(LayoutWindow *lw, GList *list);
68 void layout_image_slideshow_stop(LayoutWindow *lw);
69 void layout_image_slideshow_toggle(LayoutWindow *lw);
70 gint layout_image_slideshow_active(LayoutWindow *lw);
71 gint layout_image_slideshow_pause_toggle(LayoutWindow *lw);
72 gint layout_image_slideshow_paused(LayoutWindow *lw);
73
74
75 void layout_image_overlay_toggle(LayoutWindow *lw);
76 void layout_image_overlay_update(LayoutWindow *lw);
77
78
79 void layout_image_maint_renamed(LayoutWindow *lw, const gchar *source, const gchar *dest);
80 void layout_image_maint_removed(LayoutWindow *lw, const gchar *path);
81 void layout_image_maint_moved(LayoutWindow *lw, const gchar *source, const gchar *dest);
82
83
84 #endif
85
86