Summary:
For better understanding of the property, "is_24hour" looks
better than "ampm".
@ref T7901
Reviewers: zmike, segfaultxavi, bu5hm4n, kimcinoo
Reviewed By: segfaultxavi, kimcinoo
Subscribers: kimcinoo, cedric, #reviewers, #committers
Tags: #efl
Maniphest Tasks: T7901
Differential Revision: https://phab.enlightenment.org/D9811
}
EOLIAN static void
-_efl_ui_timepicker_ampm_set(Eo *obj, Efl_Ui_Timepicker_Data *pd, Eina_Bool is_24hour)
+_efl_ui_timepicker_is_24hour_set(Eo *obj, Efl_Ui_Timepicker_Data *pd, Eina_Bool is_24hour)
{
if (pd->is_24hour == is_24hour) return;
}
EOLIAN static Eina_Bool
-_efl_ui_timepicker_ampm_get(const Eo *obj EINA_UNUSED, Efl_Ui_Timepicker_Data *pd)
+_efl_ui_timepicker_is_24hour_get(const Eo *obj EINA_UNUSED, Efl_Ui_Timepicker_Data *pd)
{
return pd->is_24hour;
}
min: int; [[The minute value from 0 to 59.]]
}
}
- @property ampm {
+ @property is_24hour {
[[Control if the Timepicker displays 24 hour time or 12 hour time including AM/PM button.]]
set {
}