# HG changeset patch # User Cristi Magherusan # Date 1201481250 -7200 # Node ID 2c9c2b5caaee59cf07cdb097f6cd8e3b7bc40910 # Parent 977877bb212f08c6ae07a527cd7b3c9175de8954 changed the hardcoded scale to 1.2 and set some dither and interpolation parameters that look alot nicer diff -r 977877bb212f -r 2c9c2b5caaee src/audacious/main.c --- a/src/audacious/main.c Mon Jan 28 01:27:43 2008 +0200 +++ b/src/audacious/main.c Mon Jan 28 02:47:30 2008 +0200 @@ -166,7 +166,7 @@ 0.0, /* equalizer preamp */ {0.0, 0.0, 0.0, 0.0, 0.0, /* equalizer bands */ 0.0, 0.0, 0.0, 0.0, 0.0}, - 1.5, /* GUI scale factor, set to 1.5 for testing purposes --majeru */ + 1.2, /* GUI scale factor, hardcoded for testing purposes --majeru */ NULL, /* skin */ NULL, /* output plugin */ NULL, /* file selector path */ diff -r 977877bb212f -r 2c9c2b5caaee src/audacious/util.c --- a/src/audacious/util.c Mon Jan 28 01:27:43 2008 +0200 +++ b/src/audacious/util.c Mon Jan 28 02:47:30 2008 +0200 @@ -866,8 +866,8 @@ g_return_if_fail(obj != NULL); if (scale) { - GdkPixbuf *image = gdk_pixbuf_scale_simple(obj, width * cfg.scale_factor, height* cfg.scale_factor, GDK_INTERP_NEAREST); - gdk_draw_pixbuf(widget->window, NULL, image, 0, 0, 0, 0, width * cfg.scale_factor , height * cfg.scale_factor, GDK_RGB_DITHER_NONE, 0, 0); + GdkPixbuf *image = gdk_pixbuf_scale_simple(obj, width * cfg.scale_factor, height* cfg.scale_factor, GDK_INTERP_BILINEAR); + gdk_draw_pixbuf(widget->window, NULL, image, 0, 0, 0, 0, width * cfg.scale_factor , height * cfg.scale_factor, GDK_RGB_DITHER_NORMAL, 0, 0); g_object_unref(image); } else { gdk_draw_pixbuf(widget->window, NULL, obj, 0, 0, 0, 0, width, height, GDK_RGB_DITHER_NONE, 0, 0);