From: jpbruyere Date: Fri, 12 Feb 2016 12:05:32 +0000 (+0100) Subject: testing clipping rect registration, clear and clip, not working X-Git-Tag: 0.3~6^2~4 X-Git-Url: https://git.osiis.dedyn.io/?a=commitdiff_plain;h=f1f143775245695a0aaa8cd2538d3b3382f9ea56;p=jp%2Fcrow.git testing clipping rect registration, clear and clip, not working --- diff --git a/Tests/GOLIBTest_4.cs b/Tests/GOLIBTest_4.cs index 8fbfe4ec..9c8fe385 100644 --- a/Tests/GOLIBTest_4.cs +++ b/Tests/GOLIBTest_4.cs @@ -171,7 +171,7 @@ namespace test { if (!e.Mouse.IsButtonDown (MouseButton.Left)||sender!=c) return; - redrawClip.AddRectangle (c.ScreenCoordinates(c.Slot)); + clipping.AddRectangle (c.ScreenCoordinates(c.Slot)); c.Left += e.XDelta; c.Top += e.YDelta; c.registerForGraphicUpdate (); diff --git a/Tests/GOLIBTests.cs b/Tests/GOLIBTests.cs index 622d1ce7..c14277f4 100644 --- a/Tests/GOLIBTests.cs +++ b/Tests/GOLIBTests.cs @@ -37,9 +37,9 @@ namespace test int frameCpt = 0; int idx = 0; string[] testFiles = { - "clip2.crow", "clip0.crow", "clip1.crow", + "clip2.crow", "0.crow", "5.crow", "testCombobox.goml", diff --git a/Tests/Interfaces/clip0.crow b/Tests/Interfaces/clip0.crow index 2ebea9ff..dbe6eb34 100755 --- a/Tests/Interfaces/clip0.crow +++ b/Tests/Interfaces/clip0.crow @@ -1,9 +1,9 @@  - -