- handle color profile and write metadata buttons on statusbar by ui_manager
[geeqie.git] / src / layout_util.h
1 /*
2  * Geeqie
3  * (C) 2004 John Ellis
4  * Copyright (C) 2008 - 2009 The Geeqie Team
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
14 #ifndef LAYOUT_UTIL_H
15 #define LAYOUT_UTIL_H
16
17
18 #include "layout.h"
19
20 gboolean layout_key_press_cb(GtkWidget *widget, GdkEventKey *event, gpointer data);
21
22 void layout_util_sync_thumb(LayoutWindow *lw);
23 void layout_util_sync_color(LayoutWindow *lw);
24 void layout_util_sync(LayoutWindow *lw);
25
26 void layout_util_status_update_write(LayoutWindow *lw);
27 void layout_util_status_update_write_all(void);
28
29 //void layout_edit_update_all(void);
30
31 void layout_recent_update_all(void);
32 void layout_recent_add_path(const gchar *path);
33
34 void layout_copy_path_update_all(void);
35
36 void layout_editors_reload_all(void);
37 void layout_actions_setup(LayoutWindow *lw);
38 void layout_actions_add_window(LayoutWindow *lw, GtkWidget *window);
39 GtkWidget *layout_actions_menu_bar(LayoutWindow *lw);
40 void layout_toolbar_add_from_config(LayoutWindow *lw, ToolbarType type, const gchar **attribute_names, const gchar **attribute_values);
41
42 GtkWidget *layout_actions_toolbar(LayoutWindow *lw, ToolbarType type);
43
44 void layout_toolbar_clear(LayoutWindow *lw, ToolbarType type);
45 void layout_toolbar_add(LayoutWindow *lw, ToolbarType type, const gchar *action);
46 void layout_toolbar_add_default(LayoutWindow *lw, ToolbarType type);
47 void layout_toolbar_write_config(LayoutWindow *lw, ToolbarType type, GString *outstr, gint indent);
48
49
50 void layout_keyboard_init(LayoutWindow *lw, GtkWidget *window);
51
52
53 PixmapFolders *folder_icons_new(void);
54 void folder_icons_free(PixmapFolders *pf);
55
56
57 void layout_bar_toggle(LayoutWindow *lw);
58 void layout_bar_set(LayoutWindow *lw, GtkWidget *bar);
59
60 void layout_bar_sort_toggle(LayoutWindow *lw);
61 void layout_bar_sort_set(LayoutWindow *lw, GtkWidget *bar);
62
63 void layout_bars_new_image(LayoutWindow *lw);
64 void layout_bars_new_selection(LayoutWindow *lw, gint count);
65
66 GtkWidget *layout_bars_prepare(LayoutWindow *lw, GtkWidget *image);
67 void layout_bars_close(LayoutWindow *lw);
68
69 void layout_exif_window_new(LayoutWindow *lw);
70
71 #endif
72 /* vim: set shiftwidth=8 softtabstop=0 cindent cinoptions={1s: */