From dad705c65cc4da62ed23ad917321d274246a05a5 Mon Sep 17 00:00:00 2001 From: Christopher James Lahey Date: Wed, 21 Jun 2000 05:37:37 +0000 Subject: Removed the usage of "x" and "y" arguments to EText. 2000-06-21 Christopher James Lahey * 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 --- widgets/text/e-text.h | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) (limited to 'widgets/text/e-text.h') diff --git a/widgets/text/e-text.h b/widgets/text/e-text.h index 6409ede6dc..cde023fb08 100644 --- a/widgets/text/e-text.h +++ b/widgets/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 */ -- cgit v1.2.3