summaryrefslogtreecommitdiff
path: root/src/lib/efl/interfaces
diff options
context:
space:
mode:
authorJaehyun Cho <jae_hyun.cho@samsung.com>2018-11-23 19:30:36 +0900
committerJaehyun Cho <jae_hyun.cho@samsung.com>2018-11-23 21:43:54 +0900
commit6cc7c1b83043ee0fed40a6bd130b56a8516ecf60 (patch)
tree90d456fe5abc92cb694dfa6649a8bbc1a5b08457 /src/lib/efl/interfaces
parent424bd60084cc5906a3375a1a38ffba9066f5ff73 (diff)
efl_interpolator: change Efl.Interpolator class to interface
Since Efl.Interpolator's subclasses are used as interpolator class, Efl.Interpolator class is changed to be an interface. This change allows Efl.Canvas.Animation to have Efl.Interpolator as its property in efl_canvas_animation.eo.
Diffstat (limited to 'src/lib/efl/interfaces')
-rw-r--r--src/lib/efl/interfaces/efl_interfaces_main.c1
-rw-r--r--src/lib/efl/interfaces/efl_interpolator.eo13
-rw-r--r--src/lib/efl/interfaces/meson.build1
3 files changed, 15 insertions, 0 deletions
diff --git a/src/lib/efl/interfaces/efl_interfaces_main.c b/src/lib/efl/interfaces/efl_interfaces_main.c
index f5b8634d68..a21d7505aa 100644
--- a/src/lib/efl/interfaces/efl_interfaces_main.c
+++ b/src/lib/efl/interfaces/efl_interfaces_main.c
@@ -61,6 +61,7 @@
61 61
62#include "interfaces/efl_model.eo.c" 62#include "interfaces/efl_model.eo.c"
63#include "interfaces/efl_animator.eo.c" 63#include "interfaces/efl_animator.eo.c"
64#include "interfaces/efl_interpolator.eo.c"
64#include "interfaces/efl_orientation.eo.c" 65#include "interfaces/efl_orientation.eo.c"
65#include "interfaces/efl_ui_base.eo.c" 66#include "interfaces/efl_ui_base.eo.c"
66#include "interfaces/efl_ui_direction.eo.c" 67#include "interfaces/efl_ui_direction.eo.c"
diff --git a/src/lib/efl/interfaces/efl_interpolator.eo b/src/lib/efl/interfaces/efl_interpolator.eo
new file mode 100644
index 0000000000..4c25d9c026
--- /dev/null
+++ b/src/lib/efl/interfaces/efl_interpolator.eo
@@ -0,0 +1,13 @@
1interface Efl.Interpolator ()
2{
3 [[Efl interpolator interface]]
4 methods {
5 interpolate {
6 [[Interpolate the given value.]]
7 return: double; [[Output value calculated by interpolating the input value.]]
8 params {
9 @in progress: double; [[Input value mapped from 0.0 to 1.0.]]
10 }
11 }
12 }
13}
diff --git a/src/lib/efl/interfaces/meson.build b/src/lib/efl/interfaces/meson.build
index 012bc12ff2..03d88e2aac 100644
--- a/src/lib/efl/interfaces/meson.build
+++ b/src/lib/efl/interfaces/meson.build
@@ -71,6 +71,7 @@ pub_eo_files = [
71 'efl_gfx_size_hint.eo', 71 'efl_gfx_size_hint.eo',
72 'efl_model.eo', 72 'efl_model.eo',
73 'efl_animator.eo', 73 'efl_animator.eo',
74 'efl_interpolator.eo',
74 'efl_orientation.eo', 75 'efl_orientation.eo',
75 'efl_container.eo', 76 'efl_container.eo',
76 'efl_content.eo', 77 'efl_content.eo',