summaryrefslogtreecommitdiff
path: root/src/modules/elementary
diff options
context:
space:
mode:
authorWooHyun Jung <wh0705.jung@samsung.com>2017-10-25 16:44:25 +0900
committerWooHyun Jung <wh0705.jung@samsung.com>2017-10-25 16:44:25 +0900
commitc1094da0f40ae59addf83d448308d9a1080e4392 (patch)
tree93cf20c830d462bc84b0ce1e37e04e563b4ac5f5 /src/modules/elementary
parent944c4dee1b74b7b5bff30cb99d34d7fa7e1c28f0 (diff)
downloadefl-c1094da0f40ae59addf83d448308d9a1080e4392.tar.gz
efl_ui_clock: changed property name from value to time
Diffstat (limited to 'src/modules/elementary')
-rw-r--r--src/modules/elementary/clock_input_ctxpopup/clock_input_ctxpopup.c12
1 files changed, 6 insertions, 6 deletions
diff --git a/src/modules/elementary/clock_input_ctxpopup/clock_input_ctxpopup.c b/src/modules/elementary/clock_input_ctxpopup/clock_input_ctxpopup.c
index d94a8867a1..d6ef8f2b30 100644
--- a/src/modules/elementary/clock_input_ctxpopup/clock_input_ctxpopup.c
+++ b/src/modules/elementary/clock_input_ctxpopup/clock_input_ctxpopup.c
@@ -97,13 +97,13 @@ _diskselector_cb(void *data EINA_UNUSED, const Efl_Event *event)
disk_data = (DiskItem_Data *)elm_object_item_data_get(event->info);
if (!disk_data || !(disk_data->ctx_mod)) return;
- curr_time = efl_ui_clock_value_get(disk_data->ctx_mod->mod_data.base);
+ curr_time = efl_ui_clock_time_get(disk_data->ctx_mod->mod_data.base);
fmt = disk_data->ctx_mod->mod_data.field_format_get(disk_data->ctx_mod->mod_data.base, disk_data->sel_field_type);
if ((disk_data->sel_field_type == EFL_UI_CLOCK_TYPE_HOUR) && ((!strncmp(fmt, "%I", FIELD_FORMAT_LEN)) ||
(!strncmp(fmt, "%l", FIELD_FORMAT_LEN))) && (curr_time.tm_hour >= 12))
disk_data->sel_field_value += 12;
_field_value_set(&curr_time, disk_data->sel_field_type, disk_data->sel_field_value);
- efl_ui_clock_value_set(disk_data->ctx_mod->mod_data.base, curr_time);
+ efl_ui_clock_time_set(disk_data->ctx_mod->mod_data.base, curr_time);
evas_object_hide(disk_data->ctx_mod->ctxpopup);
}
@@ -116,10 +116,10 @@ _ampm_clicked_cb(void *data, const Efl_Event *event EINA_UNUSED)
ctx_mod = (Ctxpopup_Module_Data *)data;
if (!ctx_mod) return;
- curr_time = efl_ui_clock_value_get(ctx_mod->mod_data.base);
+ curr_time = efl_ui_clock_time_get(ctx_mod->mod_data.base);
if (curr_time.tm_hour >= 12) curr_time.tm_hour -= 12;
else curr_time.tm_hour += 12;
- efl_ui_clock_value_set(ctx_mod->mod_data.base, curr_time);
+ efl_ui_clock_time_set(ctx_mod->mod_data.base, curr_time);
}
static void
@@ -169,7 +169,7 @@ _field_clicked_cb(void *data, const Efl_Event *event)
field_type = (Efl_Ui_Clock_Type )evas_object_data_get(event->object, "_field_type");
fmt = ctx_mod->mod_data.field_format_get(ctx_mod->mod_data.base, field_type);
- time1 = efl_ui_clock_value_get(ctx_mod->mod_data.base);
+ time1 = efl_ui_clock_time_get(ctx_mod->mod_data.base);
val = _field_value_get(&time1, field_type);
ctx_mod->mod_data.field_limit_get(ctx_mod->mod_data.base, field_type, &min, &max);
@@ -283,7 +283,7 @@ field_value_display(Efl_Ui_Clock_Module_Data *module_data, Evas_Object *obj)
ctx_mod = (Ctxpopup_Module_Data *)module_data;
if (!ctx_mod || !obj) return;
- tim = efl_ui_clock_value_get(ctx_mod->mod_data.base);
+ tim = efl_ui_clock_time_get(ctx_mod->mod_data.base);
field_type = (Efl_Ui_Clock_Type )evas_object_data_get(obj, "_field_type");
fmt = ctx_mod->mod_data.field_format_get(ctx_mod->mod_data.base, field_type);
buf[0] = 0;