From fc2bf46e49e17bd49232a0290543cb48b856ca5c Mon Sep 17 00:00:00 2001 From: =?utf8?q?Jean-Philippe=20Bruy=C3=A8re?= Date: Sat, 30 Oct 2021 22:29:09 +0200 Subject: [PATCH] update readme --- README.md | 3 +- Samples/ShowCase/ShowCase.cs | 32 +++++++- Samples/ShowCase/ui/showcase.crow | 121 +++++++++++++++++------------- 3 files changed, 102 insertions(+), 54 deletions(-) diff --git a/README.md b/README.md index ec6c0ebf..34cb390e 100644 --- a/README.md +++ b/README.md @@ -40,6 +40,7 @@ Check the [Tutorials](https://github.com/jpbruyere/Crow/wiki/Tutorials) for a qu The `ShowCase`sample will allow you to quickly test IML with live result.

+<<<<<<< Updated upstream @@ -54,7 +55,7 @@ The `ShowCase`sample will allow you to quickly test IML with live result. ### Requirements - [GLFW3](https://www.glfw.org/) for platform dependant integration. -- [Cairo Graphic Library](https://cairographics.org/) >= 1.20, for 2d graphic rendering. +- [Cairo Graphic Library](https://cairographics.org/) for 2d graphic rendering. - [rsvg library](https://developer.gnome.org/rsvg/) for svg rendering ### Documentation diff --git a/Samples/ShowCase/ShowCase.cs b/Samples/ShowCase/ShowCase.cs index 9d257160..06fca837 100644 --- a/Samples/ShowCase/ShowCase.cs +++ b/Samples/ShowCase/ShowCase.cs @@ -60,6 +60,31 @@ namespace ShowCase NotifyValueChanged ("IsDirty", IsDirty); } } + public bool EncloseInTemplatedControl { + get => Configuration.Global.Get ("EncloseInTemplatedControl", false); + set { + if (EncloseInTemplatedControl == value) + return; + Configuration.Global.Set ("EncloseInTemplatedControl", value); + NotifyValueChanged (value); + if (!reloadChrono.IsRunning) + reloadChrono.Restart (); + } + } + public string TemplateContainerSource { + get => Configuration.Global.Get ("TemplateContainerSource", "