efl stack: define own LAYER_MIN/MAX values.

efl interface shouldn't rely on evas.
This commit is contained in:
Hermet Park 2016-11-09 17:23:38 +09:00
parent 0c78e1eb4d
commit 7894952e01
2 changed files with 4 additions and 1 deletions

View File

@ -94,6 +94,9 @@ typedef Efl_Gfx_Path_Command_Type Efl_Gfx_Path_Command;
#define EFL_ORIENT_180 EFL_ORIENT_DOWN
#define EFL_ORIENT_270 EFL_ORIENT_LEFT
#define EFL_GFX_LAYER_MIN -32768 /**< bottom-most layer number */
#define EFL_GFX_LAYER_MAX 32767 /**< top-most layer number */
/* Core interface */
#include "interfaces/efl_animator.eo.h"

View File

@ -29,7 +29,7 @@ interface Efl.Gfx.Stack
}
values {
l: short; [[The number of the layer to place the object on.
Must be between #EVAS_LAYER_MIN and #EVAS_LAYER_MAX.]]
Must be between #EFL_GFX_LAYER_MIN and #EFL_GFX_LAYER_MAX.]]
}
}
@property below {