049126798b
- modifiche per gestione PAN, ROTATE e ZOOMWIN - aggiunta possibilità di cancellare porte o finsetre mentre si sta definendo una parete - migliorata selezione pezzi, ora solo su tasto sinistro (come touch).
58 lines
2.6 KiB
XML
58 lines
2.6 KiB
XML
<UserControl x:Class="SceneButtonsUC"
|
|
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"
|
|
mc:Ignorable="d"
|
|
d:DesignHeight="64" d:DesignWidth="455">
|
|
|
|
<!-- Chiamata al Dictionary -->
|
|
<UserControl.Resources>
|
|
<ResourceDictionary Source="SarmaxWallDictionary.xaml"/>
|
|
</UserControl.Resources>
|
|
|
|
<!-- Definizione del controllo SceneButton -->
|
|
<Grid Name="SceneButtonsGrid">
|
|
<Grid.ColumnDefinitions>
|
|
<ColumnDefinition Width="1*"/>
|
|
<ColumnDefinition Width="1*"/>
|
|
<ColumnDefinition Width="1*"/>
|
|
<ColumnDefinition Width="1*"/>
|
|
<ColumnDefinition Width="1*"/>
|
|
<ColumnDefinition Width="1*"/>
|
|
<ColumnDefinition Width="1*"/>
|
|
</Grid.ColumnDefinitions>
|
|
|
|
<Button Name="ZoomAllBtn" Grid.Column="0" >
|
|
<Image Source="Resources/ZoomAll.png" Width="65" Height="65" HorizontalAlignment="Center"
|
|
VerticalAlignment="Center" />
|
|
</Button>
|
|
<Button Name="ZoomInBtn" Grid.Column="1" >
|
|
<Image Source="Resources/ZoomIn.png" Width="65" Height="65" HorizontalAlignment="Center"
|
|
VerticalAlignment="Center" />
|
|
</Button>
|
|
<Button Name="ZoomOutBtn" Grid.Column="2" >
|
|
<Image Source="Resources/ZoomOut.png" Width="65" Height="65" HorizontalAlignment="Center"
|
|
VerticalAlignment="Center" />
|
|
</Button>
|
|
<Button Name="ZoomWinBtn" Grid.Column="3" >
|
|
<Image Source="Resources/ZoomWin.png" Width="65" Height="65" HorizontalAlignment="Center"
|
|
VerticalAlignment="Center" />
|
|
</Button>
|
|
<Button Name="PanBtn" Grid.Column="4" >
|
|
<Image Source="Resources/Pan.png" Width="65" Height="65" HorizontalAlignment="Center"
|
|
VerticalAlignment="Center" />
|
|
</Button>
|
|
<Button Name="GenericViewBtn" Grid.Column="5">
|
|
<Image Source="Resources/GenericView.png" Width="65" Height="65" HorizontalAlignment="Center"
|
|
VerticalAlignment="Center" />
|
|
</Button>
|
|
<Button Name="TopViewBtn" Grid.Column="6">
|
|
<Image Source="Resources/LookFromTOP.png" Width="65" Height="65" HorizontalAlignment="Center"
|
|
VerticalAlignment="Center" />
|
|
</Button>
|
|
|
|
</Grid>
|
|
|
|
</UserControl>
|