static void _jk_entry_changed_cb_list( void* data, Evas_Object *obj, void* event) { PropertyValue* val = data; JkPropertyCb* cbs = val->cbs; const char* name = evas_object_name_get(obj); double v; //eo_do(obj, v = jk_entry_value_get()); v = jk_entry_value_get(obj); float f = v; memcpy(val->data, &f, sizeof f); if (cbs->changed_float) { printf("CHANGED FLOAT : %p \n", val->node); cbs->changed_float(cbs->data, val->node, &v); } }
static void _jk_entry_changed_end_cb_list( void* data, Evas_Object *obj, void* event) { PropertyValue* val = data; JkPropertyCb* cbs = val->cbs; const char* name = evas_object_name_get(obj); double v; //eo_do(obj, v = jk_entry_value_get()); v = jk_entry_value_get(obj); float f = v; memcpy(val->data, &f, sizeof f); double vs; //eo_do(obj, vs = jk_entry_value_saved_get()); vs = jk_entry_value_saved_get(obj); if (cbs->register_change_float) { cbs->register_change_float(cbs->data, val->node, &vs, &v, 1); } }
const std::string Object::getName() const { return evas_object_name_get( o ); }