Mercurial > geeqie
annotate src/layout_util.h @ 1400:67573155210c
Add helper macros EDITOR_ERRORS() and EDITOR_ERRORS_BUT_SKIPPED() to clean up the code a bit. Minor tidy up.
author | zas_ |
---|---|
date | Sun, 08 Mar 2009 15:30:15 +0000 |
parents | 588d96cda850 |
children | b4ad1d201279 |
rev | line source |
---|---|
9 | 1 /* |
196 | 2 * Geeqie |
9 | 3 * (C) 2004 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 | |
14 #ifndef LAYOUT_UTIL_H | |
15 #define LAYOUT_UTIL_H | |
16 | |
17 | |
18 #include "layout.h" | |
19 | |
160 | 20 gint layout_key_press_cb(GtkWidget *widget, GdkEventKey *event, gpointer data); |
9 | 21 |
22 void layout_util_sync_thumb(LayoutWindow *lw); | |
23 void layout_util_sync(LayoutWindow *lw); | |
24 | |
25 | |
1272 | 26 //void layout_edit_update_all(void); |
9 | 27 |
28 void layout_recent_update_all(void); | |
29 void layout_recent_add_path(const gchar *path); | |
30 | |
497 | 31 void layout_copy_path_update_all(void); |
32 | |
9 | 33 void layout_actions_setup(LayoutWindow *lw); |
34 void layout_actions_add_window(LayoutWindow *lw, GtkWidget *window); | |
35 GtkWidget *layout_actions_menu_bar(LayoutWindow *lw); | |
1335 | 36 void layout_toolbar_add_from_config(LayoutWindow *lw, const gchar **attribute_names, const gchar **attribute_values); |
9 | 37 |
1335 | 38 GtkWidget *layout_actions_toolbar(LayoutWindow *lw); |
1043 | 39 |
1335 | 40 void layout_toolbar_clear(LayoutWindow *lw); |
41 void layout_toolbar_add(LayoutWindow *lw, const gchar *action); | |
42 void layout_toolbar_add_default(LayoutWindow *lw); | |
43 void layout_toolbar_write_config(LayoutWindow *lw, GString *outstr, gint indent); | |
44 | |
9 | 45 |
46 void layout_keyboard_init(LayoutWindow *lw, GtkWidget *window); | |
47 | |
48 | |
49 PixmapFolders *folder_icons_new(void); | |
50 void folder_icons_free(PixmapFolders *pf); | |
51 | |
52 | |
1291
50ae02a4a675
replaced bar_info with an universal bar, restored the original
nadvornik
parents:
1284
diff
changeset
|
53 void layout_bar_toggle(LayoutWindow *lw); |
1317 | 54 void layout_bar_set(LayoutWindow *lw, GtkWidget *bar); |
1309 | 55 |
9 | 56 void layout_bar_sort_toggle(LayoutWindow *lw); |
1320 | 57 void layout_bar_sort_set(LayoutWindow *lw, GtkWidget *bar); |
9 | 58 |
59 void layout_bars_new_image(LayoutWindow *lw); | |
60 void layout_bars_new_selection(LayoutWindow *lw, gint count); | |
61 | |
62 GtkWidget *layout_bars_prepare(LayoutWindow *lw, GtkWidget *image); | |
63 void layout_bars_close(LayoutWindow *lw); | |
64 | |
1293
48e064b37ba6
separated "normal" and advanced exif, "Normal" exif is now in the
nadvornik
parents:
1291
diff
changeset
|
65 void layout_exif_window_new(LayoutWindow *lw); |
9 | 66 |
67 #endif | |
1055
1646720364cf
Adding a vim modeline to all files - patch by Klaus Ethgen
nadvornik
parents:
1043
diff
changeset
|
68 /* vim: set shiftwidth=8 softtabstop=0 cindent cinoptions={1s: */ |