mirror of
https://github.com/Gnucash/gnucash.git
synced 2025-02-25 18:55:30 -06:00
Make the blue past/future dividing line thicker so that it is obvious.
Fixes #342051. git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@14138 57a11ea4-9604-0410-9ed3-97b8803252fd
This commit is contained in:
parent
689cbc0613
commit
816d9da11c
@ -1,5 +1,9 @@
|
||||
2006-05-19 David Hampton <hampton@employees.org>
|
||||
|
||||
* src/register/register-gnome/gnucash-grid.c: Make the blue
|
||||
past/future dividing line thicker so that it is obvious. Fixes
|
||||
#342051.
|
||||
|
||||
* src/engine/engine-helpers.c:
|
||||
* macros/legacy_macros.m4:
|
||||
* configure.in: Make the removal of scm_block_gc conditional on
|
||||
|
@ -439,7 +439,9 @@ draw_cell (GnucashGrid *grid,
|
||||
if (virt_loc.vcell_loc.virt_row == table->model->dividing_row)
|
||||
{
|
||||
gdk_gc_set_foreground (grid->gc, &gn_blue);
|
||||
gdk_draw_line (drawable, grid->gc, x, y, x + width, y);
|
||||
gdk_draw_line (drawable, grid->gc, x, y-1, x + width, y-1);
|
||||
gdk_draw_line (drawable, grid->gc, x, y, x + width, y);
|
||||
gdk_draw_line (drawable, grid->gc, x, y+1, x + width, y+1);
|
||||
}
|
||||
}
|
||||
|
||||
@ -450,8 +452,12 @@ draw_cell (GnucashGrid *grid,
|
||||
(table->model->dividing_row - 1))
|
||||
{
|
||||
gdk_gc_set_foreground (grid->gc, &gn_blue);
|
||||
gdk_draw_line (drawable, grid->gc, x, y + height - 1,
|
||||
x + width, y + height - 1);
|
||||
gdk_draw_line (drawable, grid->gc, x, y + height,
|
||||
x + width, y + height);
|
||||
gdk_draw_line (drawable, grid->gc, x, y + height + 1,
|
||||
x + width, y + height + 1);
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user