annotate src/view_dir_tree.h @ 424:26c6e768bd47

first support for AdobeRGB colorspace
author nadvornik
date Sat, 19 Apr 2008 16:26:29 +0000
parents 3a9074e73f53
children ddabc4873a3f
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
9
d907d608745f Sync to GQview 1.5.9 release.
gqview
parents:
diff changeset
1 /*
196
f6e307c7bad6 rename GQview -> Geeqie over the code
nadvornik
parents: 9
diff changeset
2 * Geeqie
9
d907d608745f Sync to GQview 1.5.9 release.
gqview
parents:
diff changeset
3 * (C) 2004 John Ellis
d907d608745f Sync to GQview 1.5.9 release.
gqview
parents:
diff changeset
4 *
d907d608745f Sync to GQview 1.5.9 release.
gqview
parents:
diff changeset
5 * Author: John Ellis
d907d608745f Sync to GQview 1.5.9 release.
gqview
parents:
diff changeset
6 *
d907d608745f Sync to GQview 1.5.9 release.
gqview
parents:
diff changeset
7 * This software is released under the GNU General Public License (GNU GPL).
d907d608745f Sync to GQview 1.5.9 release.
gqview
parents:
diff changeset
8 * Please read the included file COPYING for more information.
d907d608745f Sync to GQview 1.5.9 release.
gqview
parents:
diff changeset
9 * This software comes with no warranty of any kind, use at your own risk!
d907d608745f Sync to GQview 1.5.9 release.
gqview
parents:
diff changeset
10 */
d907d608745f Sync to GQview 1.5.9 release.
gqview
parents:
diff changeset
11
d907d608745f Sync to GQview 1.5.9 release.
gqview
parents:
diff changeset
12 #ifndef VIEW_DIR_TREE_H
d907d608745f Sync to GQview 1.5.9 release.
gqview
parents:
diff changeset
13 #define VIEW_DIR_TREE_H
d907d608745f Sync to GQview 1.5.9 release.
gqview
parents:
diff changeset
14
389
b78077f65eff Merge few more vdlist/vdtree functions.
zas_
parents: 388
diff changeset
15 typedef struct _NodeData NodeData;
b78077f65eff Merge few more vdlist/vdtree functions.
zas_
parents: 388
diff changeset
16 struct _NodeData
b78077f65eff Merge few more vdlist/vdtree functions.
zas_
parents: 388
diff changeset
17 {
b78077f65eff Merge few more vdlist/vdtree functions.
zas_
parents: 388
diff changeset
18 FileData *fd;
b78077f65eff Merge few more vdlist/vdtree functions.
zas_
parents: 388
diff changeset
19 gint expanded;
b78077f65eff Merge few more vdlist/vdtree functions.
zas_
parents: 388
diff changeset
20 time_t last_update;
b78077f65eff Merge few more vdlist/vdtree functions.
zas_
parents: 388
diff changeset
21 };
b78077f65eff Merge few more vdlist/vdtree functions.
zas_
parents: 388
diff changeset
22
384
392dd6541d51 Merge parts of view_dir_list/tree constructors/destructors to
zas_
parents: 383
diff changeset
23 ViewDir *vdtree_new(ViewDir *vd, const gchar *path);
9
d907d608745f Sync to GQview 1.5.9 release.
gqview
parents:
diff changeset
24
396
a01535f52b56 Merge few more functions to view_dir.c.
zas_
parents: 394
diff changeset
25 void vdtree_select_row(ViewDir *vd, FileData *fd);
a01535f52b56 Merge few more functions to view_dir.c.
zas_
parents: 394
diff changeset
26
384
392dd6541d51 Merge parts of view_dir_list/tree constructors/destructors to
zas_
parents: 383
diff changeset
27 gint vdtree_set_path(ViewDir *vd, const gchar *path);
392dd6541d51 Merge parts of view_dir_list/tree constructors/destructors to
zas_
parents: 383
diff changeset
28 void vdtree_refresh(ViewDir *vd);
9
d907d608745f Sync to GQview 1.5.9 release.
gqview
parents:
diff changeset
29
384
392dd6541d51 Merge parts of view_dir_list/tree constructors/destructors to
zas_
parents: 383
diff changeset
30 const gchar *vdtree_row_get_path(ViewDir *vd, gint row);
383
499d7ba62261 Move some dnd common code from view_dir_list.c and view_dir_tree.c
zas_
parents: 380
diff changeset
31 gint vdtree_find_row(ViewDir *vd, FileData *fd, GtkTreeIter *iter, GtkTreeIter *parent);
9
d907d608745f Sync to GQview 1.5.9 release.
gqview
parents:
diff changeset
32
388
5186f8e38cb8 Make directory view popup menu common and move it to view_dir.{c,h}.
zas_
parents: 384
diff changeset
33 FileData *vdtree_populate_path(ViewDir *vd, const gchar *path, gint expand, gint force);
5186f8e38cb8 Make directory view popup menu common and move it to view_dir.{c,h}.
zas_
parents: 384
diff changeset
34 void vdtree_rename_by_data(ViewDir *vd, FileData *fd);
9
d907d608745f Sync to GQview 1.5.9 release.
gqview
parents:
diff changeset
35
401
0a2e1b130a25 Add some wrappers in view_dir.c and simplify even more.
zas_
parents: 396
diff changeset
36 gint vdtree_press_key_cb(GtkWidget *widget, GdkEventKey *event, gpointer data);
0a2e1b130a25 Add some wrappers in view_dir.c and simplify even more.
zas_
parents: 396
diff changeset
37 gint vdtree_press_cb(GtkWidget *widget, GdkEventButton *bevent, gpointer data);
0a2e1b130a25 Add some wrappers in view_dir.c and simplify even more.
zas_
parents: 396
diff changeset
38
0a2e1b130a25 Add some wrappers in view_dir.c and simplify even more.
zas_
parents: 396
diff changeset
39 void vdtree_destroy_cb(GtkWidget *widget, gpointer data);
0a2e1b130a25 Add some wrappers in view_dir.c and simplify even more.
zas_
parents: 396
diff changeset
40
9
d907d608745f Sync to GQview 1.5.9 release.
gqview
parents:
diff changeset
41 #endif
d907d608745f Sync to GQview 1.5.9 release.
gqview
parents:
diff changeset
42