aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorTom Hacohen <tom@stosb.com>2015-05-29 14:20:11 +0100
committerTom Hacohen <tom@stosb.com>2015-05-29 14:24:40 +0100
commit12f22950722ef884f3481a386d40539f01ec2b57 (patch)
treeb1583dc4e827c2a9bdcbf08f01ee81d75132a025 /src
parentEfl gfx stack: Fix eolian warnings. (diff)
downloadefl-12f22950722ef884f3481a386d40539f01ec2b57.tar.gz
Efl gfx shape: Use correct class names in .eo file.
Diffstat (limited to 'src')
-rw-r--r--src/lib/efl/interfaces/efl_gfx_shape.eo10
-rw-r--r--src/lib/eo/eina_types.eot6
2 files changed, 12 insertions, 4 deletions
diff --git a/src/lib/efl/interfaces/efl_gfx_shape.eo b/src/lib/efl/interfaces/efl_gfx_shape.eo
index afbb26a4ec..9ac35bbf0a 100644
--- a/src/lib/efl/interfaces/efl_gfx_shape.eo
+++ b/src/lib/efl/interfaces/efl_gfx_shape.eo
@@ -1,3 +1,5 @@
+import eina_types;
+
mixin Efl.Gfx.Shape
{
legacy_prefix: null;
@@ -184,7 +186,7 @@ mixin Efl.Gfx.Shape
@since 1.14
*/
params {
- @in dup_from: Eo *; /*@ Shape object from where data will be copied.*/
+ @in dup_from: Eo.Base *; /*@ Shape object from where data will be copied.*/
}
}
bounds_get {
@@ -372,15 +374,15 @@ mixin Efl.Gfx.Shape
interpolate {
return: bool;
params {
- @in from: const(Eo)*;
- @in to: const(Eo)*;
+ @in from: const(Eo.Base)*;
+ @in to: const(Eo.Base)*;
@in pos_map: double;
}
}
equal_commands {
return: bool;
params {
- @in with: const(Eo)*;
+ @in with: const(Eo.Base)*;
}
}
}
diff --git a/src/lib/eo/eina_types.eot b/src/lib/eo/eina_types.eot
index eef43fbc06..4340cc3096 100644
--- a/src/lib/eo/eina_types.eot
+++ b/src/lib/eo/eina_types.eot
@@ -1,2 +1,8 @@
/* FIXME: Move to Eina when we decide they are handled properly. */
type @extern Eina_Stringshare: const(char) *;
+struct @extern Eina_Rectangle {
+ x: int;
+ y: int;
+ w: int;
+ h: int;
+}