]> git.ipfire.org Git - thirdparty/newt.git/commit
Add a numeric percentage count to the scale widget.
authorjorton <jorton>
Tue, 11 Jun 2002 12:52:11 +0000 (12:52 +0000)
committerjorton <jorton>
Tue, 11 Jun 2002 12:52:11 +0000 (12:52 +0000)
commit5505c898c4c6c11fe47c6b25253dbf58bfadb48a
tree10ff0c6931b3da36ff183277623a84492dd8ff0b
parent587b86aaabd7cf9475dbbfe502cad5bd02253d9d
Add a numeric percentage count to the scale widget.

Patch by: Mark Cox <mjc@redhat.com>

* scale.c: Add 'percentage' field to struct scale.
(newtScale): Initialize percentage field.
(newtScaleSet): Update percentage field.
(scaleDraw): Draw in the percentage count.

* newt.c: Use "white" as the default foreground colour for the
scale widget.
newt.c
scale.c