summaryrefslogtreecommitdiff
path: root/src/setup.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/setup.h')
-rw-r--r--src/setup.h8
1 files changed, 7 insertions, 1 deletions
diff --git a/src/setup.h b/src/setup.h
index faf02f6..54b89b2 100644
--- a/src/setup.h
+++ b/src/setup.h
@@ -27,6 +27,10 @@ G_BEGIN_DECLS
#define THUMBNAIL_NAME_FORMAT "%.3d_%s"
#define TARGET_IMAGE_DIR_PREFIX "_"
+#define DEFAULT_NO_RESIZE_THRESHOLD 1
+#define DEFAULT_AVAILABILITY_THRESHOLD 1
+#define DEFAULT_QUALITY_THRESHOLD 5
+
#define SETUP_XML "setup.xml"
#define SETUP_V2_XML "setup2.xml"
#define SETUP_NATIVE_VERSION 200 /* 2.0 */
@@ -104,8 +108,10 @@ typedef struct {
int crop_width;
int crop_height;
int quality;
- gboolean no_resize;
gchar *fallback_size;
+ int no_resize_threshold;
+ int availability_threshold;
+ int quality_threshold;
TCropStyle thumb_crop_style;
} TImageSize;