static Eina_Bool
_group_item_contract_moving_effect_timer_cb(void *data)
{
- Evas_Object *obj = (Evas_Object *)data;
+ Evas_Object *obj = (Evas_Object *)data;
ELM_CHECK_WIDTYPE(obj, widtype);
Widget_Data *wd = elm_widget_data_get(obj);
static void _sizing_eval(Evas_Object * obj, int mode);
-static void _changed_size_hints(void *data, Evas * e, Evas_Object * obj,
+static void _changed_size_hints(void *data, Evas *e, Evas_Object *obj,
void *event_info);
-static void _changed_size_min(void *data, Evas * e, Evas_Object * obj,
+static void _changed_size_min(void *data, Evas *e, Evas_Object *obj,
void *event_info);
-static void _sub_del(void *data, Evas_Object * obj, void *event_info);
+static void _sub_del(void *data, Evas_Object *obj, void *event_info);
-static void _show_event(void *data, Evas *e, Evas_Object * obj, void *event_info);
+static void _show_event(void *data, Evas *e, Evas_Object *obj, void *event_info);
static void
_del_pre_hook(Evas_Object * obj)
}
static void
-_changed_size_hints(void *data, Evas *e, Evas_Object * obj, void *event_info)
+_changed_size_hints(void *data, Evas *e, Evas_Object *obj, void *event_info)
{
_sizing_eval(data, 0);
}
static void
-_changed_size_min(void *data, Evas *e, Evas_Object * obj, void *event_info)
+_changed_size_min(void *data, Evas *e, Evas_Object *obj, void *event_info)
{
_sizing_eval(data, 0);
}
static void
-_sub_del(void *data, Evas_Object * obj, void *event_info)
+_sub_del(void *data, Evas_Object *obj, void *event_info)
{
_sizing_eval(obj, 1);
}
static void
-_show_event(void *data, Evas *e, Evas_Object * obj, void *event_info)
+_show_event(void *data, Evas *e, Evas_Object *obj, void *event_info)
{
_sizing_eval(data, 0);
}
static void
-_freeze_on(void *data, Evas_Object * obj, void *event_info)
+_freeze_on(void *data, Evas_Object *obj, void *event_info)
{
Widget_Data *wd = elm_widget_data_get(obj);
if ((dur && dur > 1000) || (distance < 10 && distance > -10)) {
if (wd->ani_lock)
- {
+ {
if ((int)evas_object_data_get(wd->base, "ani_cnt") < 0)
evas_object_data_set(wd->base, "ani_cnt", (void *)-1);
else
evas_object_data_set(wd->base, "ani_cnt", (void *)1);
- }
+ }
return;
}
_flick(data, (float)distance / dur);
static void _del_hook(Evas_Object *obj);
static void _theme_hook(Evas_Object *obj);
static void _sizing_eval(Evas_Object *obj);
-static void _clicked(void *data, Evas_Object *obj, void *event_info); //const char *emission, const char *source);
-static void _changed(void *data, Evas_Object *obj, void *event_info); //const char *emission, const char *source);
-static void _cancel_clicked(void *data, Evas_Object *obj, void *event_info); //const char *emission, const char *source);
+static void _clicked(void *data, Evas_Object *obj, void *event_info);
+static void _changed(void *data, Evas_Object *obj, void *event_info);
+static void _cancel_clicked(void *data, Evas_Object *obj, void *event_info);
static void _del_hook(Evas_Object *obj)
{
evas_object_size_hint_max_set(obj, maxw, maxh);
}
-static void _clicked(void *data, Evas_Object *obj, void *event_info) //const char *emission, const char *source)
+static void _clicked(void *data, Evas_Object *obj, void *event_info)
{
Widget_Data *wd = elm_widget_data_get(data);
if (!wd) return;
evas_object_smart_callback_call(data, "clicked", NULL);
}
-static void _changed(void *data, Evas_Object *obj, void *event_info) //const char *emission, const char *source)
+static void _changed(void *data, Evas_Object *obj, void *event_info)
{
Widget_Data *wd = elm_widget_data_get(data);
// evas_object_smart_callback_call(data, "changed", NULL);
}
-static void _cancel_clicked(void *data, Evas_Object *obj, void *event_info) //const char *emission, const char *source)
+static void _cancel_clicked(void *data, Evas_Object *obj, void *event_info)
{
Widget_Data *wd = elm_widget_data_get(data);
if (!wd) return;