annotate src/layout_image.h @ 309:99139bf9f380

Use path_from_utf8() on the passed filename. Add const attribute.
author zas_
date Fri, 11 Apr 2008 14:27:55 +0000
parents f6e307c7bad6
children 9fe0ca1b5263
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
9
d907d608745f Sync to GQview 1.5.9 release.
gqview
parents:
diff changeset
1 /*
196
f6e307c7bad6 rename GQview -> Geeqie over the code
nadvornik
parents: 138
diff changeset
2 * Geeqie
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
d907d608745f Sync to GQview 1.5.9 release.
gqview
parents:
diff changeset
4 *
d907d608745f Sync to GQview 1.5.9 release.
gqview
parents:
diff changeset
5 * Author: John Ellis
d907d608745f Sync to GQview 1.5.9 release.
gqview
parents:
diff changeset
6 *
d907d608745f Sync to GQview 1.5.9 release.
gqview
parents:
diff changeset
7 * This software is released under the GNU General Public License (GNU GPL).
d907d608745f Sync to GQview 1.5.9 release.
gqview
parents:
diff changeset
8 * Please read the included file COPYING for more information.
d907d608745f Sync to GQview 1.5.9 release.
gqview
parents:
diff changeset
9 * This software comes with no warranty of any kind, use at your own risk!
d907d608745f Sync to GQview 1.5.9 release.
gqview
parents:
diff changeset
10 */
d907d608745f Sync to GQview 1.5.9 release.
gqview
parents:
diff changeset
11
d907d608745f Sync to GQview 1.5.9 release.
gqview
parents:
diff changeset
12 #ifndef LAYOUT_IMAGE_H
d907d608745f Sync to GQview 1.5.9 release.
gqview
parents:
diff changeset
13 #define LAYOUT_IMAGE_H
d907d608745f Sync to GQview 1.5.9 release.
gqview
parents:
diff changeset
14
d907d608745f Sync to GQview 1.5.9 release.
gqview
parents:
diff changeset
15
127
271afad04d07 implemented split windows
nadvornik
parents: 122
diff changeset
16 GtkWidget *layout_image_new(LayoutWindow *lw, gint i);
271afad04d07 implemented split windows
nadvornik
parents: 122
diff changeset
17 void layout_image_activate(LayoutWindow *lw, gint i);
271afad04d07 implemented split windows
nadvornik
parents: 122
diff changeset
18 GtkWidget *layout_image_setup_split_none(LayoutWindow *lw);
271afad04d07 implemented split windows
nadvornik
parents: 122
diff changeset
19 GtkWidget *layout_image_setup_split_hv(LayoutWindow *lw, gboolean horizontal);
271afad04d07 implemented split windows
nadvornik
parents: 122
diff changeset
20 GtkWidget *layout_image_setup_split(LayoutWindow *lw, ImageSplitMode mode);
9
d907d608745f Sync to GQview 1.5.9 release.
gqview
parents:
diff changeset
21
138
71e1ebee420e replaced gchar* path with FileData *fd
nadvornik
parents: 127
diff changeset
22 void layout_image_set_fd(LayoutWindow *lw, FileData *fd);
71e1ebee420e replaced gchar* path with FileData *fd
nadvornik
parents: 127
diff changeset
23 void layout_image_set_with_ahead(LayoutWindow *lw, FileData *fd, FileData *read_ahead_fd);
9
d907d608745f Sync to GQview 1.5.9 release.
gqview
parents:
diff changeset
24
d907d608745f Sync to GQview 1.5.9 release.
gqview
parents:
diff changeset
25 void layout_image_set_index(LayoutWindow *lw, gint index);
d907d608745f Sync to GQview 1.5.9 release.
gqview
parents:
diff changeset
26 void layout_image_set_collection(LayoutWindow *lw, CollectionData *cd, CollectInfo *info);
d907d608745f Sync to GQview 1.5.9 release.
gqview
parents:
diff changeset
27
d907d608745f Sync to GQview 1.5.9 release.
gqview
parents:
diff changeset
28 void layout_image_refresh(LayoutWindow *lw);
d907d608745f Sync to GQview 1.5.9 release.
gqview
parents:
diff changeset
29
113
55166d93498d Fri Nov 24 21:37:01 2006 John Ellis <johne@verizon.net>
gqview
parents: 9
diff changeset
30 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
31 gint input_type, gint screen_type,
55166d93498d Fri Nov 24 21:37:01 2006 John Ellis <johne@verizon.net>
gqview
parents: 9
diff changeset
32 gint use_image);
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(LayoutWindow *lw,
55166d93498d Fri Nov 24 21:37:01 2006 John Ellis <johne@verizon.net>
gqview
parents: 9
diff changeset
34 gint *input_type, gint *screen_type,
55166d93498d Fri Nov 24 21:37:01 2006 John Ellis <johne@verizon.net>
gqview
parents: 9
diff changeset
35 gint *use_image);
55166d93498d Fri Nov 24 21:37:01 2006 John Ellis <johne@verizon.net>
gqview
parents: 9
diff changeset
36 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
37 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
38
9
d907d608745f Sync to GQview 1.5.9 release.
gqview
parents:
diff changeset
39
d907d608745f Sync to GQview 1.5.9 release.
gqview
parents:
diff changeset
40 const gchar *layout_image_get_path(LayoutWindow *lw);
d907d608745f Sync to GQview 1.5.9 release.
gqview
parents:
diff changeset
41 const gchar *layout_image_get_name(LayoutWindow *lw);
138
71e1ebee420e replaced gchar* path with FileData *fd
nadvornik
parents: 127
diff changeset
42 FileData *layout_image_get_fd(LayoutWindow *lw);
9
d907d608745f Sync to GQview 1.5.9 release.
gqview
parents:
diff changeset
43 CollectionData *layout_image_get_collection(LayoutWindow *lw, CollectInfo **info);
d907d608745f Sync to GQview 1.5.9 release.
gqview
parents:
diff changeset
44 gint layout_image_get_index(LayoutWindow *lw);
d907d608745f Sync to GQview 1.5.9 release.
gqview
parents:
diff changeset
45
d907d608745f Sync to GQview 1.5.9 release.
gqview
parents:
diff changeset
46
d907d608745f Sync to GQview 1.5.9 release.
gqview
parents:
diff changeset
47 void layout_image_scroll(LayoutWindow *lw, gint x, gint y);
d907d608745f Sync to GQview 1.5.9 release.
gqview
parents:
diff changeset
48 void layout_image_zoom_adjust(LayoutWindow *lw, gdouble increment);
d907d608745f Sync to GQview 1.5.9 release.
gqview
parents:
diff changeset
49 void layout_image_zoom_set(LayoutWindow *lw, gdouble zoom);
d907d608745f Sync to GQview 1.5.9 release.
gqview
parents:
diff changeset
50 void layout_image_zoom_set_fill_geometry(LayoutWindow *lw, gint vertical);
d907d608745f Sync to GQview 1.5.9 release.
gqview
parents:
diff changeset
51 void layout_image_alter(LayoutWindow *lw, AlterType type);
d907d608745f Sync to GQview 1.5.9 release.
gqview
parents:
diff changeset
52
d907d608745f Sync to GQview 1.5.9 release.
gqview
parents:
diff changeset
53 void layout_image_next(LayoutWindow *lw);
d907d608745f Sync to GQview 1.5.9 release.
gqview
parents:
diff changeset
54 void layout_image_prev(LayoutWindow *lw);
d907d608745f Sync to GQview 1.5.9 release.
gqview
parents:
diff changeset
55 void layout_image_first(LayoutWindow *lw);
d907d608745f Sync to GQview 1.5.9 release.
gqview
parents:
diff changeset
56 void layout_image_last(LayoutWindow *lw);
d907d608745f Sync to GQview 1.5.9 release.
gqview
parents:
diff changeset
57
d907d608745f Sync to GQview 1.5.9 release.
gqview
parents:
diff changeset
58 void layout_image_menu_popup(LayoutWindow *lw);
d907d608745f Sync to GQview 1.5.9 release.
gqview
parents:
diff changeset
59
d907d608745f Sync to GQview 1.5.9 release.
gqview
parents:
diff changeset
60 void layout_image_to_root(LayoutWindow *lw);
d907d608745f Sync to GQview 1.5.9 release.
gqview
parents:
diff changeset
61
d907d608745f Sync to GQview 1.5.9 release.
gqview
parents:
diff changeset
62 void layout_image_full_screen_start(LayoutWindow *lw);
d907d608745f Sync to GQview 1.5.9 release.
gqview
parents:
diff changeset
63 void layout_image_full_screen_stop(LayoutWindow *lw);
d907d608745f Sync to GQview 1.5.9 release.
gqview
parents:
diff changeset
64 void layout_image_full_screen_toggle(LayoutWindow *lw);
d907d608745f Sync to GQview 1.5.9 release.
gqview
parents:
diff changeset
65 gint layout_image_full_screen_active(LayoutWindow *lw);
d907d608745f Sync to GQview 1.5.9 release.
gqview
parents:
diff changeset
66
d907d608745f Sync to GQview 1.5.9 release.
gqview
parents:
diff changeset
67 void layout_image_slideshow_start(LayoutWindow *lw);
d907d608745f Sync to GQview 1.5.9 release.
gqview
parents:
diff changeset
68 void layout_image_slideshow_start_from_list(LayoutWindow *lw, GList *list);
d907d608745f Sync to GQview 1.5.9 release.
gqview
parents:
diff changeset
69 void layout_image_slideshow_stop(LayoutWindow *lw);
d907d608745f Sync to GQview 1.5.9 release.
gqview
parents:
diff changeset
70 void layout_image_slideshow_toggle(LayoutWindow *lw);
d907d608745f Sync to GQview 1.5.9 release.
gqview
parents:
diff changeset
71 gint layout_image_slideshow_active(LayoutWindow *lw);
d907d608745f Sync to GQview 1.5.9 release.
gqview
parents:
diff changeset
72 gint layout_image_slideshow_pause_toggle(LayoutWindow *lw);
d907d608745f Sync to GQview 1.5.9 release.
gqview
parents:
diff changeset
73 gint layout_image_slideshow_paused(LayoutWindow *lw);
d907d608745f Sync to GQview 1.5.9 release.
gqview
parents:
diff changeset
74
d907d608745f Sync to GQview 1.5.9 release.
gqview
parents:
diff changeset
75
122
e2a8b7f2165b Sat Dec 2 16:44:48 2006 John Ellis <johne@verizon.net>
gqview
parents: 113
diff changeset
76 void layout_image_overlay_toggle(LayoutWindow *lw);
9
d907d608745f Sync to GQview 1.5.9 release.
gqview
parents:
diff changeset
77 void layout_image_overlay_update(LayoutWindow *lw);
d907d608745f Sync to GQview 1.5.9 release.
gqview
parents:
diff changeset
78
d907d608745f Sync to GQview 1.5.9 release.
gqview
parents:
diff changeset
79
138
71e1ebee420e replaced gchar* path with FileData *fd
nadvornik
parents: 127
diff changeset
80 void layout_image_maint_renamed(LayoutWindow *lw, FileData *fd);
71e1ebee420e replaced gchar* path with FileData *fd
nadvornik
parents: 127
diff changeset
81 void layout_image_maint_removed(LayoutWindow *lw, FileData *fd);
71e1ebee420e replaced gchar* path with FileData *fd
nadvornik
parents: 127
diff changeset
82 void layout_image_maint_moved(LayoutWindow *lw, FileData *fd);
9
d907d608745f Sync to GQview 1.5.9 release.
gqview
parents:
diff changeset
83
d907d608745f Sync to GQview 1.5.9 release.
gqview
parents:
diff changeset
84
d907d608745f Sync to GQview 1.5.9 release.
gqview
parents:
diff changeset
85 #endif
d907d608745f Sync to GQview 1.5.9 release.
gqview
parents:
diff changeset
86
d907d608745f Sync to GQview 1.5.9 release.
gqview
parents:
diff changeset
87