Use white as default backgroup. Fix comments.

git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@6154 57a11ea4-9604-0410-9ed3-97b8803252fd
This commit is contained in:
Dave Peticolas 2001-11-30 23:48:04 +00:00
parent 59dc5692c7
commit c4ce903d7e
2 changed files with 1 additions and 25 deletions

View File

@ -29,30 +29,6 @@
* define an arrangement of cells. It is typically used to * define an arrangement of cells. It is typically used to
* define a virtual cursor within a larger table of cells. * define a virtual cursor within a larger table of cells.
* *
* The CellBlock also has utilities to define a tab group.
* A tab group is an ordered group of cells that are traversed
* when the user presses the tab key (and/or uses the arrow
* keys).
*
* The xaccNextRight() method can be used to declare the
* traversal order from cell to cell. If the indicated cell
* has the current input focus, then the next cell that will
* be traversed to will be the one indicated. Traversing
* to the rright is usally performed with the tab key.
* Special traversal order to the left, up or down are not
* currently implemented.
*
* To traverse out of the table entirely,
* the next_row&col should be set to negative values. If
* a traversal back into the table occurs, then the cell that
* will be entered will be the one with the negative values
* minus one. Thus to traverse out of the table, then back
* back to (m,n), set the next row-col to (-m-1,-n-1).
*
* MEMBERS:
* The right_traverse array indicates which cell chould be
* traversed to when the tab key is pressed.
*
* HISTORY: * HISTORY:
* Copyright (c) 1988 Linas Vepstas * Copyright (c) 1988 Linas Vepstas
* Copyright (c) 2000-2001 Dave Peticolas <dave@krondo.com> * Copyright (c) 2000-2001 Dave Peticolas <dave@krondo.com>

View File

@ -378,7 +378,7 @@ gnc_table_get_bg_color (Table *table, VirtualLocation virt_loc,
bg_color_handler = gnc_table_model_get_bg_color_handler (table->model, bg_color_handler = gnc_table_model_get_bg_color_handler (table->model,
cell_name); cell_name);
if (!bg_color_handler) if (!bg_color_handler)
return 0x0; return 0xffffff;
return bg_color_handler (virt_loc, hatching, return bg_color_handler (virt_loc, hatching,
table->model->handler_user_data); table->model->handler_user_data);