diff options
| author | Jean-Philippe Bruyère <jp_bruyere@hotmail.com> | 2020-12-13 12:53:08 +0100 |
|---|---|---|
| committer | Jean-Philippe Bruyère <jp_bruyere@hotmail.com> | 2020-12-13 12:53:08 +0100 |
| commit | 8f33514940cfd7dc539ff8a0ca207a029b15a4b9 (patch) | |
| tree | 852c4cad66db863d53b49a2768d2d5c637d23c8c /Samples/DebugLogAnalyzer/DbgLogViewer.cs | |
| parent | 035ef61b3233c0a85caf42260f3cd1c1e1a01d54 (diff) | |
binding tests + wip
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 (); } |