Mercurial > geeqie
diff src/pan-types.h @ 783:d6a7fb4b8e7c
replaced directory path with FileData* dir_fd
author | nadvornik |
---|---|
date | Tue, 03 Jun 2008 19:44:19 +0000 |
parents | 905688aa2317 |
children | 1646720364cf |
line wrap: on
line diff
--- a/src/pan-types.h Tue Jun 03 15:54:05 2008 +0000 +++ b/src/pan-types.h Tue Jun 03 19:44:19 2008 +0000 @@ -194,7 +194,7 @@ gint overlay_id; - gchar *path; + FileData *dir_fd; PanLayoutType layout; PanImageSize size; gint thumb_size; @@ -268,6 +268,8 @@ PanItem *pan_item_find_by_key(PanWindow *pw, PanItemType type, const gchar *key); GList *pan_item_find_by_path(PanWindow *pw, PanItemType type, const gchar *path, gint ignore_case, gint partial); +GList *pan_item_find_by_fd(PanWindow *pw, PanItemType type, FileData *fd, + gint ignore_case, gint partial); PanItem *pan_item_find_by_coord(PanWindow *pw, PanItemType type, gint x, gint y, const gchar *key); @@ -340,20 +342,20 @@ gint pan_is_link_loop(const gchar *s); gint pan_is_ignored(const gchar *s, gint ignore_symlinks); -GList *pan_list_tree(const gchar *path, SortType sort, gint ascend, +GList *pan_list_tree(FileData *dir_fd, SortType sort, gint ascend, gint ignore_symlinks); /* the different view types */ void pan_calendar_update(PanWindow *pw, PanItem *pi_day); -void pan_calendar_compute(PanWindow *pw, const gchar *path, gint *width, gint *height); -void pan_flower_compute(PanWindow *pw, const gchar *path, +void pan_calendar_compute(PanWindow *pw, FileData *dir_fd, gint *width, gint *height); +void pan_flower_compute(PanWindow *pw, FileData *dir_fd, gint *width, gint *height, gint *scroll_x, gint *scroll_y); -void pan_folder_tree_compute(PanWindow *pw, const gchar *path, gint *width, gint *height); -void pan_grid_compute(PanWindow *pw, const gchar *path, gint *width, gint *height); -void pan_timeline_compute(PanWindow *pw, const gchar *path, gint *width, gint *height); +void pan_folder_tree_compute(PanWindow *pw, FileData *dir_fd, gint *width, gint *height); +void pan_grid_compute(PanWindow *pw, FileData *dir_fd, gint *width, gint *height); +void pan_timeline_compute(PanWindow *pw, FileData *dir_fd, gint *width, gint *height); #endif