[murrine/gtk+3] Fixed vertical draw_handle
- From: Andrea Cimitan <acimitan src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [murrine/gtk+3] Fixed vertical draw_handle
- Date: Wed, 13 Oct 2010 07:28:36 +0000 (UTC)
commit 7062767301541057b3281b2f8fd32e5456a18f60
Author: Andrea Cimitan <andrea cimitan gmail com>
Date: Wed Oct 13 09:27:39 2010 +0200
Fixed vertical draw_handle
src/murrine_draw.c | 6 ++----
1 files changed, 2 insertions(+), 4 deletions(-)
---
diff --git a/src/murrine_draw.c b/src/murrine_draw.c
index b4147d0..d834961 100644
--- a/src/murrine_draw.c
+++ b/src/murrine_draw.c
@@ -719,8 +719,8 @@ murrine_draw_slider_handle (cairo_t *cr,
if (!horizontal)
{
- rotate_mirror_translate (cr, M_PI/2, x, y, FALSE, FALSE);
- int tmp = height; height = width; width = tmp;
+ murrine_exchange_axis (cr, &x, &y, &width, &height);
+ cairo_translate (cr, x, y);
}
if (width % 2 != 0)
@@ -2784,8 +2784,6 @@ murrine_draw_arrow (cairo_t *cr,
cairo_restore (cr);
}
-/* cairo_identity_matrix (cr);*/
-
_murrine_draw_arrow (cr, &color, arrow,
tx, ty, width, height);
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]