Mercurial > geeqie
diff src/layout.h @ 1309:55ea4962887a
config file format changed to XML
save and restore all layout windows
save and restore sidebar configuration
author | nadvornik |
---|---|
date | Sun, 22 Feb 2009 15:35:37 +0000 |
parents | 8b89e3ff286b |
children | 1ffa5222dc61 |
line wrap: on
line diff
--- a/src/layout.h Sun Feb 22 13:29:49 2009 +0000 +++ b/src/layout.h Sun Feb 22 15:35:37 2009 +0000 @@ -17,15 +17,22 @@ extern GList *layout_window_list; -LayoutWindow *layout_new(FileData *dir_fd, gint popped, gint hidden); -LayoutWindow *layout_new_with_geometry(FileData *dir_fd, gint popped, gint hidden, +LayoutWindow *layout_new(FileData *dir_fd, LayoutOptions *lop); +LayoutWindow *layout_new_with_geometry(FileData *dir_fd, LayoutOptions *lop, const gchar *geometry); +LayoutWindow *layout_new_from_config(const gchar **attribute_names, const gchar **attribute_values); void layout_close(LayoutWindow *lw); void layout_free(LayoutWindow *lw); gint layout_valid(LayoutWindow **lw); +void layout_sync_options_with_current_state(LayoutWindow *lw); +void layout_load_attributes(LayoutOptions *layout, const gchar **attribute_names, const gchar **attribute_values); +void layout_write_attributes(LayoutOptions *layout, GString *outstr, gint indent); +void layout_write_config(LayoutWindow *lw, GString *outstr, gint indent); + + LayoutWindow *layout_find_by_image(ImageWindow *imd); LayoutWindow *layout_find_by_image_fd(ImageWindow *imd);