source: trunk/CrypPlugins/MD5/Presentation/States/RoundStepPresentation.xaml @ 1488

Last change on this file since 1488 was 1488, checked in by pretzsch, 12 years ago

MD5 visualization: Fixed and improved presentation of parsed data block integers

File size: 25.5 KB
Line 
1<UserControl
2    xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
3    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
4    xmlns:Cryptool_MD5_Presentation_Displays="clr-namespace:Cryptool.MD5.Presentation.Displays" xmlns:d="http://schemas.microsoft.com/expression/blend/2008" xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006" x:Class="Cryptool.MD5.Presentation.States.RoundStepPresentation"
5    Height="400" Width="800" mc:Ignorable="d" IsVisibleChanged="UserControl_IsVisibleChanged">
6    <UserControl.Resources>
7        <ResourceDictionary>
8            <ResourceDictionary.MergedDictionaries>
9                <ResourceDictionary Source="StyleDictionary.xaml"/>
10            </ResourceDictionary.MergedDictionaries>
11            <Color x:Key="colorHighlight">#FFFF8D00</Color>
12            <Color x:Key="colorNormal">Black</Color>
13            <Storyboard x:Key="LineFadeStoryboard">
14                <ColorAnimationUsingKeyFrames BeginTime="00:00:00" Storyboard.TargetName="path2" Storyboard.TargetProperty="(Shape.Stroke).(SolidColorBrush.Color)">
15                    <SplineColorKeyFrame KeyTime="00:00:00" Value="Black"/>
16                        <SplineColorKeyFrame KeyTime="00:00:00.5000000" Value="Black"/>
17                        <SplineColorKeyFrame KeyTime="00:00:01" Value="#FFFF8D00"/>
18                        <SplineColorKeyFrame KeyTime="00:00:02" Value="Black"/>
19                </ColorAnimationUsingKeyFrames>
20                <ColorAnimationUsingKeyFrames BeginTime="00:00:00" Storyboard.TargetName="path3" Storyboard.TargetProperty="(Shape.Stroke).(SolidColorBrush.Color)">
21                    <SplineColorKeyFrame KeyTime="00:00:00" Value="Black"/>
22                        <SplineColorKeyFrame KeyTime="00:00:00.5000000" Value="Black"/>
23                        <SplineColorKeyFrame KeyTime="00:00:01" Value="#FFFF8D00"/>
24                        <SplineColorKeyFrame KeyTime="00:00:02" Value="Black"/>
25                </ColorAnimationUsingKeyFrames>
26                <ColorAnimationUsingKeyFrames BeginTime="00:00:00" Storyboard.TargetName="path1" Storyboard.TargetProperty="(Shape.Stroke).(SolidColorBrush.Color)">
27                    <SplineColorKeyFrame KeyTime="00:00:00" Value="Black"/>
28                        <SplineColorKeyFrame KeyTime="00:00:00.5000000" Value="Black"/>
29                        <SplineColorKeyFrame KeyTime="00:00:01" Value="#FFFF8D00"/>
30                        <SplineColorKeyFrame KeyTime="00:00:02" Value="Black"/>
31                </ColorAnimationUsingKeyFrames>
32                <ColorAnimationUsingKeyFrames BeginTime="00:00:00" Storyboard.TargetName="path6" Storyboard.TargetProperty="(Shape.Stroke).(SolidColorBrush.Color)">
33                    <SplineColorKeyFrame KeyTime="00:00:00" Value="Black"/>
34                    <SplineColorKeyFrame KeyTime="00:00:02.5000000" Value="{StaticResource colorNormal}"/>
35                    <SplineColorKeyFrame KeyTime="00:00:03" Value="#FFFF8D00"/>
36                    <SplineColorKeyFrame KeyTime="00:00:04" Value="Black"/>
37                </ColorAnimationUsingKeyFrames>
38                <ColorAnimationUsingKeyFrames BeginTime="00:00:00" Storyboard.TargetName="path7" Storyboard.TargetProperty="(Shape.Stroke).(SolidColorBrush.Color)">
39                    <SplineColorKeyFrame KeyTime="00:00:00" Value="Black"/>
40                        <SplineColorKeyFrame KeyTime="00:00:02.5000000" Value="{StaticResource colorNormal}"/>
41                        <SplineColorKeyFrame KeyTime="00:00:03" Value="#FFFF8D00"/>
42                        <SplineColorKeyFrame KeyTime="00:00:04" Value="Black"/>
43                </ColorAnimationUsingKeyFrames>
44                <ColorAnimationUsingKeyFrames BeginTime="00:00:00" Storyboard.TargetName="path8" Storyboard.TargetProperty="(Shape.Stroke).(SolidColorBrush.Color)">
45                    <SplineColorKeyFrame KeyTime="00:00:00" Value="Black"/>
46                        <SplineColorKeyFrame KeyTime="00:00:03.5000000" Value="{StaticResource colorNormal}"/>
47                        <SplineColorKeyFrame KeyTime="00:00:04" Value="#FFFF8D00"/>
48                        <SplineColorKeyFrame KeyTime="00:00:05" Value="Black"/>
49                </ColorAnimationUsingKeyFrames>
50                <ColorAnimationUsingKeyFrames BeginTime="00:00:00" Storyboard.TargetName="path9" Storyboard.TargetProperty="(Shape.Stroke).(SolidColorBrush.Color)">
51                    <SplineColorKeyFrame KeyTime="00:00:00" Value="Black"/>
52                        <SplineColorKeyFrame KeyTime="00:00:03.5000000" Value="{StaticResource colorNormal}"/>
53                        <SplineColorKeyFrame KeyTime="00:00:04" Value="#FFFF8D00"/>
54                        <SplineColorKeyFrame KeyTime="00:00:05" Value="Black"/>
55                </ColorAnimationUsingKeyFrames>
56                <ColorAnimationUsingKeyFrames BeginTime="00:00:00" Storyboard.TargetName="path10" Storyboard.TargetProperty="(Shape.Stroke).(SolidColorBrush.Color)">
57                    <SplineColorKeyFrame KeyTime="00:00:00" Value="Black"/>
58                        <SplineColorKeyFrame KeyTime="00:00:04.5000000" Value="{StaticResource colorNormal}"/>
59                        <SplineColorKeyFrame KeyTime="00:00:05" Value="#FFFF8D00"/>
60                        <SplineColorKeyFrame KeyTime="00:00:06" Value="{StaticResource colorNormal}"/>
61                </ColorAnimationUsingKeyFrames>
62                <ColorAnimationUsingKeyFrames BeginTime="00:00:00" Storyboard.TargetName="path11" Storyboard.TargetProperty="(Shape.Stroke).(SolidColorBrush.Color)">
63                    <SplineColorKeyFrame KeyTime="00:00:00" Value="Black"/>
64                        <SplineColorKeyFrame KeyTime="00:00:04.5000000" Value="{StaticResource colorNormal}"/>
65                        <SplineColorKeyFrame KeyTime="00:00:05" Value="#FFFF8D00"/>
66                        <SplineColorKeyFrame KeyTime="00:00:06" Value="{StaticResource colorNormal}"/>
67                </ColorAnimationUsingKeyFrames>
68                <ColorAnimationUsingKeyFrames BeginTime="00:00:00" Storyboard.TargetName="path12" Storyboard.TargetProperty="(Shape.Stroke).(SolidColorBrush.Color)">
69                    <SplineColorKeyFrame KeyTime="00:00:00" Value="Black"/>
70                        <SplineColorKeyFrame KeyTime="00:00:05.5000000" Value="{StaticResource colorNormal}"/>
71                        <SplineColorKeyFrame KeyTime="00:00:06" Value="#FFFF8D00"/>
72                        <SplineColorKeyFrame KeyTime="00:00:07" Value="#FFFF8D00"/>
73                        <SplineColorKeyFrame KeyTime="00:00:08" Value="Black"/>
74                </ColorAnimationUsingKeyFrames>
75                <ColorAnimationUsingKeyFrames BeginTime="00:00:00" Storyboard.TargetName="path13" Storyboard.TargetProperty="(Shape.Stroke).(SolidColorBrush.Color)">
76                    <SplineColorKeyFrame KeyTime="00:00:00" Value="Black"/>
77                        <SplineColorKeyFrame KeyTime="00:00:05.5000000" Value="{StaticResource colorNormal}"/>
78                        <SplineColorKeyFrame KeyTime="00:00:06" Value="#FFFF8D00"/>
79                        <SplineColorKeyFrame KeyTime="00:00:07" Value="Black"/>
80                </ColorAnimationUsingKeyFrames>
81                <ColorAnimationUsingKeyFrames BeginTime="00:00:00" Storyboard.TargetName="path14" Storyboard.TargetProperty="(Shape.Stroke).(SolidColorBrush.Color)">
82                    <SplineColorKeyFrame KeyTime="00:00:00" Value="Black"/>
83                        <SplineColorKeyFrame KeyTime="00:00:05.5000000" Value="{StaticResource colorNormal}"/>
84                        <SplineColorKeyFrame KeyTime="00:00:06" Value="#FFFF8D00"/>
85                        <SplineColorKeyFrame KeyTime="00:00:07" Value="Black"/>
86                </ColorAnimationUsingKeyFrames>
87                <ColorAnimationUsingKeyFrames BeginTime="00:00:00" Storyboard.TargetName="path12_Copy" Storyboard.TargetProperty="(Shape.Stroke).(SolidColorBrush.Color)">
88                    <SplineColorKeyFrame KeyTime="00:00:00" Value="Black"/>
89                        <SplineColorKeyFrame KeyTime="00:00:06.5000000" Value="{StaticResource colorNormal}"/>
90                        <SplineColorKeyFrame KeyTime="00:00:07" Value="#FFFF8D00"/>
91                        <SplineColorKeyFrame KeyTime="00:00:08" Value="Black"/>
92                </ColorAnimationUsingKeyFrames>
93                <ColorAnimationUsingKeyFrames BeginTime="00:00:00" Storyboard.TargetName="path15" Storyboard.TargetProperty="(Shape.Stroke).(SolidColorBrush.Color)">
94                    <SplineColorKeyFrame KeyTime="00:00:00" Value="Black"/>
95                        <SplineColorKeyFrame KeyTime="00:00:06.5000000" Value="{StaticResource colorNormal}"/>
96                        <SplineColorKeyFrame KeyTime="00:00:07" Value="#FFFF8D00"/>
97                        <SplineColorKeyFrame KeyTime="00:00:08" Value="Black"/>
98                </ColorAnimationUsingKeyFrames>
99                <ColorAnimationUsingKeyFrames BeginTime="00:00:00" Storyboard.TargetName="path16" Storyboard.TargetProperty="(Shape.Stroke).(SolidColorBrush.Color)">
100                    <SplineColorKeyFrame KeyTime="00:00:00" Value="Black"/>
101                        <SplineColorKeyFrame KeyTime="00:00:06.5000000" Value="{StaticResource colorNormal}"/>
102                        <SplineColorKeyFrame KeyTime="00:00:07" Value="#FFFF8D00"/>
103                        <SplineColorKeyFrame KeyTime="00:00:08" Value="Black"/>
104                </ColorAnimationUsingKeyFrames>
105                <ColorAnimationUsingKeyFrames BeginTime="00:00:00" Storyboard.TargetName="path17" Storyboard.TargetProperty="(Shape.Stroke).(SolidColorBrush.Color)">
106                    <SplineColorKeyFrame KeyTime="00:00:00" Value="Black"/>
107                        <SplineColorKeyFrame KeyTime="00:00:06.5000000" Value="{StaticResource colorNormal}"/>
108                        <SplineColorKeyFrame KeyTime="00:00:07" Value="#FFFF8D00"/>
109                        <SplineColorKeyFrame KeyTime="00:00:08" Value="Black"/>
110                </ColorAnimationUsingKeyFrames>
111                <ColorAnimationUsingKeyFrames BeginTime="00:00:00" Storyboard.TargetName="path6" Storyboard.TargetProperty="(Shape.Fill).(SolidColorBrush.Color)">
112                    <SplineColorKeyFrame KeyTime="00:00:00" Value="White"/>
113                    <SplineColorKeyFrame KeyTime="00:00:02.5000000" Value="Black"/>
114                    <SplineColorKeyFrame KeyTime="00:00:03" Value="White"/>
115                </ColorAnimationUsingKeyFrames>
116                <ColorAnimationUsingKeyFrames BeginTime="00:00:00" Storyboard.TargetName="path7" Storyboard.TargetProperty="(Shape.Fill).(SolidColorBrush.Color)">
117                    <SplineColorKeyFrame KeyTime="00:00:00" Value="White"/>
118                        <SplineColorKeyFrame KeyTime="00:00:02.5000000" Value="Black"/>
119                        <SplineColorKeyFrame KeyTime="00:00:03" Value="White"/>
120                </ColorAnimationUsingKeyFrames>
121                <ColorAnimationUsingKeyFrames BeginTime="00:00:00" Storyboard.TargetName="path8" Storyboard.TargetProperty="(Shape.Fill).(SolidColorBrush.Color)">
122                    <SplineColorKeyFrame KeyTime="00:00:00" Value="White"/>
123                        <SplineColorKeyFrame KeyTime="00:00:03.5000000" Value="{StaticResource colorNormal}"/>
124                        <SplineColorKeyFrame KeyTime="00:00:04" Value="White"/>
125                </ColorAnimationUsingKeyFrames>
126                <ColorAnimationUsingKeyFrames BeginTime="00:00:00" Storyboard.TargetName="path9" Storyboard.TargetProperty="(Shape.Fill).(SolidColorBrush.Color)">
127                    <SplineColorKeyFrame KeyTime="00:00:00" Value="White"/>
128                        <SplineColorKeyFrame KeyTime="00:00:03.5000000" Value="{StaticResource colorNormal}"/>
129                        <SplineColorKeyFrame KeyTime="00:00:04" Value="White"/>
130                </ColorAnimationUsingKeyFrames>
131                <ColorAnimationUsingKeyFrames BeginTime="00:00:00" Storyboard.TargetName="path4" Storyboard.TargetProperty="(Shape.Fill).(SolidColorBrush.Color)">
132                    <SplineColorKeyFrame KeyTime="00:00:00" Value="White"/>
133                        <SplineColorKeyFrame KeyTime="00:00:01.5000000" Value="{StaticResource colorNormal}"/>
134                        <SplineColorKeyFrame KeyTime="00:00:02" Value="White"/>
135                </ColorAnimationUsingKeyFrames>
136                <ColorAnimationUsingKeyFrames BeginTime="00:00:00" Storyboard.TargetName="path5" Storyboard.TargetProperty="(Shape.Fill).(SolidColorBrush.Color)">
137                    <SplineColorKeyFrame KeyTime="00:00:00" Value="White"/>
138                        <SplineColorKeyFrame KeyTime="00:00:01.5000000" Value="{StaticResource colorNormal}"/>
139                        <SplineColorKeyFrame KeyTime="00:00:02" Value="White"/>
140                </ColorAnimationUsingKeyFrames>
141                <ColorAnimationUsingKeyFrames BeginTime="00:00:00" Storyboard.TargetName="path2" Storyboard.TargetProperty="(Shape.Fill).(SolidColorBrush.Color)">
142                        <SplineColorKeyFrame KeyTime="00:00:00" Value="Black"/>
143                        <SplineColorKeyFrame KeyTime="00:00:00.5000000" Value="Black"/>
144                        <SplineColorKeyFrame KeyTime="00:00:01" Value="#FFFF8D00"/>
145                        <SplineColorKeyFrame KeyTime="00:00:02" Value="White"/>
146                </ColorAnimationUsingKeyFrames>
147                <ColorAnimationUsingKeyFrames BeginTime="00:00:00" Storyboard.TargetName="path3" Storyboard.TargetProperty="(Shape.Fill).(SolidColorBrush.Color)">
148                        <SplineColorKeyFrame KeyTime="00:00:00" Value="Black"/>
149                        <SplineColorKeyFrame KeyTime="00:00:00.5000000" Value="Black"/>
150                        <SplineColorKeyFrame KeyTime="00:00:01" Value="#FFFF8D00"/>
151                        <SplineColorKeyFrame KeyTime="00:00:02" Value="White"/>
152                </ColorAnimationUsingKeyFrames>
153                <ColorAnimationUsingKeyFrames BeginTime="00:00:00" Storyboard.TargetName="path1" Storyboard.TargetProperty="(Shape.Fill).(SolidColorBrush.Color)">
154                        <SplineColorKeyFrame KeyTime="00:00:00" Value="Black"/>
155                        <SplineColorKeyFrame KeyTime="00:00:00.5000000" Value="Black"/>
156                        <SplineColorKeyFrame KeyTime="00:00:01" Value="#FFFF8D00"/>
157                        <SplineColorKeyFrame KeyTime="00:00:02" Value="White"/>
158                </ColorAnimationUsingKeyFrames>
159                <ColorAnimationUsingKeyFrames BeginTime="00:00:00" Storyboard.TargetName="path4" Storyboard.TargetProperty="(Shape.Stroke).(SolidColorBrush.Color)">
160                        <SplineColorKeyFrame KeyTime="00:00:00" Value="Black"/>
161                        <SplineColorKeyFrame KeyTime="00:00:01.5000000" Value="{StaticResource colorNormal}"/>
162                        <SplineColorKeyFrame KeyTime="00:00:02" Value="{StaticResource colorHighlight}"/>
163                        <SplineColorKeyFrame KeyTime="00:00:03" Value="{StaticResource colorNormal}"/>
164                </ColorAnimationUsingKeyFrames>
165                <ColorAnimationUsingKeyFrames BeginTime="00:00:00" Storyboard.TargetName="path5" Storyboard.TargetProperty="(Shape.Stroke).(SolidColorBrush.Color)">
166                        <SplineColorKeyFrame KeyTime="00:00:00" Value="Black"/>
167                        <SplineColorKeyFrame KeyTime="00:00:01.5000000" Value="{StaticResource colorNormal}"/>
168                        <SplineColorKeyFrame KeyTime="00:00:02" Value="{StaticResource colorHighlight}"/>
169                        <SplineColorKeyFrame KeyTime="00:00:03" Value="{StaticResource colorNormal}"/>
170                </ColorAnimationUsingKeyFrames>
171            </Storyboard>
172        </ResourceDictionary>
173    </UserControl.Resources>
174    <Grid>
175
176        <Path x:Name="path12_Copy" Fill="White" Stretch="Fill"  Stroke="Black" HorizontalAlignment="Right" Margin="0,0,293,39.5" Width="1" Data="M506,62 L506,351.5" RenderTransformOrigin="0.5,0.5" VerticalAlignment="Bottom" Height="113">
177            <Path.RenderTransform>
178                <TransformGroup>
179                    <ScaleTransform/>
180                    <SkewTransform/>
181                    <RotateTransform/>
182                    <TranslateTransform/>
183                </TransformGroup>
184            </Path.RenderTransform>
185        </Path>
186        <Path x:Name="path6" Fill="White" Stroke="Black" HorizontalAlignment="Left" Margin="185.5,123.5,0,0" VerticalAlignment="Top" Width="192" Height="46" Data="M0.5,0.5 L189.5,45.5"/>
187
188        <Cryptool_MD5_Presentation_Displays:RoundAndStepDisplay VerticalAlignment="Top" HorizontalAlignment="Left" DataContext="{Binding CurrentState}" Margin="8,8,0,0"/>
189
190        <Path x:Name="path15" Fill="White" Stretch="Fill"  Stroke="Black" HorizontalAlignment="Right" Margin="0,62,65,47.5" Width="1" Data="M740,62 L740,351.5"/>
191        <Path x:Name="path16" Fill="White" Stretch="Fill"  Stroke="Black" HorizontalAlignment="Right" Margin="0,60,181,47.5" Width="1" Data="M618,60 L618,351.5"/>
192        <Path x:Name="path12" Stretch="Fill"  Stroke="Black" HorizontalAlignment="Right" Margin="0,62,293,152.5" Width="1" Data="M506,62 L506,351.5" RenderTransformOrigin="0.5,0.5" Fill="White">
193            <Path.RenderTransform>
194                <TransformGroup>
195                    <ScaleTransform/>
196                    <SkewTransform/>
197                    <RotateTransform/>
198                    <TranslateTransform/>
199                </TransformGroup>
200            </Path.RenderTransform>
201        </Path>
202        <Path x:Name="path2" Stretch="Fill" HorizontalAlignment="Right" Margin="0,61.5,291.5,0" VerticalAlignment="Top" Width="62.5" Height="51.5" Data="M446,112 L507.5,61.5" OpacityMask="{x:Null}">
203                <Path.Stroke>
204                        <SolidColorBrush Color="{DynamicResource colorNormal}"/>
205                </Path.Stroke>
206                <Path.Fill>
207                        <SolidColorBrush Color="{DynamicResource colorNormal}"/>
208                </Path.Fill>
209        </Path>
210        <Path x:Name="path3" Stretch="Fill" HorizontalAlignment="Right" Margin="0,60,181,0" VerticalAlignment="Top" Width="169.5" Height="52.5" Data="M618,60 L449.5,111.5" OpacityMask="{x:Null}">
211                <Path.Stroke>
212                        <SolidColorBrush Color="{DynamicResource colorNormal}"/>
213                </Path.Stroke>
214                <Path.Fill>
215                        <SolidColorBrush Color="{DynamicResource colorNormal}"/>
216                </Path.Fill>
217        </Path>
218        <Path x:Name="path1" Stretch="Fill" HorizontalAlignment="Right" Margin="0,60,65,0" VerticalAlignment="Top" Width="283.5" Height="52.5" Data="M734,60 L451.5,111.5" OpacityMask="{x:Null}">
219                <Path.Stroke>
220                        <SolidColorBrush Color="{DynamicResource colorNormal}"/>
221                </Path.Stroke>
222                <Path.Fill>
223                        <SolidColorBrush Color="{DynamicResource colorNormal}"/>
224                </Path.Fill>
225        </Path>
226        <Path x:Name="path4" Fill="White" Stretch="Fill" Margin="375,58,0,0" VerticalAlignment="Top" Height="43" Data="M375,58 L375,149.5" HorizontalAlignment="Left" Width="1" Stroke="Black"/>
227        <Path x:Name="path5" Fill="White" Stretch="Fill" Margin="390.5,118,379,0" VerticalAlignment="Top" Height="1" Data="M420,134 L397.5,134" Stroke="Black"/>
228        <Path x:Name="path7" Fill="White" Stretch="Fill"  Stroke="Black" HorizontalAlignment="Left" Margin="375,137,0,0" VerticalAlignment="Top" Width="1" Height="12.5" Data="M375,150 L375,161.5"/>
229        <Path x:Name="path8" Fill="White" Stretch="Fill"   HorizontalAlignment="Left" Margin="376,184,0,0" Width="1" Data="M376,200 L376,209.5" VerticalAlignment="Top" Height="13.5" Stroke="Black"/>
230        <Path x:Name="path10" Fill="White" Stretch="Fill"  HorizontalAlignment="Left" Margin="376,0,0,136.22" VerticalAlignment="Bottom" Width="1" Height="29.78" Data="M376,246 L376,259.5" Stroke="Black"/>
231        <Path x:Name="path13" Stretch="Fill"  HorizontalAlignment="Left" Margin="376,0,0,105" VerticalAlignment="Bottom" Width="1" Height="14" Data="M376,246 L376,259.5" Stroke="Black" Fill="White"/>
232        <Path x:Name="path17" Fill="White" Stretch="Fill"  HorizontalAlignment="Left" Margin="376,0,0,56.5" VerticalAlignment="Bottom" Width="1" Height="9.5" Data="M376,246 L376,259.5" Stroke="Black"/>
233        <Path x:Name="path9" Fill="White" Stretch="Fill"  HorizontalAlignment="Left" Margin="148,188,0,186" Width="212.5" Data="M148,214 L343.5,229.5" Stroke="Black"/>
234        <Path x:Name="path11" Fill="White" Stretch="Fill"   HorizontalAlignment="Left" Margin="164,0,0,134" VerticalAlignment="Bottom" Width="180.5" Height="8" Data="M128,262 L343.5,275.5" Stroke="Black"/>
235        <Path x:Name="path14" Stretch="Fill"   Margin="392,0,294,87" VerticalAlignment="Bottom" Height="67" Data="M392,324 L505.5,269.5" Stroke="Black" Fill="White"/>
236        <Cryptool_MD5_Presentation_Displays:FunctionNameDisplay HorizontalAlignment="Right" Margin="0,97,323,0" Width="56" VerticalAlignment="Top" Height="44" FunctionName="{Binding CurrentState.RoundFunctionName}"/>
237        <Cryptool_MD5_Presentation_Displays:ShiftedCompressionVariableDisplay Margin="332,0,8,8" VerticalAlignment="Bottom" Height="50" Width="460" DataContext="{Binding CurrentState}"/>
238        <Cryptool_MD5_Presentation_Displays:CompressionVariableDisplay Margin="332,8,8,0" VerticalAlignment="Top" Height="50" Width="460" DataContext="{Binding LastState}"/>
239        <Label Margin="360.5,101,0,0" VerticalAlignment="Top" Height="35" Content="+" Style="{DynamicResource labelStyle}" BorderThickness="1" BorderBrush="Black" HorizontalContentAlignment="Center" Template="{DynamicResource functionLabelStyle}" HorizontalAlignment="Left" Width="30" FontSize="16" Background="White">
240            <Label.Effect>
241                <DropShadowEffect/>
242            </Label.Effect>
243        </Label>
244        <Label Background="White" HorizontalAlignment="Left" Margin="360.5,149,0,0" Style="{DynamicResource labelStyle}" Width="30" Content="+" BorderBrush="Black" BorderThickness="1" FontSize="16" HorizontalContentAlignment="Center" Template="{DynamicResource functionLabelStyle}" VerticalAlignment="Top" Height="35">
245            <Label.Effect>
246                <DropShadowEffect/>
247            </Label.Effect>
248        </Label>
249        <Label Background="White" Margin="344.5,0,393.5,113" Style="{DynamicResource labelStyle}" VerticalAlignment="Bottom" Height="35" Content="&lt;&lt;&lt;" BorderBrush="Black" BorderThickness="1" FontSize="16" HorizontalContentAlignment="Center" Template="{DynamicResource functionLabelStyle}">
250            <Label.Effect>
251                <DropShadowEffect/>
252            </Label.Effect>
253        </Label>
254        <Label Background="White" HorizontalAlignment="Left" Margin="360.5,197,0,168" Style="{DynamicResource labelStyle}" Width="30" Content="+" BorderBrush="Black" BorderThickness="1" FontSize="16" HorizontalContentAlignment="Center" Template="{DynamicResource functionLabelStyle}">
255            <Label.Effect>
256                <DropShadowEffect/>
257            </Label.Effect>
258        </Label>
259        <Label Background="White" HorizontalAlignment="Left" Margin="360.5,0,0,70" Style="{DynamicResource labelStyle}" VerticalAlignment="Bottom" Width="30" Height="35" Content="+" BorderBrush="Black" BorderThickness="1" FontSize="16" HorizontalContentAlignment="Center" Template="{DynamicResource functionLabelStyle}">
260            <Label.Effect>
261                <DropShadowEffect/>
262            </Label.Effect>
263        </Label>
264        <Cryptool_MD5_Presentation_Displays:LabelledIntegerDisplay Caption="AC" Margin="127,165.298,0,186" HorizontalAlignment="Left" Width="117.755" Value="{Binding CurrentState.AdditionConstant}"/>
265        <Cryptool_MD5_Presentation_Displays:LabelledIntegerDisplay Caption="SC" Margin="127,0,0,122.646" HorizontalAlignment="Left" Width="117.755" Value="{Binding CurrentState.ShiftConstant}" VerticalAlignment="Bottom" Height="48.702"/>
266        <Cryptool_MD5_Presentation_Displays:DataIntegerDisplay Margin="12,101,0,0" VerticalAlignment="Top" HorizontalAlignment="Left" Width="298" Height="46" DisplayedValues="{Binding CurrentState.DataAsIntegers}" HighlightedValue="{Binding CurrentState.MessagePartIndex}"/>
267        <Label Margin="12,165.298,679,186" Name="label1" VerticalContentAlignment="Center">Addition constant</Label>
268        <Label Height="48.702" HorizontalAlignment="Left" Margin="12,0,0,119" Name="label2" VerticalAlignment="Bottom" VerticalContentAlignment="Center" Width="109">Shift constant</Label>
269        <Label Height="28" HorizontalAlignment="Left" Margin="12,73,0,0" Name="label3" VerticalAlignment="Top" Width="298" HorizontalContentAlignment="Center">Selected part from input data block</Label>
270        <Label Background="White" BorderBrush="DarkGray" BorderThickness="1" FontSize="16" Height="35" HorizontalAlignment="Left" HorizontalContentAlignment="Center" Margin="8,0,0,52" Style="{DynamicResource labelStyle}" Template="{DynamicResource functionLabelStyle}" VerticalAlignment="Bottom" Width="30" Foreground="DarkGray">
271            <Label.Effect>
272                <DropShadowEffect Color="DarkGray" />
273            </Label.Effect> +
274        </Label>
275        <Label Height="38.909" HorizontalAlignment="Left" Margin="76,0,0,6.888" Name="label4" VerticalAlignment="Bottom" VerticalContentAlignment="Center" Width="109" Foreground="DarkGray">Rotating left shift</Label>
276        <Label Background="White" BorderBrush="DarkGray" BorderThickness="1" FontSize="16" Height="35" HorizontalAlignment="Left" HorizontalContentAlignment="Center" Margin="8,0,0,10.797" Style="{DynamicResource labelStyle}" Template="{DynamicResource functionLabelStyle}" VerticalAlignment="Bottom" Width="62" Foreground="DarkGray">
277            <Label.Effect>
278                <DropShadowEffect Color="DarkGray" />
279            </Label.Effect> &lt;&lt;&lt;
280        </Label>
281        <Label Height="39" HorizontalAlignment="Left" Margin="44,0,0,47.5" Name="label5" VerticalAlignment="Bottom" VerticalContentAlignment="Center" Width="282" Foreground="DarkGray">Unsigned integer addition discarding carry bit</Label>
282        <Label Height="45.056" HorizontalAlignment="Left" Margin="284,234,0,0" Name="label6" VerticalAlignment="Top" VerticalContentAlignment="Center" Width="70" Foreground="DarkGray">shifted by</Label>
283        <Label Height="45.056" Margin="374,0,344,134" Name="label7" VerticalAlignment="Bottom" VerticalContentAlignment="Center" Foreground="DarkGray">shifted value</Label>
284    </Grid>
285</UserControl>
Note: See TracBrowser for help on using the repository browser.