Added bindings for playback (i.e. Play, Pause, Stop) for the animated GIF. 59/166759/1
authorUmar <m.umar@partner.samsung.com>
Thu, 11 Jan 2018 17:43:05 +0000 (17:43 +0000)
committerUmar <m.umar@partner.samsung.com>
Thu, 11 Jan 2018 17:43:05 +0000 (17:43 +0000)
Change-Id: Iad74bd888e83af369d791e90f9a236bd4c4ba969

dali-csharp-binder/src/devel-property-wrap.cpp

index c2766a1..2604ac1 100755 (executable)
@@ -1,5 +1,5 @@
 /*
- * Copyright (c) 2017 Samsung Electronics Co., Ltd.
+ * Copyright (c) 2018 Samsung Electronics Co., Ltd.
  *
  * Licensed under the Apache License, Version 2.0 (the "License");
  * you may not use this file except in compliance with the License.
@@ -30,6 +30,7 @@
 #include <dali-toolkit/public-api/controls/text-controls/hidden-input-properties.h>
 #include <dali-toolkit/devel-api/controls/text-controls/text-label-devel.h>
 #include <dali-toolkit/devel-api/visuals/image-visual-actions-devel.h>
+#include <dali-toolkit/devel-api/visuals/animated-image-visual-actions-devel.h>
 
 
 #ifdef __cplusplus
@@ -439,6 +440,21 @@ SWIGEXPORT int SWIGSTDCALL CSharp_ImageView_IMAGE_VISUAL_ACTION_RELOAD_get()
   return (int)Dali::Toolkit::DevelImageVisual::Action::RELOAD;
 }
 
+SWIGEXPORT int SWIGSTDCALL CSharp_ImageView_IMAGE_VISUAL_ACTION_PLAY_get()
+{
+  return (int)Dali::Toolkit::DevelAnimatedImageVisual::Action::PLAY;
+}
+
+SWIGEXPORT int SWIGSTDCALL CSharp_ImageView_IMAGE_VISUAL_ACTION_PAUSE_get()
+{
+  return (int)Dali::Toolkit::DevelAnimatedImageVisual::Action::PAUSE;
+}
+
+SWIGEXPORT int SWIGSTDCALL CSharp_ImageView_IMAGE_VISUAL_ACTION_STOP_get()
+{
+  return (int)Dali::Toolkit::DevelAnimatedImageVisual::Action::STOP;
+}
+
 #ifdef __cplusplus
 }
 #endif