current implementation is black image filled in right half. anyway it's not a big issue. i wanna make a same icon size at dragging. is it good to show original width/height? if then it's useless. if not, i think it's worth to commit.
On Wed, Jan 18, 2012 at 11:17 AM, Carsten Haitzler <[email protected]> wrote: > On Sat, 7 Jan 2012 13:06:30 +0900 Hyoyoung Chang <[email protected]> said: > >> Dear all >> >> when drag&drop image from elm_photo, elm_cnp_helper makes elm_icon >> from the source. >> but some non-square images are displayed correctly(due to aspect >> ratio, some region is black). >> I added aspect_fixed functions to elm_icon and using it in elm_cnp_helper > > actually... why would you want it to NOT respect aspect ratio? then you just > end up with a "squashed" icon. why not just ensure the icon window being > dragged has an alpha channel and those "black" bits are blank/empty? > > -- > ------------- Codito, ergo sum - "I code, therefore I am" -------------- > The Rasterman (Carsten Haitzler) [email protected] > ------------------------------------------------------------------------------ Keep Your Developer Skills Current with LearnDevNow! The most comprehensive online learning library for Microsoft developers is just $99.99! Visual Studio, SharePoint, SQL - plus HTML5, CSS3, MVC3, Metro Style Apps, more. Free future releases when you subscribe now! http://p.sf.net/sfu/learndevnow-d2d _______________________________________________ enlightenment-devel mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/enlightenment-devel
