From f5b3a0e2e5eddbc30dd5c6841b585846b47fa264 Mon Sep 17 00:00:00 2001 From: Chris Toshok Date: Tue, 19 Nov 2002 23:59:20 +0000 Subject: commit clahey's original pango work. 2002-11-19 Chris Toshok * gal/e-text/e-text.[ch]: commit clahey's original pango work. svn path=/trunk/; revision=18850 --- widgets/text/e-text.h | 3 +++ 1 file changed, 3 insertions(+) (limited to 'widgets/text/e-text.h') 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; -- cgit v1.2.3