Integration of treeview manipulation icons

This commit is contained in:
Adrien Allard committed 2019-07-11 19:21:26 +02:00
1 parent bfe938138a
commit 6da4670f84
6 files changed
+30 -10

No files matched your search

@@ -402,6 +402,18 @@
<ItemGroup>
<Resource Include="Resources\FolderIcon.ico" />
</ItemGroup>
<ItemGroup>
<Resource Include="Resources\UpIcon.ico" />
</ItemGroup>
<ItemGroup>
<Resource Include="Resources\DownIcon.ico" />
</ItemGroup>
<ItemGroup>
<Resource Include="Resources\PresetIcon.ico" />
</ItemGroup>
<ItemGroup>
<Resource Include="Resources\DeleteIcon.ico" />
</ItemGroup>
<Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" />
<PropertyGroup>
<PostBuildEvent>copy /Y "$(SolutionDir)Middleware\ffmpeg\$(PlatformName)\ffmpeg.exe" "$(TargetDir)ffmpeg.exe"
Binary file not shown.

After

Width:  |  Height:  |  Size: 17 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 17 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 17 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 17 KiB

@@ -131,23 +131,31 @@
</TreeView>
<DockPanel Grid.Row="1" Margin="0,5,0,0" HorizontalAlignment="Center">
<Button HorizontalAlignment="Left" Width="25" Margin="0,0,2,0"
<Button Width="25" Margin="2,0"
ToolTip="{x:Static project:Resources.MoveUpSelectedPreset}"
Command="{Binding MovePresetUpCommand}">
<Image Source="{Binding Source=/FileConverter;component/Resources/UpIcon.ico, Converter={StaticResource IcoFileSizeSelector}, ConverterParameter=48}" />
</Button>
<Button Width="25" Margin="0,0,2,0"
ToolTip="{x:Static project:Resources.CreateANewFolder}"
Command="{Binding CreateFolderCommand}">
<Image Source="{Binding Source=/FileConverter;component/Resources/FolderIcon.ico, Converter={StaticResource IcoFileSizeSelector}, ConverterParameter=48}" />
</Button>
<Button Content="^" HorizontalAlignment="Left" Width="25" Margin="2,0"
ToolTip="{x:Static project:Resources.MoveUpSelectedPreset}"
Command="{Binding MovePresetUpCommand}"/>
<Button Content="+" HorizontalAlignment="Left" Width="25" Margin="2,0"
<Button Width="25" Margin="2,0"
ToolTip="{x:Static project:Resources.AddNewPreset}"
Command="{Binding AddNewPresetCommand}"/>
<Button Content="-" HorizontalAlignment="Left" Width="25" Margin="2,0"
Command="{Binding AddNewPresetCommand}">
<Image Source="{Binding Source=/FileConverter;component/Resources/PresetIcon.ico, Converter={StaticResource IcoFileSizeSelector}, ConverterParameter=48}" />
</Button>
<Button Width="25" Margin="2,0"
ToolTip="{x:Static project:Resources.RemoveSelectedPreset}"
Command="{Binding RemoveSelectedPresetCommand}"/>
<Button Content="v" HorizontalAlignment="Left" Width="25" Margin="2,0,0,0"
Command="{Binding RemoveSelectedPresetCommand}">
<Image Source="{Binding Source=/FileConverter;component/Resources/DeleteIcon.ico, Converter={StaticResource IcoFileSizeSelector}, ConverterParameter=48}" />
</Button>
<Button Width="25" Margin="2,0,0,0"
ToolTip="{x:Static project:Resources.MoveDownSelectedPreset}"
Command="{Binding MovePresetDownCommand}"/>
Command="{Binding MovePresetDownCommand}">
<Image Source="{Binding Source=/FileConverter;component/Resources/DownIcon.ico, Converter={StaticResource IcoFileSizeSelector}, ConverterParameter=48}" />
</Button>
<TextBlock Margin="5,5,0,0">
<Hyperlink CommandParameter="https://github.com/Tichau/FileConverter/wiki/How-to-create-a-new-custom-preset%3F" Command="{Binding OpenUrlCommand, Mode=OneWay}" Foreground="#1E6BB8"><x:Static Member="project:Resources.Help" /></Hyperlink>
</TextBlock>