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:
Tim Janik
1999-03-22 06:46:16 +00:00
committed by Tim Janik
parent 0362058f6e
commit 3f2cd052fd
7 changed files with 28 additions and 28 deletions

View File

@@ -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>

View File

@@ -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>

View File

@@ -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>

View File

@@ -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>

View File

@@ -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>

View File

@@ -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>

View File

@@ -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>