diff options
| author | Shlomo Hecht <shlomo@twine-s.com> | 2019-03-28 10:55:56 +0200 |
|---|---|---|
| committer | Shlomo Hecht <shlomo@twine-s.com> | 2019-03-28 10:55:56 +0200 |
| commit | 36f19301ac0cc27d74b73eb4b31fdecfd86f5060 (patch) | |
| tree | e4f4a636f4a2dc03376e6eff2077ced4079429ed /Software/Visual_Studio/TEMP/Tango.Scripting/Tango.Scripting.IDE/ScriptIDEView2.xaml | |
| parent | 1ea2a13900697e203658ff8c9489b70866792a49 (diff) | |
| parent | b62c4b8b67b3103c691564df80f65423a9c315a0 (diff) | |
| download | Tango-36f19301ac0cc27d74b73eb4b31fdecfd86f5060.tar.gz Tango-36f19301ac0cc27d74b73eb4b31fdecfd86f5060.zip | |
Merge branch 'master' of https://twinetfs.visualstudio.com/Tango/_git/Tango
Diffstat (limited to 'Software/Visual_Studio/TEMP/Tango.Scripting/Tango.Scripting.IDE/ScriptIDEView2.xaml')
| -rw-r--r-- | Software/Visual_Studio/TEMP/Tango.Scripting/Tango.Scripting.IDE/ScriptIDEView2.xaml | 136 |
1 files changed, 136 insertions, 0 deletions
diff --git a/Software/Visual_Studio/TEMP/Tango.Scripting/Tango.Scripting.IDE/ScriptIDEView2.xaml b/Software/Visual_Studio/TEMP/Tango.Scripting/Tango.Scripting.IDE/ScriptIDEView2.xaml new file mode 100644 index 000000000..a28101a17 --- /dev/null +++ b/Software/Visual_Studio/TEMP/Tango.Scripting/Tango.Scripting.IDE/ScriptIDEView2.xaml @@ -0,0 +1,136 @@ +<UserControl x:Class="Tango.Scripting.IDE.ScriptIDEView2" + xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" + xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" + xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006" + xmlns:d="http://schemas.microsoft.com/expression/blend/2008" + xmlns:local="clr-namespace:Tango.Scripting.IDE" + xmlns:fa="http://schemas.fontawesome.io/icons/" + xmlns:controls="clr-namespace:Tango.Scripting.IDE.Controls" + mc:Ignorable="d" + d:DesignHeight="450" d:DesignWidth="800" d:DataContext="{d:DesignInstance Type=local:ScriptIDEViewVM, IsDesignTimeCreatable=False}" x:Name="control"> + <UserControl.Resources> + <ResourceDictionary> + <ResourceDictionary.MergedDictionaries> + <ResourceDictionary Source="Themes/DarkThemesColors.xaml"/> + <ResourceDictionary Source="Themes/Shared.xaml"/> + </ResourceDictionary.MergedDictionaries> + </ResourceDictionary> + </UserControl.Resources> + <Grid Background="{DynamicResource Background.Static}"> + <Grid.RowDefinitions> + <RowDefinition Height="Auto" ></RowDefinition> + <RowDefinition Height="Auto"></RowDefinition> + <RowDefinition Height="*"></RowDefinition> + </Grid.RowDefinitions> + <Menu Grid.Row="0" HorizontalAlignment="Stretch" Margin="0,0,0,0" Style="{DynamicResource TangoMenuStyle}"> + <MenuItem Header="File"> + <MenuItem Header="New"></MenuItem> + <MenuItem Header="Open"></MenuItem> + <MenuItem Header="Start page"></MenuItem> + <Separator/> + <MenuItem Header="Add"></MenuItem> + <Separator/> + <MenuItem Header="Close"></MenuItem> + <Separator/> + <MenuItem Header="Save"> + <MenuItem.Icon> + <Image Source="/Tango.Scripting.IDE;component/Images/Save_16x.png" Height="10"/> + </MenuItem.Icon> + </MenuItem> + <MenuItem Header="SaveAll"> + <MenuItem.Icon> + <Image Source="/Tango.Scripting.IDE;component/Images/SaveAll_16x.png" Height="10"/> + </MenuItem.Icon> + </MenuItem> + <Separator/> + <MenuItem Header="Exit"></MenuItem> + </MenuItem> + <MenuItem Header="Edit"></MenuItem> + <MenuItem Header="View"></MenuItem> + <MenuItem Header="Project"></MenuItem> + <MenuItem Header="Build"></MenuItem> + <MenuItem Header="Debug"></MenuItem> + <MenuItem Header="Tools"></MenuItem> + <MenuItem Header="Theme"></MenuItem> + </Menu> + <ToolBarTray Grid.Row="1" Background="{DynamicResource Background.Static}" Width="Auto" Orientation="Horizontal"> + <ToolBar Style="{DynamicResource TangoToolBarStyle}" Background="{DynamicResource Background.Static}" Height="30" HorizontalAlignment="Left" Foreground="{DynamicResource ControlForegroundKey}"> + + <Button Click="Button_Click" ToolTip="New Project"> + <Image Source="/Tango.Scripting.IDE;component/Images/NewFileCollection_16x.png" Height="16"/> + </Button> + <Button Click="Button_Click" ToolTip="Open File"> + <Image Source="/Tango.Scripting.IDE;component/Images/OpenFolder_16x.png" Height="16"/> + </Button> + <Button Click="Button_Click" ToolTip="Open File"> + <Image Source="/Tango.Scripting.IDE;component/Images/Save_16x.png" Height="16"/> + </Button> + <Button Click="Button_Click" ToolTip="Open File"> + <Image Source="/Tango.Scripting.IDE;component/Images/SaveAll_16x.png" Height="16"/> + </Button> + <Separator ></Separator> + <ComboBox Style="{DynamicResource TangoComboboxStyle}" Margin="2" x:Name="cmb2" SelectedIndex="0" HorizontalContentAlignment="Stretch" Width="100" > + <ComboBoxItem IsSelected="True">Debug</ComboBoxItem> + <ComboBoxItem >Release</ComboBoxItem> + <ComboBoxItem>Configuration Manager...</ComboBoxItem> + </ComboBox> + <Button Foreground="White" Click="Button_Click" Content="Cut" ToolBar.OverflowMode="Always" /> + </ToolBar> + </ToolBarTray> + <Grid Grid.Row="2"> + <Grid.ColumnDefinitions> + <ColumnDefinition Width="1*" MinWidth="100" /> + <ColumnDefinition Width="5"/> + <ColumnDefinition Width="300" MinWidth="20" /> + </Grid.ColumnDefinitions> + + <Grid> + <Grid.RowDefinitions> + <RowDefinition Height="1*" MinHeight="100" /> + <RowDefinition Height="5"/> + <RowDefinition Height="100" MinHeight="20" /> + </Grid.RowDefinitions> + + <Grid> + <TabControl Foreground="{DynamicResource ControlForegroundKey}" ItemsSource="{Binding OpenProjectItems}" SelectedItem="{Binding SelectedProjectItem}" Style="{DynamicResource TangoTabControlStyle}"> + <TabControl.ItemTemplate> + <DataTemplate> + <TextBlock Text="{Binding Name}" Foreground="Gainsboro" VerticalAlignment="Center"></TextBlock> + </DataTemplate> + </TabControl.ItemTemplate> + <TabControl.ContentTemplate> + <DataTemplate> + <ContentPresenter Content="{Binding View}" /> + </DataTemplate> + </TabControl.ContentTemplate> + </TabControl> + + </Grid> + + <GridSplitter HorizontalAlignment="Stretch" VerticalAlignment="Stretch" Grid.Row="1" Background="{DynamicResource Background.Static}" /> + <Grid Grid.Row="2" Background="{DynamicResource Background.Static}"> + <Border BorderThickness="0" Margin="1,0,0,2"> + <TabControl TabStripPlacement="Bottom" Style="{DynamicResource TangoTabControlStyle}"> + <TabItem Header="Error list">error list</TabItem> + <TabItem Header="Output">output</TabItem> + </TabControl> + </Border> + </Grid> + </Grid> + + <GridSplitter HorizontalAlignment="Stretch" VerticalAlignment="Stretch" Grid.Column="1" Background="{DynamicResource Background.Static}" /> + + <Grid Grid.Column="2"> + <GroupBox Margin="0,0,5,5" Header="Solution Explorer" BorderThickness="1" Style="{DynamicResource TangoGroupBoxStyle}" > + <TreeView Style="{DynamicResource TangoTreeViewStyle}" ItemsSource="{Binding Solution.Projects}" Background="{DynamicResource TabItem.Content.Static}" > + <TreeView.ItemTemplate> + <HierarchicalDataTemplate ItemsSource="{Binding Path=Items}" DataType="{x:Type local:IProject}"> + <controls:SolutionItemControl SolutionItem="{Binding}" OpenCommand="{Binding ElementName=control,Path=DataContext.OpenProjectItemCommand}" /> + </HierarchicalDataTemplate> + </TreeView.ItemTemplate> + </TreeView> + </GroupBox> + </Grid> + </Grid> + </Grid> +</UserControl> |
