Mercurial > geeqie
annotate src/layout_image.h @ 1699:81ccb9cf7ef5
do not use cell_data_func
cell_data_func is too slow, store formatted string in the tree_store
instead
author | nadvornik |
---|---|
date | Fri, 24 Jul 2009 12:21:23 +0000 |
parents | 71b29f70d08c |
children | 956aab097ea7 |
rev | line source |
---|---|
9 | 1 /* |
196 | 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 |
1284 | 4 * Copyright (C) 2008 - 2009 The Geeqie Team |
9 | 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 | |
127 | 17 GtkWidget *layout_image_new(LayoutWindow *lw, gint i); |
1659 | 18 void layout_image_activate(LayoutWindow *lw, gint i, gboolean force); |
127 | 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); | |
9 | 22 |
138 | 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); | |
9 | 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 | |
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, |
1548 | 32 gint input_type, |
1431 | 33 gboolean use_image); |
34 gboolean layout_image_color_profile_get(LayoutWindow *lw, | |
1548 | 35 gint *input_type, |
1431 | 36 gboolean *use_image); |
113
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); |
1431 | 38 gboolean layout_image_color_profile_get_use(LayoutWindow *lw); |
1549 | 39 gboolean layout_image_color_profile_get_status(LayoutWindow *lw, gchar **image_profile, gchar **screen_profile); |
113
55166d93498d
Fri Nov 24 21:37:01 2006 John Ellis <johne@verizon.net>
gqview
parents:
9
diff
changeset
|
40 |
9 | 41 |
42 const gchar *layout_image_get_path(LayoutWindow *lw); | |
43 const gchar *layout_image_get_name(LayoutWindow *lw); | |
138 | 44 FileData *layout_image_get_fd(LayoutWindow *lw); |
9 | 45 CollectionData *layout_image_get_collection(LayoutWindow *lw, CollectInfo **info); |
46 gint layout_image_get_index(LayoutWindow *lw); | |
47 | |
48 | |
1047 | 49 void layout_image_scroll(LayoutWindow *lw, gint x, gint y, gboolean connect_scroll); |
50 void layout_image_zoom_adjust(LayoutWindow *lw, gdouble increment, gboolean connect_zoom); | |
51 void layout_image_zoom_adjust_at_point(LayoutWindow *lw, gdouble increment, gint x, gint y, gboolean connect_zoom); | |
52 void layout_image_zoom_set(LayoutWindow *lw, gdouble zoom, gboolean connect_zoom); | |
1269 | 53 void layout_image_zoom_set_fill_geometry(LayoutWindow *lw, gboolean vertical, gboolean connect_zoom); |
1566 | 54 void layout_image_alter_orientation(LayoutWindow *lw, AlterType type); |
55 void layout_image_set_desaturate(LayoutWindow *lw, gboolean desaturate); | |
56 gboolean layout_image_get_desaturate(LayoutWindow *lw); | |
9 | 57 |
58 void layout_image_next(LayoutWindow *lw); | |
59 void layout_image_prev(LayoutWindow *lw); | |
60 void layout_image_first(LayoutWindow *lw); | |
61 void layout_image_last(LayoutWindow *lw); | |
62 | |
63 void layout_image_menu_popup(LayoutWindow *lw); | |
64 | |
65 void layout_image_to_root(LayoutWindow *lw); | |
66 | |
67 void layout_image_full_screen_start(LayoutWindow *lw); | |
68 void layout_image_full_screen_stop(LayoutWindow *lw); | |
69 void layout_image_full_screen_toggle(LayoutWindow *lw); | |
1433
b4ad1d201279
Use gboolean where applicable, minor cleanup and indentations fixes.
zas_
parents:
1431
diff
changeset
|
70 gboolean layout_image_full_screen_active(LayoutWindow *lw); |
9 | 71 |
72 void layout_image_slideshow_start(LayoutWindow *lw); | |
73 void layout_image_slideshow_start_from_list(LayoutWindow *lw, GList *list); | |
74 void layout_image_slideshow_stop(LayoutWindow *lw); | |
75 void layout_image_slideshow_toggle(LayoutWindow *lw); | |
1433
b4ad1d201279
Use gboolean where applicable, minor cleanup and indentations fixes.
zas_
parents:
1431
diff
changeset
|
76 gboolean layout_image_slideshow_active(LayoutWindow *lw); |
b4ad1d201279
Use gboolean where applicable, minor cleanup and indentations fixes.
zas_
parents:
1431
diff
changeset
|
77 gboolean layout_image_slideshow_pause_toggle(LayoutWindow *lw); |
b4ad1d201279
Use gboolean where applicable, minor cleanup and indentations fixes.
zas_
parents:
1431
diff
changeset
|
78 gboolean layout_image_slideshow_paused(LayoutWindow *lw); |
9 | 79 |
80 | |
122
e2a8b7f2165b
Sat Dec 2 16:44:48 2006 John Ellis <johne@verizon.net>
gqview
parents:
113
diff
changeset
|
81 void layout_image_overlay_toggle(LayoutWindow *lw); |
9 | 82 |
796 | 83 void layout_image_notify_cb(FileData *fd, NotifyType type, gpointer data); |
9 | 84 |
85 #endif | |
1055
1646720364cf
Adding a vim modeline to all files - patch by Klaus Ethgen
nadvornik
parents:
1047
diff
changeset
|
86 /* vim: set shiftwidth=8 softtabstop=0 cindent cinoptions={1s: */ |