annotate src/layout_image.h @ 1247:09da3f14490d

fixed possible crash
author nadvornik
date Fri, 23 Jan 2009 22:53:02 +0000
parents 1646720364cf
children 08b4598c7cba
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
475
48c8e49b571c updated copyright in source files
nadvornik
parents: 446
diff changeset
4 * Copyright (C) 2008 The Geeqie Team
9
d907d608745f Sync to GQview 1.5.9 release.
gqview
parents:
diff changeset
5 *
d907d608745f Sync to GQview 1.5.9 release.
gqview
parents:
diff changeset
6 * Author: John Ellis
d907d608745f Sync to GQview 1.5.9 release.
gqview
parents:
diff changeset
7 *
d907d608745f Sync to GQview 1.5.9 release.
gqview
parents:
diff changeset
8 * This software is released under the GNU General Public License (GNU GPL).
d907d608745f Sync to GQview 1.5.9 release.
gqview
parents:
diff changeset
9 * Please read the included file COPYING for more information.
d907d608745f Sync to GQview 1.5.9 release.
gqview
parents:
diff changeset
10 * 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
11 */
d907d608745f Sync to GQview 1.5.9 release.
gqview
parents:
diff changeset
12
d907d608745f Sync to GQview 1.5.9 release.
gqview
parents:
diff changeset
13 #ifndef LAYOUT_IMAGE_H
d907d608745f Sync to GQview 1.5.9 release.
gqview
parents:
diff changeset
14 #define LAYOUT_IMAGE_H
d907d608745f Sync to GQview 1.5.9 release.
gqview
parents:
diff changeset
15
d907d608745f Sync to GQview 1.5.9 release.
gqview
parents:
diff changeset
16
127
271afad04d07 implemented split windows
nadvornik
parents: 122
diff changeset
17 GtkWidget *layout_image_new(LayoutWindow *lw, gint i);
271afad04d07 implemented split windows
nadvornik
parents: 122
diff changeset
18 void layout_image_activate(LayoutWindow *lw, gint i);
271afad04d07 implemented split windows
nadvornik
parents: 122
diff changeset
19 GtkWidget *layout_image_setup_split_none(LayoutWindow *lw);
271afad04d07 implemented split windows
nadvornik
parents: 122
diff changeset
20 GtkWidget *layout_image_setup_split_hv(LayoutWindow *lw, gboolean horizontal);
271afad04d07 implemented split windows
nadvornik
parents: 122
diff changeset
21 GtkWidget *layout_image_setup_split(LayoutWindow *lw, ImageSplitMode mode);
9
d907d608745f Sync to GQview 1.5.9 release.
gqview
parents:
diff changeset
22
138
71e1ebee420e replaced gchar* path with FileData *fd
nadvornik
parents: 127
diff changeset
23 void layout_image_set_fd(LayoutWindow *lw, FileData *fd);
71e1ebee420e replaced gchar* path with FileData *fd
nadvornik
parents: 127
diff changeset
24 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
25
d907d608745f Sync to GQview 1.5.9 release.
gqview
parents:
diff changeset
26 void layout_image_set_index(LayoutWindow *lw, gint index);
d907d608745f Sync to GQview 1.5.9 release.
gqview
parents:
diff changeset
27 void layout_image_set_collection(LayoutWindow *lw, CollectionData *cd, CollectInfo *info);
d907d608745f Sync to GQview 1.5.9 release.
gqview
parents:
diff changeset
28
d907d608745f Sync to GQview 1.5.9 release.
gqview
parents:
diff changeset
29 void layout_image_refresh(LayoutWindow *lw);
d907d608745f Sync to GQview 1.5.9 release.
gqview
parents:
diff changeset
30
113
55166d93498d Fri Nov 24 21:37:01 2006 John Ellis <johne@verizon.net>
gqview
parents: 9
diff changeset
31 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
32 gint input_type, gint screen_type,
55166d93498d Fri Nov 24 21:37:01 2006 John Ellis <johne@verizon.net>
gqview
parents: 9
diff changeset
33 gint use_image);
55166d93498d Fri Nov 24 21:37:01 2006 John Ellis <johne@verizon.net>
gqview
parents: 9
diff changeset
34 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
35 gint *input_type, gint *screen_type,
55166d93498d Fri Nov 24 21:37:01 2006 John Ellis <johne@verizon.net>
gqview
parents: 9
diff changeset
36 gint *use_image);
55166d93498d Fri Nov 24 21:37:01 2006 John Ellis <johne@verizon.net>
gqview
parents: 9
diff changeset
37 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
38 gint layout_image_color_profile_get_use(LayoutWindow *lw);
426
9fe0ca1b5263 show the AdobeRGB profile in the menu, indicate input profile from image
nadvornik
parents: 196
diff changeset
39 gint layout_image_color_profile_get_from_image(LayoutWindow *lw);
113
55166d93498d Fri Nov 24 21:37:01 2006 John Ellis <johne@verizon.net>
gqview
parents: 9
diff changeset
40
9
d907d608745f Sync to GQview 1.5.9 release.
gqview
parents:
diff changeset
41
d907d608745f Sync to GQview 1.5.9 release.
gqview
parents:
diff changeset
42 const gchar *layout_image_get_path(LayoutWindow *lw);
d907d608745f Sync to GQview 1.5.9 release.
gqview
parents:
diff changeset
43 const gchar *layout_image_get_name(LayoutWindow *lw);
138
71e1ebee420e replaced gchar* path with FileData *fd
nadvornik
parents: 127
diff changeset
44 FileData *layout_image_get_fd(LayoutWindow *lw);
9
d907d608745f Sync to GQview 1.5.9 release.
gqview
parents:
diff changeset
45 CollectionData *layout_image_get_collection(LayoutWindow *lw, CollectInfo **info);
d907d608745f Sync to GQview 1.5.9 release.
gqview
parents:
diff changeset
46 gint layout_image_get_index(LayoutWindow *lw);
d907d608745f Sync to GQview 1.5.9 release.
gqview
parents:
diff changeset
47
d907d608745f Sync to GQview 1.5.9 release.
gqview
parents:
diff changeset
48
1047
81ec7d977d5f use SHIFT for connected scroll and zoom
nadvornik
parents: 796
diff changeset
49 void layout_image_scroll(LayoutWindow *lw, gint x, gint y, gboolean connect_scroll);
81ec7d977d5f use SHIFT for connected scroll and zoom
nadvornik
parents: 796
diff changeset
50 void layout_image_zoom_adjust(LayoutWindow *lw, gdouble increment, gboolean connect_zoom);
81ec7d977d5f use SHIFT for connected scroll and zoom
nadvornik
parents: 796
diff changeset
51 void layout_image_zoom_adjust_at_point(LayoutWindow *lw, gdouble increment, gint x, gint y, gboolean connect_zoom);
81ec7d977d5f use SHIFT for connected scroll and zoom
nadvornik
parents: 796
diff changeset
52 void layout_image_zoom_set(LayoutWindow *lw, gdouble zoom, gboolean connect_zoom);
81ec7d977d5f use SHIFT for connected scroll and zoom
nadvornik
parents: 796
diff changeset
53 void layout_image_zoom_set_fill_geometry(LayoutWindow *lw, gint vertical, gboolean connect_zoom);
9
d907d608745f Sync to GQview 1.5.9 release.
gqview
parents:
diff changeset
54 void layout_image_alter(LayoutWindow *lw, AlterType type);
d907d608745f Sync to GQview 1.5.9 release.
gqview
parents:
diff changeset
55
d907d608745f Sync to GQview 1.5.9 release.
gqview
parents:
diff changeset
56 void layout_image_next(LayoutWindow *lw);
d907d608745f Sync to GQview 1.5.9 release.
gqview
parents:
diff changeset
57 void layout_image_prev(LayoutWindow *lw);
d907d608745f Sync to GQview 1.5.9 release.
gqview
parents:
diff changeset
58 void layout_image_first(LayoutWindow *lw);
d907d608745f Sync to GQview 1.5.9 release.
gqview
parents:
diff changeset
59 void layout_image_last(LayoutWindow *lw);
d907d608745f Sync to GQview 1.5.9 release.
gqview
parents:
diff changeset
60
d907d608745f Sync to GQview 1.5.9 release.
gqview
parents:
diff changeset
61 void layout_image_menu_popup(LayoutWindow *lw);
d907d608745f Sync to GQview 1.5.9 release.
gqview
parents:
diff changeset
62
d907d608745f Sync to GQview 1.5.9 release.
gqview
parents:
diff changeset
63 void layout_image_to_root(LayoutWindow *lw);
d907d608745f Sync to GQview 1.5.9 release.
gqview
parents:
diff changeset
64
d907d608745f Sync to GQview 1.5.9 release.
gqview
parents:
diff changeset
65 void layout_image_full_screen_start(LayoutWindow *lw);
d907d608745f Sync to GQview 1.5.9 release.
gqview
parents:
diff changeset
66 void layout_image_full_screen_stop(LayoutWindow *lw);
d907d608745f Sync to GQview 1.5.9 release.
gqview
parents:
diff changeset
67 void layout_image_full_screen_toggle(LayoutWindow *lw);
d907d608745f Sync to GQview 1.5.9 release.
gqview
parents:
diff changeset
68 gint layout_image_full_screen_active(LayoutWindow *lw);
d907d608745f Sync to GQview 1.5.9 release.
gqview
parents:
diff changeset
69
d907d608745f Sync to GQview 1.5.9 release.
gqview
parents:
diff changeset
70 void layout_image_slideshow_start(LayoutWindow *lw);
d907d608745f Sync to GQview 1.5.9 release.
gqview
parents:
diff changeset
71 void layout_image_slideshow_start_from_list(LayoutWindow *lw, GList *list);
d907d608745f Sync to GQview 1.5.9 release.
gqview
parents:
diff changeset
72 void layout_image_slideshow_stop(LayoutWindow *lw);
d907d608745f Sync to GQview 1.5.9 release.
gqview
parents:
diff changeset
73 void layout_image_slideshow_toggle(LayoutWindow *lw);
d907d608745f Sync to GQview 1.5.9 release.
gqview
parents:
diff changeset
74 gint layout_image_slideshow_active(LayoutWindow *lw);
d907d608745f Sync to GQview 1.5.9 release.
gqview
parents:
diff changeset
75 gint layout_image_slideshow_pause_toggle(LayoutWindow *lw);
d907d608745f Sync to GQview 1.5.9 release.
gqview
parents:
diff changeset
76 gint layout_image_slideshow_paused(LayoutWindow *lw);
d907d608745f Sync to GQview 1.5.9 release.
gqview
parents:
diff changeset
77
d907d608745f Sync to GQview 1.5.9 release.
gqview
parents:
diff changeset
78
122
e2a8b7f2165b Sat Dec 2 16:44:48 2006 John Ellis <johne@verizon.net>
gqview
parents: 113
diff changeset
79 void layout_image_overlay_toggle(LayoutWindow *lw);
9
d907d608745f Sync to GQview 1.5.9 release.
gqview
parents:
diff changeset
80
796
0be132a51f51 use new notification in layout and layout_image
nadvornik
parents: 530
diff changeset
81 void layout_image_notify_cb(FileData *fd, NotifyType type, gpointer data);
9
d907d608745f Sync to GQview 1.5.9 release.
gqview
parents:
diff changeset
82
d907d608745f Sync to GQview 1.5.9 release.
gqview
parents:
diff changeset
83 #endif
1055
1646720364cf Adding a vim modeline to all files - patch by Klaus Ethgen
nadvornik
parents: 1047
diff changeset
84 /* vim: set shiftwidth=8 softtabstop=0 cindent cinoptions={1s: */