Only queue a draw on the handle, not the whole widget. #71530.

2002-02-14  Richard Hult  <rhult@codefactory.se>

	* gtk/gtkpaned.c (gtk_paned_enter): Only queue a draw on the
	handle, not the whole widget. #71530.
	(gtk_paned_leave): Likewise.
This commit is contained in:
Richard Hult 2002-02-15 08:53:14 +00:00 committed by Richard Hult
parent f0ed36b324
commit d7f8af9af0
8 changed files with 52 additions and 2 deletions

View File

@ -1,3 +1,9 @@
2002-02-14 Richard Hult <rhult@codefactory.se>
* gtk/gtkpaned.c (gtk_paned_enter): Only queue a draw on the
handle, not the whole widget. #71530.
(gtk_paned_leave): Likewise.
2002-02-14 Jody Goldberg <jody@gnome.org>
* gtk/gtkrange.c (gtk_range_class_init) : add new signal

View File

@ -1,3 +1,9 @@
2002-02-14 Richard Hult <rhult@codefactory.se>
* gtk/gtkpaned.c (gtk_paned_enter): Only queue a draw on the
handle, not the whole widget. #71530.
(gtk_paned_leave): Likewise.
2002-02-14 Jody Goldberg <jody@gnome.org>
* gtk/gtkrange.c (gtk_range_class_init) : add new signal

View File

@ -1,3 +1,9 @@
2002-02-14 Richard Hult <rhult@codefactory.se>
* gtk/gtkpaned.c (gtk_paned_enter): Only queue a draw on the
handle, not the whole widget. #71530.
(gtk_paned_leave): Likewise.
2002-02-14 Jody Goldberg <jody@gnome.org>
* gtk/gtkrange.c (gtk_range_class_init) : add new signal

View File

@ -1,3 +1,9 @@
2002-02-14 Richard Hult <rhult@codefactory.se>
* gtk/gtkpaned.c (gtk_paned_enter): Only queue a draw on the
handle, not the whole widget. #71530.
(gtk_paned_leave): Likewise.
2002-02-14 Jody Goldberg <jody@gnome.org>
* gtk/gtkrange.c (gtk_range_class_init) : add new signal

View File

@ -1,3 +1,9 @@
2002-02-14 Richard Hult <rhult@codefactory.se>
* gtk/gtkpaned.c (gtk_paned_enter): Only queue a draw on the
handle, not the whole widget. #71530.
(gtk_paned_leave): Likewise.
2002-02-14 Jody Goldberg <jody@gnome.org>
* gtk/gtkrange.c (gtk_range_class_init) : add new signal

View File

@ -1,3 +1,9 @@
2002-02-14 Richard Hult <rhult@codefactory.se>
* gtk/gtkpaned.c (gtk_paned_enter): Only queue a draw on the
handle, not the whole widget. #71530.
(gtk_paned_leave): Likewise.
2002-02-14 Jody Goldberg <jody@gnome.org>
* gtk/gtkrange.c (gtk_range_class_init) : add new signal

View File

@ -1,3 +1,9 @@
2002-02-14 Richard Hult <rhult@codefactory.se>
* gtk/gtkpaned.c (gtk_paned_enter): Only queue a draw on the
handle, not the whole widget. #71530.
(gtk_paned_leave): Likewise.
2002-02-14 Jody Goldberg <jody@gnome.org>
* gtk/gtkrange.c (gtk_range_class_init) : add new signal

View File

@ -608,7 +608,11 @@ gtk_paned_enter (GtkWidget *widget,
else
{
paned->handle_prelit = TRUE;
gtk_widget_queue_draw (widget);
gtk_widget_queue_draw_area (widget,
paned->handle_pos.x,
paned->handle_pos.y,
paned->handle_pos.width,
paned->handle_pos.height);
}
return TRUE;
@ -625,7 +629,11 @@ gtk_paned_leave (GtkWidget *widget,
else
{
paned->handle_prelit = FALSE;
gtk_widget_queue_draw (widget);
gtk_widget_queue_draw_area (widget,
paned->handle_pos.x,
paned->handle_pos.y,
paned->handle_pos.width,
paned->handle_pos.height);
}
return TRUE;