diff options
Diffstat (limited to 'Samples/DebugLogAnalyzer/DbgLogViewer.cs')
| -rw-r--r-- | Samples/DebugLogAnalyzer/DbgLogViewer.cs | 4 |
1 files changed, 2 insertions, 2 deletions
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 (); } |