# HG changeset patch # User Thinker K.F. Li # Date 1236520635 -28800 # Node ID b247beaac4f0d079644498f8130927738fe5d6db # Parent b391722bf20ec1344533dd239363ffc9ae192875 Don't call sh_image_transform() in filebrowser.c:mypreview(). - sh_image_transform() will be called by redraw manager automatically. Applications invoke it would get abnormal result when updating image. diff -r b391722bf20e -r b247beaac4f0 examples/menu/filebrowser.c --- a/examples/menu/filebrowser.c Sun Mar 08 14:44:41 2009 +0800 +++ b/examples/menu/filebrowser.c Sun Mar 08 21:57:15 2009 +0800 @@ -76,7 +76,6 @@ if (img) { printf("image %d %d\n",img->w,img->h); sh_image_set_img_data(obj,img,0,0,img->w,img->h); - sh_image_transform(obj); rdman_shape_changed(MBAPP_RDMAN(myApp),obj); rdman_redraw_changed(MBAPP_RDMAN(myApp)); }