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
;
35 extern Option o_small_width
;
39 void display_set_layout(FilerWindow
*filer_window
,
42 void display_set_hidden(FilerWindow
*filer_window
, gboolean hidden
);
43 void display_set_thumbs(FilerWindow
*filer_window
, gboolean thumbs
);
44 int sort_by_name(const void *item1
, const void *item2
);
45 int sort_by_type(const void *item1
, const void *item2
);
46 int sort_by_date(const void *item1
, const void *item2
);
47 int sort_by_size(const void *item1
, const void *item2
);
48 void display_set_sort_fn(FilerWindow
*filer_window
,
49 int (*fn
)(const void *a
, const void *b
));
50 void display_set_autoselect(FilerWindow
*filer_window
, const gchar
*leaf
);
52 void draw_large_icon(GtkWidget
*widget
,
57 gboolean
display_is_truncated(FilerWindow
*filer_window
, int i
);
58 void display_change_size(FilerWindow
*filer_window
, gboolean bigger
);
60 ViewData
*display_create_viewdata(FilerWindow
*filer_window
, DirItem
*item
);
61 void display_update_view(FilerWindow
*filer_window
,
64 gboolean update_name_layout
);
65 void display_update_views(FilerWindow
*filer_window
);
67 #endif /* _DISPLAY_H */