aboutsummaryrefslogtreecommitdiffstatsci
path: root/Samples/common/ui/Interfaces
diff options
context:
space:
mode:
authorJean-Philippe Bruyère <jp_bruyere@hotmail.com>2020-02-16 07:36:48 +0100
committerj-p <jp_bruyere@hotmail.com>2020-05-10 00:50:02 +0200
commit78ff96edf53ba273aa157a5bda2aa5b7a10f1c5f (patch)
tree90250c94b0ca8ddcb55ad11962dbe31e129e586f /Samples/common/ui/Interfaces
parent701e6c825abbfb431bda3f6692e32a5f12e7307b (diff)
roslyn editor
Diffstat (limited to 'Samples/common/ui/Interfaces')
-rw-r--r--Samples/common/ui/Interfaces/Divers/colorPicker.crow6
-rw-r--r--Samples/common/ui/Interfaces/Divers/colorPicker2.crow7
2 files changed, 10 insertions, 3 deletions
diff --git a/Samples/common/ui/Interfaces/Divers/colorPicker.crow b/Samples/common/ui/Interfaces/Divers/colorPicker.crow
index afdef146..92a5c054 100644
--- a/Samples/common/ui/Interfaces/Divers/colorPicker.crow
+++ b/Samples/common/ui/Interfaces/Divers/colorPicker.crow
@@ -1,7 +1,7 @@
<?xml version="1.0"?>
<VerticalStack>
- <ColorPicker SelectedColor="{²../go.Background}" Name="colorPicker" Background="DimGrey" Margin="5" Fit="True" />
+ <ColorPicker CurrentColor="{²../go.Background}" Name="colorPicker" Background="DimGrey" Margin="5" Fit="True" />
<Widget Name="go" Width="100" Height="60" Background="DarkBlue"/>
- <Widget Name="go" Width="100" Height="60" Background="{../colorPicker.SelectedColor}"/>
- <Label Text="{../colorPicker.SelectedColor}"/>
+ <Widget Name="go" Width="100" Height="60" Background="{../colorPicker.CurrentColor}"/>
+ <Label Text="{../colorPicker.CurrentColor}"/>
</VerticalStack> \ No newline at end of file
diff --git a/Samples/common/ui/Interfaces/Divers/colorPicker2.crow b/Samples/common/ui/Interfaces/Divers/colorPicker2.crow
new file mode 100644
index 00000000..da1a8830
--- /dev/null
+++ b/Samples/common/ui/Interfaces/Divers/colorPicker2.crow
@@ -0,0 +1,7 @@
+<?xml version="1.0"?>
+<VerticalStack>
+ <ColorPicker CurrentColor="{²../go.Background}" Name="colorPicker" Background="DimGrey" Margin="5" Width="300" Template="#ui.ColorPicker.template" />
+ <Widget Name="go" Width="100" Height="60" Background="DarkBlue"/>
+ <Widget Name="go" Width="100" Height="60" Background="{../colorPicker.CurrentColor}"/>
+ <Label Text="{../colorPicker.CurrentColor}"/>
+</VerticalStack> \ No newline at end of file