Fix #314: Remote commands for thumbnail maintenance
[geeqie.git] / src / layout_util.h
1 /*
2  * Copyright (C) 2004 John Ellis
3  * Copyright (C) 2008 - 2016 The Geeqie Team
4  *
5  * Author: John Ellis
6  *
7  * This program is free software; you can redistribute it and/or modify
8  * it under the terms of the GNU General Public License as published by
9  * the Free Software Foundation; either version 2 of the License, or
10  * (at your option) any later version.
11  *
12  * This program is distributed in the hope that it will be useful,
13  * but WITHOUT ANY WARRANTY; without even the implied warranty of
14  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
15  * GNU General Public License for more details.
16  *
17  * You should have received a copy of the GNU General Public License along
18  * with this program; if not, write to the Free Software Foundation, Inc.,
19  * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
20  */
21
22 #ifndef LAYOUT_UTIL_H
23 #define LAYOUT_UTIL_H
24
25
26 #include "layout.h"
27
28 gboolean layout_key_press_cb(GtkWidget *widget, GdkEventKey *event, gpointer data);
29
30 void layout_util_sync_thumb(LayoutWindow *lw);
31 void layout_util_sync_color(LayoutWindow *lw);
32 void layout_util_sync(LayoutWindow *lw);
33
34 void layout_util_status_update_write(LayoutWindow *lw);
35 void layout_util_status_update_write_all(void);
36
37 //void layout_edit_update_all(void);
38
39 void layout_recent_update_all(void);
40 void layout_recent_add_path(const gchar *path);
41
42 void layout_copy_path_update_all(void);
43
44 void layout_editors_reload_start(void);
45 void layout_editors_reload_finish(void);
46 void layout_actions_setup(LayoutWindow *lw);
47 void layout_actions_add_window(LayoutWindow *lw, GtkWidget *window);
48 GtkWidget *layout_actions_menu_bar(LayoutWindow *lw);
49
50 GtkWidget *layout_actions_toolbar(LayoutWindow *lw, ToolbarType type);
51
52 void layout_keyboard_init(LayoutWindow *lw, GtkWidget *window);
53
54 void layout_bar_toggle(LayoutWindow *lw);
55 void layout_bar_set(LayoutWindow *lw, GtkWidget *bar);
56
57 void layout_bar_sort_toggle(LayoutWindow *lw);
58 void layout_bar_sort_set(LayoutWindow *lw, GtkWidget *bar);
59
60 void layout_bars_new_image(LayoutWindow *lw);
61 void layout_bars_new_selection(LayoutWindow *lw, gint count);
62
63 GtkWidget *layout_bars_prepare(LayoutWindow *lw, GtkWidget *image);
64 void layout_bars_close(LayoutWindow *lw);
65
66 void layout_exif_window_new(LayoutWindow *lw);
67
68 #endif
69 /* vim: set shiftwidth=8 softtabstop=0 cindent cinoptions={1s: */