summaryrefslogtreecommitdiff
path: root/src/lib/efl
diff options
context:
space:
mode:
authorJean-Philippe Andre <jp.andre@samsung.com>2017-09-13 16:49:04 +0900
committerJean-Philippe Andre <jp.andre@samsung.com>2017-09-13 18:03:34 +0900
commit13da5e980eb43288b9b9f502cb6a7a000e1f26ea (patch)
treee37670643988bb990b3101257332c490a2e21131 /src/lib/efl
parent0c46fc71033edda92f4e86b86f6d1d62751f8998 (diff)
efl_gfx: Use Eina.Rectangle for geometry (EO)
This saves a few lines already (without even having the proper helpers for stack rectangles).
Diffstat (limited to 'src/lib/efl')
-rw-r--r--src/lib/efl/interfaces/efl_gfx.eo6
1 files changed, 2 insertions, 4 deletions
diff --git a/src/lib/efl/interfaces/efl_gfx.eo b/src/lib/efl/interfaces/efl_gfx.eo
index f35fa3fc1b..1670ddc3c6 100644
--- a/src/lib/efl/interfaces/efl_gfx.eo
+++ b/src/lib/efl/interfaces/efl_gfx.eo
@@ -1,3 +1,4 @@
1import eina_types;
1import efl_gfx_types; 2import efl_gfx_types;
2 3
3interface Efl.Gfx { 4interface Efl.Gfx {
@@ -45,10 +46,7 @@ interface Efl.Gfx {
45 @property geometry { 46 @property geometry {
46 [[Rectangular geometry that combines both position and size.]] 47 [[Rectangular geometry that combines both position and size.]]
47 values { 48 values {
48 x: int; [[X coordinate]] 49 rect: Eina.Rectangle; [[The X,Y position and W,H size, in pixels.]]
49 y: int; [[Y coordinate]]
50 w: int; [[Width]]
51 h: int; [[Height]]
52 } 50 }
53 } 51 }
54 @property color { 52 @property color {