summaryrefslogtreecommitdiff
path: root/src/menu.c
diff options
context:
space:
mode:
authorDennis Real <github@tildepipe.org>2012-05-20 21:14:37 +0200
committerDennis Real <github@tildepipe.org>2012-05-20 21:14:37 +0200
commitbb3907288a3681689f903cc7cd264ea6a1e6da39 (patch)
treec395aaba75f698a670b823eab1a166e39cd7b289 /src/menu.c
parent040d30225cd25a3853ba5947bd9198fcec86529c (diff)
parent88ffe4afb0358427f5e4ea951cd9ec08b938e17e (diff)
Merge branch 'master' of git://github.com/derf/feh
Diffstat (limited to 'src/menu.c')
-rw-r--r--src/menu.c10
1 files changed, 1 insertions, 9 deletions
diff --git a/src/menu.c b/src/menu.c
index ecf98dd..8caff10 100644
--- a/src/menu.c
+++ b/src/menu.c
@@ -805,14 +805,6 @@ void feh_menu_draw_submenu_at(int x, int y, Imlib_Image dst, int ox, int oy)
y -= oy;
imlib_context_set_image(dst);
- poly = imlib_polygon_new();
- imlib_polygon_add_point(poly, x + 2, y + 5);
- imlib_polygon_add_point(poly, x + 5, y + 7);
- imlib_polygon_add_point(poly, x + 2, y + 11);
- imlib_context_set_color(0, 0, 0, 60);
- imlib_image_fill_polygon(poly);
- imlib_polygon_free(poly);
-
poly = imlib_polygon_new();
imlib_polygon_add_point(poly, x, y + 3);
@@ -835,7 +827,7 @@ void feh_menu_item_draw_at(int x, int y, int w, int h, Imlib_Image dst, int ox,
{
imlib_context_set_image(dst);
if (selected)
- gib_imlib_image_fill_rectangle(dst, x - ox, y - oy, w, h, 255, 255, 255, 178);
+ gib_imlib_image_fill_rectangle(dst, x - ox, y - oy, w, h, 127, 127, 127, 178);
return;
}