aboutsummaryrefslogtreecommitdiffstats
path: root/widgets/text/e-text.h
diff options
context:
space:
mode:
authorBenjamin Otte <otte@redhat.com>2010-10-21 16:21:15 +0800
committerMatthew Barnes <mbarnes@redhat.com>2010-10-30 01:50:04 +0800
commiteaf4b5a865865de7b98621a5285e16ae4dea2a61 (patch)
treeced2e8294684afe2ed71ee6eaf41a857f7fb0517 /widgets/text/e-text.h
parent168b536e82bf2cc0782e4dca9692d23200fc3a38 (diff)
downloadgsoc2013-evolution-eaf4b5a865865de7b98621a5285e16ae4dea2a61.tar
gsoc2013-evolution-eaf4b5a865865de7b98621a5285e16ae4dea2a61.tar.gz
gsoc2013-evolution-eaf4b5a865865de7b98621a5285e16ae4dea2a61.tar.bz2
gsoc2013-evolution-eaf4b5a865865de7b98621a5285e16ae4dea2a61.tar.lz
gsoc2013-evolution-eaf4b5a865865de7b98621a5285e16ae4dea2a61.tar.xz
gsoc2013-evolution-eaf4b5a865865de7b98621a5285e16ae4dea2a61.tar.zst
gsoc2013-evolution-eaf4b5a865865de7b98621a5285e16ae4dea2a61.zip
e-text: Fix color handling
- "color" and "color-gdk" properties aren't readable (Their values would be wrong if an alpha channel was set). - Use the rgba color when rendering - Don't allocate the color in the colormap anymore.
Diffstat (limited to 'widgets/text/e-text.h')
-rw-r--r--widgets/text/e-text.h3
1 files changed, 0 insertions, 3 deletions
diff --git a/widgets/text/e-text.h b/widgets/text/e-text.h
index 6cc47b5b1a..ef9aefdf34 100644
--- a/widgets/text/e-text.h
+++ b/widgets/text/e-text.h
@@ -119,8 +119,6 @@ struct _EText {
gdouble xofs, yofs; /* Text offset distance from anchor position */
- GdkColor color; /* Fill color */
-
gint cx, cy; /* Top-left canvas coordinates for text */
gint text_cx, text_cy; /* Top-left canvas coordinates for text */
gint clip_cx, clip_cy; /* Top-left canvas coordinates for clip rectangle */
@@ -130,7 +128,6 @@ struct _EText {
gint height; /* Rendered text height in pixels */
guint32 rgba; /* RGBA color for text */
- gdouble affine[6]; /* The item -> canvas affine */
gchar *ellipsis; /* The ellipsis characters. NULL = "...". */
gdouble ellipsis_width; /* The width of the ellipsis. */