summaryrefslogtreecommitdiff
path: root/src/setup.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/setup.h')
-rw-r--r--src/setup.h9
1 files changed, 8 insertions, 1 deletions
diff --git a/src/setup.h b/src/setup.h
index 4678423..f49eb9a 100644
--- a/src/setup.h
+++ b/src/setup.h
@@ -86,6 +86,11 @@ typedef struct {
gchar *footer;
} TGallerySetup;
+typedef enum {
+ CROP_STYLE_NORMAL = 0,
+ CROP_STYLE_SQUARED,
+ CROP_STYLE_FIXED
+} TCropStyle;
typedef struct {
gchar *name;
@@ -95,9 +100,11 @@ typedef struct {
int portrait_width;
int portrait_height;
int square_size;
+ int crop_width;
+ int crop_height;
int quality;
gboolean no_resize;
- gboolean squared_thumb;
+ TCropStyle thumb_crop_style;
} TImageSize;
typedef struct {