forked from enlightenment/efl
evas: Move Efl_Gfx_Fill_Spread to legacy
This was never implemented and was translated to EO without any implementation.
This commit is contained in:
parent
c64f9ee235
commit
fe7f07615b
|
@ -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_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() */
|
} 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
|
typedef enum _Evas_Pixel_Import_Pixel_Format
|
||||||
{
|
{
|
||||||
EVAS_PIXEL_FORMAT_NONE = 0, /**< No pixel format */
|
EVAS_PIXEL_FORMAT_NONE = 0, /**< No pixel format */
|
||||||
|
|
|
@ -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);
|
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.
|
* Sets the tiling mode for the given evas image object's fill.
|
||||||
|
|
Loading…
Reference in New Issue