From: jpbruyere Date: Mon, 7 Sep 2015 14:19:58 +0000 (+0200) Subject: Dynamic layouting debug and improvments X-Git-Tag: 0.2~59 X-Git-Url: https://git.osiis.dedyn.io/?a=commitdiff_plain;h=967f9bbeca46517f3d94d1eb4b04a3e36c8a31f0;p=jp%2Fcrow.git Dynamic layouting debug and improvments --- diff --git a/Templates/Window.goml b/Templates/Window.goml index d082ca02..2ec25987 100755 --- a/Templates/Window.goml +++ b/Templates/Window.goml @@ -9,6 +9,6 @@ MouseEnter="{Background=Red}" MouseLeave="{Background=Transparent}" MouseClick="butQuitPress"/> - + \ No newline at end of file diff --git a/Tests/GOLIBTest_4.cs b/Tests/GOLIBTest_4.cs index 8b1c7cd2..141f41d8 100644 --- a/Tests/GOLIBTest_4.cs +++ b/Tests/GOLIBTest_4.cs @@ -83,9 +83,6 @@ namespace test { base.OnLoad (e); - this.Cursor = XCursor.NE; - - LoadInterface("Interfaces/test4.goml", out c); //LoadInterface("golibtests/test4.xml", out c2); //c2.HorizontalAlignment = HorizontalAlignment.Left; diff --git a/Tests/GOLIBTest_stack.cs b/Tests/GOLIBTest_stack.cs index 2164c721..18490d6d 100644 --- a/Tests/GOLIBTest_stack.cs +++ b/Tests/GOLIBTest_stack.cs @@ -22,20 +22,12 @@ namespace test : base(1024, 600,"test") {} - VerticalStack g; - protected override void OnLoad (EventArgs e) { base.OnLoad (e); - LoadInterface("Interfaces/test_stack.goml", out g); + LoadInterface("Interfaces/test_stack.goml"); } - protected override void OnRenderFrame (FrameEventArgs e) - { - GL.Clear (ClearBufferMask.ColorBufferBit); - base.OnRenderFrame (e); - SwapBuffers (); - } protected override void OnUpdateFrame (FrameEventArgs e) { diff --git a/Tests/Interfaces/test4.goml b/Tests/Interfaces/test4.goml index 02dadec8..4d824a2e 100755 --- a/Tests/Interfaces/test4.goml +++ b/Tests/Interfaces/test4.goml @@ -134,8 +134,8 @@ TextAlignment="Center" Background="AoEnglish"/> - - + --> - - - + \ No newline at end of file diff --git a/Tests/Interfaces/test_stack.goml b/Tests/Interfaces/test_stack.goml index a1b4b4e0..2991a92e 100755 --- a/Tests/Interfaces/test_stack.goml +++ b/Tests/Interfaces/test_stack.goml @@ -1,7 +1,7 @@  - -