PageRenderTime 39ms CodeModel.GetById 11ms RepoModel.GetById 0ms app.codeStats 0ms

/Windows/AboutWindow.xaml

https://bitbucket.org/RoliSoft/rs-tv-show-tracker
XAML | 350 lines | 345 code | 3 blank | 2 comment | 1 complexity | e48350682e7da8b93bff155186e5dc47 MD5 | raw file
Possible License(s): Apache-2.0, LGPL-3.0, LGPL-2.0, CC-BY-SA-3.0, JSON, MIT
  1. <Shell:GlassWindow x:Class="RoliSoft.TVShowTracker.AboutWindow" xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" xmlns:Shell="clr-namespace:Microsoft.WindowsAPICodePack.Shell;assembly=Microsoft.WindowsAPICodePack.Shell" Height="290" Width="408" Icon="/RSTVShowTracker;component/Images/information.png" Loaded="GlassWindowLoaded" ResizeMode="NoResize" Title="About RS TV Show Tracker" WindowStartupLocation="CenterScreen">
  2. <Window.Resources>
  3. <!-- hyperlink style -->
  4. <Style TargetType="{x:Type Hyperlink}">
  5. <Setter Property="Foreground" Value="Yellow" />
  6. <Setter Property="TextDecorations" Value="None" />
  7. <EventSetter Event="MouseEnter" Handler="HyperlinkMouseEnter" />
  8. <EventSetter Event="MouseLeave" Handler="HyperlinkMouseLeave" />
  9. <EventSetter Event="Click" Handler="HyperlinkClick" />
  10. </Style>
  11. <!-- scrollbar style -->
  12. <Style x:Key="ScrollBarLineButton" TargetType="{x:Type RepeatButton}">
  13. <Setter Property="SnapsToDevicePixels" Value="True" />
  14. <Setter Property="OverridesDefaultStyle" Value="true" />
  15. <Setter Property="Focusable" Value="false" />
  16. <Setter Property="Template">
  17. <Setter.Value>
  18. <ControlTemplate TargetType="{x:Type RepeatButton}">
  19. <Border Name="Border" Margin="1" CornerRadius="2" Background="#30FFFFFF" BorderBrush="Transparent" BorderThickness="1">
  20. <Path HorizontalAlignment="Center" VerticalAlignment="Center" Fill="Black" Data="{Binding Path=Content, RelativeSource={RelativeSource TemplatedParent}}" />
  21. </Border>
  22. <ControlTemplate.Triggers>
  23. <Trigger Property="IsPressed" Value="true">
  24. <Setter TargetName="Border" Property="Background" Value="#50ffffff" />
  25. </Trigger>
  26. <Trigger Property="IsEnabled" Value="false">
  27. <Setter Property="Foreground" Value="Transparent" />
  28. </Trigger>
  29. </ControlTemplate.Triggers>
  30. </ControlTemplate>
  31. </Setter.Value>
  32. </Setter>
  33. </Style>
  34. <Style x:Key="ScrollBarPageButton" TargetType="{x:Type RepeatButton}">
  35. <Setter Property="SnapsToDevicePixels" Value="True" />
  36. <Setter Property="OverridesDefaultStyle" Value="true" />
  37. <Setter Property="IsTabStop" Value="false" />
  38. <Setter Property="Focusable" Value="false" />
  39. <Setter Property="Template">
  40. <Setter.Value>
  41. <ControlTemplate TargetType="{x:Type RepeatButton}">
  42. <Border Background="Transparent" />
  43. </ControlTemplate>
  44. </Setter.Value>
  45. </Setter>
  46. </Style>
  47. <Style x:Key="ScrollBarThumb" TargetType="{x:Type Thumb}">
  48. <Setter Property="SnapsToDevicePixels" Value="True" />
  49. <Setter Property="OverridesDefaultStyle" Value="true" />
  50. <Setter Property="IsTabStop" Value="false" />
  51. <Setter Property="Focusable" Value="false" />
  52. <Setter Property="Template">
  53. <Setter.Value>
  54. <ControlTemplate TargetType="{x:Type Thumb}">
  55. <Border CornerRadius="2" Background="{TemplateBinding Background}" BorderBrush="{TemplateBinding BorderBrush}" BorderThickness="1" />
  56. </ControlTemplate>
  57. </Setter.Value>
  58. </Setter>
  59. </Style>
  60. <ControlTemplate x:Key="VerticalScrollBar" TargetType="{x:Type ScrollBar}">
  61. <Grid>
  62. <Grid.RowDefinitions>
  63. <RowDefinition MaxHeight="18" />
  64. <RowDefinition Height="0.00001*" />
  65. <RowDefinition MaxHeight="18" />
  66. </Grid.RowDefinitions>
  67. <Border Grid.RowSpan="3" CornerRadius="2" Background="Transparent" />
  68. <RepeatButton Grid.Row="0" Style="{StaticResource ScrollBarLineButton}" Height="18" Command="ScrollBar.LineUpCommand" Content="M 0 4 L 8 4 L 4 0 Z" />
  69. <Track Name="PART_Track" Grid.Row="1" IsDirectionReversed="true">
  70. <Track.DecreaseRepeatButton>
  71. <RepeatButton Style="{StaticResource ScrollBarPageButton}" Command="ScrollBar.PageUpCommand" />
  72. </Track.DecreaseRepeatButton>
  73. <Track.Thumb>
  74. <Thumb Style="{StaticResource ScrollBarThumb}" Margin="1,0,1,0" Background="#30FFFFFF" BorderBrush="Transparent" />
  75. </Track.Thumb>
  76. <Track.IncreaseRepeatButton>
  77. <RepeatButton Style="{StaticResource ScrollBarPageButton}" Command="ScrollBar.PageDownCommand" />
  78. </Track.IncreaseRepeatButton>
  79. </Track>
  80. <RepeatButton Grid.Row="3" Style="{StaticResource ScrollBarLineButton}" Height="18" Command="ScrollBar.LineDownCommand" Content="M 0 0 L 4 4 L 8 0 Z" />
  81. </Grid>
  82. </ControlTemplate>
  83. <ControlTemplate x:Key="HorizontalScrollBar" TargetType="{x:Type ScrollBar}">
  84. <Grid>
  85. <Grid.ColumnDefinitions>
  86. <ColumnDefinition MaxWidth="18" />
  87. <ColumnDefinition Width="0.00001*" />
  88. <ColumnDefinition MaxWidth="18" />
  89. </Grid.ColumnDefinitions>
  90. <Border Grid.ColumnSpan="3" CornerRadius="2" Background="Transparent" />
  91. <RepeatButton Grid.Column="0" Style="{StaticResource ScrollBarLineButton}" Width="18" Command="ScrollBar.LineLeftCommand" Content="M 4 0 L 4 8 L 0 4 Z" />
  92. <Track Name="PART_Track" Grid.Column="1" IsDirectionReversed="False">
  93. <Track.DecreaseRepeatButton>
  94. <RepeatButton Style="{StaticResource ScrollBarPageButton}" Command="ScrollBar.PageLeftCommand" />
  95. </Track.DecreaseRepeatButton>
  96. <Track.Thumb>
  97. <Thumb Style="{StaticResource ScrollBarThumb}" Margin="0,1,0,1" Background="#30FFFFFF" BorderBrush="Transparent" />
  98. </Track.Thumb>
  99. <Track.IncreaseRepeatButton>
  100. <RepeatButton Style="{StaticResource ScrollBarPageButton}" Command="ScrollBar.PageRightCommand" />
  101. </Track.IncreaseRepeatButton>
  102. </Track>
  103. <RepeatButton Grid.Column="3" Style="{StaticResource ScrollBarLineButton}" Width="18" Command="ScrollBar.LineRightCommand" Content="M 0 0 L 4 4 L 0 8 Z" />
  104. </Grid>
  105. </ControlTemplate>
  106. <Style x:Key="{x:Type ScrollBar}" TargetType="{x:Type ScrollBar}">
  107. <Setter Property="SnapsToDevicePixels" Value="True" />
  108. <Setter Property="OverridesDefaultStyle" Value="true" />
  109. <Style.Triggers>
  110. <Trigger Property="Orientation" Value="Horizontal">
  111. <Setter Property="Width" Value="Auto" />
  112. <Setter Property="Height" Value="18" />
  113. <Setter Property="Template" Value="{StaticResource HorizontalScrollBar}" />
  114. </Trigger>
  115. <Trigger Property="Orientation" Value="Vertical">
  116. <Setter Property="Width" Value="18" />
  117. <Setter Property="Height" Value="Auto" />
  118. <Setter Property="Template" Value="{StaticResource VerticalScrollBar}" />
  119. </Trigger>
  120. </Style.Triggers>
  121. </Style>
  122. </Window.Resources>
  123. <Grid Margin="10">
  124. <Image Height="64" Margin="0,-13,0,0" HorizontalAlignment="Left" Name="logo" Source="/RSTVShowTracker;component/tv.ico" VerticalAlignment="Top">
  125. <Image.Effect>
  126. <DropShadowEffect Opacity="0.7" ShadowDepth="0" />
  127. </Image.Effect>
  128. </Image>
  129. <Label Height="50" Margin="70,-19,0,0" Content="RS TV Show Tracker" Cursor="Hand" FontSize="32" Foreground="White" HorizontalAlignment="Left" MouseLeftButtonUp="LabelMouseLeftButtonUp" Name="name" VerticalAlignment="Top">
  130. <Label.Effect>
  131. <DropShadowEffect BlurRadius="5" Color="Black" ShadowDepth="2" />
  132. </Label.Effect>
  133. </Label>
  134. <Label Margin="70,18,0,0" Cursor="Hand" FontSize="18" Foreground="White" HorizontalAlignment="Left" MouseLeftButtonUp="LabelMouseLeftButtonUp" Name="site" VerticalAlignment="Top">
  135. <Label.Effect>
  136. <DropShadowEffect BlurRadius="5" Color="Black" ShadowDepth="2" />
  137. </Label.Effect>
  138. </Label>
  139. <FlowDocumentScrollViewer Margin="0,55,0,0">
  140. <FlowDocumentScrollViewer.Effect>
  141. <DropShadowEffect ShadowDepth="0" />
  142. </FlowDocumentScrollViewer.Effect>
  143. <FlowDocument PagePadding="5,5,5,15">
  144. <Section FontFamily="Verdana" FontSize="12" Foreground="White" TextAlignment="Center" Margin="0,200,0,0" Padding="0">
  145. <Paragraph Margin="0">
  146. <Hyperlink Name="github1" NavigateUri="http://github.com/RoliSoft/RS-TV-Show-Tracker/commits"><Run Name="version">v2</Run></Hyperlink> / rev <Hyperlink Name="github2" NavigateUri="http://github.com/RoliSoft/RS-TV-Show-Tracker"><Run Name="revision">00000000</Run></Hyperlink>
  147. <LineBreak />
  148. Compiled on <Run Name="compile">21st century</Run>
  149. </Paragraph>
  150. <Paragraph Margin="0,10,0,0">
  151. This software is licensed under the
  152. <LineBreak />
  153. <Hyperlink NavigateUri="http://www.microsoft.com/en-us/openness/resources/licenses.aspx#MRL">Microsoft Reciprocal License</Hyperlink>
  154. </Paragraph>
  155. <Paragraph Margin="0,10,0,0" FontWeight="Bold">
  156. Libraries
  157. </Paragraph>
  158. <List Margin="0,10,0,0" Padding="0" MarkerStyle="None">
  159. <ListItem>
  160. <Paragraph>
  161. <Hyperlink NavigateUri="http://htmlagilitypack.codeplex.com/">Html Agility Pack</Hyperlink>
  162. </Paragraph>
  163. </ListItem>
  164. <ListItem>
  165. <Paragraph>
  166. <Hyperlink NavigateUri="http://json.codeplex.com/">Json.NET</Hyperlink>
  167. </Paragraph>
  168. </ListItem>
  169. <ListItem>
  170. <Paragraph>
  171. <Hyperlink NavigateUri="http://www.xml-rpc.net/">XML-RPC.NET</Hyperlink>
  172. </Paragraph>
  173. </ListItem>
  174. <ListItem>
  175. <Paragraph>
  176. <Hyperlink NavigateUri="http://github.com/danielcrenna/hammock">Hammock</Hyperlink>
  177. </Paragraph>
  178. </ListItem>
  179. <ListItem>
  180. <Paragraph>
  181. <Hyperlink NavigateUri="http://biko.codeplex.com/">Starksoft Biko</Hyperlink>
  182. </Paragraph>
  183. </ListItem>
  184. <ListItem>
  185. <Paragraph>
  186. <Hyperlink NavigateUri="http://sharpcompress.codeplex.com/">SharpCompress</Hyperlink>
  187. </Paragraph>
  188. </ListItem>
  189. <ListItem>
  190. <Paragraph>
  191. <Hyperlink NavigateUri="http://www.nunit.org/">NUnit</Hyperlink>
  192. </Paragraph>
  193. </ListItem>
  194. <ListItem>
  195. <Paragraph>
  196. <Hyperlink NavigateUri="http://ironpython.net/">IronPython</Hyperlink>
  197. </Paragraph>
  198. </ListItem>
  199. <ListItem>
  200. <Paragraph>
  201. <Hyperlink NavigateUri="http://dlr.codeplex.com/">Microsoft® Dynamic Language Runtime</Hyperlink>
  202. </Paragraph>
  203. </ListItem>
  204. <ListItem>
  205. <Paragraph>
  206. <Hyperlink NavigateUri="http://code.msdn.microsoft.com/WindowsAPICodePack">Windows® API Code Pack for Microsoft® .NET Framework</Hyperlink>
  207. </Paragraph>
  208. </ListItem>
  209. <ListItem>
  210. <Paragraph>
  211. <Hyperlink NavigateUri="http://wpftoolkit.codeplex.com/">Extended WPF Toolkit Community Edition</Hyperlink>
  212. </Paragraph>
  213. </ListItem>
  214. <ListItem>
  215. <Paragraph>
  216. <Hyperlink NavigateUri="http://transitionals.codeplex.com/">Transitionals</Hyperlink>
  217. </Paragraph>
  218. </ListItem>
  219. <ListItem>
  220. <Paragraph>
  221. <Hyperlink NavigateUri="http://greyableimage.codeplex.com/">GreyableImage</Hyperlink>
  222. </Paragraph>
  223. </ListItem>
  224. <ListItem>
  225. <Paragraph>
  226. <Hyperlink NavigateUri="http://nsis.sourceforge.net/Main_Page">Nullsoft Scriptable Install System</Hyperlink>
  227. </Paragraph>
  228. </ListItem>
  229. </List>
  230. <Paragraph Margin="0,10,0,0" FontWeight="Bold">
  231. Icons
  232. </Paragraph>
  233. <List Margin="0,10,0,0" Padding="0" MarkerStyle="None">
  234. <ListItem>
  235. <Paragraph>
  236. <Hyperlink NavigateUri="http://p.yusukekamiyamane.com/">Fugue</Hyperlink>
  237. </Paragraph>
  238. </ListItem>
  239. <ListItem>
  240. <Paragraph>
  241. <Hyperlink NavigateUri="http://www.icondrawer.com/">Icon Drawer</Hyperlink>
  242. </Paragraph>
  243. </ListItem>
  244. <ListItem>
  245. <Paragraph>
  246. <Hyperlink NavigateUri="http://www.oxygen-icons.org/">Oxygen</Hyperlink>
  247. </Paragraph>
  248. </ListItem>
  249. <ListItem>
  250. <Paragraph>
  251. <Hyperlink NavigateUri="http://www.fatcow.com/free-icons">FatCow</Hyperlink>
  252. </Paragraph>
  253. </ListItem>
  254. </List>
  255. <Paragraph Margin="0,10,0,0" FontWeight="Bold">
  256. Services
  257. </Paragraph>
  258. <List Margin="0,10,0,0" Padding="0" MarkerStyle="None">
  259. <ListItem>
  260. <Paragraph>
  261. <Hyperlink NavigateUri="http://www.tvrage.com/">TVRage</Hyperlink>
  262. </Paragraph>
  263. </ListItem>
  264. <ListItem>
  265. <Paragraph>
  266. <Hyperlink NavigateUri="http://www.thetvdb.com/">The TVDB</Hyperlink>
  267. </Paragraph>
  268. </ListItem>
  269. <ListItem>
  270. <Paragraph>
  271. <Hyperlink NavigateUri="http://www.tv.com/">TV.com</Hyperlink>
  272. </Paragraph>
  273. </ListItem>
  274. <ListItem>
  275. <Paragraph>
  276. <Hyperlink NavigateUri="http://www.episodeworld.com/">EPisodeWorld</Hyperlink>
  277. </Paragraph>
  278. </ListItem>
  279. <ListItem>
  280. <Paragraph>
  281. <Hyperlink NavigateUri="http://www.imdb.com/">IMDb</Hyperlink>
  282. </Paragraph>
  283. </ListItem>
  284. <ListItem>
  285. <Paragraph>
  286. <Hyperlink NavigateUri="http://www.epguides.com/">EPGuides</Hyperlink>
  287. </Paragraph>
  288. </ListItem>
  289. <ListItem>
  290. <Paragraph>
  291. <Hyperlink NavigateUri="http://www.anidb.net/">AniDB</Hyperlink>
  292. </Paragraph>
  293. </ListItem>
  294. <ListItem>
  295. <Paragraph>
  296. <Hyperlink NavigateUri="http://www.animenewsnetwork.com/">Anime News Network</Hyperlink>
  297. </Paragraph>
  298. </ListItem>
  299. <ListItem>
  300. <Paragraph>
  301. <Hyperlink NavigateUri="http://www.google.com/">Google</Hyperlink>
  302. </Paragraph>
  303. </ListItem>
  304. <ListItem>
  305. <Paragraph>
  306. <Hyperlink NavigateUri="http://www.bing.com/">Bing</Hyperlink>
  307. </Paragraph>
  308. </ListItem>
  309. <ListItem>
  310. <Paragraph>
  311. <Hyperlink NavigateUri="http://www.duckduckgo.com/">DuckDuckGo</Hyperlink>
  312. </Paragraph>
  313. </ListItem>
  314. <ListItem>
  315. <Paragraph>
  316. <Hyperlink NavigateUri="http://getfavicon.appspot.com/">getFavicon</Hyperlink>
  317. </Paragraph>
  318. </ListItem>
  319. <ListItem>
  320. <Paragraph>
  321. <Hyperlink NavigateUri="http://www.tastekid.com/">TasteKid</Hyperlink>
  322. </Paragraph>
  323. </ListItem>
  324. <ListItem>
  325. <Paragraph>
  326. <Hyperlink NavigateUri="http://lab.rolisoft.net/tv/">RS TV Show Recommendation</Hyperlink>
  327. </Paragraph>
  328. </ListItem>
  329. <ListItem>
  330. <Paragraph>
  331. <Hyperlink NavigateUri="http://twitter.com/">Twitter</Hyperlink>
  332. </Paragraph>
  333. </ListItem>
  334. <ListItem>
  335. <Paragraph>
  336. <Hyperlink NavigateUri="http://identi.ca/">Identi.ca</Hyperlink>
  337. </Paragraph>
  338. </ListItem>
  339. </List>
  340. <Paragraph Margin="0,10,0,0">
  341. Special thanks to all the users who have supported the development of the software!
  342. </Paragraph>
  343. </Section>
  344. </FlowDocument>
  345. </FlowDocumentScrollViewer>
  346. </Grid>
  347. </Shell:GlassWindow>