Advertisement
Guest User

Untitled

a guest
May 3rd, 2015
373
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 11.64 KB | None | 0 0
  1. <UserControl x:Class="UserControl1"
  2. xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  3. xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  4. xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
  5. xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
  6. mc:Ignorable="d" Width="1920" Height="1080" xmlns:vMixTitleLibrary="clr-namespace:vMixTitleLibrary;assembly=vMixTitleLibrary">
  7. <UserControl.Resources>
  8. <Storyboard x:Key="Storyboard1" RepeatBehavior="0:0:1.8">
  9. <DoubleAnimationUsingKeyFrames Storyboard.TargetProperty="(UIElement.Opacity)" Storyboard.TargetName="center">
  10. <SplineDoubleKeyFrame KeyTime="0" Value="0"/>
  11. <SplineDoubleKeyFrame KeyTime="0:0:0.3" Value="1"/>
  12. </DoubleAnimationUsingKeyFrames>
  13. <DoubleAnimationUsingKeyFrames Storyboard.TargetProperty="(FrameworkElement.Width)" Storyboard.TargetName="right_separator_2">
  14. <SplineDoubleKeyFrame KeyTime="0:0:0.3" Value="0"/>
  15. <SplineDoubleKeyFrame KeyTime="0:0:0.5" Value="367"/>
  16. </DoubleAnimationUsingKeyFrames>
  17. <DoubleAnimationUsingKeyFrames Storyboard.TargetProperty="(FrameworkElement.Height)" Storyboard.TargetName="right_clock">
  18. <SplineDoubleKeyFrame KeyTime="0:0:0.5" Value="0"/>
  19. <SplineDoubleKeyFrame KeyTime="0:0:0.7" Value="38"/>
  20. </DoubleAnimationUsingKeyFrames>
  21. <DoubleAnimationUsingKeyFrames Storyboard.TargetProperty="(UIElement.RenderTransform).(TransformGroup.Children)[3].(TranslateTransform.Y)" Storyboard.TargetName="right_clock">
  22. <SplineDoubleKeyFrame KeyTime="0:0:0.5" Value="37"/>
  23. <SplineDoubleKeyFrame KeyTime="0:0:0.7" Value="0"/>
  24. </DoubleAnimationUsingKeyFrames>
  25. <DoubleAnimationUsingKeyFrames Storyboard.TargetProperty="(FrameworkElement.Width)" Storyboard.TargetName="right_separator">
  26. <SplineDoubleKeyFrame KeyTime="0:0:0.7" Value="0"/>
  27. <SplineDoubleKeyFrame KeyTime="0:0:0.9" Value="367"/>
  28. </DoubleAnimationUsingKeyFrames>
  29. <DoubleAnimationUsingKeyFrames Storyboard.TargetProperty="(FrameworkElement.Height)" Storyboard.TargetName="right_info">
  30. <SplineDoubleKeyFrame KeyTime="0:0:0.9" Value="0"/>
  31. <SplineDoubleKeyFrame KeyTime="0:0:1.1" Value="38"/>
  32. </DoubleAnimationUsingKeyFrames>
  33. <DoubleAnimationUsingKeyFrames Storyboard.TargetProperty="(UIElement.RenderTransform).(TransformGroup.Children)[3].(TranslateTransform.Y)" Storyboard.TargetName="right_info">
  34. <SplineDoubleKeyFrame KeyTime="0:0:0.9" Value="37"/>
  35. <SplineDoubleKeyFrame KeyTime="0:0:1.1" Value="0"/>
  36. </DoubleAnimationUsingKeyFrames>
  37. <DoubleAnimationUsingKeyFrames Storyboard.TargetProperty="(UIElement.Opacity)" Storyboard.TargetName="right_glow">
  38. <SplineDoubleKeyFrame KeyTime="0:0:0.5" Value="0"/>
  39. <SplineDoubleKeyFrame KeyTime="0:0:0.7" Value="0.75"/>
  40. </DoubleAnimationUsingKeyFrames>
  41. <DoubleAnimationUsingKeyFrames Storyboard.TargetProperty="(FrameworkElement.Height)" Storyboard.TargetName="gridClock">
  42. <SplineDoubleKeyFrame KeyTime="0:0:0.6" Value="0"/>
  43. <SplineDoubleKeyFrame KeyTime="0:0:0.9" Value="32.6833343505859"/>
  44. </DoubleAnimationUsingKeyFrames>
  45. <DoubleAnimationUsingKeyFrames Storyboard.TargetProperty="(UIElement.RenderTransform).(TransformGroup.Children)[3].(TranslateTransform.Y)" Storyboard.TargetName="gridClock">
  46. <SplineDoubleKeyFrame KeyTime="0:0:0.6" Value="19"/>
  47. <SplineDoubleKeyFrame KeyTime="0:0:0.9" Value="0"/>
  48. </DoubleAnimationUsingKeyFrames>
  49. <DoubleAnimationUsingKeyFrames Storyboard.TargetProperty="(UIElement.Opacity)" Storyboard.TargetName="textDOT">
  50. <SplineDoubleKeyFrame KeyTime="0:0:1" Value="0"/>
  51. <SplineDoubleKeyFrame KeyTime="0:0:1.2" Value="1"/>
  52. </DoubleAnimationUsingKeyFrames>
  53. <DoubleAnimationUsingKeyFrames Storyboard.TargetProperty="(UIElement.Opacity)" Storyboard.TargetName="textC">
  54. <SplineDoubleKeyFrame KeyTime="0:0:1.2" Value="0"/>
  55. <SplineDoubleKeyFrame KeyTime="0:0:1.4" Value="1"/>
  56. </DoubleAnimationUsingKeyFrames>
  57. <DoubleAnimationUsingKeyFrames Storyboard.TargetProperty="(UIElement.Opacity)" Storyboard.TargetName="textO">
  58. <SplineDoubleKeyFrame KeyTime="0:0:1.4" Value="0"/>
  59. <SplineDoubleKeyFrame KeyTime="0:0:1.6" Value="1"/>
  60. </DoubleAnimationUsingKeyFrames>
  61. <DoubleAnimationUsingKeyFrames Storyboard.TargetProperty="(UIElement.Opacity)" Storyboard.TargetName="textM">
  62. <SplineDoubleKeyFrame KeyTime="0:0:1.6" Value="0"/>
  63. <SplineDoubleKeyFrame KeyTime="0:0:1.8" Value="1"/>
  64. </DoubleAnimationUsingKeyFrames>
  65. <DoubleAnimationUsingKeyFrames Storyboard.TargetProperty="(FrameworkElement.LayoutTransform).(TransformGroup.Children)[0].(ScaleTransform.ScaleX)" Storyboard.TargetName="textC">
  66. <SplineDoubleKeyFrame KeyTime="0:0:1.2" Value="3"/>
  67. <SplineDoubleKeyFrame KeyTime="0:0:1.4" Value="1.1"/>
  68. </DoubleAnimationUsingKeyFrames>
  69. <DoubleAnimationUsingKeyFrames Storyboard.TargetProperty="(FrameworkElement.LayoutTransform).(TransformGroup.Children)[0].(ScaleTransform.ScaleY)" Storyboard.TargetName="textC">
  70. <SplineDoubleKeyFrame KeyTime="0:0:1.2" Value="3"/>
  71. <SplineDoubleKeyFrame KeyTime="0:0:1.4" Value="1"/>
  72. </DoubleAnimationUsingKeyFrames>
  73. <DoubleAnimationUsingKeyFrames Storyboard.TargetProperty="(FrameworkElement.LayoutTransform).(TransformGroup.Children)[0].(ScaleTransform.ScaleX)" Storyboard.TargetName="textO">
  74. <SplineDoubleKeyFrame KeyTime="0:0:1.4" Value="3"/>
  75. <SplineDoubleKeyFrame KeyTime="0:0:1.6" Value="1.1"/>
  76. </DoubleAnimationUsingKeyFrames>
  77. <DoubleAnimationUsingKeyFrames Storyboard.TargetProperty="(FrameworkElement.LayoutTransform).(TransformGroup.Children)[0].(ScaleTransform.ScaleY)" Storyboard.TargetName="textO">
  78. <SplineDoubleKeyFrame KeyTime="0:0:1.4" Value="3"/>
  79. <SplineDoubleKeyFrame KeyTime="0:0:1.6" Value="1"/>
  80. </DoubleAnimationUsingKeyFrames>
  81. <DoubleAnimationUsingKeyFrames Storyboard.TargetProperty="(FrameworkElement.LayoutTransform).(TransformGroup.Children)[0].(ScaleTransform.ScaleX)" Storyboard.TargetName="textM">
  82. <SplineDoubleKeyFrame KeyTime="0:0:1.6" Value="3"/>
  83. <SplineDoubleKeyFrame KeyTime="0:0:1.8" Value="1"/>
  84. </DoubleAnimationUsingKeyFrames>
  85. <DoubleAnimationUsingKeyFrames Storyboard.TargetProperty="(FrameworkElement.LayoutTransform).(TransformGroup.Children)[0].(ScaleTransform.ScaleY)" Storyboard.TargetName="textM">
  86. <SplineDoubleKeyFrame KeyTime="0:0:1.6" Value="3"/>
  87. <SplineDoubleKeyFrame KeyTime="0:0:1.8" Value="1"/>
  88. </DoubleAnimationUsingKeyFrames>
  89. </Storyboard>
  90. </UserControl.Resources>
  91. <UserControl.Triggers>
  92. <EventTrigger RoutedEvent="FrameworkElement.Loaded">
  93. <BeginStoryboard Storyboard="{StaticResource Storyboard1}"/>
  94. </EventTrigger>
  95. </UserControl.Triggers>
  96. <Grid>
  97. <Canvas x:Name="ktls5" HorizontalAlignment="Left" Height="1080" VerticalAlignment="Top" Width="1920">
  98. <Canvas x:Name="right" Height="1080" Canvas.Left="0" Canvas.Top="0" Width="1920">
  99. <Canvas.Background>
  100. <ImageBrush/>
  101. </Canvas.Background>
  102. <Canvas.OpacityMask>
  103. <ImageBrush ImageSource="ktls5\right_mask.png"/>
  104. </Canvas.OpacityMask>
  105. <Path x:Name="right_info" Data="F1M1,1C1,1 366,1 366,1 366,1 366,37 366,37 366,37 1,37 1,37 1,37 1,1 1,1z" Fill="Black" Height="0" Canvas.Left="1402" Canvas.Top="814" Width="367" RenderTransformOrigin="0.5,0.5">
  106. <Path.RenderTransform>
  107. <TransformGroup>
  108. <ScaleTransform/>
  109. <SkewTransform/>
  110. <RotateTransform/>
  111. <TranslateTransform Y="37"/>
  112. </TransformGroup>
  113. </Path.RenderTransform>
  114. </Path>
  115. <Path x:Name="right_clock" Data="F1M1,1C1,1 366,1 366,1 366,1 366,37 366,37 366,37 1,37 1,37 1,37 1,1 1,1z" Fill="Black" Height="0" Canvas.Left="1402" Canvas.Top="851" Width="367" RenderTransformOrigin="0.5,0.5">
  116. <Path.RenderTransform>
  117. <TransformGroup>
  118. <ScaleTransform/>
  119. <SkewTransform/>
  120. <RotateTransform/>
  121. <TranslateTransform Y="37"/>
  122. </TransformGroup>
  123. </Path.RenderTransform>
  124. <Path.LayoutTransform>
  125. <TransformGroup>
  126. <ScaleTransform/>
  127. <SkewTransform/>
  128. <RotateTransform/>
  129. <TranslateTransform/>
  130. </TransformGroup>
  131. </Path.LayoutTransform>
  132. </Path>
  133. <Path x:Name="right_separator" Data="F1M1,1C1,1 366,1 366,1 366,1 366,2 366,2 366,2 1,2 1,2 1,2 1,1 1,1z" Fill="White" Height="3" Canvas.Left="1402" Canvas.Top="850" Width="0"/>
  134. <Path x:Name="right_separator_2" Data="F1M1,1C1,1 366,1 366,1 366,1 366,2 366,2 366,2 1,2 1,2 1,2 1,1 1,1z" Fill="White" Height="3" Canvas.Left="1402" Canvas.Top="887" Width="0"/>
  135. <Path x:Name="right_glow" Data="F1M1,1C1,1 317,1 317,1 317,1 317,77 317,77 317,77 1,77 1,77 1,77 1,1 1,1z" Height="79" Canvas.Left="1402" Opacity="0" Canvas.Top="888" Width="318" Fill="#FF233FBA">
  136. <Path.OpacityMask>
  137. <ImageBrush ImageSource="ktls5\rectangle1.png"/>
  138. </Path.OpacityMask>
  139. </Path>
  140. </Canvas>
  141. <Image x:Name="center" Height="152" Canvas.Left="1294" Source="ktls5\logo.png" Canvas.Top="814" Width="110" Opacity="0">
  142. <Image.OpacityMask>
  143. <ImageBrush ImageSource="ktls5/logo.png"/>
  144. </Image.OpacityMask>
  145. </Image>
  146. </Canvas>
  147. <Grid x:Name="gridClock" Margin="1416,853.5,154,193.817" Height="0" Width="350" RenderTransformOrigin="0.5,0.5">
  148. <Grid.RenderTransform>
  149. <TransformGroup>
  150. <ScaleTransform/>
  151. <SkewTransform/>
  152. <RotateTransform/>
  153. <TranslateTransform Y="37"/>
  154. </TransformGroup>
  155. </Grid.RenderTransform>
  156. <vMixTitleLibrary:TextBlockDesign x:Name="textClock" Height="Auto" Fill="White" FontFamily="Source Sans Pro Semibold" FontSize="26" Text="08:00 PM 59°" Margin="0,0,0,-0.001"/>
  157.  
  158. </Grid>
  159. <vMixTitleLibrary:TextBlockDesign x:Name="textDOT" HorizontalAlignment="Left" Text="." VerticalAlignment="Top" Margin="1416,789.833,0,0" FontFamily="Source Sans Pro Semibold" FontSize="48" Opacity="0" Fill="#FFC9CDF0"/>
  160. <vMixTitleLibrary:TextBlockDesign x:Name="textC" HorizontalAlignment="Left" Text="C" VerticalAlignment="Top" Margin="1431,815.986,0,0" FontFamily="Source Sans Pro Semibold" FontSize="25.867" Opacity="0" Fill="#FFC9CDF0">
  161. <vMixTitleLibrary:TextBlockDesign.LayoutTransform>
  162. <TransformGroup>
  163. <ScaleTransform/>
  164. <SkewTransform/>
  165. <RotateTransform/>
  166. <TranslateTransform/>
  167. </TransformGroup>
  168. </vMixTitleLibrary:TextBlockDesign.LayoutTransform>
  169. </vMixTitleLibrary:TextBlockDesign>
  170. <vMixTitleLibrary:TextBlockDesign x:Name="textO" HorizontalAlignment="Left" Text="O" VerticalAlignment="Top" Margin="1446,815.986,0,0" FontFamily="Source Sans Pro Semibold" FontSize="25.867" Opacity="0" Fill="#FFC9CDF0">
  171. <vMixTitleLibrary:TextBlockDesign.LayoutTransform>
  172. <TransformGroup>
  173. <ScaleTransform/>
  174. <SkewTransform/>
  175. <RotateTransform/>
  176. <TranslateTransform/>
  177. </TransformGroup>
  178. </vMixTitleLibrary:TextBlockDesign.LayoutTransform>
  179. </vMixTitleLibrary:TextBlockDesign>
  180. <vMixTitleLibrary:TextBlockDesign x:Name="textM" HorizontalAlignment="Left" Text="M" VerticalAlignment="Top" Margin="1465,815.986,0,0" FontFamily="Source Sans Pro Semibold" FontSize="25.867" Opacity="0" RenderTransformOrigin="0.5,0.5" Fill="#FFC9CDF0">
  181. <vMixTitleLibrary:TextBlockDesign.RenderTransform>
  182. <TransformGroup>
  183. <ScaleTransform ScaleX="1.1"/>
  184. <SkewTransform/>
  185. <RotateTransform/>
  186. <TranslateTransform/>
  187. </TransformGroup>
  188. </vMixTitleLibrary:TextBlockDesign.RenderTransform>
  189. <vMixTitleLibrary:TextBlockDesign.LayoutTransform>
  190. <TransformGroup>
  191. <ScaleTransform/>
  192. <SkewTransform/>
  193. <RotateTransform/>
  194. <TranslateTransform/>
  195. </TransformGroup>
  196. </vMixTitleLibrary:TextBlockDesign.LayoutTransform>
  197. </vMixTitleLibrary:TextBlockDesign>
  198.  
  199. </Grid>
  200. </UserControl>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement