diff options
author | SungHyun Min <shyun.min@samsung.com> | 2017-07-11 15:28:24 +0900 |
---|---|---|
committer | SungHyun Min <shyun.min@samsung.com> | 2017-07-11 15:42:55 +0900 |
commit | d128cecdb486728468dca1a42771b7790924b00a (patch) | |
tree | db17704660a9e6e57b8052d74955e22b06a9e6b3 | |
parent | 725b1d4d0787348413333b0abe7a0cf547328d36 (diff) | |
download | elm-sharp-d128cecdb486728468dca1a42771b7790924b00a.tar.gz elm-sharp-d128cecdb486728468dca1a42771b7790924b00a.tar.bz2 elm-sharp-d128cecdb486728468dca1a42771b7790924b00a.zip |
Fix Image TC issues
TASK=TCAPI-2347
- Fix Image loading events
- Add desctiption for IsAnimationPlaying property
Change-Id: I8139340dea803a9a051e407242f1dfe41d334cb8
-rw-r--r--[-rwxr-xr-x] | ElmSharp/ElmSharp/Image.cs | 19 |
1 files changed, 16 insertions, 3 deletions
diff --git a/ElmSharp/ElmSharp/Image.cs b/ElmSharp/ElmSharp/Image.cs index 6c98cb3..743cb42 100755..100644 --- a/ElmSharp/ElmSharp/Image.cs +++ b/ElmSharp/ElmSharp/Image.cs @@ -205,6 +205,10 @@ namespace ElmSharp /// <summary> /// Sets or gets whether an image object is under animation. /// </summary> + /// <remarks> + /// An image object, even if it supports animation, will be displayed by default without animation. + /// To actually start playing any image object's animation, <see cref="IsAnimated"/> should be TRUE before setting this property true. + /// </remarks> 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 /// </summary> None, + /// <summary> /// Default mode of image border /// </summary> Default, + /// <summary> /// Solid mode of image border /// </summary> @@ -643,33 +649,40 @@ namespace ElmSharp /// No orientation change /// </summary> None = 0, + /// <summary> /// Rotate 90 degrees clockwise /// </summary> Rotate90, + /// <summary> /// Rotate 180 degrees clockwise /// </summary> Rotate180, + /// <summary> /// Rotate 90 degrees counter-clockwise (i.e. 270 degrees clockwise) /// </summary> Rotate270, + /// <summary> /// Flip image horizontally /// </summary> FlipHorizontal, + /// <summary> /// Flip image vertically /// </summary> FlipVertical, + /// <summary> /// Flip the image along the y = (width - x) line (bottom-left to top-right) /// </summary> FlipTranspose, + /// <summary> /// Flip the image along the y = x line (top-left to bottom-right) /// </summary> FlipTransverse } -} +}
\ No newline at end of file |