diff options
author | Chris Toshok <toshok@ximian.com> | 2002-12-09 05:44:08 +0800 |
---|---|---|
committer | Chris Toshok <toshok@src.gnome.org> | 2002-12-09 05:44:08 +0800 |
commit | 84fabde6ba83eb4dcae2aa428cfcfe220bc800db (patch) | |
tree | b79257dae291ac76dc323e02bc748d84ffaeabc0 /widgets/text/e-text.h | |
parent | 0bf2d899d8c14f8f54aea57ceb3ffbb010e581fe (diff) | |
download | gsoc2013-evolution-84fabde6ba83eb4dcae2aa428cfcfe220bc800db.tar.gz gsoc2013-evolution-84fabde6ba83eb4dcae2aa428cfcfe220bc800db.tar.zst gsoc2013-evolution-84fabde6ba83eb4dcae2aa428cfcfe220bc800db.zip |
lots of stuff, add 2 e-text widgets, 1 readonly, the other writable (that
2002-12-08 Chris Toshok <toshok@ximian.com>
* tests/test-text.c: lots of stuff, add 2 e-text widgets, 1
readonly, the other writable (that uses the uri model..)
* gal/e-text/e-text.[ch]: lots of pango changes. we don't do
*anything* with gdk/e fonts now. everything is pango. There are
still some issues while editting but display should more or less
work properly now, and without all the performance problems.
* gal/e-text/e-completion-view.c (e_completion_view_expose_event):
use gtk_widget_send_expose instead of gtk_widget_event so we don't
get the annoying gtk warning.
* gal/e-text/e-entry.c (e_entry_dispose): make sure both the gdk
and gtk grabs are removed.
(e_entry_class_init): fill_color_gdk is a boxed type, not pointer.
* gal/e-text/e-text-model-uri.h (E_TYPE_TEXT_MODEL_URI): oops,
this should be e_text_model_uri_get_type, not
e_text_model_get_type.
svn path=/trunk/; revision=19054
Diffstat (limited to 'widgets/text/e-text.h')
-rw-r--r-- | widgets/text/e-text.h | 36 |
1 files changed, 0 insertions, 36 deletions
diff --git a/widgets/text/e-text.h b/widgets/text/e-text.h index 9529962c37..6a965a5d92 100644 --- a/widgets/text/e-text.h +++ b/widgets/text/e-text.h @@ -62,9 +62,6 @@ G_BEGIN_DECLS * name type read/write description * ------------------------------------------------------------------------------------------ * text string RW The string of the text label - * font string W X logical font descriptor - * fontset string W X logical fontset descriptor - * font_gdk GdkFont* RW Pointer to a GdkFont * bold boolean RW Bold? * anchor GtkAnchorType RW Anchor side for the text * justification GtkJustification RW Justification for multiline text @@ -104,28 +101,6 @@ G_BEGIN_DECLS typedef struct _EText EText; typedef struct _ETextClass ETextClass; -#if 0 -typedef struct _ETextSuckFont ETextSuckFont; -typedef struct _ETextSuckChar ETextSuckChar; - -struct _ETextSuckChar { - int left_sb; - int right_sb; - int width; - int ascent; - int descent; - int bitmap_offset; /* in pixels */ -}; - -struct _ETextSuckFont { - guchar *bitmap; - gint bitmap_width; - gint bitmap_height; - gint ascent; - ETextSuckChar chars[256]; -}; -#endif - struct _EText { GnomeCanvasItem item; @@ -135,16 +110,10 @@ struct _EText { 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 */ gchar *revert; /* Text to revert to */ -#if 0 - GdkFont *font; /* Font for text */ -#else - EFont *font; -#endif GtkAnchorType anchor; /* Anchor side for text */ GtkJustification justification; /* Justification for text */ @@ -165,10 +134,6 @@ struct _EText { int width; /* Rendered text width in pixels */ int height; /* Rendered text height in pixels */ - /* Antialiased specific stuff follows */ -#if 0 - ETextSuckFont *suckfont; /* Sucked font */ -#endif guint32 rgba; /* RGBA color for text */ double affine[6]; /* The item -> canvas affine */ @@ -218,7 +183,6 @@ 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 */ guint needs_reset_layout : 1; /* Needs split_into_lines */ |