summaryrefslogtreecommitdiffstats
path: root/win/CS/HandBrakeWPF/Controls/Loading.xaml
blob: 4df2231082f9f6ad357975ffea99ea47295cc40e (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
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
<UserControl x:Class="HandBrakeWPF.Controls.Loading"
             xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
             xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
             Background="Transparent"
             Height="45"
             Width="45">

    <Viewbox Width="40" Height="40" HorizontalAlignment="Center" VerticalAlignment="Center">
        <Grid Background="Transparent" HorizontalAlignment="Center" VerticalAlignment="Center">
            <Canvas RenderTransformOrigin="0.5,0.5"
              HorizontalAlignment="Center"
              VerticalAlignment="Center"
              Width="120"
              Height="120"
              Loaded="CanvasLoaded"
              Unloaded="CanvasUnloaded">

                <Ellipse x:Name="circle0"
                 Width="20"
                 Height="20"
                 Canvas.Left="0"
                 Canvas.Top="0"
                 Stretch="Fill"
                 Fill="DarkOrange"
                 Opacity="1.0" />

                <Ellipse x:Name="circle1"
                 Width="20"
                 Height="20"
                 Canvas.Left="0"
                 Canvas.Top="0"
                 Stretch="Fill"
                 Fill="DarkOrange"
                 Opacity="0.9" />

                <Ellipse x:Name="circle2"
                 Width="20"
                 Height="20"
                 Canvas.Left="0"
                 Canvas.Top="0"
                 Stretch="Fill"
                 Fill="DarkOrange"
                 Opacity="0.8" />

                <Ellipse x:Name="circle3"
                 Width="20"
                 Height="20"
                 Canvas.Left="0"
                 Canvas.Top="0"
                 Stretch="Fill"
                 Fill="DarkOrange"
                 Opacity="0.7" />

                <Ellipse x:Name="circle4"
                 Width="20"
                 Height="20"
                 Canvas.Left="0"
                 Canvas.Top="0"
                 Stretch="Fill"
                 Fill="DarkOrange"
                 Opacity="0.6" />

                <Ellipse x:Name="circle5"
                 Width="20"
                 Height="20"
                 Canvas.Left="0"
                 Canvas.Top="0"
                 Stretch="Fill"
                 Fill="DarkOrange"
                 Opacity="0.5" />

                <Ellipse x:Name="circle6"
                 Width="20"
                 Height="20"
                 Canvas.Left="0"
                 Canvas.Top="0"
                 Stretch="Fill"
                 Fill="DarkOrange"
                 Opacity="0.4" />

                <Ellipse x:Name="circle7"
                 Width="20"
                 Height="20"
                 Canvas.Left="0"
                 Canvas.Top="0"
                 Stretch="Fill"
                 Fill="DarkOrange"
                 Opacity="0.3" />

                <Ellipse x:Name="circle8"
                 Width="20"
                 Height="20"
                 Canvas.Left="0"
                 Canvas.Top="0"
                 Stretch="Fill"
                 Fill="DarkOrange"
                 Opacity="0.2" />

                <Canvas.RenderTransform>
                    <RotateTransform x:Name="rotate" Angle="0" />
                </Canvas.RenderTransform>
            </Canvas>
        </Grid>
    </Viewbox>
</UserControl>