diff options
| author | Jean-Philippe Bruyère <jp_bruyere@hotmail.com> | 2021-11-24 23:50:38 +0100 |
|---|---|---|
| committer | Jean-Philippe Bruyère <jp_bruyere@hotmail.com> | 2021-11-24 23:50:38 +0100 |
| commit | b25ad7a6e15a7284e40407377a1624747ffe42e5 (patch) | |
| tree | f53a12fb2120eb7f1b82ccfbda37a2430c5be330 /Samples/HelloWorld | |
| parent | 09026f4328d0e578823062d6506ffdacac457b25 (diff) | |
IBackend instead of IDevice to bind to Interface
Diffstat (limited to 'Samples/HelloWorld')
| -rw-r--r-- | Samples/HelloWorld/main.cs | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/Samples/HelloWorld/main.cs b/Samples/HelloWorld/main.cs index e60b9782..e84607b9 100644 --- a/Samples/HelloWorld/main.cs +++ b/Samples/HelloWorld/main.cs @@ -1,13 +1,15 @@ using System; using Crow; +using Glfw; using Samples; namespace HelloWorld { - class Program { + class Program : Interface { + Program() : base (800, 600, true, true) {} static void Main (string[] args) { - using (Interface app = new Interface ()) { - app.Initialized += (sender, e) => app.LoadIMLFragment (@"<Label Text='Hello World'/>"); + using (Program app = new Program ()) { + app.Initialized += (sender, e) => app.LoadIMLFragment (@"<Window Caption='Hello World'/>"); app.Run (); } } |