summaryrefslogtreecommitdiff
path: root/src/util
diff options
context:
space:
mode:
Diffstat (limited to 'src/util')
-rw-r--r--src/util/util.c14
1 files changed, 0 insertions, 14 deletions
diff --git a/src/util/util.c b/src/util/util.c
index ce91360..3e9c86d 100644
--- a/src/util/util.c
+++ b/src/util/util.c
@@ -33,20 +33,6 @@ bool util_check_movie_type(const char *str)
return strcmp(str, VIDEO_COPYRIGHT);
}
-void util_set_alpha_color(Evas_Object *obj, int alpha)
-{
- int r, g, b, a;
-
- evas_object_color_get(obj, &r, &g, &b, &a);
-
- /* evas should use premultiplied alpha */
- r = r * alpha / 255;
- g = g * alpha / 255;
- b = b * alpha / 255;
-
- evas_object_color_set(obj, r, g, b, alpha);
-}
-
Evas_Object *util_add_button(Evas_Object *base, const char *style,
const char *text)
{