From ac6661ee1265683ac81f5a5306540572d8cc491c Mon Sep 17 00:00:00 2001 From: Miguel de Icaza Date: Sun, 24 Dec 2000 22:28:17 +0000 Subject: Handle draw background. (e_text_draw): Support both border drawing and 2000-12-24 Miguel de Icaza * gal/e-text/e-text.c (e_text_set_arg): Handle draw background. (e_text_draw): Support both border drawing and background drawing. * gal/e-text/e-entry.c (et_get_arg, et_set_arg): Reduce code size by casting once. (et_set_arg, et_get_arg): Add ARG_DRAW_BORDERS handling. svn path=/trunk/; revision=7159 --- widgets/text/e-text.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'widgets/text/e-text.h') diff --git a/widgets/text/e-text.h b/widgets/text/e-text.h index fca7578079..5a1e843b7d 100644 --- a/widgets/text/e-text.h +++ b/widgets/text/e-text.h @@ -70,6 +70,7 @@ BEGIN_GNOME_DECLS * break_characters string RW List of characters to optionally break on. * max_lines int RW Number of lines possible when doing line wrap. * draw_borders boolean RW Whether to draw borders. + * draw_background boolean RW Whether to draw the background. */ #define E_TYPE_TEXT (e_text_get_type ()) @@ -187,6 +188,7 @@ struct _EText { guint pointer_in : 1; /* Is the pointer currently over us? */ guint default_cursor_shown : 1; /* Is the default cursor currently shown? */ guint draw_borders : 1; /* Draw borders? */ + guint draw_background : 1; /* Draw background? */ guint line_wrap : 1; /* Do line wrap */ gchar *break_characters; /* Characters to optionally break after */ -- cgit v1.2.3