2009-11-13 Jeffrey Stedfast <fejj@novell.com>
[moon.git] / plugin / plugin-spinner.h
blob39df3bff76021b192998654d2cc5b7b7d6fafabe
1 /*
2 * plugin-spinner.h: the xaml for the loading spinner.
4 * Contact:
5 * Moonlight List (moonlight-list@lists.ximian.com)
7 * Copyright 2007 Novell, Inc. (http://www.novell.com)
9 * See the LICENSE file included with the distribution for details.
12 #define PLUGIN_SPINNER \
13 "<Grid xmlns=\"http://schemas.microsoft.com/winfx/2006/xaml/presentation\" " \
14 "xmlns:x=\"http://schemas.microsoft.com/winfx/2006/xaml\" > " \
15 "<Canvas Width=\"400\" Height=\"400\" > " \
16 " <Canvas Canvas.Top=\"200\" Canvas.Left=\"200\"> "\
17 " <Canvas.Triggers> " \
18 " <EventTrigger RoutedEvent=\"Canvas.Loaded\" > "\
19 " <BeginStoryboard> "\
20 " <Storyboard x:Name=\"sb_spin\" " \
21 " BeginTime=\"0:0:0\"" \
22 " RepeatBehavior=\"Forever\">" \
23 " <DoubleAnimation x:Name=\"spin\" " \
24 " Storyboard.TargetName=\"xform\"" \
25 " Storyboard.TargetProperty=\"Angle\"" \
26 " To=\"360\"" \
27 " Duration=\"00:00:01\"" \
28 " />" \
29 " </Storyboard>" \
30 " </BeginStoryboard>" \
31 " </EventTrigger>" \
32 " </Canvas.Triggers>" \
33 " <Canvas.RenderTransform>" \
34 " <TransformGroup>" \
35 " <RotateTransform x:Name=\"xform\" Angle=\"0\" />" \
36 " </TransformGroup>" \
37 " </Canvas.RenderTransform>" \
38 " <Ellipse Fill=\"White\" Stroke=\"Gray\" Width=\"25\" Height=\"25\">" \
39 " <Ellipse.RenderTransform>" \
40 " <TransformGroup>" \
41 " <ScaleTransform ScaleX=\".15\" ScaleY=\".15\" CenterX=\"12.5\" CenterY=\"12.5\" />" \
42 " </TransformGroup>" \
43 " </Ellipse.RenderTransform>" \
44 " </Ellipse>" \
45 " <Ellipse Fill=\"White\" Stroke=\"Gray\" Width=\"25\" Height=\"25\">" \
46 " <Ellipse.RenderTransform>" \
47 " <TransformGroup>" \
48 " <ScaleTransform ScaleX=\".2\" ScaleY=\".2\" CenterX=\"12.5\" CenterY=\"12.5\" />" \
49 " <RotateTransform Angle=\"30\" />" \
50 " </TransformGroup>" \
51 " </Ellipse.RenderTransform>" \
52 " </Ellipse>" \
53 " <Ellipse Fill=\"White\" Stroke=\"Gray\" Width=\"25\" Height=\"25\">" \
54 " <Ellipse.RenderTransform>" \
55 " <TransformGroup>" \
56 " <ScaleTransform ScaleX=\".25\" ScaleY=\".25\" CenterX=\"12.5\" CenterY=\"12.5\" />" \
57 " <RotateTransform Angle=\"60\" />" \
58 " </TransformGroup>" \
59 " </Ellipse.RenderTransform>" \
60 " </Ellipse>" \
61 " <Ellipse Fill=\"White\" Stroke=\"Gray\" Width=\"25\" Height=\"25\">" \
62 " <Ellipse.RenderTransform>" \
63 " <TransformGroup>" \
64 " <ScaleTransform ScaleX=\".3\" ScaleY=\".3\" CenterX=\"12.5\" CenterY=\"12.5\" />" \
65 " <RotateTransform Angle=\"90\" />" \
66 " </TransformGroup>" \
67 " </Ellipse.RenderTransform>" \
68 " </Ellipse>" \
69 " <Ellipse Fill=\"White\" Stroke=\"Gray\" Width=\"25\" Height=\"25\">" \
70 " <Ellipse.RenderTransform>" \
71 " <TransformGroup>" \
72 " <ScaleTransform ScaleX=\".35\" ScaleY=\".35\" CenterX=\"12.5\" CenterY=\"12.5\" />" \
73 " <RotateTransform Angle=\"120\" />" \
74 " </TransformGroup>" \
75 " </Ellipse.RenderTransform>" \
76 " </Ellipse>" \
77 " <Ellipse Fill=\"White\" Stroke=\"Gray\" Width=\"25\" Height=\"25\">" \
78 " <Ellipse.RenderTransform>" \
79 " <TransformGroup>" \
80 " <ScaleTransform ScaleX=\".4\" ScaleY=\".4\" CenterX=\"12.5\" CenterY=\"12.5\" />" \
81 " <RotateTransform Angle=\"150\" />" \
82 " </TransformGroup>" \
83 " </Ellipse.RenderTransform>" \
84 " </Ellipse>" \
85 " <Ellipse Fill=\"White\" Stroke=\"Gray\" Width=\"25\" Height=\"25\">" \
86 " <Ellipse.RenderTransform>" \
87 " <TransformGroup>" \
88 " <ScaleTransform ScaleX=\".45\" ScaleY=\".45\" CenterX=\"12.5\" CenterY=\"12.5\" />" \
89 " <RotateTransform Angle=\"180\" />" \
90 " </TransformGroup>" \
91 " </Ellipse.RenderTransform>" \
92 " </Ellipse>" \
93 " <Ellipse Fill=\"White\" Stroke=\"Gray\" Width=\"25\" Height=\"25\">" \
94 " <Ellipse.RenderTransform>" \
95 " <TransformGroup>" \
96 " <ScaleTransform ScaleX=\".5\" ScaleY=\".5\" CenterX=\"12.5\" CenterY=\"12.5\" />" \
97 " <RotateTransform Angle=\"210\" />" \
98 " </TransformGroup>" \
99 " </Ellipse.RenderTransform>" \
100 " </Ellipse>" \
101 " <Ellipse Fill=\"White\" Stroke=\"Gray\" Width=\"25\" Height=\"25\">" \
102 " <Ellipse.RenderTransform>" \
103 " <TransformGroup>" \
104 " <ScaleTransform ScaleX=\".55\" ScaleY=\".55\" CenterX=\"12.5\" CenterY=\"12.5\" />" \
105 " <RotateTransform Angle=\"240\" />" \
106 " </TransformGroup>" \
107 " </Ellipse.RenderTransform>" \
108 " </Ellipse>" \
109 " <Ellipse Fill=\"White\" Stroke=\"Gray\" Width=\"25\" Height=\"25\">" \
110 " <Ellipse.RenderTransform>" \
111 " <TransformGroup>" \
112 " <ScaleTransform ScaleX=\".6\" ScaleY=\".6\" CenterX=\"12.5\" CenterY=\"12.5\" />" \
113 " <RotateTransform Angle=\"270\" />" \
114 " </TransformGroup>" \
115 " </Ellipse.RenderTransform>" \
116 " </Ellipse>" \
117 " <Ellipse Fill=\"White\" Stroke=\"Gray\" Width=\"25\" Height=\"25\">" \
118 " <Ellipse.RenderTransform>" \
119 " <TransformGroup>" \
120 " <ScaleTransform ScaleX=\".65\" ScaleY=\".65\" CenterX=\"12.5\" CenterY=\"12.5\" />" \
121 " <RotateTransform Angle=\"300\" />" \
122 " </TransformGroup>" \
123 " </Ellipse.RenderTransform>" \
124 " </Ellipse>" \
125 " <Ellipse Fill=\"White\" Stroke=\"Gray\" Width=\"25\" Height=\"25\">" \
126 " <Ellipse.RenderTransform>" \
127 " <TransformGroup>" \
128 " <ScaleTransform ScaleX=\".65\" ScaleY=\".65\" CenterX=\"12.5\" CenterY=\"12.5\" />" \
129 " <RotateTransform Angle=\"330\" />" \
130 " </TransformGroup>" \
131 " </Ellipse.RenderTransform>" \
132 " </Ellipse>" \
133 " </Canvas>" \
134 "</Canvas>" \
135 "</Grid>"