mirror of
https://gitlab.gnome.org/GNOME/gtk.git
synced 2024-09-20 05:50:11 +00:00
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:
parent
f0ed36b324
commit
d7f8af9af0
@ -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
|
||||
|
@ -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
|
||||
|
@ -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
|
||||
|
@ -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
|
||||
|
@ -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
|
||||
|
@ -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
|
||||
|
@ -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
|
||||
|
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user