[prev in list] [next in list] [prev in thread] [next in thread] 

List:       enlightenment-devel
Subject:    Re: [E-devel] [EGIT] [core/efl] master 01/01: Elm Image: The introduction of elm_image_scale_type br
From:       Christopher Michael <cpmichael () osg ! samsung ! com>
Date:       2016-05-28 2:53:50
Message-ID: e29a9c9c-751e-1684-a018-ab57de2e90a3 () osg ! samsung ! com
[Download RAW message or body]

+1 Logic is sound...

dh

On 05/27/2016 10:40 PM, Stephen Houston wrote:
> okra pushed a commit to branch master.
> 
> http://git.enlightenment.org/core/efl.git/commit/?id=c21c821f3a4c2629bf9f44c1662840087281627c
>  
> commit c21c821f3a4c2629bf9f44c1662840087281627c
> Author: Stephen Houston <stephen@lenovo.fedora>
> Date:   Fri May 27 21:38:06 2016 -0500
> 
> Elm Image: The introduction of elm_image_scale_type broke elm. Make TYPE_FILL the \
> default. 
> The default scale type should not be none as this breaks elm icon and elm image as \
> it doesn't follow the default view of elm image before elm image scale was added.  \
>                 The default behavior is fill so this commit makes fill the default.
> ---
> src/lib/elementary/elm_image.eo | 29 ++++++++++++++++-------------
> 1 file changed, 16 insertions(+), 13 deletions(-)
> 
> diff --git a/src/lib/elementary/elm_image.eo b/src/lib/elementary/elm_image.eo
> index 1a57191..37975e2 100644
> --- a/src/lib/elementary/elm_image.eo
> +++ b/src/lib/elementary/elm_image.eo
> @@ -6,19 +6,22 @@ enum Elm.Image.Scale_Type
> 
> @since 1.18
> ]]
> -   none,       [[Not scale the internal image]]
> -   fill,       [[Scale the internal image so that it matches the object's area \
>                 exactly.
> -                 The image's aspect ratio might be changed.]]
> -   fit_inside, [[Scale the internal image
> -                 so that it fits inside the object's area
> -                 while maintaining the aspect ratio.
> -                 At least one of the dimensions of the image
> -                 should be equal to the corresponding dimension of the object.]]
> -   fit_outside [[Scale the internal image
> -                 so that it covers the entire object area
> -                 while maintaining the aspect ratio.
> -                 At least one of the dimensions of the image
> -                 should be equal to the corresponding dimension of the object.]]
> +   fill,        [[Scale the internal image so that it matches
> +                  the object's area exactly.
> +                  The image's aspect ratio might be changed.]]
> +   fit_inside,  [[Scale the internal image
> +                  so that it fits inside the object's area
> +                  while maintaining the aspect ratio.
> +                  At least one of the dimensions of the image
> +                  should be equal to the corresponding dimension
> +                  of the object.]]
> +   fit_outside, [[Scale the internal image
> +                  so that it covers the entire object area
> +                  while maintaining the aspect ratio.
> +                  At least one of the dimensions of the image
> +                  should be equal to the corresponding
> +                  dimension of the object.]]
> +   none         [[Not scale the internal image]]
> }
> 
> struct Elm.Image.Progress
> 


------------------------------------------------------------------------------
What NetFlow Analyzer can do for you? Monitors network bandwidth and traffic
patterns at an interface-level. Reveals which users, apps, and protocols are 
consuming the most bandwidth. Provides multi-vendor support for NetFlow, 
J-Flow, sFlow and other flows. Make informed decisions using capacity 
planning reports. https://ad.doubleclick.net/ddm/clk/305295220;132659582;e
_______________________________________________
enlightenment-devel mailing list
enlightenment-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-devel


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic