aboutsummaryrefslogtreecommitdiffstatsci
path: root/src/GraphicObjects/Slider.cs
diff options
context:
space:
mode:
authorjpbruyere <jp.bruyere@hotmail.com>2016-02-02 01:13:08 +0100
committerjpbruyere <jp.bruyere@hotmail.com>2016-02-02 01:13:08 +0100
commit86238b1031ff73dc5f4be48033ba674189224e3a (patch)
treed755c4447e61783bd3c39d960cc140903bb2d2f2 /src/GraphicObjects/Slider.cs
parent47fe040bb568b4eff544bb9f287481343216373e (diff)
debug
Diffstat (limited to 'src/GraphicObjects/Slider.cs')
-rw-r--r--src/GraphicObjects/Slider.cs4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/GraphicObjects/Slider.cs b/src/GraphicObjects/Slider.cs
index 2351669c..27c162a0 100644
--- a/src/GraphicObjects/Slider.cs
+++ b/src/GraphicObjects/Slider.cs
@@ -120,7 +120,7 @@ namespace Crow
protected virtual void DrawGraduations(Context gr, PointD pStart, PointD pEnd)
{
- gr.Color = Foreground;
+ gr.SetSourceColor(Foreground);
gr.LineWidth = 1;
gr.MoveTo(pStart);
@@ -131,7 +131,7 @@ namespace Crow
}
protected virtual void DrawCursor(Context gr, Rectangle _cursor)
{
- gr.Color = CursorColor;
+ gr.SetSourceColor(CursorColor);
CairoHelpers.CairoRectangle (gr, _cursor, CornerRadius);
gr.FillPreserve();
}