
2001-04-15 Christopher James Lahey <clahey@ximian.com> * 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
23 lines
387 B
C
23 lines
387 B
C
/* -*- Mode: C; tab-width: 8; indent-tabs-mode: t; c-basic-offset: 8 -*- */
|
|
#ifndef _E_TABLE_TOOLTIP_H_
|
|
#define _E_TABLE_TOOLTIP_H_
|
|
|
|
#include <libgnomeui/gnome-canvas.h>
|
|
|
|
BEGIN_GNOME_DECLS
|
|
|
|
typedef struct {
|
|
gint timer;
|
|
int col, row;
|
|
int row_height;
|
|
int x, y;
|
|
int cx, cy;
|
|
GdkColor *foreground;
|
|
GdkColor *background;
|
|
GnomeCanvasItem *eti;
|
|
} ETableTooltip;
|
|
|
|
END_GNOME_DECLS
|
|
|
|
#endif
|