4 * ROX-Filer, filer for the ROX desktop project
5 * By Thomas Leonard, <tal197@users.sourceforge.net>.
11 #define ROW_HEIGHT_LARGE 64
14 #include "collection.h"
15 #include <sys/types.h>
32 extern guchar
*last_layout
;
33 extern gboolean last_show_hidden
;
34 extern int (*last_sort_fn
)(const void *a
, const void *b
);
38 char *details(FilerWindow
*filer_window
, DirItem
*item
);
39 gboolean
display_set_layout(FilerWindow
*filer_window
, guchar
*layout
);
40 void display_set_hidden(FilerWindow
*filer_window
, gboolean hidden
);
41 int sort_by_name(const void *item1
, const void *item2
);
42 int sort_by_type(const void *item1
, const void *item2
);
43 int sort_by_date(const void *item1
, const void *item2
);
44 int sort_by_size(const void *item1
, const void *item2
);
45 void display_set_sort_fn(FilerWindow
*filer_window
,
46 int (*fn
)(const void *a
, const void *b
));
47 void display_set_autoselect(FilerWindow
*filer_window
, guchar
*leaf
);
48 void shrink_width(FilerWindow
*filer_window
);
49 int calc_width(FilerWindow
*filer_window
, DirItem
*item
);
51 #endif /* _DISPLAY_H */