]> git.ipfire.org Git - thirdparty/newt.git/commit
fix form scrolling
authorMiroslav Lichvar <mlichvar@redhat.com>
Tue, 21 Jun 2011 17:58:33 +0000 (19:58 +0200)
committerMiroslav Lichvar <mlichvar@redhat.com>
Wed, 22 Jun 2011 11:43:39 +0000 (13:43 +0200)
commit5c72fb03023c4e2c5626c16c21de0c0c6fb35f43
treee20e7064e211a45fd7064b0f3b0c0a592a2dd7b6
parent21150df52c282eb5fa068d5b1e1117e0c66851b9
fix form scrolling

The previous commit breaks form scrolling. Instead of keeping a copy of
all components' coordinates, move all components when the form is
scrolled and use their real coordinates adjusted by vertical offset to
get the coordinates and size of the form.
form.c