new_time.tm_sec = 0;
elm_datetime_field_visible_set(dt1, ELM_DATETIME_HOUR, EINA_TRUE);
elm_datetime_field_visible_set(dt1, ELM_DATETIME_MINUTE, EINA_TRUE);
- efl_ui_clock_pause_set(dt1, EINA_TRUE);
+ elm_clock_pause_set(dt1, EINA_TRUE);
elm_datetime_value_set(dt1, &new_time);
elm_object_disabled_set(dt1, EINA_TRUE);
elm_object_disabled_set(obj, EINA_TRUE);
#ifndef _ELM_DATE_TIME_H
#define _ELM_DATE_TIME_H
+#include <elm_clock_eo.h>
typedef enum
{
ELM_DATETIME_YEAR = 0, /**< Indicates Year field. */
*/
EAPI Eina_Bool elm_datetime_value_max_get(const Evas_Object *obj, Efl_Time *maxtime);
-#define ELM_DATETIME_EVENT_CHANGED EFL_UI_CLOCK_EVENT_CHANGED
+#define ELM_DATETIME_EVENT_CHANGED ELM_CLOCK_EVENT_CHANGED
#endif
/**
_custom_progressbar(Evas_Object *win)
{
Evas_Object *o = elm_progressbar_add(win);
- efl_ui_widget_focus_allow_set(o, EINA_TRUE);
+ elm_object_focus_allow_set(o, EINA_TRUE);
return o;
}