aboutsummaryrefslogtreecommitdiffstatsci
path: root/Samples/HelloWorld/main.cs
blob: 20fa9a27fc7ed31584f52c14c57dab4b13234995 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
using System;
using Crow;
using Glfw;
using Samples;

namespace HelloWorld
{
	class Program : Interface {
		Program() : base (800, 600, true, true) {}
		static void Main (string[] args) {
			using (Program app = new Program ()) {
				app.Initialized += (sender, e) => app.LoadIMLFragment (@"<Label Text='Hello World'/>");
				app.Run ();
			}
		}
	}
}