Ector GL: Remove duplicated functions (eo)
This commit is contained in:
parent
c2522dd736
commit
80acb7fbe0
|
@ -2,6 +2,4 @@ class Ector.GL.Buffer (Eo.Base, Ector.GL.Buffer.Base)
|
|||
{
|
||||
legacy_prefix: null;
|
||||
data: null;
|
||||
implements {
|
||||
}
|
||||
}
|
||||
|
|
|
@ -27,13 +27,6 @@ _ector_gl_buffer_base_whole_get(Eo *obj EINA_UNUSED, Ector_GL_Buffer_Base_Data *
|
|||
return pd->whole;
|
||||
}
|
||||
|
||||
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)
|
||||
{
|
||||
|
|
|
@ -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 {
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue