annotate src/view_file_icon.h @ 244:7754bfc0d98a

Fix a signedness warning.
author zas_
date Thu, 03 Apr 2008 22:01:08 +0000
parents f6e307c7bad6
children 33d06ce2ec61
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: 165
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_FILE_ICON_H
d907d608745f Sync to GQview 1.5.9 release.
gqview
parents:
diff changeset
13 #define VIEW_FILE_ICON_H
d907d608745f Sync to GQview 1.5.9 release.
gqview
parents:
diff changeset
14
d907d608745f Sync to GQview 1.5.9 release.
gqview
parents:
diff changeset
15
d907d608745f Sync to GQview 1.5.9 release.
gqview
parents:
diff changeset
16 ViewFileIcon *vficon_new(const gchar *path);
d907d608745f Sync to GQview 1.5.9 release.
gqview
parents:
diff changeset
17
d907d608745f Sync to GQview 1.5.9 release.
gqview
parents:
diff changeset
18 gint vficon_set_path(ViewFileIcon *vfi, const gchar *path);
d907d608745f Sync to GQview 1.5.9 release.
gqview
parents:
diff changeset
19 void vficon_set_status_func(ViewFileIcon *vfi,
d907d608745f Sync to GQview 1.5.9 release.
gqview
parents:
diff changeset
20 void (*func)(ViewFileIcon *vfi, gpointer data), gpointer data);
d907d608745f Sync to GQview 1.5.9 release.
gqview
parents:
diff changeset
21 void vficon_set_thumb_status_func(ViewFileIcon *vfi,
d907d608745f Sync to GQview 1.5.9 release.
gqview
parents:
diff changeset
22 void (*func)(ViewFileIcon *vfi, gdouble val, const gchar *text, gpointer data),
d907d608745f Sync to GQview 1.5.9 release.
gqview
parents:
diff changeset
23 gpointer data);
d907d608745f Sync to GQview 1.5.9 release.
gqview
parents:
diff changeset
24
d907d608745f Sync to GQview 1.5.9 release.
gqview
parents:
diff changeset
25 void vficon_set_layout(ViewFileIcon *vfi, LayoutWindow *layout);
d907d608745f Sync to GQview 1.5.9 release.
gqview
parents:
diff changeset
26
d907d608745f Sync to GQview 1.5.9 release.
gqview
parents:
diff changeset
27 gint vficon_set_path(ViewFileIcon *vfi, const gchar *path);
d907d608745f Sync to GQview 1.5.9 release.
gqview
parents:
diff changeset
28 gint vficon_refresh(ViewFileIcon *vfi);
d907d608745f Sync to GQview 1.5.9 release.
gqview
parents:
diff changeset
29
d907d608745f Sync to GQview 1.5.9 release.
gqview
parents:
diff changeset
30 void vficon_sort_set(ViewFileIcon *vfi, SortType type, gint ascend);
d907d608745f Sync to GQview 1.5.9 release.
gqview
parents:
diff changeset
31
d907d608745f Sync to GQview 1.5.9 release.
gqview
parents:
diff changeset
32 FileData *vficon_index_get_data(ViewFileIcon *vfi, gint row);
d907d608745f Sync to GQview 1.5.9 release.
gqview
parents:
diff changeset
33 gchar *vficon_index_get_path(ViewFileIcon *vfi, gint row);
d907d608745f Sync to GQview 1.5.9 release.
gqview
parents:
diff changeset
34 gint vficon_index_by_path(ViewFileIcon *vfi, const gchar *path);
d907d608745f Sync to GQview 1.5.9 release.
gqview
parents:
diff changeset
35 gint vficon_count(ViewFileIcon *vfi, gint64 *bytes);
d907d608745f Sync to GQview 1.5.9 release.
gqview
parents:
diff changeset
36 GList *vficon_get_list(ViewFileIcon *vfi);
d907d608745f Sync to GQview 1.5.9 release.
gqview
parents:
diff changeset
37
d907d608745f Sync to GQview 1.5.9 release.
gqview
parents:
diff changeset
38 gint vficon_index_is_selected(ViewFileIcon *vfi, gint row);
d907d608745f Sync to GQview 1.5.9 release.
gqview
parents:
diff changeset
39 gint vficon_selection_count(ViewFileIcon *vfi, gint64 *bytes);
d907d608745f Sync to GQview 1.5.9 release.
gqview
parents:
diff changeset
40 GList *vficon_selection_get_list(ViewFileIcon *vfi);
d907d608745f Sync to GQview 1.5.9 release.
gqview
parents:
diff changeset
41 GList *vficon_selection_get_list_by_index(ViewFileIcon *vfi);
d907d608745f Sync to GQview 1.5.9 release.
gqview
parents:
diff changeset
42
d907d608745f Sync to GQview 1.5.9 release.
gqview
parents:
diff changeset
43 void vficon_select_all(ViewFileIcon *vfi);
d907d608745f Sync to GQview 1.5.9 release.
gqview
parents:
diff changeset
44 void vficon_select_none(ViewFileIcon *vfi);
d907d608745f Sync to GQview 1.5.9 release.
gqview
parents:
diff changeset
45 void vficon_select_by_path(ViewFileIcon *vfi, const gchar *path);
138
71e1ebee420e replaced gchar* path with FileData *fd
nadvornik
parents: 9
diff changeset
46 void vficon_select_by_fd(ViewFileIcon *vfi, FileData *fd);
9
d907d608745f Sync to GQview 1.5.9 release.
gqview
parents:
diff changeset
47
165
d7067ec71042 basic support for marks in view_file_icon.c
nadvornik
parents: 138
diff changeset
48 void vficon_mark_to_selection(ViewFileIcon *vfi, gint mark, MarkToSelectionMode mode);
d7067ec71042 basic support for marks in view_file_icon.c
nadvornik
parents: 138
diff changeset
49 void vficon_selection_to_mark(ViewFileIcon *vfi, gint mark, SelectionToMarkMode mode);
9
d907d608745f Sync to GQview 1.5.9 release.
gqview
parents:
diff changeset
50
138
71e1ebee420e replaced gchar* path with FileData *fd
nadvornik
parents: 9
diff changeset
51 gint vficon_maint_renamed(ViewFileIcon *vfi, FileData *fd);
71e1ebee420e replaced gchar* path with FileData *fd
nadvornik
parents: 9
diff changeset
52 gint vficon_maint_removed(ViewFileIcon *vfi, FileData *fd, GList *ignore_list);
71e1ebee420e replaced gchar* path with FileData *fd
nadvornik
parents: 9
diff changeset
53 gint vficon_maint_moved(ViewFileIcon *vfi, FileData *fd, GList *ignore_list);
9
d907d608745f Sync to GQview 1.5.9 release.
gqview
parents:
diff changeset
54
d907d608745f Sync to GQview 1.5.9 release.
gqview
parents:
diff changeset
55
d907d608745f Sync to GQview 1.5.9 release.
gqview
parents:
diff changeset
56 #endif
d907d608745f Sync to GQview 1.5.9 release.
gqview
parents:
diff changeset
57
d907d608745f Sync to GQview 1.5.9 release.
gqview
parents:
diff changeset
58