diff options
Diffstat (limited to 'Samples/DebugLogAnalyzer')
| -rw-r--r-- | Samples/DebugLogAnalyzer/DbgEventWidget.cs | 2 | ||||
| -rw-r--r-- | Samples/DebugLogAnalyzer/DbgLogViewer.cs | 4 |
2 files changed, 3 insertions, 3 deletions
diff --git a/Samples/DebugLogAnalyzer/DbgEventWidget.cs b/Samples/DebugLogAnalyzer/DbgEventWidget.cs index 1528e205..b2af84dd 100644 --- a/Samples/DebugLogAnalyzer/DbgEventWidget.cs +++ b/Samples/DebugLogAnalyzer/DbgEventWidget.cs @@ -97,7 +97,7 @@ namespace Crow ctx.SetSource (dbge.Color); if (dbge.IsSelected) { ctx.FillPreserve (); - ctx.SetSourceRGB (1, 1, 1); + ctx.SetSource (1, 1, 1); ctx.Stroke (); }else ctx.Fill (); diff --git a/Samples/DebugLogAnalyzer/DbgLogViewer.cs b/Samples/DebugLogAnalyzer/DbgLogViewer.cs index 4b7a108a..0d6bdfa9 100644 --- a/Samples/DebugLogAnalyzer/DbgLogViewer.cs +++ b/Samples/DebugLogAnalyzer/DbgLogViewer.cs @@ -295,7 +295,7 @@ namespace Crow if (g.yIndex == 0) gr.SetSource (Crow.Colors.LightSalmon); else - Foreground.SetAsSource (gr); + Foreground.SetAsSource (IFace, gr); gr.MoveTo (penX, penY - gr.FontExtents.Descent); gr.ShowText (g.name + gIdx); @@ -399,7 +399,7 @@ namespace Crow r = new Rectangle (cb.Left, (int)y, cb.Width, (int)fe.Height); ctx.Operator = Cairo.Operator.Add; - ctx.SetSourceRGBA (0.1, 0.1, 0.1, 0.4); + ctx.SetSource (0.1, 0.1, 0.1, 0.4); ctx.Rectangle (ContextCoordinates (r)); ctx.Fill (); } |