aboutsummaryrefslogtreecommitdiffstats
path: root/widgets/e-text/e-text.h
diff options
context:
space:
mode:
authorChristopher James Lahey <clahey@helixcode.com>2000-06-21 13:37:37 +0800
committerChris Lahey <clahey@src.gnome.org>2000-06-21 13:37:37 +0800
commitdad705c65cc4da62ed23ad917321d274246a05a5 (patch)
tree7ec0209301cce4e8911068ce927ec0122bfc79bc /widgets/e-text/e-text.h
parent5df817c875f094ca6477e54cabb2c5cffffda5c5 (diff)
downloadgsoc2013-evolution-dad705c65cc4da62ed23ad917321d274246a05a5.tar
gsoc2013-evolution-dad705c65cc4da62ed23ad917321d274246a05a5.tar.gz
gsoc2013-evolution-dad705c65cc4da62ed23ad917321d274246a05a5.tar.bz2
gsoc2013-evolution-dad705c65cc4da62ed23ad917321d274246a05a5.tar.lz
gsoc2013-evolution-dad705c65cc4da62ed23ad917321d274246a05a5.tar.xz
gsoc2013-evolution-dad705c65cc4da62ed23ad917321d274246a05a5.tar.zst
gsoc2013-evolution-dad705c65cc4da62ed23ad917321d274246a05a5.zip
Removed the usage of "x" and "y" arguments to EText.
2000-06-21 Christopher James Lahey <clahey@helixcode.com> * notes/e-note.c, widgets/meeting-time-sel/e-meeting-time-sel.c, widgets/shortcut-bar/e-icon-bar.c: Removed the usage of "x" and "y" arguments to EText. * widgets/e-text/e-text.c, widgets/e-text/e-text.h: Removed the "x" and "y" arguments to EText. Added vertical scrolling. svn path=/trunk/; revision=3670
Diffstat (limited to 'widgets/e-text/e-text.h')
-rw-r--r--widgets/e-text/e-text.h4
1 files changed, 1 insertions, 3 deletions
diff --git a/widgets/e-text/e-text.h b/widgets/e-text/e-text.h
index 6409ede6dc..cde023fb08 100644
--- a/widgets/e-text/e-text.h
+++ b/widgets/e-text/e-text.h
@@ -42,8 +42,6 @@ BEGIN_GNOME_DECLS
* name type read/write description
* ------------------------------------------------------------------------------------------
* text string RW The string of the text label
- * x double RW X coordinate of anchor point
- * y double RW Y coordinate of anchor point
* font string W X logical font descriptor
* fontset string W X logical fontset descriptor
* font_gdk GdkFont* RW Pointer to a GdkFont
@@ -110,7 +108,6 @@ struct _EText {
gpointer lines; /* Text split into lines (private field) */
int num_lines; /* Number of lines of text */
- double x, y; /* Position at anchor */
GdkFont *font; /* Font for text */
GtkAnchorType anchor; /* Anchor side for text */
GtkJustification justification; /* Justification for text */
@@ -146,6 +143,7 @@ struct _EText {
gboolean editing; /* Item is currently being edited */
int xofs_edit; /* Offset because of editing */
+ int yofs_edit; /* Offset because of editing */
/* This needs to be reworked a bit once we get line wrapping. */
int selection_start; /* Start of selection */