diff options
author | Christopher James Lahey <clahey@helixcode.com> | 2000-03-11 08:32:15 +0800 |
---|---|---|
committer | Chris Lahey <clahey@src.gnome.org> | 2000-03-11 08:32:15 +0800 |
commit | 0a908b7fe481dd3bf216021fd8e04489f5f2aa66 (patch) | |
tree | cd22b484c729a21684ef46b6c99483847c43dae2 /widgets/text/e-text.h | |
parent | 8c65f8861bd16321eeafac1d827d1fb4a557247c (diff) | |
download | gsoc2013-evolution-0a908b7fe481dd3bf216021fd8e04489f5f2aa66.tar gsoc2013-evolution-0a908b7fe481dd3bf216021fd8e04489f5f2aa66.tar.gz gsoc2013-evolution-0a908b7fe481dd3bf216021fd8e04489f5f2aa66.tar.bz2 gsoc2013-evolution-0a908b7fe481dd3bf216021fd8e04489f5f2aa66.tar.lz gsoc2013-evolution-0a908b7fe481dd3bf216021fd8e04489f5f2aa66.tar.xz gsoc2013-evolution-0a908b7fe481dd3bf216021fd8e04489f5f2aa66.tar.zst gsoc2013-evolution-0a908b7fe481dd3bf216021fd8e04489f5f2aa66.zip |
Designed a new system for doing hierarchical displays in the canvas. Adds
2000-03-10 Christopher James Lahey <clahey@helixcode.com>
* e-util/e-canvas.c, e-util/e-canvas.h: Designed a new system for
doing hierarchical displays in the canvas. Adds an extra idle
loop to the canvas system.
* widgets/e-minicard/e-minicard.c,
widgets/e-minicard/e-minicard-label.c,
widgets/e-minicard/e-minicard-label.h,
widgets/e-minicard/e-reflow.c, widgets/e-minicard/test-reflow.c,
widgets/e-text/e-text.c, widgets/e-text/e-text.h: Adapted to use
the new e-canvas reflow system.
svn path=/trunk/; revision=2096
Diffstat (limited to 'widgets/text/e-text.h')
-rw-r--r-- | widgets/text/e-text.h | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/widgets/text/e-text.h b/widgets/text/e-text.h index 3e1dcb5f0e..52fb951bc2 100644 --- a/widgets/text/e-text.h +++ b/widgets/text/e-text.h @@ -58,6 +58,8 @@ BEGIN_GNOME_DECLS * y_offset double RW Vertical offset distance from anchor position * text_width double R Used to query the width of the rendered text * text_height double R Used to query the rendered height of the text + * width double RW A synonym for clip_width + * height double R A synonym for text_height * * These are currently ignored in the AA version: * editable boolean RW Can this item be edited @@ -122,6 +124,7 @@ struct _EText { 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 */ + int width; /* Rendered text width in pixels */ int height; /* Rendered text height in pixels */ guint clip : 1; /* Use clip rectangle? */ @@ -182,10 +185,9 @@ struct _EText { guint needs_redraw : 1; /* Needs redraw */ guint needs_recalc_bounds : 1; /* Need recalc_bounds */ + 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 */ - - gint idle; }; struct _ETextClass { |