From 6fffe1a21d5acaa544f7796241e13ff37e75349f Mon Sep 17 00:00:00 2001 From: Tomas Bzatek Date: Sun, 25 Jan 2015 18:23:03 +0100 Subject: theming: Make custom image size handling fully flexible This commit brings full flexibility of custom image size definition and usage. When a custom image size is defined, it automatically maps to the album tag arguments. Alternatively, this automatic name matching can be overriden by theme setup tags. This allows us to supply image of different sizes that can be also used in templates. Legacy behaviour of "fullsize" and "preview" image size fallback is retained (though not recommended in new theming setups). --- src/setup.h | 1 + 1 file changed, 1 insertion(+) (limited to 'src/setup.h') diff --git a/src/setup.h b/src/setup.h index f49eb9a..d772360 100644 --- a/src/setup.h +++ b/src/setup.h @@ -94,6 +94,7 @@ typedef enum { typedef struct { gchar *name; + gchar *tagname; gboolean is_thumbnail; int landscape_width; int landscape_height; -- cgit v1.2.3