aboutsummaryrefslogtreecommitdiffstatsci
path: root/Samples/DebugLogAnalyzer/src/DebugInterface.cs
diff options
context:
space:
mode:
authorJean-Philippe Bruyère <jp_bruyere@hotmail.com>2021-08-02 14:36:36 +0200
committerJean-Philippe Bruyère <jp_bruyere@hotmail.com>2021-08-02 14:36:36 +0200
commitd65351d324043f7c9d74f6dcf966ea40792017a5 (patch)
tree31915006ecee0c90c6deb3fa898d7e2b81b5ec3f /Samples/DebugLogAnalyzer/src/DebugInterface.cs
parent85190e474cae0a87e29755c156140cd29c85cbb5 (diff)
merge step 2
Diffstat (limited to 'Samples/DebugLogAnalyzer/src/DebugInterface.cs')
-rw-r--r--Samples/DebugLogAnalyzer/src/DebugInterface.cs6
1 files changed, 3 insertions, 3 deletions
diff --git a/Samples/DebugLogAnalyzer/src/DebugInterface.cs b/Samples/DebugLogAnalyzer/src/DebugInterface.cs
index d37b0752..08927566 100644
--- a/Samples/DebugLogAnalyzer/src/DebugInterface.cs
+++ b/Samples/DebugLogAnalyzer/src/DebugInterface.cs
@@ -1,4 +1,4 @@
-// Copyright (c) 2013-2019 Bruyère Jean-Philippe <jp_bruyere@hotmail.com>
+// Copyright (c) 2013-2021 Bruyère Jean-Philippe <jp_bruyere@hotmail.com>
//
// This code is licensed under the MIT license (MIT) (http://opensource.org/licenses/MIT)
@@ -18,7 +18,7 @@ namespace Crow
public DebugInterface (IntPtr hWin) : base (hWin)
{
SolidBackground = false;
- surf = new ImageSurface (Format.Argb32, 100, 100);
+ surf = CreateSurface (100, 100);
}
public override void Run()
@@ -125,7 +125,7 @@ namespace Crow
lock (UpdateMutex) {
clientRectangle = new Rectangle (0, 0, width, height);
surf?.Dispose();
- surf = new ImageSurface (Format.Argb32, width, height);
+ surf = CreateSurface (width, height);
foreach (Widget g in GraphicTree)
g.RegisterForLayouting (LayoutingType.All);
RegisterClip (clientRectangle);