The indicator object is deprecated. It is not used anymore.
Change-Id: I9618955456bcd418939695d455277f252193f618
}
}
}
- if (cw->indicator.obj)
- {
- Evas_Object *indicator;
- indicator = edje_object_part_swallow_get(cw->shobj, "e.swallow.indicator");
- if (indicator != cw->indicator.obj)
- {
- edje_object_part_unswallow(cw->shobj, indicator);
- edje_object_part_swallow(cw->shobj, "e.swallow.indicator", cw->indicator.obj);
- e_comp_object_indicator_size_set(cw->smart_obj, cw->indicator.w, cw->indicator.h);
- }
- }
evas_object_pass_events_set(cw->default_input_obj, pass_event_flag);
evas_object_pass_events_set(cw->obj, EINA_TRUE);
return edje_object_part_swallow(cw->effect_obj, part_name, swallow_obj);
}
-EINTERN void
-e_comp_object_indicator_swallow(Evas_Object *obj, Evas_Object *indicator)
-{
- API_ENTRY;
- if (cw->indicator.obj != indicator)
- edje_object_part_unswallow(cw->shobj, cw->indicator.obj);
- cw->indicator.obj = indicator;
- edje_object_part_swallow(cw->shobj, "e.swallow.indicator", indicator);
-}
-
-EINTERN void
-e_comp_object_indicator_unswallow(Evas_Object *obj, Evas_Object *indicator)
-{
- API_ENTRY;
- if (cw->indicator.obj != indicator) return;
- cw->indicator.obj = NULL;
- edje_object_part_unswallow(cw->shobj, indicator);
-}
-
-EINTERN void
-e_comp_object_indicator_size_set(Evas_Object *obj, int w, int h)
-{
- API_ENTRY;
- Edje_Message_Int_Set *msg;
-
- if (!cw->indicator.obj) return;
-
- cw->indicator.w = w;
- cw->indicator.h = h;
-
- if (!cw->shobj) return;
-
- msg = alloca(sizeof(Edje_Message_Int_Set) + (sizeof(int)));
- msg->count = 2;
- msg->val[0] = w;
- msg->val[1] = h;
- edje_object_message_send(cw->shobj, EDJE_MESSAGE_INT_SET, 0, msg);
- edje_object_message_signal_process(cw->shobj);
-}
-
/* buffer transform and scale are applied to e_comp_object and e_pixmap internaly */
EINTERN void
e_comp_object_map_update(Evas_Object *obj)
EINTERN E_Client *e_comp_object_dim_client_get(void);
EINTERN void e_comp_object_dim_mask_set(Evas_Object *obj, Eina_Bool set);
-EINTERN void e_comp_object_indicator_swallow(Evas_Object *obj, Evas_Object *indicator);
-EINTERN void e_comp_object_indicator_unswallow(Evas_Object *obj, Evas_Object *indicator);
-EINTERN void e_comp_object_indicator_size_set(Evas_Object *obj, int w, int h);
-
EINTERN Eina_Bool e_comp_object_image_filter_set(Evas_Object *obj, E_Comp_Image_Filter filter);
EINTERN E_Comp_Image_Filter e_comp_object_image_filter_get(Evas_Object *obj);
E_Pixmap *ep; /* pixmap for launch screen client */
E_Client *ec; /* client for launch screen image */
Ecore_Timer *timeout; /* launch screen image hide timer */
- Evas_Object *indicator_obj; /* plug object of indicator */
Eina_Bool valid; /* validation check */
Eina_Bool replaced;
"Launchscreen hide | pid %d, replaced:%d, tzlaunch_pixmap:%p, ec_pixmap:%p",
ec, tzlaunch_splash->pid, tzlaunch_splash->replaced, tzlaunch_splash->ep, ec->pixmap);
- if (tzlaunch_splash->indicator_obj)
- {
- e_comp_object_indicator_unswallow(ec->frame, tzlaunch_splash->indicator_obj);
- evas_object_del(tzlaunch_splash->indicator_obj);
- evas_object_unref(tzlaunch_splash->indicator_obj);
- tzlaunch_splash->indicator_obj = NULL;
- }
-
if ((ec->pixmap) &&
(ec->pixmap == tzlaunch_splash->ep))
{
splash->path = eina_stringshare_add(pfname);
splash->type = ftype;
splash->indicator = indicator;
- splash->indicator_obj = NULL;
splash->angle = angle;
if (indicator)
new_ec,
old_ec, new_ec, tzlaunch_splash->obj);
- if (tzlaunch_splash->indicator_obj)
- {
- e_mod_indicator_owner_set(new_ec);
- e_tzsh_indicator_srv_property_update(new_ec);
- e_comp_object_indicator_unswallow(old_ec->frame, tzlaunch_splash->indicator_obj);
- e_comp_object_indicator_swallow(new_ec->frame, tzlaunch_splash->indicator_obj);
- }
-
/* delete ec was created for launchscreen */
e_comp_launchscrn_ec_remove(old_ec);