From 204b26fa69de3599b8a38299c42f7341674e05f1 Mon Sep 17 00:00:00 2001 From: Boris Faure Date: Thu, 30 Jun 2011 20:37:34 +0000 Subject: [PATCH] e: add e_popup_alpha_set()/get() SVN revision: 60885 --- src/bin/e_popup.c | 12 ++++++++++++ src/bin/e_popup.h | 2 ++ 2 files changed, 14 insertions(+) diff --git a/src/bin/e_popup.c b/src/bin/e_popup.c index 7bff29750..0f2cde5bb 100644 --- a/src/bin/e_popup.c +++ b/src/bin/e_popup.c @@ -74,6 +74,18 @@ e_popup_new(E_Zone *zone, int x, int y, int w, int h) return pop; } +EAPI void +e_popup_alpha_set(E_Popup *pop, Eina_Bool alpha) +{ + ecore_evas_alpha_set(pop->ecore_evas, alpha); +} + +EAPI Eina_Bool +e_popup_alpha_get(E_Popup *pop) +{ + return ecore_evas_alpha_get(pop->ecore_evas); +} + EAPI void e_popup_name_set(E_Popup *pop, const char *name) { diff --git a/src/bin/e_popup.h b/src/bin/e_popup.h index 3c9497840..e5918c236 100644 --- a/src/bin/e_popup.h +++ b/src/bin/e_popup.h @@ -34,6 +34,8 @@ EINTERN int e_popup_shutdown(void); EAPI E_Popup *e_popup_new(E_Zone *zone, int x, int y, int w, int h); EAPI void e_popup_name_set(E_Popup *pop, const char *name); +EAPI void e_popup_alpha_set(E_Popup *pop, Eina_Bool alpha); +EAPI Eina_Bool e_popup_alpha_get(E_Popup *pop); EAPI void e_popup_show(E_Popup *pop); EAPI void e_popup_hide(E_Popup *pop); EAPI void e_popup_move(E_Popup *pop, int x, int y);