draw_rectangle_gradient() for the progressbar widget; + fg_full option
commitb024b0c0cf918b7fb4f6e4169d310b8ae8940105
authormarco candrian <mac@calmar.ws>
Mon, 4 Feb 2008 10:16:30 +0000 (4 11:16 +0100)
committerJulien Danjou <julien@danjou.info>
Mon, 4 Feb 2008 10:16:30 +0000 (4 11:16 +0100)
treeb49154e39c688aa84d574d222db6667f94dc1609
parent91d6a11fd33e23001f0ed5593c3fe733eb2bb1ab
draw_rectangle_gradient() for the progressbar widget; + fg_full option

Adds an optional additional foreground color option to a bar: fg_full = <color>

A value of 0 represents the fg-color, and a value of 100 (a full graph) the
fg_full-color.

Example:

progressbar xy
{
  bar { fg = "#111155" fg_full = "#3333cc"  bg = "#000000" bordercolor = "#4444cc"}
  ....
}

Signed-off-by: Julien Danjou <julien@danjou.info>
common/configopts.c
common/draw.c
common/draw.h
widgets/progressbar.c