remove code related with E_Comp_Object's shade/unshade 44/304144/1
authorDoyoun Kang <doyoun.kang@samsung.com>
Wed, 10 Jan 2024 08:58:22 +0000 (17:58 +0900)
committerTizen Window System <tizen.windowsystem@gmail.com>
Wed, 10 Jan 2024 13:50:46 +0000 (22:50 +0900)
Change-Id: Ifb1da35839108aeaa56fe54d7509ae46de84bc01

src/bin/e_comp_object.c

index c9405d7..5dde699 100644 (file)
@@ -65,14 +65,6 @@ typedef struct _E_Comp_Object
    E_Client *ec;
 
    E_Comp_Object_Frame client_inset;
-   struct
-   {
-      double          start;
-      double          val;
-      int             x, y;
-      E_Direction     dir;
-      Ecore_Animator *anim;
-   } shade;
 
    Eina_Stringshare   *frame_theme;
    Eina_Stringshare   *frame_name;
@@ -2817,28 +2809,6 @@ _e_comp_smart_cb_frame_recalc(void *data, Evas_Object *obj, void *event_info EIN
 }
 
 static void
-_e_comp_smart_cb_unshading(void *data, Evas_Object *obj EINA_UNUSED, void *event_info)
-{
-   E_Comp_Object *cw = data;
-
-   if (!cw->ec) return; //NYI
-   E_FREE_FUNC(cw->shade.anim, ecore_timer_del);
-
-   e_comp_object_signal_emit(cw->smart_obj, "e,state,unshading", "e");
-}
-
-static void
-_e_comp_smart_cb_unshaded(void *data, Evas_Object *obj EINA_UNUSED, void *event_info)
-{
-   E_Comp_Object *cw = data;
-
-   if (!cw->ec) return; //NYI
-   E_FREE_FUNC(cw->shade.anim, ecore_timer_del);
-
-   e_comp_object_signal_emit(cw->smart_obj, "e,state,unshaded", "e");
-}
-
-static void
 _e_comp_smart_cb_maximize(void *data, Evas_Object *obj EINA_UNUSED, void *event_info EINA_UNUSED)
 {
    E_Comp_Object *cw = data;
@@ -3133,9 +3103,6 @@ _e_comp_smart_add(Evas_Object *obj)
    evas_object_intercept_focus_set_callback_add(obj, _e_comp_intercept_focus, cw);
    evas_object_intercept_color_set_callback_add(obj, _e_comp_intercept_color_set, cw);
 
-   evas_object_smart_callback_add(obj, "unshading", _e_comp_smart_cb_unshading, cw);
-   evas_object_smart_callback_add(obj, "unshaded", _e_comp_smart_cb_unshaded, cw);
-
    evas_object_smart_callback_add(obj, "maximize", _e_comp_smart_cb_maximize, cw);
    evas_object_smart_callback_add(obj, "fullscreen", _e_comp_smart_cb_fullscreen, cw);
    evas_object_smart_callback_add(obj, "unmaximize", _e_comp_smart_cb_unmaximize, cw);