Mercurial > geeqie
annotate src/layout.h @ 468:2df505c60459
Replace fullscreen.info and fullscreen.show_info options by:
image_overlay.common.enabled => to save last state to rc file
image_overlay.common.show_at_startup => overrides .common.enabled at startup
image_overlay.common.template_string => replace fullscreen.info
common is used since for now there is only one image overlay setup,
later specific setups may be added.
author | zas_ |
---|---|
date | Mon, 21 Apr 2008 20:01:22 +0000 |
parents | ddabc4873a3f |
children | 48c8e49b571c |
rev | line source |
---|---|
9 | 1 /* |
196 | 2 * Geeqie |
9 | 3 * (C) 2004 John Ellis |
4 * | |
5 * Author: John Ellis | |
6 * | |
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! | |
10 */ | |
11 | |
12 #ifndef LAYOUT_H | |
13 #define LAYOUT_H | |
14 | |
15 | |
16 extern GList *layout_window_list; | |
17 | |
18 | |
19 LayoutWindow *layout_new(const gchar *path, gint popped, gint hidden); | |
81
0ef72a64930b
Thu Oct 19 09:35:18 2006 John Ellis <johne@verizon.net>
gqview
parents:
9
diff
changeset
|
20 LayoutWindow *layout_new_with_geometry(const gchar *path, gint popped, gint hidden, |
0ef72a64930b
Thu Oct 19 09:35:18 2006 John Ellis <johne@verizon.net>
gqview
parents:
9
diff
changeset
|
21 const gchar *geometry); |
9 | 22 |
23 void layout_close(LayoutWindow *lw); | |
24 void layout_free(LayoutWindow *lw); | |
25 | |
26 gint layout_valid(LayoutWindow **lw); | |
27 | |
28 LayoutWindow *layout_find_by_image(ImageWindow *imd); | |
368
95fe470440ad
New Go to directory view feature that permits to find and display the directory
zas_
parents:
196
diff
changeset
|
29 LayoutWindow *layout_find_by_image_fd(ImageWindow *imd); |
9 | 30 |
31 const gchar *layout_get_path(LayoutWindow *lw); | |
32 gint layout_set_path(LayoutWindow *lw, const gchar *path); | |
33 | |
34 void layout_status_update_progress(LayoutWindow *lw, gdouble val, const gchar *text); | |
35 void layout_status_update_info(LayoutWindow *lw, const gchar *text); | |
36 void layout_status_update_image(LayoutWindow *lw); | |
37 void layout_status_update_all(LayoutWindow *lw); | |
38 | |
39 GList *layout_list(LayoutWindow *lw); | |
40 gint layout_list_count(LayoutWindow *lw, gint64 *bytes); | |
41 const gchar *layout_list_get_path(LayoutWindow *lw, gint index); | |
138 | 42 FileData *layout_list_get_fd(LayoutWindow *lw, gint index); |
9 | 43 gint layout_list_get_index(LayoutWindow *lw, const gchar *path); |
138 | 44 void layout_list_sync_fd(LayoutWindow *lw, FileData *fd); |
9 | 45 |
46 GList *layout_selection_list(LayoutWindow *lw); | |
47 /* return list of pointers to int for selection */ | |
48 GList *layout_selection_list_by_index(LayoutWindow *lw); | |
49 gint layout_selection_count(LayoutWindow *lw, gint64 *bytes); | |
50 void layout_select_all(LayoutWindow *lw); | |
51 void layout_select_none(LayoutWindow *lw); | |
52 | |
162
1a42a2451575
created menu "Select" with selection and marks operations
nadvornik
parents:
138
diff
changeset
|
53 void layout_mark_to_selection(LayoutWindow *lw, gint mark, MarkToSelectionMode mode); |
1a42a2451575
created menu "Select" with selection and marks operations
nadvornik
parents:
138
diff
changeset
|
54 void layout_selection_to_mark(LayoutWindow *lw, gint mark, SelectionToMarkMode mode); |
1a42a2451575
created menu "Select" with selection and marks operations
nadvornik
parents:
138
diff
changeset
|
55 |
9 | 56 void layout_refresh(LayoutWindow *lw); |
57 | |
58 void layout_thumb_set(LayoutWindow *lw, gint enable); | |
59 gint layout_thumb_get(LayoutWindow *lw); | |
60 | |
132 | 61 void layout_marks_set(LayoutWindow *lw, gint enable); |
433
5ddcf93278c7
Save Show Marks state to rc file and display current state in menu.
zas_
parents:
380
diff
changeset
|
62 gint layout_marks_get(LayoutWindow *lw); |
132 | 63 |
9 | 64 void layout_sort_set(LayoutWindow *lw, SortType type, gint ascend); |
65 gint layout_sort_get(LayoutWindow *lw, SortType *type, gint *ascend); | |
66 | |
67 gint layout_geometry_get(LayoutWindow *lw, gint *x, gint *y, gint *w, gint *h); | |
68 gint layout_geometry_get_dividers(LayoutWindow *lw, gint *h, gint *v); | |
69 | |
380
5afe77bb563a
Introduce a new struct ViewDir to handle directory views common
zas_
parents:
368
diff
changeset
|
70 void layout_views_set(LayoutWindow *lw, DirViewType type, gint icons); |
5afe77bb563a
Introduce a new struct ViewDir to handle directory views common
zas_
parents:
368
diff
changeset
|
71 gint layout_views_get(LayoutWindow *lw, DirViewType *type, gint *icons); |
9 | 72 |
73 void layout_status_update(LayoutWindow *lw, const gchar *text); | |
74 | |
75 void layout_style_set(LayoutWindow *lw, gint style, const gchar *order); | |
76 | |
77 void layout_menu_update_edit(void); | |
78 void layout_styles_update(void); | |
79 void layout_colors_update(void); | |
80 | |
81 | |
82 gint layout_geometry_get_tools(LayoutWindow *lw, gint *x, gint *y, gint *w, gint *h, gint *divider_pos); | |
83 void layout_tools_float_set(LayoutWindow *lw, gint popped, gint hidden); | |
84 gint layout_tools_float_get(LayoutWindow *lw, gint *popped, gint *hidden); | |
85 | |
86 void layout_tools_float_toggle(LayoutWindow *lw); | |
87 void layout_tools_hide_toggle(LayoutWindow *lw); | |
88 | |
89 | |
90 void layout_toolbar_toggle(LayoutWindow *lw); | |
91 gint layout_toolbar_hidden(LayoutWindow *lw); | |
92 | |
127 | 93 void layout_split_change(LayoutWindow *lw, ImageSplitMode mode); |
9 | 94 |
138 | 95 void layout_maint_renamed(FileData *fd); |
96 void layout_maint_removed(FileData *fd, GList *ignore_list); | |
97 void layout_maint_moved(FileData *fd, GList *ignore_list); | |
9 | 98 |
99 | |
100 #endif |