aboutsummaryrefslogtreecommitdiffstats
path: root/Software/Visual_Studio/PPC/Modules/Tango.PPC.Maintenance/Views/GeneralGuideView.xaml
blob: ecff03b589600508bd77ebed223e33dd23b80190 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
<UserControl x:Class="Tango.PPC.Maintenance.Views.GeneralGuideView"
             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" 
             xmlns:local="clr-namespace:Tango.PPC.Maintenance.Views"
             xmlns:vm="clr-namespace:Tango.PPC.Maintenance.ViewModels"
             xmlns:global="clr-namespace:Tango.PPC.Maintenance"
             xmlns:touch="clr-namespace:Tango.Touch.Controls;assembly=Tango.Touch"
             mc:Ignorable="d" 
             d:DesignHeight="1280" d:DesignWidth="800" d:DataContext="{d:DesignInstance Type=vm:GeneralGuideViewVM, IsDesignTimeCreatable=False}" DataContext="{x:Static global:ViewModelLocator.GeneralGuideViewVM}">
    <Grid>
        <Grid Background="{StaticResource TangoMidBackgroundBrush}">
            <Grid.RowDefinitions>
                <RowDefinition Height="Auto"/>
                <RowDefinition Height="1*"/>
            </Grid.RowDefinitions>

            <StackPanel Orientation="Horizontal" Margin="20">
                <Image Source="{Binding Guide.Icon}" Stretch="None" VerticalAlignment="Center" />
                <TextBlock Margin="20 0 0 0" VerticalAlignment="Center" FontSize="23" Text="{Binding Guide.Name}"></TextBlock>
            </StackPanel>

            <Grid Grid.Row="1" Margin="10">
                <touch:TouchDropShadowBorder Padding="20" Background="{StaticResource TangoPrimaryBackgroundBrush}">
                    <DockPanel>
                        <ItemsControl DockPanel.Dock="Top" ItemsSource="{Binding Guide.Steps}" AlternationCount="2">
                            <ItemsControl.ItemTemplate>
                                <DataTemplate>
                                    <Border x:Name="FooBar" Padding="20 5">
                                        <DockPanel>
                                            <touch:TouchCheckBox Width="50" Padding="5 0 0 0" Height="50" DockPanel.Dock="Right" IsChecked="{Binding IsChecked,Mode=TwoWay}" />
                                            <TextBlock VerticalAlignment="Center" FontSize="16" HorizontalAlignment="Left" TextWrapping="Wrap" Text="{Binding Text}"></TextBlock>
                                        </DockPanel>
                                    </Border>
                                    <DataTemplate.Triggers>
                                        <Trigger Property="ItemsControl.AlternationIndex" Value="0">
                                            <Setter Property="Background" Value="#f9f8f8" TargetName="FooBar"/>
                                        </Trigger>
                                        <Trigger Property="ItemsControl.AlternationIndex" Value="1">
                                            <Setter Property="Background" Value="{StaticResource TangoPrimaryBackgroundBrush}" TargetName="FooBar"/>
                                        </Trigger>
                                    </DataTemplate.Triggers>
                                </DataTemplate>
                            </ItemsControl.ItemTemplate>

                        </ItemsControl>

                        <touch:TouchGifAnimation Margin="0 20 0 0" HorizontalAlignment="Left" VerticalAlignment="Bottom" EnableAnimation="{Binding IsVisible}" Source="{Binding Guide.Image}" Stretch="Uniform"></touch:TouchGifAnimation>
                    </DockPanel>
                </touch:TouchDropShadowBorder>
            </Grid>
        </Grid>
    </Grid>
</UserControl>
D=1 -Dti_sysbios_utils_Load_taskEnabled__D=TRUE -Dti_sysbios_utils_Load_swiEnabled__D=FALSE -Dti_sysbios_utils_Load_hwiEnabled__D=FALSE -Dti_sysbios_family_arm_m3_Hwi_dispatcherSwiSupport__D=TRUE -Dti_sysbios_family_arm_m3_Hwi_dispatcherTaskSupport__D=TRUE -Dti_sysbios_family_arm_m3_Hwi_dispatcherAutoNestingSupport__D=TRUE -Dti_sysbios_family_arm_m3_Hwi_dispatcherIrpTrackingSupport__D=TRUE -Dti_sysbios_knl_Semaphore_supportsEvents__D=FALSE -Dti_sysbios_knl_Semaphore_supportsPriority__D=TRUE BIOS_INC = -I"C:/TI/tirtos_tivac_2_16_00_08/products/bios_6_45_01_29/packages/" TARGET_INC = -I"C:/TI/tirtos_tivac_2_16_00_08/products/bios_6_45_01_29/packages/" INCS = $(BIOS_INC) $(TARGET_INC) CC = C:/TI/ccsv7/tools/compiler/ti-cgt-arm_16.9.4.LTS/bin/armcl -c $(CCOPTS) -I C:/TI/ccsv7/tools/compiler/ti-cgt-arm_16.9.4.LTS/include ASM = C:/TI/ccsv7/tools/compiler/ti-cgt-arm_16.9.4.LTS/bin/armcl -c $(CCOPTS) -I C:/TI/ccsv7/tools/compiler/ti-cgt-arm_16.9.4.LTS/include AR = C:/TI/ccsv7/tools/compiler/ti-cgt-arm_16.9.4.LTS/bin/armar rq DEL = C:/TI/xdctools_3_32_00_06_core/packages/../bin/rm -f CP = C:/TI/xdctools_3_32_00_06_core/packages/../bin/cp -f define RM $(if $(wildcard $1),$(DEL) $1,:) endef define ASSEMBLE @echo asmem4f $< ... @$(ASM) $(BIOS_DEFS) $(XOPTS) $(INCS) $< endef all: sysbios.aem4f m3_Hwi_asm.obj: family/arm/m3/Hwi_asm.sv7M makefile @-$(call RM, $@) $(ASSEMBLE) --output_file=m3_Hwi_asm.obj m3_Hwi_asm_switch.obj: family/arm/m3/Hwi_asm_switch.sv7M makefile @-$(call RM, $@) $(ASSEMBLE) --output_file=m3_Hwi_asm_switch.obj m3_IntrinsicsSupport_asm.obj: family/arm/m3/IntrinsicsSupport_asm.sv7M makefile @-$(call RM, $@) $(ASSEMBLE) --output_file=m3_IntrinsicsSupport_asm.obj m3_TaskSupport_asm.obj: family/arm/m3/TaskSupport_asm.sv7M makefile @-$(call RM, $@) $(ASSEMBLE) --output_file=m3_TaskSupport_asm.obj BIOS.obj: BIOS.c family/arm/m3/Hwi.c family/arm/m3/TaskSupport.c knl/Clock.c knl/Idle.c knl/Intrinsics.c knl/Event.c knl/Mailbox.c knl/Queue.c knl/Semaphore.c knl/Swi.c knl/Swi_andn.c knl/Task.c hal/Hwi.c hal/Hwi_stack.c hal/Hwi_startup.c hal/Seconds.c family/arm/lm4/Seconds.c family/arm/lm4/TimestampProvider.c family/arm/lm4/Timer.c io/DEV.c io/GIO.c io/IOM_stub.c gates/GateHwi.c gates/GateMutex.c xdcruntime/SemThreadSupport.c heaps/HeapMem.c makefile @-$(call RM, $@) @echo clem4f $< ... @$(CC) $(BIOS_DEFS) $(XOPTS) $(INCS) \ $(BIOS_ROOT)BIOS.c \ $(BIOS_ROOT)family/arm/m3/Hwi.c \ $(BIOS_ROOT)family/arm/m3/TaskSupport.c \ $(BIOS_ROOT)knl/Clock.c \ $(BIOS_ROOT)knl/Idle.c \ $(BIOS_ROOT)knl/Intrinsics.c \ $(BIOS_ROOT)knl/Event.c \ $(BIOS_ROOT)knl/Mailbox.c \ $(BIOS_ROOT)knl/Queue.c \ $(BIOS_ROOT)knl/Semaphore.c \ $(BIOS_ROOT)knl/Swi.c \ $(BIOS_ROOT)knl/Swi_andn.c \ $(BIOS_ROOT)knl/Task.c \ $(BIOS_ROOT)hal/Hwi.c \ $(BIOS_ROOT)hal/Hwi_stack.c \ $(BIOS_ROOT)hal/Hwi_startup.c \ $(BIOS_ROOT)hal/Seconds.c \ $(BIOS_ROOT)family/arm/lm4/Seconds.c \ $(BIOS_ROOT)family/arm/lm4/TimestampProvider.c \ $(BIOS_ROOT)family/arm/lm4/Timer.c \ $(BIOS_ROOT)io/DEV.c \ $(BIOS_ROOT)io/GIO.c \ $(BIOS_ROOT)io/IOM_stub.c \ $(BIOS_ROOT)gates/GateHwi.c \ $(BIOS_ROOT)gates/GateMutex.c \ $(BIOS_ROOT)xdcruntime/SemThreadSupport.c \ $(BIOS_ROOT)heaps/HeapMem.c \ sysbios.aem4f: BIOS.obj m3_Hwi_asm.obj m3_Hwi_asm_switch.obj m3_IntrinsicsSupport_asm.obj m3_TaskSupport_asm.obj @-$(call RM, $@) @echo arem4f $^ ... @$(AR) $@ $^ clean: @$(DEL) ..\makefile.libs @-$(call RM, *)