From eac694b83a4fbd556813dbcb0f9e1bb61ddd0909 Mon Sep 17 00:00:00 2001 From: fgerlits Date: Mon, 1 Aug 2005 14:25:52 +0000 Subject: [PATCH] changed scaling algorithm for radio logo image from BILINEAR to HYPER (whatever that means) -- it's still a bit fuzzy --- livesupport/products/gLiveSupport/src/MasterPanelWindow.cxx | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/livesupport/products/gLiveSupport/src/MasterPanelWindow.cxx b/livesupport/products/gLiveSupport/src/MasterPanelWindow.cxx index 43f1a1c8d..bcb3a71b0 100644 --- a/livesupport/products/gLiveSupport/src/MasterPanelWindow.cxx +++ b/livesupport/products/gLiveSupport/src/MasterPanelWindow.cxx @@ -22,7 +22,7 @@ Author : $Author: fgerlits $ - Version : $Revision: 1.42 $ + Version : $Revision: 1.43 $ Location : $Source: /home/paul/cvs2svn-livesupport/newcvsrepo/livesupport/products/gLiveSupport/src/MasterPanelWindow.cxx,v $ ------------------------------------------------------------------------------*/ @@ -601,12 +601,12 @@ resizeImage(Gtk::Image* image, int width, int height) throw () // image is wide: squash horizontally image->set(pixbuf->scale_simple(width, (imageHeight * width)/imageWidth, - Gdk::INTERP_BILINEAR )); + Gdk::INTERP_HYPER )); } else { // image is tall: squash vertically image->set(pixbuf->scale_simple((imageWidth * height)/imageHeight, height, - Gdk::INTERP_BILINEAR )); + Gdk::INTERP_HYPER )); } }