Get rid of Burn_Data_Data.
This commit is contained in:
@ -1247,3 +1247,36 @@ ecdb_config_inwin_child_add(Evas_Object *inwin, Evas_Object *child,
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
/***************************** Capacity **************************************/
|
||||
Evas_Object *
|
||||
ecdb_capacity_add(Evas_Object *parent, const char *name)
|
||||
{
|
||||
Evas_Object *ret;
|
||||
|
||||
ret = ecdb_widget_add(parent, "ecdb/burn_data/capacity");
|
||||
if (!ret)
|
||||
{
|
||||
printf("ecdb_capacity_add: NULL return!\n");
|
||||
return NULL;
|
||||
}
|
||||
|
||||
edje_object_file_set(ret, em->theme_path, "ecdb/capacity");
|
||||
|
||||
return ret;
|
||||
}
|
||||
|
||||
void
|
||||
ecdb_capacity_float_set(Evas_Object *cap, float val)
|
||||
{
|
||||
Edje_Message_Float msg;
|
||||
|
||||
if (!cap)
|
||||
{
|
||||
printf("ecdb_capacity_float_set: NULL object!\n");
|
||||
return;
|
||||
}
|
||||
|
||||
msg.val = val;
|
||||
edje_object_message_send(cap, EDJE_MESSAGE_FLOAT, 1, &msg);
|
||||
}
|
||||
|
Reference in New Issue
Block a user