diff options
author | Lauris Kaplinski <lauris@src.gnome.org> | 2000-08-20 11:02:05 +0800 |
---|---|---|
committer | Lauris Kaplinski <lauris@src.gnome.org> | 2000-08-20 11:02:05 +0800 |
commit | c63ea33628b237a5ff6a44545522145f4a12b1c7 (patch) | |
tree | 9eb58132eef85cd6381025b6f149c505db4ba730 /widgets/text/e-text.h | |
parent | 9a88f3d4d6efd4a7bdff4981537596aabc4d0433 (diff) | |
download | gsoc2013-evolution-c63ea33628b237a5ff6a44545522145f4a12b1c7.tar gsoc2013-evolution-c63ea33628b237a5ff6a44545522145f4a12b1c7.tar.gz gsoc2013-evolution-c63ea33628b237a5ff6a44545522145f4a12b1c7.tar.bz2 gsoc2013-evolution-c63ea33628b237a5ff6a44545522145f4a12b1c7.tar.lz gsoc2013-evolution-c63ea33628b237a5ff6a44545522145f4a12b1c7.tar.xz gsoc2013-evolution-c63ea33628b237a5ff6a44545522145f4a12b1c7.tar.zst gsoc2013-evolution-c63ea33628b237a5ff6a44545522145f4a12b1c7.zip |
Moved e-text to UTF-8
svn path=/trunk/; revision=4886
Diffstat (limited to 'widgets/text/e-text.h')
-rw-r--r-- | widgets/text/e-text.h | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/widgets/text/e-text.h b/widgets/text/e-text.h index 125804cf72..9d992fb58b 100644 --- a/widgets/text/e-text.h +++ b/widgets/text/e-text.h @@ -20,6 +20,7 @@ #define E_TEXT_H #include <gnome.h> +#include "e-util/e-font.h" #include "e-text-event-processor.h" #include "e-text-model.h" @@ -80,6 +81,8 @@ BEGIN_GNOME_DECLS typedef struct _EText EText; typedef struct _ETextClass ETextClass; + +#if 0 typedef struct _ETextSuckFont ETextSuckFont; typedef struct _ETextSuckChar ETextSuckChar; @@ -99,6 +102,7 @@ struct _ETextSuckFont { gint ascent; ETextSuckChar chars[256]; }; +#endif struct _EText { GnomeCanvasItem item; @@ -110,7 +114,11 @@ struct _EText { gpointer lines; /* Text split into lines (private field) */ int num_lines; /* Number of lines of text */ +#if 0 GdkFont *font; /* Font for text */ +#else + EFont *font; +#endif GtkAnchorType anchor; /* Anchor side for text */ GtkJustification justification; /* Justification for text */ @@ -134,7 +142,9 @@ struct _EText { guint fill_clip_rectangle : 1; /* Fill the clipping rectangle. */ /* Antialiased specific stuff follows */ +#if 0 ETextSuckFont *suckfont; /* Sucked font */ +#endif guint32 rgba; /* RGBA color for text */ double affine[6]; /* The item -> canvas affine */ |