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
This commit is contained in:
Gustavo Sverzut Barbieri 2008-05-01 06:39:27 +00:00
parent 27437c83cf
commit f89e8850c2
1 changed files with 3 additions and 0 deletions

View File

@ -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 */