From ddf2ff6ae6617609056680c91676322c70690716 Mon Sep 17 00:00:00 2001 From: Christian Hesse Date: Tue, 9 Jul 2013 12:55:30 +0200 Subject: add config file --- cqrlogo.c | 15 +-------------- 1 file changed, 1 insertion(+), 14 deletions(-) (limited to 'cqrlogo.c') diff --git a/cqrlogo.c b/cqrlogo.c index 88a637a..a5f6d7c 100644 --- a/cqrlogo.c +++ b/cqrlogo.c @@ -13,20 +13,7 @@ #include #include -/* pixels are scaled up by this factor */ -#define QRCODE_SCALE 2 - -/* width of the border - * this is defined to at least 4, but works well with less */ -# define QRCODE_BORDER 1 - -/* error correction level used for QR code - * possible values: QR_ECLEVEL_L (lowest, about 7% error can be corrected) - * QR_ECLEVEL_M (about 15%) - * QR_ECLEVEL_Q (about 25%) - * QR_ECLEVEL_H (highest, about 30%) - * image size raises with higher levels */ -#define QRCODE_LEVEL QR_ECLEVEL_L +#include "config.h" GdkPixbuf * encode_qrcode (char *text, int scale, int border) { QRcode *qrcode; -- cgit v1.2.3-54-g00ecf