blob: 6dd0b525d078c9b139be08d55dbee37ba5412770 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
|
using System;
using Crow;
using Glfw;
using Samples;
namespace HelloWorld
{
class Program : Interface {
Program() : base (800, 600, true) {}
static void Main (string[] args) {
//Interface.PreferedBackendType = Drawing2D.BackendType.Egl;
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/AnimTest/ui/anim.crow");
}
public override void UpdateFrame()
{
base.UpdateFrame();
}
}
}
|