• Jody Goldberg's avatar
    Improve the handling of backgrounds and selection in the presence of · bb5371b7
    Jody Goldberg authored
    
    Improve the handling of backgrounds and selection
    in the presence of spanning columns.
    
    Improve borders.  Somewhat more correct handling of double lined borders.
    Still mostly wrong, but its a start.
    
    2000-02-28  Jody Goldberg <jgoldberg@home.com>
    
    	* src/expr.h : Move FunctionDefinition to
    	* src/gnumeric.h : here.
    
    	* src/cellspan.c (col_hash) : Use GPOINTER_TO_INT.
    	(col_compare) : Ditto.
    	(row_init_span) : Delete.
    	(free_hash_value) : Renamed from free_hash_key.
    	(cell_register_span) : Register all cells in a span, malloc a
    	  CellSpanInfo to store a descriptor about the first and last cols.
    	(assemble_unregister_span_list) : Delete.
    	(span_remove) : New function for use by g_hash_table_foreach_remove.
    	(cell_unregister_span) : Use g_hash_table_foreach_remove.
    	(row_cell_get_displayed_at) : Adjust to new descriptor.
    	(row_span_get) : New function.
    
    	* src/cell.c (cell_calculate_span) : Renamed from cell_get_span.
    
    	* src/cell-draw.c (cell_draw) : Do not draw backgrounds here.
    	  Use new CellSpanInfo to avoid recomputing spans every time.
    	(cell_is_blank) : Remove hack about treating empty strings as empty.
    
    	* src/cellspan.h : New file.  Move span decls here.
    
    	* src/item-grid.c (item_grid_draw) : Rework to correctly handle
    	  backgrounds and borders for spanning columns.
    
    2000-02-27  Jody Goldberg <jgoldberg@home.com>
    
    	* src/cell.c (cell_is_blank) : Update.
    
    	* src/border.c (style_border_draw) : Make somewhat more correct.
    	  Still broken for non-top-left corners.
    
    	* src/item-grid.c (item_grid_draw_border) : Ditto.
    	(item_grid_draw_background) : Rename from item_grid_paint_empty_cell
    	  handle spans more cleanly.
    	(item_grid_draw_cell) : handle conditionals for displaying contents here.
    	  Remove all handling of backgrounds.
    bb5371b7
Name
Last commit
Last update
corba-test Loading commit data...
debian Loading commit data...
doc Loading commit data...
graph Loading commit data...
icons Loading commit data...
plugins Loading commit data...
po Loading commit data...
samples Loading commit data...
src Loading commit data...
web Loading commit data...
wizards Loading commit data...
.cvsignore Loading commit data...
ABOUT-NLS Loading commit data...
AUTHORS Loading commit data...
BUGS Loading commit data...
CHANGES Loading commit data...
COPYING Loading commit data...
ChangeLog Loading commit data...
ChangeLog-1999-07-09 Loading commit data...
ChangeLog-2000-02-23 Loading commit data...
ChangeLog-2000-10-10 Loading commit data...
DEPENDS Loading commit data...
HACKING Loading commit data...
INSTALL Loading commit data...
MAINTAINERS Loading commit data...
Makefile.am Loading commit data...
NEWS Loading commit data...
OChangeLog-1999-07-09 Loading commit data...
OChangeLog-2000-02-23 Loading commit data...
OChangeLog-2000-10-10 Loading commit data...
OChangeLog-2001-06-26 Loading commit data...
OChangeLog-2002-01-22 Loading commit data...
OChangeLog-2003-12-23 Loading commit data...
OChangeLog-2005-11-14 Loading commit data...
PROJECTS Loading commit data...
README Loading commit data...
TODO Loading commit data...
acconfig.h Loading commit data...
acinclude.m4 Loading commit data...
autogen.sh Loading commit data...
configure.in Loading commit data...
excel-format-doc.txt Loading commit data...
gnome-application-x-gnumeric.png Loading commit data...
gnome-application-x-xls.png Loading commit data...
gnome-gnumeric.png Loading commit data...
gnumeric.desktop.in Loading commit data...
gnumeric.fact-sheet Loading commit data...
gnumeric.gnorba Loading commit data...
gnumeric.keys.in Loading commit data...
gnumeric.mime Loading commit data...
gnumeric.spec.in Loading commit data...
notes Loading commit data...
stamp.h.in Loading commit data...