3 typedef struct _Elm_Params_Nocontents
6 }Elm_Params_Nocontents;
9 external_nocontents_state_set(void *data __UNUSED__, Evas_Object *obj __UNUSED__,
10 const void *from_params, const void *to_params,
13 const Elm_Params_Nocontents *p;
15 if (to_params) p = to_params;
16 else if (from_params) p = from_params;
19 //if (p->base.label) elm_nocontents_label_set(obj, p->base.label);
23 external_nocontents_param_set(void *data __UNUSED__, Evas_Object *obj, const Edje_External_Param *param)
25 if (!strcmp(param->name, "label"))
27 if (param->type == EDJE_EXTERNAL_PARAM_TYPE_STRING)
29 elm_nocontents_label_set(obj, param->s);
34 ERR("unknown parameter '%s' of type '%s'",
35 param->name, edje_external_param_type_str(param->type));
41 external_nocontents_param_get(void *data __UNUSED__, const Evas_Object *obj, Edje_External_Param *param)
43 if (!strcmp(param->name, "label"))
45 if (param->type == EDJE_EXTERNAL_PARAM_TYPE_STRING)
47 param->s = elm_nocontents_label_get(obj);
52 ERR("unknown parameter '%s' of type '%s'",
53 param->name, edje_external_param_type_str(param->type));
59 external_nocontents_params_parse(void *data __UNUSED__,
60 Evas_Object *obj __UNUSED__,
61 const Eina_List *params __UNUSED__)
63 Elm_Params_Nocontents *mem;
65 mem = ELM_NEW(Elm_Params_Nocontents);
72 static Evas_Object *external_nocontents_content_get(void *data __UNUSED__,
73 const Evas_Object *obj __UNUSED__,
74 const char *content __UNUSED__)
81 external_nocontents_params_free(void *params)
86 static Edje_External_Param_Info external_nocontents_params[] = {
87 DEFINE_EXTERNAL_COMMON_PARAMS,
88 EDJE_EXTERNAL_PARAM_INFO_SENTINEL
91 DEFINE_EXTERNAL_ICON_ADD(nocontents, "nocontents");
92 DEFINE_EXTERNAL_TYPE_SIMPLE(nocontents, "Nocontents");