diff options
author | Jean-Philippe Andre <jp.andre@samsung.com> | 2017-05-16 15:42:04 +0900 |
---|---|---|
committer | Jean-Philippe Andre <jp.andre@samsung.com> | 2017-05-16 20:47:48 +0900 |
commit | fe7f07615b92166b187f4fd1ad1f8d44cf7d964a (patch) | |
tree | c9287d2298f5e2e4e89476e7262227b97041de9d | |
parent | c64f9ee235d9825df59cb9d2a07f90842b3a7af9 (diff) | |
download | efl-fe7f07615b92166b187f4fd1ad1f8d44cf7d964a.tar.gz |
evas: Move Efl_Gfx_Fill_Spread to legacy
This was never implemented and was translated to EO without
any implementation.
-rw-r--r-- | src/lib/evas/Evas_Common.h | 20 | ||||
-rw-r--r-- | src/lib/evas/Evas_Legacy.h | 20 |
2 files changed, 20 insertions, 20 deletions
diff --git a/src/lib/evas/Evas_Common.h b/src/lib/evas/Evas_Common.h index 3612a75c10..108d23c954 100644 --- a/src/lib/evas/Evas_Common.h +++ b/src/lib/evas/Evas_Common.h @@ -259,26 +259,6 @@ typedef enum _Evas_Alloc_Error EVAS_ALLOC_ERROR_RECOVERED = 2 /**< Allocation succeeded, but extra memory had to be found by freeing up speculative resources */ } Evas_Alloc_Error; /**< Possible allocation errors returned by evas_alloc_error() */ -/* not implemented! removed from the interface, kept as legacy only */ -typedef enum _Efl_Gfx_Fill_Spread { - /** Fill spread mode. Warning: support is not implemented! - * @since 1.14 */ - EFL_GFX_FILL_REFLECT = 0, /**< Tiling reflects and repeats */ - EFL_GFX_FILL_REPEAT = 1, /**< Tiling repeats like a mosaic */ - EFL_GFX_FILL_RESTRICT = 2, /**< Tiling clamps, range offset ignored */ - EFL_GFX_FILL_RESTRICT_REFLECT = 3, /**< Tiling clamps and any range offset reflects */ - EFL_GFX_FILL_RESTRICT_REPEAT = 4, /**< Tiling clamps and any range offset repeats */ - EFL_GFX_FILL_PAD = 5, /**< Tiling extends with end values */ -} Efl_Gfx_Fill_Spread; - -typedef Efl_Gfx_Fill_Spread Evas_Fill_Spread; -#define EVAS_TEXTURE_REFLECT EFL_GFX_FILL_REFLECT -#define EVAS_TEXTURE_REPEAT EFL_GFX_FILL_REPEAT -#define EVAS_TEXTURE_RESTRICT EFL_GFX_FILL_RESTRICT -#define EVAS_TEXTURE_RESTRICT_REFLECT EFL_GFX_FILL_RESTRICT_REFLECT -#define EVAS_TEXTURE_RESTRICT_REPEAT EFL_GFX_FILL_RESTRICT_REPEAT -#define EVAS_TEXTURE_PAD EFL_GFX_FILL_PAD - typedef enum _Evas_Pixel_Import_Pixel_Format { EVAS_PIXEL_FORMAT_NONE = 0, /**< No pixel format */ diff --git a/src/lib/evas/Evas_Legacy.h b/src/lib/evas/Evas_Legacy.h index 4fc14adee1..c97c6a9382 100644 --- a/src/lib/evas/Evas_Legacy.h +++ b/src/lib/evas/Evas_Legacy.h @@ -4666,6 +4666,26 @@ EAPI void evas_object_image_smooth_scale_set(Eo *obj, Eina_Bool smooth_scale); */ EAPI Eina_Bool evas_object_image_smooth_scale_get(const Eo *obj); +/* not implemented! removed from the interface, kept as legacy only */ +typedef enum _Efl_Gfx_Fill_Spread { + /** Fill spread mode. Warning: support is not implemented! + * @since 1.14 */ + EFL_GFX_FILL_REFLECT = 0, /**< Tiling reflects and repeats */ + EFL_GFX_FILL_REPEAT = 1, /**< Tiling repeats like a mosaic */ + EFL_GFX_FILL_RESTRICT = 2, /**< Tiling clamps, range offset ignored */ + EFL_GFX_FILL_RESTRICT_REFLECT = 3, /**< Tiling clamps and any range offset reflects */ + EFL_GFX_FILL_RESTRICT_REPEAT = 4, /**< Tiling clamps and any range offset repeats */ + EFL_GFX_FILL_PAD = 5, /**< Tiling extends with end values */ +} Efl_Gfx_Fill_Spread; + +typedef Efl_Gfx_Fill_Spread Evas_Fill_Spread; +#define EVAS_TEXTURE_REFLECT EFL_GFX_FILL_REFLECT +#define EVAS_TEXTURE_REPEAT EFL_GFX_FILL_REPEAT +#define EVAS_TEXTURE_RESTRICT EFL_GFX_FILL_RESTRICT +#define EVAS_TEXTURE_RESTRICT_REFLECT EFL_GFX_FILL_RESTRICT_REFLECT +#define EVAS_TEXTURE_RESTRICT_REPEAT EFL_GFX_FILL_RESTRICT_REPEAT +#define EVAS_TEXTURE_PAD EFL_GFX_FILL_PAD + /** * * Sets the tiling mode for the given evas image object's fill. |