From 09f176e4993a468ee41217d132dc45f22928b01b Mon Sep 17 00:00:00 2001 From: SungHyun Min Date: Tue, 11 Jul 2017 15:28:24 +0900 Subject: [PATCH] Fix Image TC issues TASK=TCAPI-2347 - Fix Image loading events - Add desctiption for IsAnimationPlaying property Change-Id: I8139340dea803a9a051e407242f1dfe41d334cb8 --- src/ElmSharp/ElmSharp/Image.cs | 19 ++++++++++++++++--- 1 file changed, 16 insertions(+), 3 deletions(-) mode change 100755 => 100644 src/ElmSharp/ElmSharp/Image.cs diff --git a/src/ElmSharp/ElmSharp/Image.cs b/src/ElmSharp/ElmSharp/Image.cs old mode 100755 new mode 100644 index 6c98cb3..743cb42 --- a/src/ElmSharp/ElmSharp/Image.cs +++ b/src/ElmSharp/ElmSharp/Image.cs @@ -205,6 +205,10 @@ namespace ElmSharp /// /// Sets or gets whether an image object is under animation. /// + /// + /// An image object, even if it supports animation, will be displayed by default without animation. + /// To actually start playing any image object's animation, should be TRUE before setting this property true. + /// public bool IsAnimationPlaying { get @@ -533,7 +537,7 @@ namespace ElmSharp } }); - SmartEvent loadReady = new SmartEvent(this, Handle, "load,ready"); + SmartEvent loadReady = new SmartEvent(this, RealHandle, "load,ready"); loadReady.On += (s, e) => { loadReady.Dispose(); @@ -544,7 +548,7 @@ namespace ElmSharp } }; - SmartEvent loadError = new SmartEvent(this, Handle, "load,error"); + SmartEvent loadError = new SmartEvent(this, RealHandle, "load,error"); loadError.On += (s, e) => { loadError.Dispose(); @@ -624,10 +628,12 @@ namespace ElmSharp /// None mode of image border /// None, + /// /// Default mode of image border /// Default, + /// /// Solid mode of image border /// @@ -643,33 +649,40 @@ namespace ElmSharp /// No orientation change /// None = 0, + /// /// Rotate 90 degrees clockwise /// Rotate90, + /// /// Rotate 180 degrees clockwise /// Rotate180, + /// /// Rotate 90 degrees counter-clockwise (i.e. 270 degrees clockwise) /// Rotate270, + /// /// Flip image horizontally /// FlipHorizontal, + /// /// Flip image vertically /// FlipVertical, + /// /// Flip the image along the y = (width - x) line (bottom-left to top-right) /// FlipTranspose, + /// /// Flip the image along the y = x line (top-left to bottom-right) /// FlipTransverse } -} +} \ No newline at end of file -- 2.7.4