Author: mmu_man Date: 2010-06-11 14:59:57 +0200 (Fri, 11 Jun 2010) New Revision: 37098 Changeset: http://dev.haiku-os.org/changeset/37098/haiku Modified: haiku/trunk/3rdparty/mmu_man/themes/ThemeInterfaceView.cpp Log: Use bilinear filtering for Haiku. Modified: haiku/trunk/3rdparty/mmu_man/themes/ThemeInterfaceView.cpp =================================================================== --- haiku/trunk/3rdparty/mmu_man/themes/ThemeInterfaceView.cpp 2010-06-11 10:56:39 UTC (rev 37097) +++ haiku/trunk/3rdparty/mmu_man/themes/ThemeInterfaceView.cpp 2010-06-11 12:59:57 UTC (rev 37098) @@ -859,6 +859,11 @@ fScreenshotPane->ClearViewBitmap(); if (shot) { +#ifdef __HAIKU__ + fScreenshotPane->SetViewBitmap(shot, shot->Bounds(), + fScreenshotPane->Bounds(), B_FOLLOW_ALL, B_FILTER_BITMAP_BILINEAR); + +#else BBitmap scaled(fScreenshotPane->Bounds(), B_RGB32); status_t err = ENOSYS; #ifdef B_ZETA_VERSION @@ -870,8 +875,10 @@ } else { - fScreenshotPane->SetViewBitmap(shot, shot->Bounds(), fScreenshotPane->Bounds()); + fScreenshotPane->SetViewBitmap(shot, shot->Bounds(), + fScreenshotPane->Bounds()); } +#endif } fScreenshotPane->Invalidate(fScreenshotPane->Bounds());