~ubuntu-branches/debian/sid/feh/sid

« back to all changes in this revision

Viewing changes to src/thumbnail.h

  • Committer: Bazaar Package Importer
  • Author(s): Andreas Tille
  • Date: 2010-06-01 11:37:21 UTC
  • mfrom: (1.3.2 upstream)
  • Revision ID: james.westby@ubuntu.com-20100601113721-fraf4g038q7jdpcw
Tags: 1.6-1
* New upstream version
  Closes: #430218
* debian/control: Build-Depends: perl-modules, libtest-command-perl
  to enable testing

Show diffs side-by-side

added added

removed removed

Lines of Context:
45
45
typedef struct thumbmode_data {
46
46
        /* FIXME: text_area_h not really needed, remove? */
47
47
 
48
 
        Imlib_Image im_main;    /* base image which all thumbnails are rendered on */
49
 
        Imlib_Image im_bg;      /* background for the thumbnails */
50
 
 
51
 
        Imlib_Font font_main;   /* font used for file info */
52
 
        Imlib_Font font_title;  /* font used for title */
53
 
 
54
 
        int w, h, bg_w, bg_h;   /* dimensions of the window and bg image */
55
 
 
56
 
        int thumb_tot_h;        /* total space needed for a thumbnail including description */
57
 
        int text_area_w, text_area_h;   /* space needed for thumbnail description */
58
 
 
59
 
        int max_column_w;       /* FIXME: description */
60
 
        int vertical;           /* FIXME: vertical in what way? */
61
 
        int cache_thumbnails;   /* use cached thumbnails from ~/.thumbnails/normal */
 
48
        Imlib_Image im_main;     /* base image which all thumbnails are rendered on */
 
49
        Imlib_Image im_bg;       /* background for the thumbnails */
 
50
 
 
51
        Imlib_Font font_main;    /* font used for file info */
 
52
        Imlib_Font font_title;   /* font used for title */
 
53
 
 
54
        int w, h, bg_w, bg_h;    /* dimensions of the window and bg image */
 
55
 
 
56
        int thumb_tot_h;         /* total space needed for a thumbnail including description */
 
57
        int text_area_w, text_area_h; /* space needed for thumbnail description */
 
58
 
 
59
        int max_column_w;        /* FIXME: description */
 
60
        int vertical;            /* FIXME: vertical in what way? */
 
61
 
 
62
        int cache_thumbnails;    /* use cached thumbnails from ~/.thumbnails */
 
63
        int cache_dim;           /* 128 = 128x128 ("normal"), 256 = 256x256 ("large") */
 
64
        char *cache_dir;         /* "normal"/"large" (.thumbnails/...) */
 
65
 
62
66
} thumbmode_data;
63
67
 
64
68
feh_thumbnail *feh_thumbnail_new(feh_file * fil, int x, int y, int w, int h);