static void
_e_border_shadow(E_Border *bd)
{
- Eina_Bool on = EINA_FALSE;
if (!bd->bg_object) return;
- on = !bd->client.e.state.video;
- if (on)
- on = !bd->fullscreen;
- if (on)
- on = !!e_util_strcmp(bd->client.border.name, "borderless");
- if (on)
+ if (e_util_border_shadow_state_get(bd))
edje_object_signal_emit(bd->bg_object, "e,state,shadow,on", "e");
else
edje_object_signal_emit(bd->bg_object, "e,state,shadow,off", "e");
fprintf(stderr, "[%p] - %s(%s) %s\n", a, evas_object_type_get(a), evas_object_name_get(a), evas_object_visible_get(a) ? "VISIBLE" : "HIDDEN");
}
}
+
+EAPI Eina_Bool
+e_util_border_shadow_state_get(const E_Border *bd)
+{
+ Eina_Bool on;
+ on = !bd->client.e.state.video;
+ if (on)
+ on = !bd->fullscreen;
+ if (on)
+ on = !!e_util_strcmp(bd->client.border.name, "borderless");
+ return on;
+}
EAPI void e_util_evas_objects_above_print(Evas_Object *o);
EAPI void e_util_evas_objects_above_print_smart(Evas_Object *o);
+EAPI Eina_Bool e_util_border_shadow_state_get(const E_Border *bd);
+
static inline E_Container *
e_util_container_current_get(void)
{