Eina_Bool horizontal;
Eina_Bool is_left_size;
double left_size;
+ Eina_Bool is_fixed;
+ Eina_Bool fixed;
};
static void external_panes_state_set(void *data __UNUSED__,
if(p->is_horizontal)
elm_panes_horizontal_set(obj, p->horizontal);
+
+ if(p->is_fixed)
+ elm_panes_fixed_set(obj, p->fixed);
}
static Eina_Bool external_panes_param_set(void *data __UNUSED__,
elm_panes_content_left_size_set(obj, param->d);
return EINA_TRUE;
}
+ else if ((!strcmp(param->name, "fixed"))
+ && (param->type == EDJE_EXTERNAL_PARAM_TYPE_BOOL))
+ {
+ elm_panes_fixed_set(obj, param->i);
+ return EINA_TRUE;
+ }
ERR("unknown parameter '%s' of type '%s'",
param->name, edje_external_param_type_str(param->type));
param->d = elm_panes_content_left_size_get(obj);
return EINA_TRUE;
}
+ else if ((!strcmp(param->name, "fixed"))
+ && (param->type == EDJE_EXTERNAL_PARAM_TYPE_BOOL))
+ {
+ param->i = elm_panes_fixed_get(obj);
+ return EINA_TRUE;
+ }
ERR("unknown parameter '%s' of type '%s'",
param->name, edje_external_param_type_str(param->type));
mem->is_left_size = EINA_TRUE;
mem->left_size = param->d;
}
+ else if (!strcmp(param->name, "fixed"))
+ {
+ mem->is_fixed = EINA_TRUE;
+ mem->fixed = param->i;
+ }
+
}
return mem;
EDJE_EXTERNAL_PARAM_INFO_STRING("content right"),
EDJE_EXTERNAL_PARAM_INFO_BOOL("horizontal"),
EDJE_EXTERNAL_PARAM_INFO_DOUBLE("left size"),
+ EDJE_EXTERNAL_PARAM_INFO_BOOL("fixed"),
EDJE_EXTERNAL_PARAM_INFO_SENTINEL
};