diff options
| author | Tomas Bzatek <tbzatek@users.sourceforge.net> | 2014-09-15 23:45:14 +0200 |
|---|---|---|
| committer | Tomas Bzatek <tbzatek@users.sourceforge.net> | 2014-09-15 23:45:14 +0200 |
| commit | d8708c220afc84549e5e4feaa09f32aa46aba4b5 (patch) | |
| tree | 5c5f3a2aca7de56737a739e667c5f428321d3c34 /src/jpeg-utils.h | |
| parent | 2ab38412b14f38202b364558031ddb7db357f1ec (diff) | |
| download | cataract-d8708c220afc84549e5e4feaa09f32aa46aba4b5.tar.xz | |
theming: Allow themes to use different thumbnail image sizes
This change makes thumbnail image sizes more flexible by explicitly
stating the particular image size is a thumbnail. And each thumbnail
image size can have different squared settings.
On the theme side it's now mandatory to specify which thumbnail size
to use (if applicable). This allows us to have different thumbnail styles
for index and album pages.
This commit also removes the <squared_thumbnails> tag from setup.xml
file but retains fallback for ver. 1 setup.xml files.
Diffstat (limited to 'src/jpeg-utils.h')
| -rw-r--r-- | src/jpeg-utils.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/jpeg-utils.h b/src/jpeg-utils.h index 6b92b3d..3700d66 100644 --- a/src/jpeg-utils.h +++ b/src/jpeg-utils.h @@ -57,7 +57,7 @@ typedef struct { double override_aperture; double override_focal_length; gchar *external_exif_data; - ThumbnailSquareType squared_thumbnail_type; + gboolean squared_thumbnail; TCropHint thumbnail_crop_hint; } ExifData; |
