[gnome-sudoku] view: Increase line width
- From: Michael Catanzaro <mcatanzaro src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-sudoku] view: Increase line width
- Date: Fri, 30 Oct 2015 23:28:11 +0000 (UTC)
commit 1cbb63f05fa1d8d0ad3d1fbd09dad618eaae9082
Author: Karanbir Chahal <karanbleep gmail com>
Date: Thu Oct 29 07:18:56 2015 +0530
view: Increase line width
Previously the thickness of all the lines of both the number boxes and
grids were same , the only thing to differentiate between the two was
the colour difference between the lines.This was unsatisfactory hence
this commit fixes the problem by increasing the line width of the lines
drawn to specify the 9 grids.
The line width has been increased from 1 px to 2 px using the
function set_line_width.
https://bugzilla.gnome.org/show_bug.cgi?id=749757
src/sudoku-view.vala | 1 +
1 files changed, 1 insertions(+), 0 deletions(-)
---
diff --git a/src/sudoku-view.vala b/src/sudoku-view.vala
index afc837a..a6eebde 100644
--- a/src/sudoku-view.vala
+++ b/src/sudoku-view.vala
@@ -604,6 +604,7 @@ public class SudokuView : Gtk.AspectFrame
}
c.stroke ();
+ c.set_line_width (2);
c.set_source_rgb (0.0, 0.0, 0.0);
for (var i = 0; i <= game.board.cols; i += game.board.block_cols)
{
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]