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