From 24dfd5c23bd1cf944fc3bb9cc5b188a9a60f5801 Mon Sep 17 00:00:00 2001 From: Thadeu Lima de Souza Cascardo Date: Sat, 16 Aug 2008 13:59:48 -0300 Subject: [PATCH] Added a macro for frames per face --- gdk.c | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/gdk.c b/gdk.c index 8fc579c..d364a27 100644 --- a/gdk.c +++ b/gdk.c @@ -82,6 +82,8 @@ expose (GtkWidget *widget, GdkEventExpose *event, gpointer data) return FALSE; } +#define FPF 40 + int main (int argc, char **argv) { @@ -98,8 +100,8 @@ main (int argc, char **argv) else filename = argv[1]; ctx.points = ReadPoints ("pro-gnu"); - ctx.points = drop_dup_frames (ctx.points, 20); - rescale_points (ctx.points, get_scales (20)); + ctx.points = drop_dup_frames (ctx.points, FPF); + rescale_points (ctx.points, get_scales (FPF)); ctx.picture = gdk_pixbuf_new_from_file (filename, NULL); ctx.i = ctx.points->len; colorspace = gdk_pixbuf_get_colorspace (ctx.picture); -- 2.20.1