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!
16 extern GList *layout_window_list;
19 LayoutWindow *layout_new(const gchar *path, gint popped, gint hidden);
21 void layout_close(LayoutWindow *lw);
22 void layout_free(LayoutWindow *lw);
24 gint layout_valid(LayoutWindow **lw);
26 LayoutWindow *layout_find_by_image(ImageWindow *imd);
28 const gchar *layout_get_path(LayoutWindow *lw);
29 gint layout_set_path(LayoutWindow *lw, const gchar *path);
31 void layout_status_update_progress(LayoutWindow *lw, gdouble val, const gchar *text);
32 void layout_status_update_info(LayoutWindow *lw, const gchar *text);
33 void layout_status_update_image(LayoutWindow *lw);
34 void layout_status_update_all(LayoutWindow *lw);
36 GList *layout_list(LayoutWindow *lw);
37 gint layout_list_count(LayoutWindow *lw, gint64 *bytes);
38 const gchar *layout_list_get_path(LayoutWindow *lw, gint index);
39 gint layout_list_get_index(LayoutWindow *lw, const gchar *path);
40 void layout_list_sync_path(LayoutWindow *lw, const gchar *path);
42 GList *layout_selection_list(LayoutWindow *lw);
43 /* return list of pointers to int for selection */
44 GList *layout_selection_list_by_index(LayoutWindow *lw);
45 gint layout_selection_count(LayoutWindow *lw, gint64 *bytes);
46 void layout_select_all(LayoutWindow *lw);
47 void layout_select_none(LayoutWindow *lw);
49 void layout_refresh(LayoutWindow *lw);
51 void layout_thumb_set(LayoutWindow *lw, gint enable);
52 gint layout_thumb_get(LayoutWindow *lw);
54 void layout_sort_set(LayoutWindow *lw, SortType type, gint ascend);
55 gint layout_sort_get(LayoutWindow *lw, SortType *type, gint *ascend);
57 gint layout_geometry_get(LayoutWindow *lw, gint *x, gint *y, gint *w, gint *h);
58 gint layout_geometry_get_dividers(LayoutWindow *lw, gint *h, gint *v);
60 void layout_views_set(LayoutWindow *lw, gint tree, gint icons);
61 gint layout_views_get(LayoutWindow *lw, gint *tree, gint *icons);
63 void layout_status_update(LayoutWindow *lw, const gchar *text);
65 void layout_style_set(LayoutWindow *lw, gint style, const gchar *order);
67 void layout_menu_update_edit(void);
68 void layout_styles_update(void);
69 void layout_colors_update(void);
72 gint layout_geometry_get_tools(LayoutWindow *lw, gint *x, gint *y, gint *w, gint *h, gint *divider_pos);
73 void layout_tools_float_set(LayoutWindow *lw, gint popped, gint hidden);
74 gint layout_tools_float_get(LayoutWindow *lw, gint *popped, gint *hidden);
76 void layout_tools_float_toggle(LayoutWindow *lw);
77 void layout_tools_hide_toggle(LayoutWindow *lw);
80 void layout_toolbar_toggle(LayoutWindow *lw);
81 gint layout_toolbar_hidden(LayoutWindow *lw);
84 void layout_maint_renamed(const gchar *source, const gchar *dest);
85 void layout_maint_removed(const gchar *path, GList *ignore_list);
86 void layout_maint_moved(const gchar *source, const gchar *dest, GList *ignore_list);