From f89e8850c2e13c8a5208555250c94e05731d7049 Mon Sep 17 00:00:00 2001 From: Gustavo Sverzut Barbieri Date: Thu, 1 May 2008 06:39:27 +0000 Subject: [PATCH] Fix users of evas_object_layer_set() outside the "short" range. This also introduces EVAS_LAYER_MIN and EVAS_LAYER_MAX for ease of use. SVN revision: 34421 --- legacy/evas/src/lib/Evas.h | 3 +++ 1 file changed, 3 insertions(+) diff --git a/legacy/evas/src/lib/Evas.h b/legacy/evas/src/lib/Evas.h index e91af59fcd..c3c59a2a36 100644 --- a/legacy/evas/src/lib/Evas.h +++ b/legacy/evas/src/lib/Evas.h @@ -202,6 +202,9 @@ struct _Evas_Native_Surface } data; }; +#define EVAS_LAYER_MIN -32768 /**< bottom-most layer number */ +#define EVAS_LAYER_MAX 32767 /**< top-most layer number */ + #define EVAS_PIXEL_FORMAT_NONE 0 /**< No pixel format */ #define EVAS_PIXEL_FORMAT_ARGB32 1 /**< ARGB 32bit pixel format with A in the high byte per 32bit pixel word */ #define EVAS_PIXEL_FORMAT_YUV420P_601 2 /**< YUV 420 Planar format with CCIR 601 color encoding wuth contiguous planes in the order Y, U and V */