diff options
| author | Jean-Philippe Bruyère <jp_bruyere@hotmail.com> | 2018-02-09 18:46:40 +0100 |
|---|---|---|
| committer | Jean-Philippe Bruyère <jp_bruyere@hotmail.com> | 2018-02-09 18:46:40 +0100 |
| commit | d783669223da5bfe8caa1b95c0ff6e1c5046e09e (patch) | |
| tree | 08e156330c147d73aff48d018d60df6bfa50e259 /CrowIDE/ui/ProjectTree.template | |
| parent | 8678c71d24bd88ceca04dc71b0d1b93a2f51cecf (diff) | |
Squashed commit devel branch:
commit 7f91f7c2e83f7cfb2922ea83586f156f03f88a59
Author: Jean-Philippe Bruyère <jp_bruyere@hotmail.com>
Date: Fri Feb 9 18:13:59 2018 +0100
go back to OpenTK-2, waiting for an official release
commit 125f32758a584c4976d3536eab3702fd37a8a7a9
Author: Jean-Philippe Bruyère <jp_bruyere@hotmail.com>
Date: Fri Feb 9 17:26:00 2018 +0100
LoadInterface replaced by AddWidget overload, [ide] property view item templates in separate template file
commit 7c48cd2f0332d2ec82006edb755fcd37ab1f2b4a
Author: Jean-Philippe Bruyère <jp_bruyere@hotmail.com>
Date: Fri Feb 9 12:10:13 2018 +0100
Tooltips, CrowIDE improvements, Fetch subdata when test not eq TypeOf, debug listener in basicTest, RemoveWidget in iface
modifié : Crow.ControlsLib/Crow.ControlsLib.csproj
modifié : Crow.csproj
modifié : Crow.sln
modifié : CrowIDE/CrowIDE.csproj
modifié : CrowIDE/src/CrowIDE.cs
modifié : CrowIDE/src/ImlVisualEditor.cs
nouveau fichier : CrowIDE/src/Project.cs
nouveau fichier : CrowIDE/src/Solution.cs
nouveau fichier : CrowIDE/src/VerticalLine.cs
nouveau fichier : CrowIDE/ui/ProjectProperties.crow
nouveau fichier : CrowIDE/ui/ProjectTree.template
nouveau fichier : CrowIDE/ui/TreeExpandable.template
modifié : CrowIDE/ui/imlEditor.crow
modifié : Default.style
nouveau fichier : Icons/assembly.svg
nouveau fichier : Templates/Tooltip.template
modifié : Tests/BasicTests.cs
modifié : Tests/HelloWorld.cs
modifié : Tests/Interfaces/Divers/0.crow
modifié : Tests/Interfaces/Divers/testShape.crow
modifié : Tests/Interfaces/Divers/welcome.crow
modifié : Tests/Tests.csproj
modifié : src/CompilerServices/CompilerServices.cs
modifié : src/GraphicObjects/FileDialog.cs
modifié : src/GraphicObjects/GraphicObject.cs
modifié : src/GraphicObjects/MessageBox.cs
modifié : src/Instantiator.cs
modifié : src/Interface.cs
modifié : src/ItemTemplate.cs
Diffstat (limited to 'CrowIDE/ui/ProjectTree.template')
| -rw-r--r-- | CrowIDE/ui/ProjectTree.template | 86 |
1 files changed, 86 insertions, 0 deletions
diff --git a/CrowIDE/ui/ProjectTree.template b/CrowIDE/ui/ProjectTree.template new file mode 100644 index 00000000..8ca36b5c --- /dev/null +++ b/CrowIDE/ui/ProjectTree.template @@ -0,0 +1,86 @@ +<?xml version="1.0"?> +<ItemTemplate> + <Label Text="{}" Background="DarkRed" Foreground="White"/> +</ItemTemplate> +<ItemTemplate DataType="CrowIDE.Project" Data="RootItems"> + <Expandable Caption="{Name}" Template="#Crow.TreeExpandable.template" > + <HorizontalStack Height="Fit"> + <GraphicObject Width="8" Height="10"/> + <TreeView Name="List" Height="Fit" DataTest="Type" + Template="#Crow.Templates.treeList.template" /> + </HorizontalStack> + </Expandable> +</ItemTemplate> +<ItemTemplate DataType="ReferenceGroup" Data="ChildNodes"> + <Expandable Caption="{DisplayName}" Template="#Crow.TreeExpandable.template" > + <HorizontalStack Height="Fit"> + <GraphicObject Width="8" Height="10"/> + <TreeView Name="List" Height="Fit" DataTest="Type" + Template="#Crow.Templates.treeList.template" /> + </HorizontalStack> + </Expandable> +</ItemTemplate> +<ItemTemplate DataType="VirtualGroup" Data="ChildNodes"> + <Expandable Caption="{DisplayName}" Template="#Crow.TreeExpandable.template" > + <HorizontalStack Height="Fit"> + <GraphicObject Width="8" Height="10"/> + <TreeView Name="List" Height="Fit" DataTest="Type" + Template="#Crow.Templates.treeList.template" /> + </HorizontalStack> + </Expandable> +</ItemTemplate> +<ItemTemplate DataType="Folder"> + <Border CornerRadius="2" Margin="0" Focusable="true" Height="Fit" Width="Stretched" Foreground="Transparent" + MouseEnter="{Foreground=DimGray}" + MouseLeave="{Foreground=Transparent}"> + <HorizontalStack> + <Image Margin="1" Width="14" Height="14" + Path="#Crow.Icons.folder.svg"/> + <Label Text="{DisplayName}" Width="Stretched"/> + </HorizontalStack> + </Border> +</ItemTemplate> +<ItemTemplate DataType="Reference"> + <Border CornerRadius="2" Margin="0" Focusable="true" Height="Fit" Width="Stretched" Foreground="Transparent" + MouseEnter="{Foreground=DimGray}" + MouseLeave="{Foreground=Transparent}"> + <HorizontalStack> + <Image Margin="1" Width="14" Height="14" + Path="#Crow.Icons.assembly.svg"/> + <Label Text="{DisplayName}" Width="Stretched"/> + </HorizontalStack> + </Border> +</ItemTemplate> +<ItemTemplate DataType="Compile"> + <Border CornerRadius="2" Margin="0" Focusable="true" Height="Fit" Width="Stretched" Foreground="Transparent" + MouseEnter="{Foreground=DimGray}" + MouseLeave="{Foreground=Transparent}"> + <HorizontalStack> + <Image Margin="1" Width="14" Height="14" + Path="#Crow.Icons.file.svg"/> + <Label Text="{DisplayName}" Width="Stretched"/> + </HorizontalStack> + </Border> +</ItemTemplate> +<ItemTemplate DataType="EmbeddedResource"> + <Border CornerRadius="2" Margin="0" Focusable="true" Height="Fit" Width="Stretched" Foreground="Transparent" + MouseEnter="{Foreground=DimGray}" + MouseLeave="{Foreground=Transparent}"> + <HorizontalStack> + <Image Margin="1" Width="14" Height="14" + Path="#Crow.Icons.file.svg"/> + <Label Text="{DisplayName}" Width="Stretched"/> + </HorizontalStack> + </Border> +</ItemTemplate> +<ItemTemplate DataType="None"> + <Border CornerRadius="2" Margin="0" Focusable="true" Height="Fit" Width="Stretched" Foreground="Transparent" + MouseEnter="{Foreground=DimGray}" + MouseLeave="{Foreground=Transparent}"> + <HorizontalStack> + <Image Margin="1" Width="14" Height="14" + Path="#Crow.Icons.file.svg"/> + <Label Text="{DisplayName}" Width="Stretched"/> + </HorizontalStack> + </Border> +</ItemTemplate> |