aboutsummaryrefslogtreecommitdiffstats
path: root/widgets/text/e-text.h
diff options
context:
space:
mode:
authorMiguel de Icaza <miguel@helixcode.com>2000-12-25 06:28:17 +0800
committerMiguel de Icaza <miguel@src.gnome.org>2000-12-25 06:28:17 +0800
commitac6661ee1265683ac81f5a5306540572d8cc491c (patch)
treedcc0c0b277a6913ecc5b184bbae01705b74db627 /widgets/text/e-text.h
parentd52ef16370370f59077bf209ae7dad639829495c (diff)
downloadgsoc2013-evolution-ac6661ee1265683ac81f5a5306540572d8cc491c.tar
gsoc2013-evolution-ac6661ee1265683ac81f5a5306540572d8cc491c.tar.gz
gsoc2013-evolution-ac6661ee1265683ac81f5a5306540572d8cc491c.tar.bz2
gsoc2013-evolution-ac6661ee1265683ac81f5a5306540572d8cc491c.tar.lz
gsoc2013-evolution-ac6661ee1265683ac81f5a5306540572d8cc491c.tar.xz
gsoc2013-evolution-ac6661ee1265683ac81f5a5306540572d8cc491c.tar.zst
gsoc2013-evolution-ac6661ee1265683ac81f5a5306540572d8cc491c.zip
Handle draw background. (e_text_draw): Support both border drawing and
2000-12-24 Miguel de Icaza <miguel@helixcode.com> * 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
Diffstat (limited to 'widgets/text/e-text.h')
-rw-r--r--widgets/text/e-text.h2
1 files changed, 2 insertions, 0 deletions
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 */