From bf3357b91ec240f3d325df8d9e9ffea98c796ea8 Mon Sep 17 00:00:00 2001 From: Christopher James Lahey Date: Mon, 16 Apr 2001 02:12:44 +0000 Subject: Set the background color to the specified tooltip->background. Set the 2001-04-15 Christopher James Lahey * e-cell-text.c (ect_show_tooltip): Set the background color to the specified tooltip->background. Set the foreground color to the specified tooltip->foreground. * e-table-item.c (eti_get_cell_background_color, eti_get_cell_foreground_color): Added these functions. (eti_draw, _do_tooltip): Use these new functions. * e-table-tooltip.h: Added foreground and background colors to this structure. * e-tree.c, e-tree.h (e_tree_get_tooltip): Added this function. svn path=/trunk/; revision=9338 --- widgets/table/e-table-tooltip.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'widgets/table/e-table-tooltip.h') diff --git a/widgets/table/e-table-tooltip.h b/widgets/table/e-table-tooltip.h index 617a0e3b55..259d6398db 100644 --- a/widgets/table/e-table-tooltip.h +++ b/widgets/table/e-table-tooltip.h @@ -12,6 +12,8 @@ typedef struct { int row_height; int x, y; int cx, cy; + GdkColor *foreground; + GdkColor *background; GnomeCanvasItem *eti; } ETableTooltip; -- cgit v1.2.3