diff options
author | graemeg <graemeg@ae50a9b5-8222-0410-bf8d-8a13f76226bf> | 2007-12-03 09:46:23 +0000 |
---|---|---|
committer | graemeg <graemeg@ae50a9b5-8222-0410-bf8d-8a13f76226bf> | 2007-12-03 09:46:23 +0000 |
commit | 01601bb83634f1c734422215ac1317c2713bccd1 (patch) | |
tree | ba4e2a8a6fc2ae6236402580f525c9b6661fc870 /src/gui/gui_progressbar.pas | |
parent | 4ebc4cdebd8f866c38e19fc36edb95c28c8440c4 (diff) | |
download | fpGUI-01601bb83634f1c734422215ac1317c2713bccd1.tar.xz |
* Minor painting fixed to Gauge and ProgressBar frame painting.
* Minor fix to VerticalBar gauge painting where it oversheets the outer frame.
* Implemented anti-aliased line drawing in Needle Gauge and Dial Gauge, but it's only experimental.
Diffstat (limited to 'src/gui/gui_progressbar.pas')
-rw-r--r-- | src/gui/gui_progressbar.pas | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gui/gui_progressbar.pas b/src/gui/gui_progressbar.pas index eab57685..2177f4ed 100644 --- a/src/gui/gui_progressbar.pas +++ b/src/gui/gui_progressbar.pas @@ -189,7 +189,7 @@ begin // right bottom Canvas.SetColor(TfpgColor($3b4c71)); Canvas.DrawLine(r.Right, r.Top, r.Right, r.Bottom); // right - Canvas.DrawLine(r.Right, r.Bottom, r.Left-1, r.Bottom); // bottom + Canvas.DrawLine(r.Right, r.Bottom, r.Left, r.Bottom); // bottom // inside gradient fill InflateRect(r, -1, -1); Canvas.GradientFill(r, TfpgColor($425d9b), TfpgColor($97b0e8), gdVertical); |