Ector GL: Remove duplicated functions (eo)
authorJean-Philippe Andre <jp.andre@samsung.com>
Wed, 13 Jan 2016 08:44:01 +0000 (17:44 +0900)
committerJean-Philippe Andre <jp.andre@samsung.com>
Wed, 13 Jan 2016 09:51:20 +0000 (18:51 +0900)
src/lib/ector/gl/ector_gl_buffer.eo
src/lib/ector/gl/ector_gl_buffer_base.c
src/lib/ector/gl/ector_gl_buffer_base.eo

index aabeb09..eb1bb04 100644 (file)
@@ -2,6 +2,4 @@ class Ector.GL.Buffer (Eo.Base, Ector.GL.Buffer.Base)
 {
    legacy_prefix: null;
    data: null;
-   implements {
-   }
 }
index c55963a..954988a 100644 (file)
@@ -28,13 +28,6 @@ _ector_gl_buffer_base_whole_get(Eo *obj EINA_UNUSED, Ector_GL_Buffer_Base_Data *
 }
 
 EOLIAN static void
-_ector_gl_buffer_base_size_get(Eo *obj EINA_UNUSED, Ector_GL_Buffer_Base_Data *pd, int *w, int *h)
-{
-   if (w) *w = pd->generic->w;
-   if (h) *h = pd->generic->h;
-}
-
-EOLIAN static void
 _ector_gl_buffer_base_vertices_get(Eo *obj EINA_UNUSED, Ector_GL_Buffer_Base_Data *pd, double *x, double *y, double *w, double *h)
 {
    if (x) *x = (double) pd->atlas.x / pd->atlas.w;
index b783880..7016359 100644 (file)
@@ -23,17 +23,6 @@ mixin Ector.GL.Buffer.Base (Ector.Generic.Buffer)
             is_whole: bool;
          }
       }
-      @property size {
-         [[The size in pixels of this image.
-
-           If the image is whole, then this is equal to the atlas size.
-         ]]
-         get {}
-         values {
-            w: int;
-            h: int;
-         }
-      }
       @property vertices {
          [[Returns the texture vertices to draw this image with no rotation
 
@@ -66,6 +55,4 @@ mixin Ector.GL.Buffer.Base (Ector.Generic.Buffer)
          }
       }
    }
-   implements {
-   }
 }