pitem->can_override = EINA_FALSE;
}
+#define CURRENT_ITEM_CHECK \
+ if (!current_item) \
+ { \
+ ERR("parse error %s:%i. Item not defined at this stage.", \
+ file_in, line - 1); \
+ exit(-1); \
+ }
+
/**
@page edcref
@property
*/
static void st_collections_group_parts_part_box_items_item_type(void)
{
+ CURRENT_ITEM_CHECK;
+
check_arg_count(1);
{
Edje_Pack_Element *item;
Edje_Pack_Element_Parser *pitem;
+ CURRENT_ITEM_CHECK;
+
check_arg_count(1);
ep = current_part;
*/
static void st_collections_group_parts_part_box_items_item_source(void)
{
+ CURRENT_ITEM_CHECK;
+
+ CURRENT_ITEM_CHECK;
+
check_arg_count(1);
current_item->source = parse_str(0);
*/
static void st_collections_group_parts_part_box_items_item_min(void)
{
+ CURRENT_ITEM_CHECK;
+
check_arg_count(2);
current_item->min.w = parse_int_range(0, 0, 0x7ffffff);
*/
static void st_collections_group_parts_part_box_items_item_spread(void)
{
+ CURRENT_ITEM_CHECK;
+
check_arg_count(2);
current_item->spread.w = parse_int_range(0, 0, 0x7ffffff);
*/
static void st_collections_group_parts_part_box_items_item_prefer(void)
{
+ CURRENT_ITEM_CHECK;
+
check_arg_count(2);
current_item->prefer.w = parse_int_range(0, 0, 0x7ffffff);
*/
static void st_collections_group_parts_part_box_items_item_max(void)
{
+ CURRENT_ITEM_CHECK;
+
check_arg_count(2);
current_item->max.w = parse_int_range(0, 0, 0x7ffffff);
*/
static void st_collections_group_parts_part_box_items_item_padding(void)
{
+ CURRENT_ITEM_CHECK;
+
check_arg_count(4);
current_item->padding.l = parse_int_range(0, 0, 0x7ffffff);
*/
static void st_collections_group_parts_part_box_items_item_align(void)
{
+ CURRENT_ITEM_CHECK;
+
check_arg_count(2);
current_item->align.x = FROM_DOUBLE(parse_float_range(0, -1.0, 1.0));
*/
static void st_collections_group_parts_part_box_items_item_weight(void)
{
+ CURRENT_ITEM_CHECK;
+
check_arg_count(2);
current_item->weight.x = FROM_DOUBLE(parse_float_range(0, 0.0, 99999.99));
*/
static void st_collections_group_parts_part_box_items_item_aspect(void)
{
+ CURRENT_ITEM_CHECK;
+
check_arg_count(2);
current_item->aspect.w = parse_int_range(0, 0, 0x7fffffff);
*/
static void st_collections_group_parts_part_box_items_item_aspect_mode(void)
{
+ CURRENT_ITEM_CHECK;
+
check_arg_count(1);
current_item->aspect.mode = parse_enum(0,
*/
static void st_collections_group_parts_part_box_items_item_options(void)
{
+ CURRENT_ITEM_CHECK;
+
check_arg_count(1);
current_item->options = parse_str(0);
*/
static void st_collections_group_parts_part_table_items_item_position(void)
{
+ CURRENT_ITEM_CHECK;
+
check_arg_count(2);
if (current_part->type != EDJE_PART_TYPE_TABLE)
*/
static void st_collections_group_parts_part_table_items_item_span(void)
{
+ CURRENT_ITEM_CHECK;
+
check_arg_count(2);
if (current_part->type != EDJE_PART_TYPE_TABLE)