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 <sys/types.h>
17 typedef struct _ViewData ViewData
;
29 MaskedPixmap
*image
; /* Image; possibly thumbnail */
32 extern Option o_display_inherit_options
, o_display_sort_by
;
33 extern Option o_display_size
, o_display_details
, o_display_show_hidden
;
34 extern Option o_display_show_thumbs
;
38 void display_set_layout(FilerWindow
*filer_window
,
41 void display_set_hidden(FilerWindow
*filer_window
, gboolean hidden
);
42 void display_set_thumbs(FilerWindow
*filer_window
, gboolean thumbs
);
43 int sort_by_name(const void *item1
, const void *item2
);
44 int sort_by_type(const void *item1
, const void *item2
);
45 int sort_by_date(const void *item1
, const void *item2
);
46 int sort_by_size(const void *item1
, const void *item2
);
47 void display_set_sort_fn(FilerWindow
*filer_window
,
48 int (*fn
)(const void *a
, const void *b
));
49 void display_set_autoselect(FilerWindow
*filer_window
, const gchar
*leaf
);
50 void shrink_grid(FilerWindow
*filer_window
);
51 void calc_size(FilerWindow
*filer_window
, CollectionItem
*colitem
,
52 int *width
, int *height
);
54 void draw_large_icon(GtkWidget
*widget
,
59 gboolean
display_is_truncated(FilerWindow
*filer_window
, int i
);
60 void display_change_size(FilerWindow
*filer_window
, gboolean bigger
);
62 ViewData
*display_create_viewdata(FilerWindow
*filer_window
, DirItem
*item
);
63 void display_free_colitem(Collection
*collection
, CollectionItem
*colitem
);
64 void display_update_view(FilerWindow
*filer_window
,
67 gboolean update_name_layout
);
68 void display_update_views(FilerWindow
*filer_window
);
70 #endif /* _DISPLAY_H */