Hello,

patch 1 is supposed to be amended to commit
0c3b76a0c92beb3891891dbfd23d3b34dee4bd05
"Scale image to fit in preview panel"

patch 2 is a proposed improvement to the scaling funtion.


Please note that this will create conflict in commit:
9ee98b7... Fixed unknown image format detection in Icon Chooser preview mode

This is because the patch is trying to use:
+ pixmap = WMCreateBlendedPixmapFromFile(wmscr, file, &color, 64, 100);

Where it shoud now be:
+ pixmap = WMCreateScaledBlendedPixmapFromFile(wmscr, file, &color, 100, 64);

Although to make it totally clean it should probably be:
+ pixmap = WMCreateScaledBlendedPixmapFromFile(wmscr, file, &color, width - 2, 
height - 2);


Regards,
Christophe



 WINGs/WINGs/WINGs.h        |  7 ++++++-
 WINGs/wpixmap.c            | 37 ++++++++++++++++++++++++++-----------
 WPrefs.app/MouseSettings.c |  2 +-
 WPrefs.app/WPrefs.c        |  4 ++--
 src/dialog.c               |  8 +++++---
 src/dockedapp.c            |  2 +-
 6 files changed, 41 insertions(+), 19 deletions(-)

-- 
1.9.1


-- 
To unsubscribe, send mail to wmaker-dev-unsubscr...@lists.windowmaker.org.

Reply via email to