ector: start the implementation of the Generic surface.

This commit is contained in:
Cedric BAIL 2015-04-03 16:18:30 +02:00
parent a5f8532e27
commit 3ada4184d7
3 changed files with 44 additions and 2 deletions

View File

@ -27,6 +27,7 @@ lib/ector/Ector.h
lib_ector_libector_la_SOURCES = \
lib/ector/ector_main.c \
lib/ector/ector_surface.c \
lib/ector/ector_renderer_shape.c \
lib/ector/ector_renderer_base.c \
lib/ector/ector_renderer_gradient.c \

View File

@ -34,7 +34,6 @@ abstract Ector.Generic.Surface (Eo.Base)
}
}
implements {
@virtual .size.set;
@virtual .size.get;
@virtual .renderer_factory_new;
}
}

View File

@ -0,0 +1,42 @@
#ifdef HAVE_CONFIG_H
# include "config.h"
#endif
#include <Eina.h>
#include <Ector.h>
#include "ector_private.h"
typedef struct _Ector_Generic_Surface_Data Ector_Generic_Surface_Data;
struct _Ector_Generic_Surface_Data
{
};
void
_ector_generic_surface_size_set(Eo *obj,
Ector_Generic_Surface_Data *pd,
int w, int h)
{
}
void
_ector_generic_surface_size_get(Eo *obj,
Ector_Generic_Surface_Data *pd,
int *w, int *h)
{
}
Eina_Bool
_ector_generic_surface_update_push(Eo *obj,
Ector_Generic_Surface_Data *pd,
const Eina_Rectangle *r,
Ector_Update_Type type)
{
}
Eina_Bool
_ector_generic_surface_update_reset(Eo *obj, Ector_Generic_Surface_Data *pd)
{
}
#include "ector_generic_surface.eo.c"