grrr, stupid cvs, try grasp the meaning of "abort"!
Mon Mar 22 05:51:34 1999 Tim Janik <timj@gtk.org> * gtk/gtkbin.c (gtk_bin_draw): only redraw children that are visible *and* mapped (i.e. drawable). (gtk_bin_expose): only send exposes to drawable children. * gtk/gtkbox.c (gtk_box_draw): only redraw children that are drawable. (gtk_box_expose): only send exposes to drawable children. * gtk/gtkhscale.c (gtk_hscale_draw): * gtk/gtkvscale.c (gtk_vscale_draw): hm, this is an ugly one. we first compute the size of our trough area here (window relative) and then check intersection with the draw_area which is parent relative because we're a NO_WINDOW widget, so we need to offset the trough area by allocation.x and allocation.y before the check. (this must not be done for the background area though, since that's already computed parent relative).
This commit is contained in:
@@ -11,10 +11,10 @@ Mon Mar 22 05:51:34 1999 Tim Janik <timj@gtk.org>
|
||||
* gtk/gtkvscale.c (gtk_vscale_draw):
|
||||
hm, this is an ugly one. we first compute the size of our trough area
|
||||
here (window relative) and then check intersection with the draw_area
|
||||
which is widget relative, so we need to offset the trough area by
|
||||
allocation.x and allocation.y before the check. (this must not be done
|
||||
for the background area though, sicne that's already computed parent
|
||||
relative).
|
||||
which is parent relative because we're a NO_WINDOW widget, so we need
|
||||
to offset the trough area by allocation.x and allocation.y before the
|
||||
check. (this must not be done for the background area though, since
|
||||
that's already computed parent relative).
|
||||
|
||||
Mon Mar 22 00:41:39 1999 Lars Hamann <lars@gtk.org>
|
||||
|
||||
|
||||
@@ -11,10 +11,10 @@ Mon Mar 22 05:51:34 1999 Tim Janik <timj@gtk.org>
|
||||
* gtk/gtkvscale.c (gtk_vscale_draw):
|
||||
hm, this is an ugly one. we first compute the size of our trough area
|
||||
here (window relative) and then check intersection with the draw_area
|
||||
which is widget relative, so we need to offset the trough area by
|
||||
allocation.x and allocation.y before the check. (this must not be done
|
||||
for the background area though, sicne that's already computed parent
|
||||
relative).
|
||||
which is parent relative because we're a NO_WINDOW widget, so we need
|
||||
to offset the trough area by allocation.x and allocation.y before the
|
||||
check. (this must not be done for the background area though, since
|
||||
that's already computed parent relative).
|
||||
|
||||
Mon Mar 22 00:41:39 1999 Lars Hamann <lars@gtk.org>
|
||||
|
||||
|
||||
@@ -11,10 +11,10 @@ Mon Mar 22 05:51:34 1999 Tim Janik <timj@gtk.org>
|
||||
* gtk/gtkvscale.c (gtk_vscale_draw):
|
||||
hm, this is an ugly one. we first compute the size of our trough area
|
||||
here (window relative) and then check intersection with the draw_area
|
||||
which is widget relative, so we need to offset the trough area by
|
||||
allocation.x and allocation.y before the check. (this must not be done
|
||||
for the background area though, sicne that's already computed parent
|
||||
relative).
|
||||
which is parent relative because we're a NO_WINDOW widget, so we need
|
||||
to offset the trough area by allocation.x and allocation.y before the
|
||||
check. (this must not be done for the background area though, since
|
||||
that's already computed parent relative).
|
||||
|
||||
Mon Mar 22 00:41:39 1999 Lars Hamann <lars@gtk.org>
|
||||
|
||||
|
||||
@@ -11,10 +11,10 @@ Mon Mar 22 05:51:34 1999 Tim Janik <timj@gtk.org>
|
||||
* gtk/gtkvscale.c (gtk_vscale_draw):
|
||||
hm, this is an ugly one. we first compute the size of our trough area
|
||||
here (window relative) and then check intersection with the draw_area
|
||||
which is widget relative, so we need to offset the trough area by
|
||||
allocation.x and allocation.y before the check. (this must not be done
|
||||
for the background area though, sicne that's already computed parent
|
||||
relative).
|
||||
which is parent relative because we're a NO_WINDOW widget, so we need
|
||||
to offset the trough area by allocation.x and allocation.y before the
|
||||
check. (this must not be done for the background area though, since
|
||||
that's already computed parent relative).
|
||||
|
||||
Mon Mar 22 00:41:39 1999 Lars Hamann <lars@gtk.org>
|
||||
|
||||
|
||||
@@ -11,10 +11,10 @@ Mon Mar 22 05:51:34 1999 Tim Janik <timj@gtk.org>
|
||||
* gtk/gtkvscale.c (gtk_vscale_draw):
|
||||
hm, this is an ugly one. we first compute the size of our trough area
|
||||
here (window relative) and then check intersection with the draw_area
|
||||
which is widget relative, so we need to offset the trough area by
|
||||
allocation.x and allocation.y before the check. (this must not be done
|
||||
for the background area though, sicne that's already computed parent
|
||||
relative).
|
||||
which is parent relative because we're a NO_WINDOW widget, so we need
|
||||
to offset the trough area by allocation.x and allocation.y before the
|
||||
check. (this must not be done for the background area though, since
|
||||
that's already computed parent relative).
|
||||
|
||||
Mon Mar 22 00:41:39 1999 Lars Hamann <lars@gtk.org>
|
||||
|
||||
|
||||
@@ -11,10 +11,10 @@ Mon Mar 22 05:51:34 1999 Tim Janik <timj@gtk.org>
|
||||
* gtk/gtkvscale.c (gtk_vscale_draw):
|
||||
hm, this is an ugly one. we first compute the size of our trough area
|
||||
here (window relative) and then check intersection with the draw_area
|
||||
which is widget relative, so we need to offset the trough area by
|
||||
allocation.x and allocation.y before the check. (this must not be done
|
||||
for the background area though, sicne that's already computed parent
|
||||
relative).
|
||||
which is parent relative because we're a NO_WINDOW widget, so we need
|
||||
to offset the trough area by allocation.x and allocation.y before the
|
||||
check. (this must not be done for the background area though, since
|
||||
that's already computed parent relative).
|
||||
|
||||
Mon Mar 22 00:41:39 1999 Lars Hamann <lars@gtk.org>
|
||||
|
||||
|
||||
@@ -11,10 +11,10 @@ Mon Mar 22 05:51:34 1999 Tim Janik <timj@gtk.org>
|
||||
* gtk/gtkvscale.c (gtk_vscale_draw):
|
||||
hm, this is an ugly one. we first compute the size of our trough area
|
||||
here (window relative) and then check intersection with the draw_area
|
||||
which is widget relative, so we need to offset the trough area by
|
||||
allocation.x and allocation.y before the check. (this must not be done
|
||||
for the background area though, sicne that's already computed parent
|
||||
relative).
|
||||
which is parent relative because we're a NO_WINDOW widget, so we need
|
||||
to offset the trough area by allocation.x and allocation.y before the
|
||||
check. (this must not be done for the background area though, since
|
||||
that's already computed parent relative).
|
||||
|
||||
Mon Mar 22 00:41:39 1999 Lars Hamann <lars@gtk.org>
|
||||
|
||||
|
||||
Reference in New Issue
Block a user