summaryrefslogtreecommitdiff
path: root/src/setup.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/setup.h')
-rw-r--r--src/setup.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/src/setup.h b/src/setup.h
index 8c9927f..16665c4 100644
--- a/src/setup.h
+++ b/src/setup.h
@@ -32,6 +32,11 @@
#define DEFAULT_INDEX_FILENAME "index.html"
+typedef enum {
+ THUMBNAIL_SQUARE_TYPE_NONE,
+ THUMBNAIL_SQUARE_TYPE_SIMPLE
+} ThumbnailSquareType;
+
/* Global gallery setup */
typedef struct {
@@ -52,6 +57,7 @@ typedef struct {
gchar *img_big_dir;
gchar *img_orig_dir;
gchar *thumbnail_name_format;
+ ThumbnailSquareType squared_thumbnail_type;
gchar *footer;
gchar *meta_author;
@@ -65,6 +71,7 @@ typedef struct {
unsigned long thumbnail_landscape_height;
unsigned long thumbnail_portrait_width;
unsigned long thumbnail_portrait_height;
+ unsigned long thumbnail_square_size;
int preview_quality;
unsigned long preview_landscape_width;