if (!efl_isa(obj, EFL_UI_LAYOUT_BASE_CLASS)) return EINA_FALSE;
- edje = elm_layout_edje_get(obj);
+ // TIZEN_ONLY_FEATURE: apply Tizen's color_class feature for popup
+ if (efl_isa(obj, ELM_POPUP_CLASS))
+ edje = evas_object_data_get(obj, "popup_layout_edje");
+ //
+ else
+ edje = elm_layout_edje_get(obj);
int_ret &= _elm_widget_color_class_set_internal(obj, edje, color_class,
r, g, b, a,
-1, -1, -1, -1,
if (!efl_isa(obj, EFL_UI_LAYOUT_BASE_CLASS)) return EINA_FALSE;
- edje = elm_layout_edje_get(obj);
+ // TIZEN_ONLY_FEATURE: apply Tizen's color_class feature for popup
+ if (efl_isa(obj, ELM_POPUP_CLASS))
+ edje = evas_object_data_get(obj, "popup_layout_edje");
+ //
+ else
+ edje = elm_layout_edje_get(obj);
int_ret &= _elm_widget_color_class_get_internal(obj, edje, color_class,
r, g, b, a,
NULL, NULL, NULL, NULL,
elm_widget_style_get(obj)))
CRI("Failed to set layout!");
+ // TIZEN_ONLY_FEATURE: apply Tizen's color_class feature for popup
+ evas_object_data_get(obj, "popup_layout_edje", elm_layout_edje_get(priv->main_layout));
+ //
+
/***********************************************************************************
* TIZEN_ONLY_FEATURE: apply Tizen's color_class features. *
***********************************************************************************/