Mercurial > geeqie.yaz
comparison src/view_file.h @ 783:d6a7fb4b8e7c
replaced directory path with FileData* dir_fd
author | nadvornik |
---|---|
date | Tue, 03 Jun 2008 19:44:19 +0000 |
parents | a7289f9e8d29 |
children | a2209b1f769d |
comparison
equal
deleted
inserted
replaced
782:3f7a0420c293 | 783:d6a7fb4b8e7c |
---|---|
20 #define VFICON_INFO_POINTER(_vf_) ((ViewFileInfoIcon *)(_vf_->info)) | 20 #define VFICON_INFO_POINTER(_vf_) ((ViewFileInfoIcon *)(_vf_->info)) |
21 #define VFICON_INFO(_vf_, _part_) (VFICON_INFO_POINTER(_vf_)->_part_) | 21 #define VFICON_INFO(_vf_, _part_) (VFICON_INFO_POINTER(_vf_)->_part_) |
22 | 22 |
23 void vf_send_update(ViewFile *vf); | 23 void vf_send_update(ViewFile *vf); |
24 | 24 |
25 ViewFile *vf_new(FileViewType type, const gchar *path); | 25 ViewFile *vf_new(FileViewType type, FileData *dir_fd); |
26 | 26 |
27 void vf_set_status_func(ViewFile *vf, void (*func)(ViewFile *vf, gpointer data), gpointer data); | 27 void vf_set_status_func(ViewFile *vf, void (*func)(ViewFile *vf, gpointer data), gpointer data); |
28 void vf_set_thumb_status_func(ViewFile *vf, void (*func)(ViewFile *vf, gdouble val, const gchar *text, gpointer data), gpointer data); | 28 void vf_set_thumb_status_func(ViewFile *vf, void (*func)(ViewFile *vf, gdouble val, const gchar *text, gpointer data), gpointer data); |
29 | 29 |
30 void vf_set_layout(ViewFile *vf, LayoutWindow *layout); | 30 void vf_set_layout(ViewFile *vf, LayoutWindow *layout); |
31 | 31 |
32 gint vf_set_path(ViewFile *vf, const gchar *path); | 32 gint vf_set_fd(ViewFile *vf, FileData *fd); |
33 gint vf_refresh(ViewFile *vf); | 33 gint vf_refresh(ViewFile *vf); |
34 | 34 |
35 void vf_thumb_set(ViewFile *vf, gint enable); | 35 void vf_thumb_set(ViewFile *vf, gint enable); |
36 void vf_marks_set(ViewFile *vf, gint enable); | 36 void vf_marks_set(ViewFile *vf, gint enable); |
37 void vf_sort_set(ViewFile *vf, SortType type, gint ascend); | 37 void vf_sort_set(ViewFile *vf, SortType type, gint ascend); |