aboutsummaryrefslogtreecommitdiffstatsci
path: root/Samples/HelloWorld
diff options
context:
space:
mode:
authorJean-Philippe Bruyère <jp_bruyere@hotmail.com>2022-07-17 20:26:28 +0200
committerJean-Philippe Bruyère <jp_bruyere@hotmail.com>2022-07-17 20:26:28 +0200
commit9d786ab096ed36ea384e03ee5cea498790e31eec (patch)
treeadee54b5b90a35238d5794e9ffd3ebcf65798a06 /Samples/HelloWorld
parent57daad000aa31c7bcfa1f76b90d40da5a21da041 (diff)
wip
Diffstat (limited to 'Samples/HelloWorld')
-rw-r--r--Samples/HelloWorld/main.cs1
-rw-r--r--Samples/HelloWorld/ui/helloworld.crow9
2 files changed, 9 insertions, 1 deletions
diff --git a/Samples/HelloWorld/main.cs b/Samples/HelloWorld/main.cs
index fd70a2b9..fdf75a8d 100644
--- a/Samples/HelloWorld/main.cs
+++ b/Samples/HelloWorld/main.cs
@@ -8,6 +8,7 @@ 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'/>");
diff --git a/Samples/HelloWorld/ui/helloworld.crow b/Samples/HelloWorld/ui/helloworld.crow
index d1c30b0f..874667c2 100644
--- a/Samples/HelloWorld/ui/helloworld.crow
+++ b/Samples/HelloWorld/ui/helloworld.crow
@@ -1,2 +1,9 @@
<?xml version="1.0"?>
-<Label Text="Hello World"/>
+
+ <!--<Widget Background="hgradient|0:Black|0.5:Blue|1:Red" Margin="100" />-->
+ <VerticalStack>
+ <Image Path="#Crow.Icons.checkbox.svg" SvgSub="True" Height="200"/>
+ <CheckBox/>
+
+ </VerticalStack>
+ <!--<ColorPicker/>-->