diff options
author | Owen Taylor <otaylor@redhat.com> | 1999-01-20 18:06:31 +0000 |
---|---|---|
committer | Owen Taylor <otaylor@src.gnome.org> | 1999-01-20 18:06:31 +0000 |
commit | 6205bbbf65c9e3b52b09dfa779c067b649c05dd5 (patch) | |
tree | ceac039821ed50132602171c7a05db6ac9cef58d /gtk/gtktext.h | |
parent | 0543c806f9f6f9f505a117729733967dd9660761 (diff) | |
download | gdk-pixbuf-6205bbbf65c9e3b52b09dfa779c067b649c05dd5.tar.gz |
Instead of drawing a background pixmap in with gdk_draw_pixmap(), set it
Wed Jan 20 13:06:51 1999 Owen Taylor <otaylor@redhat.com>
* gtk/gtktext.[ch] (clear_[focus_]area): Instead of drawing
a background pixmap in with gdk_draw_pixmap(), set
it as a tile pixmap for a GC. This should speed
up things considerably and also will hide a bug
where text->first_onscreen_ver_pixel is being
corrupted, causing the bg pixmap drawing code to generate
graphics exposes.
Diffstat (limited to 'gtk/gtktext.h')
-rw-r--r-- | gtk/gtktext.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/gtk/gtktext.h b/gtk/gtktext.h index f8f35af6c..8ccdb493c 100644 --- a/gtk/gtktext.h +++ b/gtk/gtktext.h @@ -154,6 +154,7 @@ struct _GtkText gint timer; guint button; /* currently pressed mouse button */ + GdkGC *bg_gc; /* gc for drawing background pixmap */ }; struct _GtkTextClass |