[libchamplain/libchamplain-0-4] Remove bottom ticks



commit 22c0d40b79d7c1631a7cb5a863a86a269fe33c14
Author: Pierre-Luc Beaudoin <pierre-luc pierlux com>
Date:   Tue Dec 15 12:10:16 2009 -0500

    Remove bottom ticks

 champlain/champlain-view.c |    8 ++++----
 1 files changed, 4 insertions(+), 4 deletions(-)
---
diff --git a/champlain/champlain-view.c b/champlain/champlain-view.c
index 775fa66..e0cef54 100644
--- a/champlain/champlain-view.c
+++ b/champlain/champlain-view.c
@@ -1058,7 +1058,7 @@ update_scale (ChamplainView *view)
 
   /* First tick */
   cairo_move_to (cr, SCALE_INSIDE_PADDING, SCALE_HEIGHT / 4);
-  cairo_line_to (cr, SCALE_INSIDE_PADDING, 3 * SCALE_HEIGHT / 4);
+  cairo_line_to (cr, SCALE_INSIDE_PADDING, SCALE_HEIGHT / 2 );
   cairo_stroke (cr);
 
   /* Line */
@@ -1067,13 +1067,13 @@ update_scale (ChamplainView *view)
   cairo_stroke (cr);
 
   /* Middle tick */
-  cairo_move_to (cr, scale_width / 2 + SCALE_INSIDE_PADDING, 3 * SCALE_HEIGHT / 8);
-  cairo_line_to (cr, scale_width / 2 + SCALE_INSIDE_PADDING, 5 * SCALE_HEIGHT / 8);
+  cairo_move_to (cr, scale_width / 2 + SCALE_INSIDE_PADDING, SCALE_HEIGHT / 4);
+  cairo_line_to (cr, scale_width / 2 + SCALE_INSIDE_PADDING, SCALE_HEIGHT / 2);
   cairo_stroke (cr);
 
   /* Last tick */
   cairo_move_to (cr, scale_width + SCALE_INSIDE_PADDING, SCALE_HEIGHT / 4);
-  cairo_line_to (cr, scale_width + SCALE_INSIDE_PADDING, 3 * SCALE_HEIGHT / 4);
+  cairo_line_to (cr, scale_width + SCALE_INSIDE_PADDING, SCALE_HEIGHT / 2);
   cairo_stroke (cr);
 
   cairo_destroy (cr);



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]