blob: fd70a2b96e8db47cd7d449bfa3e315aa361cc24e (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
|
using System;
using Crow;
using Glfw;
using Samples;
namespace HelloWorld
{
class Program : Interface {
Program() : base (800, 600, true) {}
static void Main (string[] args) {
using (Program app = new Program ()) {
//app.Initialized += (sender, e) => app.LoadIMLFragment (@"<Label Text='Hello World' Background='Red' Top='50' Margin='0'/>");
//app.Initialized += (sender, e) => app.LoadIMLFragment (@"<Window Caption='hello world'/>");
app.Run ();
}
}
protected override void OnInitialized()
{
Load ("/mnt/devel/crow/Samples/HelloWorld/ui/helloworld.crow");
}
}
}
|