Commit e18beddb authored by Committed by Jody Goldberg
Some border improvements.
- Use DASH_ON_OFF to correctly handle borders for cells with a background colour. - Prefer Top/Left vs Bottom/Right. This works around problems with borders for cells with backgrounds.. BUT does not solve it for importing. That will require the next generation border code that has yet to be designed. - A crappy implementation of double borders. Does NOT handle cells with backgrounds, or the myriad intersection cases. - Improve handling of undo and redraw for borders. 2000-02-21 Jody Goldberg <firstname.lastname@example.org> * src/sheet.c (sheet_cursor_set) : Be religous about handing edit_pos changes. * src/commands.c (cmd_format) : save for formats for a range 1 cell thick around the selection so that borders are handled. * src/sheet-view.c (sheet_view_redraw_cell_region) : Redraw a border around the selected region to handle thick borders */ * src/sheet-object.c (sheet_object_canvas_event) : Ignore mouse wheel events. * src/border.c (style_border_set_gc_dash) : Use GDK_LINE_ON_OFF_DASH so that background colours show through. * src/sheet-style.c (sheet_range_set_border) : Prefer top vs bottom and left vs right. This will simplify drawing eventually.
Showing with 179 additions and 69 deletions