aboutsummaryrefslogtreecommitdiffstats
path: root/Software/Graphics/function.png
blob: 92ccdbf4bbd9bada42aeca9ccbeb058b1f445958 (plain)
ofshex dumpascii
0000 89 50 4e 47 0d 0a 1a 0a 00 00 00 0d 49 48 44 52 00 00 00 40 00 00 00 40 08 03 00 00 00 9d b7 81 .PNG........IHDR...@...@........
0020 ec 00 00 00 03 73 42 49 54 08 08 08 db e1 4f e0 00 00 00 09 70 48 59 73 00 00 01 bb 00 00 01 bb .....sBIT.....O.....pHYs........
0040 01 3a ec e3 e2 00 00 00 19 74 45 58 74 53 6f 66 74 77 61 72 65 00 77 77 77 2e 69 6e 6b 73 63 61 .:.......tEXtSoftware.www.inksca
0060 70 65 2e 6f 72 67 9b ee 3c 1a 00 00 02 85 50 4c 54 45 ff ff ff ff 00 00 ff 00 00 ff 80 00 ff 40 pe.org..<.....PLTE.............@
0080 40 ff 80 00 ff 66 33 ff 49 24 ff 55 1c e6 4d 33 ff 4d 33 ff 55 2b ff 4e 27 ff 55 22 ff 5a 2d f1 @....f3.I$.U..M3.M3.U+.N'.U".Z-.
00a0 47 1c ff 55 2b ff 51 28 f3 51 23 f4 59 2c f4 55 2b f5 52 29 f6 55 26 f6 52 24 f7 55 2b f7 52 29 G..U+.Q(.Q#.Y,.U+.R).U&.R$.U+.R)
00c0 f8 55 2b f8 53 29 eb 51 28 f9 57 25 f9 55 2b ee 51 29 f9 51 29 f9 53 27 fa 53 2a fa 55 28 ec 4d .U+.S).Q(.W%.U+.Q).Q).S'.S*.U(.M
00e0 26 fa 52 26 fa 53 2a fa 52 29 fb 55 26 fb 54 2a fb 52 29 f8 53 29 e9 49 28 f8 55 27 f8 54 26 f8 &.R&.S*.R).U&.T*.R).S).I(.U'.T&.
0100 53 29 f8 55 29 f8 53 28 f8 55 27 f9 54 27 f9 54 28 f0 4e 27 f9 54 27 f9 53 27 f9 54 29 f9 55 28 S).U).S(.U'.T'.T(.N'.T'.S'.T).U(
0120 f9 54 27 ee 4e 27 fa 55 29 fa 54 29 fa 53 28 fa 55 28 f0 4f 28 fa 54 28 fa 53 27 fa 54 29 f8 53 .T'.N'.U).T).S(.U(.O(.T(.S'.T).S
0140 29 f8 53 27 f8 54 29 f8 55 28 f8 54 28 f8 55 27 f9 54 29 f9 54 29 f9 55 28 f9 54 28 f9 54 27 f9 ).S'.T).U(.T(.U'.T).T).U(.T(.T'.
0160 54 28 ed 4e 28 f9 54 28 f9 53 28 f9 54 27 f9 54 29 f9 53 29 f9 54 28 f9 53 28 f9 54 27 eb 4c 29 T(.N(.T(.S(.T'.T).S).T(.S(.T'.L)
0180 f9 53 29 ed 4d 27 ef 4c 27 fa 53 29 fa 54 28 ee 4c 28 ef 4e 28 f8 54 27 ec 4d 27 f8 54 29 f8 54 .S).M'.L'.S).T(.L(.N(.T'.M'.T).T
01a0 28 f8 54 27 f8 53 27 f9 54 28 f9 53 28 f9 53 27 f9 54 29 f9 53 28 ed 4b 28 ed 4b 27 f9 54 29 f9 (.T'.S'.T(.S(.S'.T).S(.K(.K'.T).
01c0 54 29 f9 54 28 ed 4d 28 f9 54 28 f9 55 27 f9 54 28 f9 55 28 f9 54 28 f9 54 28 ed 4c 29 f9 54 29 T).T(.M(.T(.U'.T(.U(.T(.T(.L).T)
01e0 fa 54 28 fa 54 27 fa 54 28 fa 55 28 f8 55 28 f7 54 27 f8 55 28 f9 54 28 ec 4c 28 ec 4b 29 f9 54 .T(.T'.T(.U(.U(.T'.U(.T(.L(.K).T
0200 29 f9 55 28 eb 4b 29 f9 54 27 f9 55 28 f9 54 28 f9 54 28 ea 4a 28 f9 54 28 f9 54 28 f9 53 29 f9 ).U(.K).T'.U(.T(.T(.J(.T(.T(.S).
0220 54 28 f9 53 28 f6 52 28 f9 54 28 ea 4a 29 f9 53 27 f9 54 28 f9 54 28 f9 54 28 ea 4a 28 f9 54 28 T(.S(.R(.T(.J).S'.T(.T(.T(.J(.T(
0240 f9 54 28 e9 4a 29 ea 4a 28 f8 54 28 f8 54 28 ea 4b 28 f9 54 28 f9 54 28 ea 4a 28 f9 54 28 f9 54 .T(.J).J(.T(.T(.K(.T(.T(.J(.T(.T
0260 27 e9
<ResourceDictionary xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
                    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
                    xmlns:controls="clr-namespace:Tango.SharedUI.Controls;assembly=Tango.SharedUI"
                    xmlns:local="clr-namespace:Tango.PPC.Common.Controls">

    <Style TargetType="{x:Type ListBoxItem}" x:Key="Gallery_BlankListBoxItem">
        <Setter Property="Background" Value="Transparent"/>
        <Setter Property="BorderThickness" Value="0"></Setter>
        <Setter Property="Foreground" Value="{Binding Path=(TextElement.Foreground), RelativeSource={RelativeSource AncestorType=ContentPresenter}}"></Setter>
        <Setter Property="FocusVisualStyle" Value="{x:Null}"></Setter>
        <Setter Property="HorizontalContentAlignment" Value="Stretch"></Setter>
        <Setter Property="Padding" Value="0"/>
        <Setter Property="Template">
            <Setter.Value>
                <ControlTemplate TargetType="{x:Type ListBoxItem}">
                    <Border x:Name="Bd" BorderBrush="{TemplateBinding BorderBrush}" BorderThickness="0" Background="{TemplateBinding Background}" Padding="0" SnapsToDevicePixels="true">
                        <ContentPresenter HorizontalAlignment="{TemplateBinding HorizontalContentAlignment}" SnapsToDevicePixels="{TemplateBinding SnapsToDevicePixels}" VerticalAlignment="{TemplateBinding VerticalContentAlignment}"/>
                    </Border>
                    <ControlTemplate.Triggers>
                        <Trigger Property="IsSelected" Value="true">
                            <Setter Property="Background" TargetName="Bd" Value="Transparent"/>
                        </Trigger>
                        <MultiTrigger>
                            <MultiTrigger.Conditions>
                                <Condition Property="IsSelected" Value="true"/>
                                <Condition Property="Selector.IsSelectionActive" Value="false"/>
                            </MultiTrigger.Conditions>
                            <Setter Property="Background" TargetName="Bd" Value="Transparent"/>
                        </MultiTrigger>
                        <Trigger Property="IsEnabled" Value="false">
                            <Setter Property="Foreground" Value="{DynamicResource {x:Static SystemColors.GrayTextBrushKey}}"/>
                        </Trigger>
                    </ControlTemplate.Triggers>
                </ControlTemplate>
            </Setter.Value>
        </Setter>
    </Style>

    <Style TargetType="{x:Type ListBox}" x:Key="Gallery_BlankListBox">
        <Setter Property="ScrollViewer.HorizontalScrollBarVisibility" Value="Disabled"></Setter>
        <Setter Property="ScrollViewer.VerticalScrollBarVisibility" Value="Disabled"></Setter>
        <Setter Property="BorderThickness" Value="0"></Setter>
        <Setter Property="Background" Value="Transparent"></Setter>
        <Setter Property="ItemContainerStyle" Value="{StaticResource Gallery_BlankListBoxItem}"></Setter>
    </Style>

    <Style TargetType="{x:Type local:ImageGalleryControl}">
        <Setter Property="Template">
            <Setter.Value>
                <ControlTemplate TargetType="{x:Type local:ImageGalleryControl}">
                    <Border Background="{TemplateBinding Background}"
                            BorderBrush="{TemplateBinding BorderBrush}"
                            BorderThickness="{TemplateBinding BorderThickness}">

                        <DockPanel>

                            <ListBox DockPanel.Dock="Bottom" ItemsSource="{TemplateBinding Elements}" SelectedIndex="{Binding RelativeSource={RelativeSource  Mode=TemplatedParent},Path=SelectedIndex,Mode=TwoWay}" Style="{StaticResource Gallery_BlankListBox}">
                                <ListBox.ItemsPanel>
                                    <ItemsPanelTemplate>
                                        <StackPanel Orientation="Horizontal" HorizontalAlignment="Center"></StackPanel>
                                    </ItemsPanelTemplate>
                                </ListBox.ItemsPanel>
                                <ListBox.ItemContainerStyle>
                                    <Style TargetType="ListBoxItem" BasedOn="{StaticResource Gallery_BlankListBoxItem}">
                                        <Setter Property="Margin" Value="10 0"></Setter>
                                        <Setter Property="Template">
                                            <Setter.Value>
                                                <ControlTemplate TargetType="ListBoxItem">
                                                    <Ellipse x:Name="ellipse" Stroke="{StaticResource TangoPrimaryAccentBrush}" Width="20" Height="20" StrokeThickness="1">
                                                        <Ellipse.Style>
                                                            <Style TargetType="Ellipse">

                                                            </Style>
                                                        </Ellipse.Style>
                                                    </Ellipse>
                                                    <ControlTemplate.Triggers>
                                                        <Trigger Property="IsSelected" Value="True">
                                                            <Setter TargetName="ellipse" Property="Fill" Value="{StaticResource TangoGrayBrush}"></Setter>
                                                        </Trigger>
                                                        <Trigger Property="IsSelected" Value="False">
                                                            <Setter TargetName="ellipse" Property="Fill" Value="Transparent"></Setter>
                                                        </Trigger>
                                                    </ControlTemplate.Triggers>
                                                </ControlTemplate>
                                            </Setter.Value>
                                        </Setter>
                                    </Style>
                                </ListBox.ItemContainerStyle>
                            </ListBox>

                            <controls:NavigationControl x:Name="navigationControl" GalleryMode="True" TransitionType="Slide" TransitionDuration="00:00:0.2" SelectedIndex="{TemplateBinding SelectedIndex}">

                            </controls:NavigationControl>
                        </DockPanel>
                    </Border>
                </ControlTemplate>
            </Setter.Value>
        </Setter>
    </Style>
    
</ResourceDictionary>