aboutsummaryrefslogtreecommitdiffstatsci
path: root/Tests/GOLIBTest_HStack.cs
diff options
context:
space:
mode:
authorjpbruyere <jp.bruyere@hotmail.com>2015-09-07 12:19:09 +0200
committerjpbruyere <jp.bruyere@hotmail.com>2015-09-07 12:19:09 +0200
commitac08ff01dbc59628a94a6e09cd0aff07f588f05f (patch)
treeb65ff6c0306e31cc8a10a6ccd822ec432e6a2f12 /Tests/GOLIBTest_HStack.cs
parent167e50bf7c4af84a6793326e39b0d3e41d4eb8bf (diff)
* Tests.csproj:
* Window.goml: * GOLIBTest_HStack.cs: * GOLIBTest_Window.cs: * testHStack.goml: * testWindow.goml: debug and tests * Window.cs: Resizing window with corsors * OpenTKGameWindow.cs: OnRender function, hidding clear and swap overridable with OnRenderFrame
Diffstat (limited to 'Tests/GOLIBTest_HStack.cs')
-rwxr-xr-xTests/GOLIBTest_HStack.cs42
1 files changed, 42 insertions, 0 deletions
diff --git a/Tests/GOLIBTest_HStack.cs b/Tests/GOLIBTest_HStack.cs
new file mode 100755
index 00000000..ac8e0a33
--- /dev/null
+++ b/Tests/GOLIBTest_HStack.cs
@@ -0,0 +1,42 @@
+#define MONO_CAIRO_DEBUG_DISPOSE
+
+
+using System;
+using System.Runtime.InteropServices;
+using OpenTK;
+using OpenTK.Graphics.OpenGL;
+using OpenTK.Input;
+
+using System.Diagnostics;
+
+//using GGL;
+using go;
+using System.Threading;
+
+
+namespace test3
+{
+ class GOLIBTest_HStack : OpenTKGameWindow
+ {
+ public GOLIBTest_HStack ()
+ : base(1024, 600,"test")
+ {}
+
+ protected override void OnLoad (EventArgs e)
+ {
+ base.OnLoad (e);
+ LoadInterface("Interfaces/testHStack.goml");
+
+ }
+
+ [STAThread]
+ static void Main ()
+ {
+ Console.WriteLine ("starting example");
+
+ using (GOLIBTest_HStack win = new GOLIBTest_HStack( )) {
+ win.Run (30.0);
+ }
+ }
+ }
+} \ No newline at end of file