aboutsummaryrefslogtreecommitdiffstats
path: root/widgets/text/e-text.h
diff options
context:
space:
mode:
authorChris Toshok <toshok@ximian.com>2002-11-20 07:59:20 +0800
committerChris Toshok <toshok@src.gnome.org>2002-11-20 07:59:20 +0800
commitf5b3a0e2e5eddbc30dd5c6841b585846b47fa264 (patch)
tree6d348936f880e26b02e4c745cf330cadaae4da8c /widgets/text/e-text.h
parente977b0e2801ead38a9b8f24465040bd2f3d2eb3c (diff)
downloadgsoc2013-evolution-f5b3a0e2e5eddbc30dd5c6841b585846b47fa264.tar.gz
gsoc2013-evolution-f5b3a0e2e5eddbc30dd5c6841b585846b47fa264.tar.zst
gsoc2013-evolution-f5b3a0e2e5eddbc30dd5c6841b585846b47fa264.zip
commit clahey's original pango work.
2002-11-19 Chris Toshok <toshok@ximian.com> * gal/e-text/e-text.[ch]: commit clahey's original pango work. svn path=/trunk/; revision=18850
Diffstat (limited to 'widgets/text/e-text.h')
-rw-r--r--widgets/text/e-text.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/widgets/text/e-text.h b/widgets/text/e-text.h
index 32d3e539b4..9529962c37 100644
--- a/widgets/text/e-text.h
+++ b/widgets/text/e-text.h
@@ -134,6 +134,7 @@ struct _EText {
gint model_repos_signal_id;
const gchar *text; /* Text to display --- from the ETextModel */
+ PangoLayout *layout;
gpointer lines; /* Text split into lines (private field) */
int num_lines; /* Number of lines of text */
@@ -157,6 +158,7 @@ struct _EText {
GdkGC *gc; /* GC for drawing text */
int cx, cy; /* Top-left canvas coordinates for text */
+ int text_cx, text_cy; /* Top-left canvas coordinates for text */
int clip_cx, clip_cy; /* Top-left canvas coordinates for clip rectangle */
int clip_cwidth, clip_cheight; /* Size of clip rectangle in pixels */
int max_width; /* Maximum width of text lines */
@@ -218,6 +220,7 @@ struct _EText {
guint needs_calc_height : 1; /* Need calc_height */
guint needs_calc_line_widths : 1; /* Needs calc_line_widths */
guint needs_split_into_lines : 1; /* Needs split_into_lines */
+ guint needs_reset_layout : 1; /* Needs split_into_lines */
guint bold : 1;
guint strikeout : 1;