initial work on rating bar
This commit is contained in:
1 parent
cb4dfdabba
commit
222cc0ba03
10 files changed
+911
-240
No files matched your search
@@ -317,6 +317,11 @@
|
|||||||
<VolDown>VolDown.png</VolDown>
|
<VolDown>VolDown.png</VolDown>
|
||||||
<Random>RandomIcon.png</Random>
|
<Random>RandomIcon.png</Random>
|
||||||
<RatingBar>RatingBar.png</RatingBar>
|
<RatingBar>RatingBar.png</RatingBar>
|
||||||
|
<RatingBarBackground>RatingBar.png</RatingBarBackground>
|
||||||
|
<RatingBarForeground>RatingBar.png</RatingBarForeground>
|
||||||
|
<RatingBarProgressLeft>NotesFillLeft.png</RatingBarProgressLeft>
|
||||||
|
<RatingBarProgressMid>NotesFillMid.png</RatingBarProgressMid>
|
||||||
|
<RatingBarProgressRight>NotesFillRight.png</RatingBarProgressRight>
|
||||||
<PopupBG>PopupBG.png</PopupBG>
|
<PopupBG>PopupBG.png</PopupBG>
|
||||||
<ScrollUp>ScrollUp.png</ScrollUp>
|
<ScrollUp>ScrollUp.png</ScrollUp>
|
||||||
<ScrollDown>ScrollDown.png</ScrollDown>
|
<ScrollDown>ScrollDown.png</ScrollDown>
|
||||||
|
|||||||
@@ -317,6 +317,11 @@
|
|||||||
<VolDown>VolDown.png</VolDown>
|
<VolDown>VolDown.png</VolDown>
|
||||||
<Random>RandomIcon.png</Random>
|
<Random>RandomIcon.png</Random>
|
||||||
<RatingBar>RatingBar.png</RatingBar>
|
<RatingBar>RatingBar.png</RatingBar>
|
||||||
|
<RatingBarBackground>RatingBar.png</RatingBarBackground>
|
||||||
|
<RatingBarForeground>RatingBar.png</RatingBarForeground>
|
||||||
|
<RatingBarProgressLeft>NotesFillLeft.png</RatingBarProgressLeft>
|
||||||
|
<RatingBarProgressMid>NotesFillMid.png</RatingBarProgressMid>
|
||||||
|
<RatingBarProgressRight>NotesFillRight.png</RatingBarProgressRight>
|
||||||
<PopupBG>PopupBG.png</PopupBG>
|
<PopupBG>PopupBG.png</PopupBG>
|
||||||
<ScrollUp>ScrollUp.png</ScrollUp>
|
<ScrollUp>ScrollUp.png</ScrollUp>
|
||||||
<ScrollDown>ScrollDown.png</ScrollDown>
|
<ScrollDown>ScrollDown.png</ScrollDown>
|
||||||
|
|||||||
@@ -317,6 +317,11 @@
|
|||||||
<VolDown>VolDown.png</VolDown>
|
<VolDown>VolDown.png</VolDown>
|
||||||
<Random>RandomIcon.png</Random>
|
<Random>RandomIcon.png</Random>
|
||||||
<RatingBar>RatingBar.png</RatingBar>
|
<RatingBar>RatingBar.png</RatingBar>
|
||||||
|
<RatingBarBackground>RatingBar.png</RatingBarBackground>
|
||||||
|
<RatingBarForeground>RatingBar.png</RatingBarForeground>
|
||||||
|
<RatingBarProgressLeft>NotesFillLeft.png</RatingBarProgressLeft>
|
||||||
|
<RatingBarProgressMid>NotesFillMid.png</RatingBarProgressMid>
|
||||||
|
<RatingBarProgressRight>NotesFillRight.png</RatingBarProgressRight>
|
||||||
<PopupBG>PopupBG.png</PopupBG>
|
<PopupBG>PopupBG.png</PopupBG>
|
||||||
<ScrollUp>ScrollUp.png</ScrollUp>
|
<ScrollUp>ScrollUp.png</ScrollUp>
|
||||||
<ScrollDown>ScrollDown.png</ScrollDown>
|
<ScrollDown>ScrollDown.png</ScrollDown>
|
||||||
|
|||||||
@@ -174,17 +174,6 @@
|
|||||||
<H>50</H>
|
<H>50</H>
|
||||||
<Z>-0.75</Z>
|
<Z>-0.75</Z>
|
||||||
</Rect>
|
</Rect>
|
||||||
</Static>
|
|
||||||
<Static Name="StaticRatingBarP1N1">
|
|
||||||
<Skin>RatingBar</Skin>
|
|
||||||
<Color Name="Visible" />
|
|
||||||
<Rect>
|
|
||||||
<X>1085</X>
|
|
||||||
<Y>410</Y>
|
|
||||||
<W>160</W>
|
|
||||||
<H>10</H>
|
|
||||||
<Z>-0.75</Z>
|
|
||||||
</Rect>
|
|
||||||
</Static>
|
</Static>
|
||||||
<Static Name="StaticAvatarP1N1">
|
<Static Name="StaticAvatarP1N1">
|
||||||
<Skin/>
|
<Skin/>
|
||||||
@@ -207,17 +196,6 @@
|
|||||||
<H>50</H>
|
<H>50</H>
|
||||||
<Z>-0.75</Z>
|
<Z>-0.75</Z>
|
||||||
</Rect>
|
</Rect>
|
||||||
</Static>
|
|
||||||
<Static Name="StaticRatingBarP1N2">
|
|
||||||
<Skin>RatingBar</Skin>
|
|
||||||
<Color Name="Visible" />
|
|
||||||
<Rect>
|
|
||||||
<X>1085</X>
|
|
||||||
<Y>170</Y>
|
|
||||||
<W>160</W>
|
|
||||||
<H>10</H>
|
|
||||||
<Z>-0.75</Z>
|
|
||||||
</Rect>
|
|
||||||
</Static>
|
</Static>
|
||||||
<Static Name="StaticAvatarP1N2">
|
<Static Name="StaticAvatarP1N2">
|
||||||
<Skin/>
|
<Skin/>
|
||||||
@@ -241,17 +219,7 @@
|
|||||||
<Z>-0.75</Z>
|
<Z>-0.75</Z>
|
||||||
</Rect>
|
</Rect>
|
||||||
</Static>
|
</Static>
|
||||||
<Static Name="StaticRatingBarP2N2">
|
|
||||||
<Skin>RatingBar</Skin>
|
|
||||||
<Color Name="Visible" />
|
|
||||||
<Rect>
|
|
||||||
<X>1085</X>
|
|
||||||
<Y>430</Y>
|
|
||||||
<W>160</W>
|
|
||||||
<H>10</H>
|
|
||||||
<Z>-0.75</Z>
|
|
||||||
</Rect>
|
|
||||||
</Static>
|
|
||||||
<Static Name="StaticAvatarP2N2">
|
<Static Name="StaticAvatarP2N2">
|
||||||
<Skin/>
|
<Skin/>
|
||||||
<Color Name="StaticAvatarColor" />
|
<Color Name="StaticAvatarColor" />
|
||||||
@@ -274,17 +242,6 @@
|
|||||||
<Z>-0.75</Z>
|
<Z>-0.75</Z>
|
||||||
</Rect>
|
</Rect>
|
||||||
</Static>
|
</Static>
|
||||||
<Static Name="StaticRatingBarP1N3">
|
|
||||||
<Skin>RatingBar</Skin>
|
|
||||||
<Color Name="Visible" />
|
|
||||||
<Rect>
|
|
||||||
<X>1155</X>
|
|
||||||
<Y>135</Y>
|
|
||||||
<W>85</W>
|
|
||||||
<H>7</H>
|
|
||||||
<Z>-0.75</Z>
|
|
||||||
</Rect>
|
|
||||||
</Static>
|
|
||||||
<Static Name="StaticAvatarP1N3">
|
<Static Name="StaticAvatarP1N3">
|
||||||
<Skin/>
|
<Skin/>
|
||||||
<Color Name="StaticAvatarColor" />
|
<Color Name="StaticAvatarColor" />
|
||||||
@@ -307,17 +264,6 @@
|
|||||||
<Z>-0.75</Z>
|
<Z>-0.75</Z>
|
||||||
</Rect>
|
</Rect>
|
||||||
</Static>
|
</Static>
|
||||||
<Static Name="StaticRatingBarP2N3">
|
|
||||||
<Skin>RatingBar</Skin>
|
|
||||||
<Color Name="Visible" />
|
|
||||||
<Rect>
|
|
||||||
<X>1155</X>
|
|
||||||
<Y>305</Y>
|
|
||||||
<W>85</W>
|
|
||||||
<H>7</H>
|
|
||||||
<Z>-0.75</Z>
|
|
||||||
</Rect>
|
|
||||||
</Static>
|
|
||||||
<Static Name="StaticAvatarP2N3">
|
<Static Name="StaticAvatarP2N3">
|
||||||
<Skin/>
|
<Skin/>
|
||||||
<Color Name="StaticAvatarColor" />
|
<Color Name="StaticAvatarColor" />
|
||||||
@@ -340,17 +286,6 @@
|
|||||||
<Z>-0.75</Z>
|
<Z>-0.75</Z>
|
||||||
</Rect>
|
</Rect>
|
||||||
</Static>
|
</Static>
|
||||||
<Static Name="StaticRatingBarP3N3">
|
|
||||||
<Skin>RatingBar</Skin>
|
|
||||||
<Color Name="Visible" />
|
|
||||||
<Rect>
|
|
||||||
<X>1155</X>
|
|
||||||
<Y>475</Y>
|
|
||||||
<W>85</W>
|
|
||||||
<H>7</H>
|
|
||||||
<Z>-0.75</Z>
|
|
||||||
</Rect>
|
|
||||||
</Static>
|
|
||||||
<Static Name="StaticAvatarP3N3">
|
<Static Name="StaticAvatarP3N3">
|
||||||
<Skin/>
|
<Skin/>
|
||||||
<Color Name="StaticAvatarColor" />
|
<Color Name="StaticAvatarColor" />
|
||||||
@@ -373,17 +308,6 @@
|
|||||||
<Z>-0.75</Z>
|
<Z>-0.75</Z>
|
||||||
</Rect>
|
</Rect>
|
||||||
</Static>
|
</Static>
|
||||||
<Static Name="StaticRatingBarP1N4">
|
|
||||||
<Skin>RatingBar</Skin>
|
|
||||||
<Color Name="Visible" />
|
|
||||||
<Rect>
|
|
||||||
<X>471</X>
|
|
||||||
<Y>170</Y>
|
|
||||||
<W>160</W>
|
|
||||||
<H>10</H>
|
|
||||||
<Z>-0.75</Z>
|
|
||||||
</Rect>
|
|
||||||
</Static>
|
|
||||||
<Static Name="StaticAvatarP1N4">
|
<Static Name="StaticAvatarP1N4">
|
||||||
<Skin/>
|
<Skin/>
|
||||||
<Color Name="StaticAvatarColor" />
|
<Color Name="StaticAvatarColor" />
|
||||||
@@ -406,17 +330,6 @@
|
|||||||
<Z>-0.75</Z>
|
<Z>-0.75</Z>
|
||||||
</Rect>
|
</Rect>
|
||||||
</Static>
|
</Static>
|
||||||
<Static Name="StaticRatingBarP2N4">
|
|
||||||
<Skin>RatingBar</Skin>
|
|
||||||
<Color Name="Visible" />
|
|
||||||
<Rect>
|
|
||||||
<X>471</X>
|
|
||||||
<Y>430</Y>
|
|
||||||
<W>160</W>
|
|
||||||
<H>10</H>
|
|
||||||
<Z>-0.75</Z>
|
|
||||||
</Rect>
|
|
||||||
</Static>
|
|
||||||
<Static Name="StaticAvatarP2N4">
|
<Static Name="StaticAvatarP2N4">
|
||||||
<Skin/>
|
<Skin/>
|
||||||
<Color Name="StaticAvatarColor" />
|
<Color Name="StaticAvatarColor" />
|
||||||
@@ -439,17 +352,6 @@
|
|||||||
<Z>-0.75</Z>
|
<Z>-0.75</Z>
|
||||||
</Rect>
|
</Rect>
|
||||||
</Static>
|
</Static>
|
||||||
<Static Name="StaticRatingBarP3N4">
|
|
||||||
<Skin>RatingBar</Skin>
|
|
||||||
<Color Name="Visible" />
|
|
||||||
<Rect>
|
|
||||||
<X>1105</X>
|
|
||||||
<Y>170</Y>
|
|
||||||
<W>160</W>
|
|
||||||
<H>10</H>
|
|
||||||
<Z>-0.75</Z>
|
|
||||||
</Rect>
|
|
||||||
</Static>
|
|
||||||
<Static Name="StaticAvatarP3N4">
|
<Static Name="StaticAvatarP3N4">
|
||||||
<Skin/>
|
<Skin/>
|
||||||
<Color Name="StaticAvatarColor" />
|
<Color Name="StaticAvatarColor" />
|
||||||
@@ -472,17 +374,6 @@
|
|||||||
<Z>-0.75</Z>
|
<Z>-0.75</Z>
|
||||||
</Rect>
|
</Rect>
|
||||||
</Static>
|
</Static>
|
||||||
<Static Name="StaticRatingBarP4N4">
|
|
||||||
<Skin>RatingBar</Skin>
|
|
||||||
<Color Name="Visible" />
|
|
||||||
<Rect>
|
|
||||||
<X>1105</X>
|
|
||||||
<Y>430</Y>
|
|
||||||
<W>160</W>
|
|
||||||
<H>10</H>
|
|
||||||
<Z>-0.75</Z>
|
|
||||||
</Rect>
|
|
||||||
</Static>
|
|
||||||
<Static Name="StaticAvatarP4N4">
|
<Static Name="StaticAvatarP4N4">
|
||||||
<Skin/>
|
<Skin/>
|
||||||
<Color Name="StaticAvatarColor" />
|
<Color Name="StaticAvatarColor" />
|
||||||
@@ -505,17 +396,6 @@
|
|||||||
<Z>-0.75</Z>
|
<Z>-0.75</Z>
|
||||||
</Rect>
|
</Rect>
|
||||||
</Static>
|
</Static>
|
||||||
<Static Name="StaticRatingBarP1N5">
|
|
||||||
<Skin>RatingBar</Skin>
|
|
||||||
<Color Name="Visible" />
|
|
||||||
<Rect>
|
|
||||||
<X>540</X>
|
|
||||||
<Y>135</Y>
|
|
||||||
<W>85</W>
|
|
||||||
<H>7</H>
|
|
||||||
<Z>-0.75</Z>
|
|
||||||
</Rect>
|
|
||||||
</Static>
|
|
||||||
<Static Name="StaticAvatarP1N5">
|
<Static Name="StaticAvatarP1N5">
|
||||||
<Skin/>
|
<Skin/>
|
||||||
<Color Name="StaticAvatarColor" />
|
<Color Name="StaticAvatarColor" />
|
||||||
@@ -538,17 +418,6 @@
|
|||||||
<Z>-0.75</Z>
|
<Z>-0.75</Z>
|
||||||
</Rect>
|
</Rect>
|
||||||
</Static>
|
</Static>
|
||||||
<Static Name="StaticRatingBarP2N5">
|
|
||||||
<Skin>RatingBar</Skin>
|
|
||||||
<Color Name="Visible" />
|
|
||||||
<Rect>
|
|
||||||
<X>540</X>
|
|
||||||
<Y>305</Y>
|
|
||||||
<W>85</W>
|
|
||||||
<H>7</H>
|
|
||||||
<Z>-0.75</Z>
|
|
||||||
</Rect>
|
|
||||||
</Static>
|
|
||||||
<Static Name="StaticAvatarP2N5">
|
<Static Name="StaticAvatarP2N5">
|
||||||
<Skin/>
|
<Skin/>
|
||||||
<Color Name="StaticAvatarColor" />
|
<Color Name="StaticAvatarColor" />
|
||||||
@@ -571,17 +440,6 @@
|
|||||||
<Z>-0.75</Z>
|
<Z>-0.75</Z>
|
||||||
</Rect>
|
</Rect>
|
||||||
</Static>
|
</Static>
|
||||||
<Static Name="StaticRatingBarP3N5">
|
|
||||||
<Skin>RatingBar</Skin>
|
|
||||||
<Color Name="Visible" />
|
|
||||||
<Rect>
|
|
||||||
<X>540</X>
|
|
||||||
<Y>475</Y>
|
|
||||||
<W>85</W>
|
|
||||||
<H>7</H>
|
|
||||||
<Z>-0.75</Z>
|
|
||||||
</Rect>
|
|
||||||
</Static>
|
|
||||||
<Static Name="StaticAvatarP3N5">
|
<Static Name="StaticAvatarP3N5">
|
||||||
<Skin/>
|
<Skin/>
|
||||||
<Color Name="StaticAvatarColor" />
|
<Color Name="StaticAvatarColor" />
|
||||||
@@ -604,17 +462,6 @@
|
|||||||
<Z>-0.75</Z>
|
<Z>-0.75</Z>
|
||||||
</Rect>
|
</Rect>
|
||||||
</Static>
|
</Static>
|
||||||
<Static Name="StaticRatingBarP4N5">
|
|
||||||
<Skin>RatingBar</Skin>
|
|
||||||
<Color Name="Visible" />
|
|
||||||
<Rect>
|
|
||||||
<X>1175</X>
|
|
||||||
<Y>135</Y>
|
|
||||||
<W>85</W>
|
|
||||||
<H>7</H>
|
|
||||||
<Z>-0.75</Z>
|
|
||||||
</Rect>
|
|
||||||
</Static>
|
|
||||||
<Static Name="StaticAvatarP4N5">
|
<Static Name="StaticAvatarP4N5">
|
||||||
<Skin/>
|
<Skin/>
|
||||||
<Color Name="StaticAvatarColor" />
|
<Color Name="StaticAvatarColor" />
|
||||||
@@ -637,17 +484,6 @@
|
|||||||
<Z>-0.75</Z>
|
<Z>-0.75</Z>
|
||||||
</Rect>
|
</Rect>
|
||||||
</Static>
|
</Static>
|
||||||
<Static Name="StaticRatingBarP5N5">
|
|
||||||
<Skin>RatingBar</Skin>
|
|
||||||
<Color Name="Visible" />
|
|
||||||
<Rect>
|
|
||||||
<X>1175</X>
|
|
||||||
<Y>305</Y>
|
|
||||||
<W>85</W>
|
|
||||||
<H>7</H>
|
|
||||||
<Z>-0.75</Z>
|
|
||||||
</Rect>
|
|
||||||
</Static>
|
|
||||||
<Static Name="StaticAvatarP5N5">
|
<Static Name="StaticAvatarP5N5">
|
||||||
<Skin/>
|
<Skin/>
|
||||||
<Color Name="StaticAvatarColor" />
|
<Color Name="StaticAvatarColor" />
|
||||||
@@ -670,17 +506,6 @@
|
|||||||
<Z>-0.75</Z>
|
<Z>-0.75</Z>
|
||||||
</Rect>
|
</Rect>
|
||||||
</Static>
|
</Static>
|
||||||
<Static Name="StaticRatingBarP1N6">
|
|
||||||
<Skin>RatingBar</Skin>
|
|
||||||
<Color Name="Visible" />
|
|
||||||
<Rect>
|
|
||||||
<X>540</X>
|
|
||||||
<Y>135</Y>
|
|
||||||
<W>85</W>
|
|
||||||
<H>7</H>
|
|
||||||
<Z>-0.75</Z>
|
|
||||||
</Rect>
|
|
||||||
</Static>
|
|
||||||
<Static Name="StaticAvatarP1N6">
|
<Static Name="StaticAvatarP1N6">
|
||||||
<Skin/>
|
<Skin/>
|
||||||
<Color Name="StaticAvatarColor" />
|
<Color Name="StaticAvatarColor" />
|
||||||
@@ -703,17 +528,6 @@
|
|||||||
<Z>-0.75</Z>
|
<Z>-0.75</Z>
|
||||||
</Rect>
|
</Rect>
|
||||||
</Static>
|
</Static>
|
||||||
<Static Name="StaticRatingBarP2N6">
|
|
||||||
<Skin>RatingBar</Skin>
|
|
||||||
<Color Name="Visible" />
|
|
||||||
<Rect>
|
|
||||||
<X>540</X>
|
|
||||||
<Y>305</Y>
|
|
||||||
<W>85</W>
|
|
||||||
<H>7</H>
|
|
||||||
<Z>-0.75</Z>
|
|
||||||
</Rect>
|
|
||||||
</Static>
|
|
||||||
<Static Name="StaticAvatarP2N6">
|
<Static Name="StaticAvatarP2N6">
|
||||||
<Skin/>
|
<Skin/>
|
||||||
<Color Name="StaticAvatarColor" />
|
<Color Name="StaticAvatarColor" />
|
||||||
@@ -736,17 +550,6 @@
|
|||||||
<Z>-0.75</Z>
|
<Z>-0.75</Z>
|
||||||
</Rect>
|
</Rect>
|
||||||
</Static>
|
</Static>
|
||||||
<Static Name="StaticRatingBarP3N6">
|
|
||||||
<Skin>RatingBar</Skin>
|
|
||||||
<Color Name="Visible" />
|
|
||||||
<Rect>
|
|
||||||
<X>540</X>
|
|
||||||
<Y>475</Y>
|
|
||||||
<W>85</W>
|
|
||||||
<H>7</H>
|
|
||||||
<Z>-0.75</Z>
|
|
||||||
</Rect>
|
|
||||||
</Static>
|
|
||||||
<Static Name="StaticAvatarP3N6">
|
<Static Name="StaticAvatarP3N6">
|
||||||
<Skin/>
|
<Skin/>
|
||||||
<Color Name="StaticAvatarColor" />
|
<Color Name="StaticAvatarColor" />
|
||||||
@@ -769,17 +572,6 @@
|
|||||||
<Z>-0.75</Z>
|
<Z>-0.75</Z>
|
||||||
</Rect>
|
</Rect>
|
||||||
</Static>
|
</Static>
|
||||||
<Static Name="StaticRatingBarP4N6">
|
|
||||||
<Skin>RatingBar</Skin>
|
|
||||||
<Color Name="Visible" />
|
|
||||||
<Rect>
|
|
||||||
<X>1175</X>
|
|
||||||
<Y>135</Y>
|
|
||||||
<W>85</W>
|
|
||||||
<H>7</H>
|
|
||||||
<Z>-0.75</Z>
|
|
||||||
</Rect>
|
|
||||||
</Static>
|
|
||||||
<Static Name="StaticAvatarP4N6">
|
<Static Name="StaticAvatarP4N6">
|
||||||
<Skin/>
|
<Skin/>
|
||||||
<Color Name="StaticAvatarColor" />
|
<Color Name="StaticAvatarColor" />
|
||||||
@@ -802,17 +594,6 @@
|
|||||||
<Z>-0.75</Z>
|
<Z>-0.75</Z>
|
||||||
</Rect>
|
</Rect>
|
||||||
</Static>
|
</Static>
|
||||||
<Static Name="StaticRatingBarP5N6">
|
|
||||||
<Skin>RatingBar</Skin>
|
|
||||||
<Color Name="Visible" />
|
|
||||||
<Rect>
|
|
||||||
<X>1175</X>
|
|
||||||
<Y>305</Y>
|
|
||||||
<W>85</W>
|
|
||||||
<H>7</H>
|
|
||||||
<Z>-0.75</Z>
|
|
||||||
</Rect>
|
|
||||||
</Static>
|
|
||||||
<Static Name="StaticAvatarP5N6">
|
<Static Name="StaticAvatarP5N6">
|
||||||
<Skin/>
|
<Skin/>
|
||||||
<Color Name="StaticAvatarColor" />
|
<Color Name="StaticAvatarColor" />
|
||||||
@@ -835,17 +616,6 @@
|
|||||||
<Z>-0.75</Z>
|
<Z>-0.75</Z>
|
||||||
</Rect>
|
</Rect>
|
||||||
</Static>
|
</Static>
|
||||||
<Static Name="StaticRatingBarP6N6">
|
|
||||||
<Skin>RatingBar</Skin>
|
|
||||||
<Color Name="Visible" />
|
|
||||||
<Rect>
|
|
||||||
<X>1175</X>
|
|
||||||
<Y>475</Y>
|
|
||||||
<W>85</W>
|
|
||||||
<H>7</H>
|
|
||||||
<Z>-0.75</Z>
|
|
||||||
</Rect>
|
|
||||||
</Static>
|
|
||||||
<Static Name="StaticAvatarP6N6">
|
<Static Name="StaticAvatarP6N6">
|
||||||
<Skin/>
|
<Skin/>
|
||||||
<Color Name="StaticAvatarColor" />
|
<Color Name="StaticAvatarColor" />
|
||||||
@@ -1915,5 +1685,406 @@
|
|||||||
<Equalizers />
|
<Equalizers />
|
||||||
<Playlists />
|
<Playlists />
|
||||||
<ParticleEffects />
|
<ParticleEffects />
|
||||||
|
<ProgressBars>
|
||||||
|
<ProgressBar Name="ProgressBarRatingP1N1">
|
||||||
|
<SkinBackground>RatingBarBackground</SkinBackground>
|
||||||
|
<SkinForeground>RatingBarForeground</SkinForeground>
|
||||||
|
<SkinProgressLeft>RatingBarProgressLeft</SkinProgressLeft>
|
||||||
|
<SkinProgressMid>RatingBarProgressMid</SkinProgressMid>
|
||||||
|
<SkinProgressRight>RatingBarProgressRight</SkinProgressRight>
|
||||||
|
<ColorBackground Name="Visible" />
|
||||||
|
<ColorForeground Name="Visible" />
|
||||||
|
<Direction>Left</Direction>
|
||||||
|
<AnimateMovement>TR_CONFIG_ON</AnimateMovement>
|
||||||
|
<AnimateColoring>TR_CONFIG_ON</AnimateColoring>
|
||||||
|
<Rect>
|
||||||
|
<X>1085</X>
|
||||||
|
<Y>410</Y>
|
||||||
|
<W>160</W>
|
||||||
|
<H>10</H>
|
||||||
|
<Z>-0.75</Z>
|
||||||
|
</Rect>
|
||||||
|
</ProgressBar>
|
||||||
|
<ProgressBar Name="ProgressBarRatingP1N2">
|
||||||
|
<SkinBackground>RatingBarBackground</SkinBackground>
|
||||||
|
<SkinForeground>RatingBarForeground</SkinForeground>
|
||||||
|
<SkinProgressLeft>RatingBarProgressLeft</SkinProgressLeft>
|
||||||
|
<SkinProgressMid>RatingBarProgressMid</SkinProgressMid>
|
||||||
|
<SkinProgressRight>RatingBarProgressRight</SkinProgressRight>
|
||||||
|
<ColorBackground Name="Visible" />
|
||||||
|
<ColorForeground Name="Visible" />
|
||||||
|
<Direction>Left</Direction>
|
||||||
|
<AnimateMovement>TR_CONFIG_ON</AnimateMovement>
|
||||||
|
<AnimateColoring>TR_CONFIG_ON</AnimateColoring>
|
||||||
|
<Rect>
|
||||||
|
<X>1085</X>
|
||||||
|
<Y>170</Y>
|
||||||
|
<W>160</W>
|
||||||
|
<H>10</H>
|
||||||
|
<Z>-0.75</Z>
|
||||||
|
</Rect>
|
||||||
|
</ProgressBar>
|
||||||
|
<ProgressBar Name="ProgressBarRatingP2N2">
|
||||||
|
<SkinBackground>RatingBarBackground</SkinBackground>
|
||||||
|
<SkinForeground>RatingBarForeground</SkinForeground>
|
||||||
|
<SkinProgressLeft>RatingBarProgressLeft</SkinProgressLeft>
|
||||||
|
<SkinProgressMid>RatingBarProgressMid</SkinProgressMid>
|
||||||
|
<SkinProgressRight>RatingBarProgressRight</SkinProgressRight>
|
||||||
|
<ColorBackground Name="Visible" />
|
||||||
|
<ColorForeground Name="Visible" />
|
||||||
|
<Direction>Left</Direction>
|
||||||
|
<AnimateMovement>TR_CONFIG_ON</AnimateMovement>
|
||||||
|
<AnimateColoring>TR_CONFIG_ON</AnimateColoring>
|
||||||
|
<Rect>
|
||||||
|
<X>1085</X>
|
||||||
|
<Y>430</Y>
|
||||||
|
<W>160</W>
|
||||||
|
<H>10</H>
|
||||||
|
<Z>-0.75</Z>
|
||||||
|
</Rect>
|
||||||
|
</ProgressBar>
|
||||||
|
<ProgressBar Name="ProgressBarRatingP1N3">
|
||||||
|
<SkinBackground>RatingBarBackground</SkinBackground>
|
||||||
|
<SkinForeground>RatingBarForeground</SkinForeground>
|
||||||
|
<SkinProgressLeft>RatingBarProgressLeft</SkinProgressLeft>
|
||||||
|
<SkinProgressMid>RatingBarProgressMid</SkinProgressMid>
|
||||||
|
<SkinProgressRight>RatingBarProgressRight</SkinProgressRight>
|
||||||
|
<ColorBackground Name="Visible" />
|
||||||
|
<ColorForeground Name="Visible" />
|
||||||
|
<Direction>Left</Direction>
|
||||||
|
<AnimateMovement>TR_CONFIG_ON</AnimateMovement>
|
||||||
|
<AnimateColoring>TR_CONFIG_ON</AnimateColoring>
|
||||||
|
<Rect>
|
||||||
|
<X>1155</X>
|
||||||
|
<Y>135</Y>
|
||||||
|
<W>85</W>
|
||||||
|
<H>7</H>
|
||||||
|
<Z>-0.75</Z>
|
||||||
|
</Rect>
|
||||||
|
</ProgressBar>
|
||||||
|
<ProgressBar Name="ProgressBarRatingP2N3">
|
||||||
|
<SkinBackground>RatingBarBackground</SkinBackground>
|
||||||
|
<SkinForeground>RatingBarForeground</SkinForeground>
|
||||||
|
<SkinProgressLeft>RatingBarProgressLeft</SkinProgressLeft>
|
||||||
|
<SkinProgressMid>RatingBarProgressMid</SkinProgressMid>
|
||||||
|
<SkinProgressRight>RatingBarProgressRight</SkinProgressRight>
|
||||||
|
<ColorBackground Name="Visible" />
|
||||||
|
<ColorForeground Name="Visible" />
|
||||||
|
<Direction>Left</Direction>
|
||||||
|
<AnimateMovement>TR_CONFIG_ON</AnimateMovement>
|
||||||
|
<AnimateColoring>TR_CONFIG_ON</AnimateColoring>
|
||||||
|
<Rect>
|
||||||
|
<X>1155</X>
|
||||||
|
<Y>305</Y>
|
||||||
|
<W>85</W>
|
||||||
|
<H>7</H>
|
||||||
|
<Z>-0.75</Z>
|
||||||
|
</Rect>
|
||||||
|
</ProgressBar>
|
||||||
|
<ProgressBar Name="ProgressBarRatingP3N3">
|
||||||
|
<SkinBackground>RatingBarBackground</SkinBackground>
|
||||||
|
<SkinForeground>RatingBarForeground</SkinForeground>
|
||||||
|
<SkinProgressLeft>RatingBarProgressLeft</SkinProgressLeft>
|
||||||
|
<SkinProgressMid>RatingBarProgressMid</SkinProgressMid>
|
||||||
|
<SkinProgressRight>RatingBarProgressRight</SkinProgressRight>
|
||||||
|
<ColorBackground Name="Visible" />
|
||||||
|
<ColorForeground Name="Visible" />
|
||||||
|
<Direction>Left</Direction>
|
||||||
|
<AnimateMovement>TR_CONFIG_ON</AnimateMovement>
|
||||||
|
<AnimateColoring>TR_CONFIG_ON</AnimateColoring>
|
||||||
|
<Rect>
|
||||||
|
<X>1155</X>
|
||||||
|
<Y>475</Y>
|
||||||
|
<W>85</W>
|
||||||
|
<H>7</H>
|
||||||
|
<Z>-0.75</Z>
|
||||||
|
</Rect>
|
||||||
|
</ProgressBar>
|
||||||
|
<ProgressBar Name="ProgressBarRatingP1N4">
|
||||||
|
<SkinBackground>RatingBarBackground</SkinBackground>
|
||||||
|
<SkinForeground>RatingBarForeground</SkinForeground>
|
||||||
|
<SkinProgressLeft>RatingBarProgressLeft</SkinProgressLeft>
|
||||||
|
<SkinProgressMid>RatingBarProgressMid</SkinProgressMid>
|
||||||
|
<SkinProgressRight>RatingBarProgressRight</SkinProgressRight>
|
||||||
|
<ColorBackground Name="Visible" />
|
||||||
|
<ColorForeground Name="Visible" />
|
||||||
|
<Direction>Left</Direction>
|
||||||
|
<AnimateMovement>TR_CONFIG_ON</AnimateMovement>
|
||||||
|
<AnimateColoring>TR_CONFIG_ON</AnimateColoring>
|
||||||
|
<Rect>
|
||||||
|
<X>471</X>
|
||||||
|
<Y>170</Y>
|
||||||
|
<W>160</W>
|
||||||
|
<H>10</H>
|
||||||
|
<Z>-0.75</Z>
|
||||||
|
</Rect>
|
||||||
|
</ProgressBar>
|
||||||
|
<ProgressBar Name="ProgressBarRatingP2N4">
|
||||||
|
<SkinBackground>RatingBarBackground</SkinBackground>
|
||||||
|
<SkinForeground>RatingBarForeground</SkinForeground>
|
||||||
|
<SkinProgressLeft>RatingBarProgressLeft</SkinProgressLeft>
|
||||||
|
<SkinProgressMid>RatingBarProgressMid</SkinProgressMid>
|
||||||
|
<SkinProgressRight>RatingBarProgressRight</SkinProgressRight>
|
||||||
|
<ColorBackground Name="Visible" />
|
||||||
|
<ColorForeground Name="Visible" />
|
||||||
|
<Direction>Left</Direction>
|
||||||
|
<AnimateMovement>TR_CONFIG_ON</AnimateMovement>
|
||||||
|
<AnimateColoring>TR_CONFIG_ON</AnimateColoring>
|
||||||
|
<Rect>
|
||||||
|
<X>471</X>
|
||||||
|
<Y>430</Y>
|
||||||
|
<W>160</W>
|
||||||
|
<H>10</H>
|
||||||
|
<Z>-0.75</Z>
|
||||||
|
</Rect>
|
||||||
|
</ProgressBar>
|
||||||
|
<ProgressBar Name="ProgressBarRatingP3N4">
|
||||||
|
<SkinBackground>RatingBarBackground</SkinBackground>
|
||||||
|
<SkinForeground>RatingBarForeground</SkinForeground>
|
||||||
|
<SkinProgressLeft>RatingBarProgressLeft</SkinProgressLeft>
|
||||||
|
<SkinProgressMid>RatingBarProgressMid</SkinProgressMid>
|
||||||
|
<SkinProgressRight>RatingBarProgressRight</SkinProgressRight>
|
||||||
|
<ColorBackground Name="Visible" />
|
||||||
|
<ColorForeground Name="Visible" />
|
||||||
|
<Direction>Left</Direction>
|
||||||
|
<AnimateMovement>TR_CONFIG_ON</AnimateMovement>
|
||||||
|
<AnimateColoring>TR_CONFIG_ON</AnimateColoring>
|
||||||
|
<Rect>
|
||||||
|
<X>1105</X>
|
||||||
|
<Y>170</Y>
|
||||||
|
<W>160</W>
|
||||||
|
<H>10</H>
|
||||||
|
<Z>-0.75</Z>
|
||||||
|
</Rect>
|
||||||
|
</ProgressBar>
|
||||||
|
<ProgressBar Name="ProgressBarRatingP4N4">
|
||||||
|
<SkinBackground>RatingBarBackground</SkinBackground>
|
||||||
|
<SkinForeground>RatingBarForeground</SkinForeground>
|
||||||
|
<SkinProgressLeft>RatingBarProgressLeft</SkinProgressLeft>
|
||||||
|
<SkinProgressMid>RatingBarProgressMid</SkinProgressMid>
|
||||||
|
<SkinProgressRight>RatingBarProgressRight</SkinProgressRight>
|
||||||
|
<ColorBackground Name="Visible" />
|
||||||
|
<ColorForeground Name="Visible" />
|
||||||
|
<Direction>Left</Direction>
|
||||||
|
<AnimateMovement>TR_CONFIG_ON</AnimateMovement>
|
||||||
|
<AnimateColoring>TR_CONFIG_ON</AnimateColoring>
|
||||||
|
<Rect>
|
||||||
|
<X>1105</X>
|
||||||
|
<Y>430</Y>
|
||||||
|
<W>160</W>
|
||||||
|
<H>10</H>
|
||||||
|
<Z>-0.75</Z>
|
||||||
|
</Rect>
|
||||||
|
</ProgressBar>
|
||||||
|
<ProgressBar Name="ProgressBarRatingP1N5">
|
||||||
|
<SkinBackground>RatingBarBackground</SkinBackground>
|
||||||
|
<SkinForeground>RatingBarForeground</SkinForeground>
|
||||||
|
<SkinProgressLeft>RatingBarProgressLeft</SkinProgressLeft>
|
||||||
|
<SkinProgressMid>RatingBarProgressMid</SkinProgressMid>
|
||||||
|
<SkinProgressRight>RatingBarProgressRight</SkinProgressRight>
|
||||||
|
<ColorBackground Name="Visible" />
|
||||||
|
<ColorForeground Name="Visible" />
|
||||||
|
<Direction>Left</Direction>
|
||||||
|
<AnimateMovement>TR_CONFIG_ON</AnimateMovement>
|
||||||
|
<AnimateColoring>TR_CONFIG_ON</AnimateColoring>
|
||||||
|
<Rect>
|
||||||
|
<X>540</X>
|
||||||
|
<Y>135</Y>
|
||||||
|
<W>85</W>
|
||||||
|
<H>7</H>
|
||||||
|
<Z>-0.75</Z>
|
||||||
|
</Rect>
|
||||||
|
</ProgressBar>
|
||||||
|
<ProgressBar Name="ProgressBarRatingP2N5">
|
||||||
|
<SkinBackground>RatingBarBackground</SkinBackground>
|
||||||
|
<SkinForeground>RatingBarForeground</SkinForeground>
|
||||||
|
<SkinProgressLeft>RatingBarProgressLeft</SkinProgressLeft>
|
||||||
|
<SkinProgressMid>RatingBarProgressMid</SkinProgressMid>
|
||||||
|
<SkinProgressRight>RatingBarProgressRight</SkinProgressRight>
|
||||||
|
<ColorBackground Name="Visible" />
|
||||||
|
<ColorForeground Name="Visible" />
|
||||||
|
<Direction>Left</Direction>
|
||||||
|
<AnimateMovement>TR_CONFIG_ON</AnimateMovement>
|
||||||
|
<AnimateColoring>TR_CONFIG_ON</AnimateColoring>
|
||||||
|
<Rect>
|
||||||
|
<X>540</X>
|
||||||
|
<Y>305</Y>
|
||||||
|
<W>85</W>
|
||||||
|
<H>7</H>
|
||||||
|
<Z>-0.75</Z>
|
||||||
|
</Rect>
|
||||||
|
</ProgressBar>
|
||||||
|
<ProgressBar Name="ProgressBarRatingP3N5">
|
||||||
|
<SkinBackground>RatingBarBackground</SkinBackground>
|
||||||
|
<SkinForeground>RatingBarForeground</SkinForeground>
|
||||||
|
<SkinProgressLeft>RatingBarProgressLeft</SkinProgressLeft>
|
||||||
|
<SkinProgressMid>RatingBarProgressMid</SkinProgressMid>
|
||||||
|
<SkinProgressRight>RatingBarProgressRight</SkinProgressRight>
|
||||||
|
<ColorBackground Name="Visible" />
|
||||||
|
<ColorForeground Name="Visible" />
|
||||||
|
<Direction>Left</Direction>
|
||||||
|
<AnimateMovement>TR_CONFIG_ON</AnimateMovement>
|
||||||
|
<AnimateColoring>TR_CONFIG_ON</AnimateColoring>
|
||||||
|
<Rect>
|
||||||
|
<X>540</X>
|
||||||
|
<Y>475</Y>
|
||||||
|
<W>85</W>
|
||||||
|
<H>7</H>
|
||||||
|
<Z>-0.75</Z>
|
||||||
|
</Rect>
|
||||||
|
</ProgressBar>
|
||||||
|
<ProgressBar Name="ProgressBarRatingP4N5">
|
||||||
|
<SkinBackground>RatingBarBackground</SkinBackground>
|
||||||
|
<SkinForeground>RatingBarForeground</SkinForeground>
|
||||||
|
<SkinProgressLeft>RatingBarProgressLeft</SkinProgressLeft>
|
||||||
|
<SkinProgressMid>RatingBarProgressMid</SkinProgressMid>
|
||||||
|
<SkinProgressRight>RatingBarProgressRight</SkinProgressRight>
|
||||||
|
<ColorBackground Name="Visible" />
|
||||||
|
<ColorForeground Name="Visible" />
|
||||||
|
<Direction>Left</Direction>
|
||||||
|
<AnimateMovement>TR_CONFIG_ON</AnimateMovement>
|
||||||
|
<AnimateColoring>TR_CONFIG_ON</AnimateColoring>
|
||||||
|
<Rect>
|
||||||
|
<X>1175</X>
|
||||||
|
<Y>135</Y>
|
||||||
|
<W>85</W>
|
||||||
|
<H>7</H>
|
||||||
|
<Z>-0.75</Z>
|
||||||
|
</Rect>
|
||||||
|
</ProgressBar>
|
||||||
|
<ProgressBar Name="ProgressBarRatingP5N5">
|
||||||
|
<SkinBackground>RatingBarBackground</SkinBackground>
|
||||||
|
<SkinForeground>RatingBarForeground</SkinForeground>
|
||||||
|
<SkinProgressLeft>RatingBarProgressLeft</SkinProgressLeft>
|
||||||
|
<SkinProgressMid>RatingBarProgressMid</SkinProgressMid>
|
||||||
|
<SkinProgressRight>RatingBarProgressRight</SkinProgressRight>
|
||||||
|
<ColorBackground Name="Visible" />
|
||||||
|
<ColorForeground Name="Visible" />
|
||||||
|
<Direction>Left</Direction>
|
||||||
|
<AnimateMovement>TR_CONFIG_ON</AnimateMovement>
|
||||||
|
<AnimateColoring>TR_CONFIG_ON</AnimateColoring>
|
||||||
|
<Rect>
|
||||||
|
<X>1175</X>
|
||||||
|
<Y>305</Y>
|
||||||
|
<W>85</W>
|
||||||
|
<H>7</H>
|
||||||
|
<Z>-0.75</Z>
|
||||||
|
</Rect>
|
||||||
|
</ProgressBar>
|
||||||
|
<ProgressBar Name="ProgressBarRatingP1N6">
|
||||||
|
<SkinBackground>RatingBarBackground</SkinBackground>
|
||||||
|
<SkinForeground>RatingBarForeground</SkinForeground>
|
||||||
|
<SkinProgressLeft>RatingBarProgressLeft</SkinProgressLeft>
|
||||||
|
<SkinProgressMid>RatingBarProgressMid</SkinProgressMid>
|
||||||
|
<SkinProgressRight>RatingBarProgressRight</SkinProgressRight>
|
||||||
|
<ColorBackground Name="Visible" />
|
||||||
|
<ColorForeground Name="Visible" />
|
||||||
|
<Direction>Left</Direction>
|
||||||
|
<AnimateMovement>TR_CONFIG_ON</AnimateMovement>
|
||||||
|
<AnimateColoring>TR_CONFIG_ON</AnimateColoring>
|
||||||
|
<Rect>
|
||||||
|
<X>540</X>
|
||||||
|
<Y>135</Y>
|
||||||
|
<W>85</W>
|
||||||
|
<H>7</H>
|
||||||
|
<Z>-0.75</Z>
|
||||||
|
</Rect>
|
||||||
|
</ProgressBar>
|
||||||
|
<ProgressBar Name="ProgressBarRatingP2N6">
|
||||||
|
<SkinBackground>RatingBarBackground</SkinBackground>
|
||||||
|
<SkinForeground>RatingBarForeground</SkinForeground>
|
||||||
|
<SkinProgressLeft>RatingBarProgressLeft</SkinProgressLeft>
|
||||||
|
<SkinProgressMid>RatingBarProgressMid</SkinProgressMid>
|
||||||
|
<SkinProgressRight>RatingBarProgressRight</SkinProgressRight>
|
||||||
|
<ColorBackground Name="Visible" />
|
||||||
|
<ColorForeground Name="Visible" />
|
||||||
|
<Direction>Left</Direction>
|
||||||
|
<AnimateMovement>TR_CONFIG_ON</AnimateMovement>
|
||||||
|
<AnimateColoring>TR_CONFIG_ON</AnimateColoring>
|
||||||
|
<Rect>
|
||||||
|
<X>540</X>
|
||||||
|
<Y>305</Y>
|
||||||
|
<W>85</W>
|
||||||
|
<H>7</H>
|
||||||
|
<Z>-0.75</Z>
|
||||||
|
</Rect>
|
||||||
|
</ProgressBar>
|
||||||
|
<ProgressBar Name="ProgressBarRatingP3N6">
|
||||||
|
<SkinBackground>RatingBarBackground</SkinBackground>
|
||||||
|
<SkinForeground>RatingBarForeground</SkinForeground>
|
||||||
|
<SkinProgressLeft>RatingBarProgressLeft</SkinProgressLeft>
|
||||||
|
<SkinProgressMid>RatingBarProgressMid</SkinProgressMid>
|
||||||
|
<SkinProgressRight>RatingBarProgressRight</SkinProgressRight>
|
||||||
|
<ColorBackground Name="Visible" />
|
||||||
|
<ColorForeground Name="Visible" />
|
||||||
|
<Direction>Left</Direction>
|
||||||
|
<AnimateMovement>TR_CONFIG_ON</AnimateMovement>
|
||||||
|
<AnimateColoring>TR_CONFIG_ON</AnimateColoring>
|
||||||
|
<Rect>
|
||||||
|
<X>540</X>
|
||||||
|
<Y>475</Y>
|
||||||
|
<W>85</W>
|
||||||
|
<H>7</H>
|
||||||
|
<Z>-0.75</Z>
|
||||||
|
</Rect>
|
||||||
|
</ProgressBar>
|
||||||
|
<ProgressBar Name="ProgressBarRatingP4N6">
|
||||||
|
<SkinBackground>RatingBarBackground</SkinBackground>
|
||||||
|
<SkinForeground>RatingBarForeground</SkinForeground>
|
||||||
|
<SkinProgressLeft>RatingBarProgressLeft</SkinProgressLeft>
|
||||||
|
<SkinProgressMid>RatingBarProgressMid</SkinProgressMid>
|
||||||
|
<SkinProgressRight>RatingBarProgressRight</SkinProgressRight>
|
||||||
|
<ColorBackground Name="Visible" />
|
||||||
|
<ColorForeground Name="Visible" />
|
||||||
|
<Direction>Left</Direction>
|
||||||
|
<AnimateMovement>TR_CONFIG_ON</AnimateMovement>
|
||||||
|
<AnimateColoring>TR_CONFIG_ON</AnimateColoring>
|
||||||
|
<Rect>
|
||||||
|
<X>1175</X>
|
||||||
|
<Y>135</Y>
|
||||||
|
<W>85</W>
|
||||||
|
<H>7</H>
|
||||||
|
<Z>-0.75</Z>
|
||||||
|
</Rect>
|
||||||
|
</ProgressBar>
|
||||||
|
<ProgressBar Name="ProgressBarRatingP5N6">
|
||||||
|
<SkinBackground>RatingBarBackground</SkinBackground>
|
||||||
|
<SkinForeground>RatingBarForeground</SkinForeground>
|
||||||
|
<SkinProgressLeft>RatingBarProgressLeft</SkinProgressLeft>
|
||||||
|
<SkinProgressMid>RatingBarProgressMid</SkinProgressMid>
|
||||||
|
<SkinProgressRight>RatingBarProgressRight</SkinProgressRight>
|
||||||
|
<ColorBackground Name="Visible" />
|
||||||
|
<ColorForeground Name="Visible" />
|
||||||
|
<Direction>Left</Direction>
|
||||||
|
<AnimateMovement>TR_CONFIG_ON</AnimateMovement>
|
||||||
|
<AnimateColoring>TR_CONFIG_ON</AnimateColoring>
|
||||||
|
<Rect>
|
||||||
|
<X>1175</X>
|
||||||
|
<Y>305</Y>
|
||||||
|
<W>85</W>
|
||||||
|
<H>7</H>
|
||||||
|
<Z>-0.75</Z>
|
||||||
|
</Rect>
|
||||||
|
</ProgressBar>
|
||||||
|
<ProgressBar Name="ProgressBarRatingP6N6">
|
||||||
|
<SkinBackground>RatingBarBackground</SkinBackground>
|
||||||
|
<SkinForeground>RatingBarForeground</SkinForeground>
|
||||||
|
<SkinProgressLeft>RatingBarProgressLeft</SkinProgressLeft>
|
||||||
|
<SkinProgressMid>RatingBarProgressMid</SkinProgressMid>
|
||||||
|
<SkinProgressRight>RatingBarProgressRight</SkinProgressRight>
|
||||||
|
<ColorBackground Name="Visible" />
|
||||||
|
<ColorForeground Name="Visible" />
|
||||||
|
<Direction>Left</Direction>
|
||||||
|
<AnimateMovement>TR_CONFIG_ON</AnimateMovement>
|
||||||
|
<AnimateColoring>TR_CONFIG_ON</AnimateColoring>
|
||||||
|
<Rect>
|
||||||
|
<X>1175</X>
|
||||||
|
<Y>475</Y>
|
||||||
|
<W>85</W>
|
||||||
|
<H>7</H>
|
||||||
|
<Z>-0.75</Z>
|
||||||
|
</Rect>
|
||||||
|
</ProgressBar>
|
||||||
|
</ProgressBars>
|
||||||
<ScreenSettings />
|
<ScreenSettings />
|
||||||
</Screen>
|
</Screen>
|
||||||
@@ -73,7 +73,8 @@ namespace Vocaluxe.Screens
|
|||||||
|
|
||||||
private string[,] _StaticScores;
|
private string[,] _StaticScores;
|
||||||
private string[,] _StaticAvatars;
|
private string[,] _StaticAvatars;
|
||||||
private string[,] _StaticRatingBars;
|
|
||||||
|
private string[,] _ProgressBarsRating;
|
||||||
|
|
||||||
private const string _ButtonCancel = "ButtonCancel";
|
private const string _ButtonCancel = "ButtonCancel";
|
||||||
private const string _ButtonContinue = "ButtonContinue";
|
private const string _ButtonContinue = "ButtonContinue";
|
||||||
@@ -151,7 +152,10 @@ namespace Vocaluxe.Screens
|
|||||||
_StaticPauseBG
|
_StaticPauseBG
|
||||||
};
|
};
|
||||||
_BuildStaticStrings(ref statics);
|
_BuildStaticStrings(ref statics);
|
||||||
_ThemeStatics = statics.ToArray();
|
|
||||||
|
var progressbars = new List<string>();
|
||||||
|
_BuildProgressBarStrings(ref progressbars);
|
||||||
|
_ThemeProgressBars = progressbars.ToArray();
|
||||||
|
|
||||||
_ThemeButtons = new string[] {_ButtonCancel, _ButtonContinue, _ButtonSkip};
|
_ThemeButtons = new string[] {_ButtonCancel, _ButtonContinue, _ButtonSkip};
|
||||||
_ThemeLyrics = new string[] {_LyricMain, _LyricSub, _LyricMainDuet, _LyricSubDuet, _LyricMainTop, _LyricSubTop};
|
_ThemeLyrics = new string[] {_LyricMain, _LyricSub, _LyricMainDuet, _LyricSubDuet, _LyricMainTop, _LyricSubTop};
|
||||||
@@ -832,7 +836,6 @@ namespace Vocaluxe.Screens
|
|||||||
{
|
{
|
||||||
_StaticScores = new string[CSettings.MaxNumPlayer, CSettings.MaxNumPlayer];
|
_StaticScores = new string[CSettings.MaxNumPlayer, CSettings.MaxNumPlayer];
|
||||||
_StaticAvatars = new string[CSettings.MaxNumPlayer, CSettings.MaxNumPlayer];
|
_StaticAvatars = new string[CSettings.MaxNumPlayer, CSettings.MaxNumPlayer];
|
||||||
_StaticRatingBars = new string[CSettings.MaxNumPlayer, CSettings.MaxNumPlayer];
|
|
||||||
|
|
||||||
for (int numplayer = 0; numplayer < CSettings.MaxNumPlayer; numplayer++)
|
for (int numplayer = 0; numplayer < CSettings.MaxNumPlayer; numplayer++)
|
||||||
{
|
{
|
||||||
@@ -843,11 +846,27 @@ namespace Vocaluxe.Screens
|
|||||||
string target = "P" + (player + 1) + "N" + (numplayer + 1);
|
string target = "P" + (player + 1) + "N" + (numplayer + 1);
|
||||||
_StaticScores[player, numplayer] = "StaticScore" + target;
|
_StaticScores[player, numplayer] = "StaticScore" + target;
|
||||||
_StaticAvatars[player, numplayer] = "StaticAvatar" + target;
|
_StaticAvatars[player, numplayer] = "StaticAvatar" + target;
|
||||||
_StaticRatingBars[player, numplayer] = "StaticRatingBar" + target;
|
|
||||||
|
|
||||||
statics.Add(_StaticScores[player, numplayer]);
|
statics.Add(_StaticScores[player, numplayer]);
|
||||||
statics.Add(_StaticAvatars[player, numplayer]);
|
statics.Add(_StaticAvatars[player, numplayer]);
|
||||||
statics.Add(_StaticRatingBars[player, numplayer]);
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
private void _BuildProgressBarStrings(ref List<string> progressbars)
|
||||||
|
{
|
||||||
|
_ProgressBarsRating = new string[CSettings.MaxNumPlayer, CSettings.MaxNumPlayer];
|
||||||
|
|
||||||
|
for (int numplayer = 0; numplayer < CSettings.MaxNumPlayer; numplayer++)
|
||||||
|
{
|
||||||
|
for (int player = 0; player < CSettings.MaxNumPlayer; player++)
|
||||||
|
{
|
||||||
|
if (player <= numplayer)
|
||||||
|
{
|
||||||
|
string target = "P" + (player + 1) + "N" + (numplayer + 1);
|
||||||
|
_ProgressBarsRating[player, numplayer] = "ProgressBarRating" + target;
|
||||||
|
progressbars.Add(_ProgressBarsRating[player, numplayer]);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@@ -906,7 +925,7 @@ namespace Vocaluxe.Screens
|
|||||||
_Statics[_StaticAvatars[player, numplayer]].Visible = isVisible &&
|
_Statics[_StaticAvatars[player, numplayer]].Visible = isVisible &&
|
||||||
(CConfig.Config.Theme.PlayerInfo == EPlayerInfo.TR_CONFIG_PLAYERINFO_BOTH ||
|
(CConfig.Config.Theme.PlayerInfo == EPlayerInfo.TR_CONFIG_PLAYERINFO_BOTH ||
|
||||||
CConfig.Config.Theme.PlayerInfo == EPlayerInfo.TR_CONFIG_PLAYERINFO_AVATAR);
|
CConfig.Config.Theme.PlayerInfo == EPlayerInfo.TR_CONFIG_PLAYERINFO_AVATAR);
|
||||||
_Statics[_StaticRatingBars[player, numplayer]].Visible = isVisible;
|
_ProgressBars[_ProgressBarsRating[player, numplayer]].Visible = isVisible;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -1384,7 +1403,7 @@ namespace Vocaluxe.Screens
|
|||||||
{
|
{
|
||||||
for (int i = 0; i < CGame.NumPlayers; i++)
|
for (int i = 0; i < CGame.NumPlayers; i++)
|
||||||
{
|
{
|
||||||
_Statics[_StaticRatingBars[i, CGame.NumPlayers - 1]].ModW = _Statics[_StaticRatingBars[i, CGame.NumPlayers - 1]].Rect.W * (float)CGame.Players[i].Rating;
|
_ProgressBars[_ProgressBarsRating[i, CGame.NumPlayers - 1]].Progress = (float)CGame.Players[i].Rating;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -30,7 +30,8 @@ namespace VocaluxeLib.Menu
|
|||||||
NameSelection,
|
NameSelection,
|
||||||
Equalizer,
|
Equalizer,
|
||||||
Playlist,
|
Playlist,
|
||||||
ParticleEffect
|
ParticleEffect,
|
||||||
|
ProgressBar
|
||||||
}
|
}
|
||||||
|
|
||||||
public class CInteraction
|
public class CInteraction
|
||||||
|
|||||||
@@ -51,6 +51,7 @@ namespace VocaluxeLib.Menu
|
|||||||
[XmlArray("Playlists")] public List<SThemePlaylist> Playlists;
|
[XmlArray("Playlists")] public List<SThemePlaylist> Playlists;
|
||||||
[XmlArray("ParticleEffects")] public List<SThemeParticleEffect> ParticleEffects;
|
[XmlArray("ParticleEffects")] public List<SThemeParticleEffect> ParticleEffects;
|
||||||
[XmlArray("ScreenSettings")] public List<SThemeScreenSetting> ScreenSettings;
|
[XmlArray("ScreenSettings")] public List<SThemeScreenSetting> ScreenSettings;
|
||||||
|
[XmlArray("ProgressBars")] public List<SThemeProgressBar> ProgressBars;
|
||||||
}
|
}
|
||||||
|
|
||||||
struct SZSort
|
struct SZSort
|
||||||
@@ -82,6 +83,7 @@ namespace VocaluxeLib.Menu
|
|||||||
protected string[] _ThemePlaylists;
|
protected string[] _ThemePlaylists;
|
||||||
protected string[] _ThemeParticleEffects;
|
protected string[] _ThemeParticleEffects;
|
||||||
protected string[] _ThemeScreenSettings;
|
protected string[] _ThemeScreenSettings;
|
||||||
|
protected string[] _ThemeProgressBars;
|
||||||
protected readonly Dictionary<string, CScreenSetting> _ScreenSettings = new Dictionary<string, CScreenSetting>();
|
protected readonly Dictionary<string, CScreenSetting> _ScreenSettings = new Dictionary<string, CScreenSetting>();
|
||||||
|
|
||||||
// ReSharper restore MemberCanBePrivate.Global
|
// ReSharper restore MemberCanBePrivate.Global
|
||||||
@@ -117,6 +119,7 @@ namespace VocaluxeLib.Menu
|
|||||||
_ThemePlaylists = null;
|
_ThemePlaylists = null;
|
||||||
_ThemeParticleEffects = null;
|
_ThemeParticleEffects = null;
|
||||||
_ThemeScreenSettings = null;
|
_ThemeScreenSettings = null;
|
||||||
|
_ThemeProgressBars = null;
|
||||||
}
|
}
|
||||||
|
|
||||||
protected virtual void _OnSongMenuChanged()
|
protected virtual void _OnSongMenuChanged()
|
||||||
@@ -158,7 +161,7 @@ namespace VocaluxeLib.Menu
|
|||||||
private static readonly string[] _AllowedMissing = new string[]
|
private static readonly string[] _AllowedMissing = new string[]
|
||||||
{
|
{
|
||||||
"Backgrounds", "Statics", "Texts", "Buttons", "SongMenus", "Lyrics", "SelectSlides", "SingNotes",
|
"Backgrounds", "Statics", "Texts", "Buttons", "SongMenus", "Lyrics", "SelectSlides", "SingNotes",
|
||||||
"NameSelections", "Equalizers", "Playlists", "ParticleEffects", "ScreenSettings"
|
"NameSelections", "Equalizers", "Playlists", "ParticleEffects", "ScreenSettings", "ProgressBars"
|
||||||
};
|
};
|
||||||
|
|
||||||
public override void HandleError(CXmlException e)
|
public override void HandleError(CXmlException e)
|
||||||
@@ -211,6 +214,9 @@ namespace VocaluxeLib.Menu
|
|||||||
foreach (SThemePlaylist pl in Theme.Playlists)
|
foreach (SThemePlaylist pl in Theme.Playlists)
|
||||||
_AddPlaylist(new CPlaylist(pl, PartyModeID), pl.Name);
|
_AddPlaylist(new CPlaylist(pl, PartyModeID), pl.Name);
|
||||||
|
|
||||||
|
foreach (SThemeProgressBar pb in Theme.ProgressBars)
|
||||||
|
_AddProgressBar(new CProgressBar(pb, PartyModeID), pb.Name);
|
||||||
|
|
||||||
foreach (SThemeScreenSetting ss in Theme.ScreenSettings)
|
foreach (SThemeScreenSetting ss in Theme.ScreenSettings)
|
||||||
_AddScreenSetting(new CScreenSetting(ss, PartyModeID), ss.Name);
|
_AddScreenSetting(new CScreenSetting(ss, PartyModeID), ss.Name);
|
||||||
|
|
||||||
@@ -351,6 +357,7 @@ namespace VocaluxeLib.Menu
|
|||||||
_AddThemeablesToList(Theme.NameSelections, _NameSelections);
|
_AddThemeablesToList(Theme.NameSelections, _NameSelections);
|
||||||
_AddThemeablesToList(Theme.ParticleEffects, _ParticleEffects);
|
_AddThemeablesToList(Theme.ParticleEffects, _ParticleEffects);
|
||||||
_AddThemeablesToList(Theme.Playlists, _Playlists);
|
_AddThemeablesToList(Theme.Playlists, _Playlists);
|
||||||
|
_AddThemeablesToList(Theme.ProgressBars, _ProgressBars);
|
||||||
_AddThemeablesToList(Theme.ScreenSettings, _ScreenSettings.Values);
|
_AddThemeablesToList(Theme.ScreenSettings, _ScreenSettings.Values);
|
||||||
_AddThemeablesToList(Theme.SelectSlides, _SelectSlides);
|
_AddThemeablesToList(Theme.SelectSlides, _SelectSlides);
|
||||||
_AddThemeablesToList(Theme.Statics, _Statics);
|
_AddThemeablesToList(Theme.Statics, _Statics);
|
||||||
@@ -471,6 +478,16 @@ namespace VocaluxeLib.Menu
|
|||||||
return new CParticleEffect(PartyModeID, maxNumber, color, area, texture, size, type);
|
return new CParticleEffect(PartyModeID, maxNumber, color, area, texture, size, type);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
public CProgressBar GetNewProgressBar()
|
||||||
|
{
|
||||||
|
return new CProgressBar(PartyModeID);
|
||||||
|
}
|
||||||
|
|
||||||
|
public CProgressBar GetNewProgressBar(CProgressBar pb)
|
||||||
|
{
|
||||||
|
return new CProgressBar(pb);
|
||||||
|
}
|
||||||
|
|
||||||
// ReSharper restore MemberCanBeProtected.Global
|
// ReSharper restore MemberCanBeProtected.Global
|
||||||
// ReSharper restore UnusedMember.Global
|
// ReSharper restore UnusedMember.Global
|
||||||
#endregion Create Elements
|
#endregion Create Elements
|
||||||
|
|||||||
@@ -46,6 +46,7 @@ namespace VocaluxeLib.Menu
|
|||||||
protected readonly COrderedDictionaryLite<CEqualizer> _Equalizers;
|
protected readonly COrderedDictionaryLite<CEqualizer> _Equalizers;
|
||||||
protected readonly COrderedDictionaryLite<CPlaylist> _Playlists;
|
protected readonly COrderedDictionaryLite<CPlaylist> _Playlists;
|
||||||
protected readonly COrderedDictionaryLite<CParticleEffect> _ParticleEffects;
|
protected readonly COrderedDictionaryLite<CParticleEffect> _ParticleEffects;
|
||||||
|
protected readonly COrderedDictionaryLite<CProgressBar> _ProgressBars;
|
||||||
private readonly SColorF _HighlightColor = new SColorF(1, 0, 0, 0);
|
private readonly SColorF _HighlightColor = new SColorF(1, 0, 0, 0);
|
||||||
|
|
||||||
protected CObjectInteractions()
|
protected CObjectInteractions()
|
||||||
@@ -62,6 +63,7 @@ namespace VocaluxeLib.Menu
|
|||||||
_Equalizers = new COrderedDictionaryLite<CEqualizer>(this);
|
_Equalizers = new COrderedDictionaryLite<CEqualizer>(this);
|
||||||
_Playlists = new COrderedDictionaryLite<CPlaylist>(this);
|
_Playlists = new COrderedDictionaryLite<CPlaylist>(this);
|
||||||
_ParticleEffects = new COrderedDictionaryLite<CParticleEffect>(this);
|
_ParticleEffects = new COrderedDictionaryLite<CParticleEffect>(this);
|
||||||
|
_ProgressBars = new COrderedDictionaryLite<CProgressBar>(this);
|
||||||
}
|
}
|
||||||
|
|
||||||
public virtual void Init()
|
public virtual void Init()
|
||||||
@@ -86,6 +88,7 @@ namespace VocaluxeLib.Menu
|
|||||||
_Equalizers.Clear();
|
_Equalizers.Clear();
|
||||||
_Playlists.Clear();
|
_Playlists.Clear();
|
||||||
_ParticleEffects.Clear();
|
_ParticleEffects.Clear();
|
||||||
|
_ProgressBars.Clear();
|
||||||
}
|
}
|
||||||
|
|
||||||
private void _SetSelected(int newSelection)
|
private void _SetSelected(int newSelection)
|
||||||
@@ -297,6 +300,8 @@ namespace VocaluxeLib.Menu
|
|||||||
return _Playlists[element.Num];
|
return _Playlists[element.Num];
|
||||||
case EType.ParticleEffect:
|
case EType.ParticleEffect:
|
||||||
return _ParticleEffects[element.Num];
|
return _ParticleEffects[element.Num];
|
||||||
|
case EType.ProgressBar:
|
||||||
|
return _ProgressBars[element.Num];
|
||||||
}
|
}
|
||||||
throw new ArgumentException("Invalid element type: " + element.Type);
|
throw new ArgumentException("Invalid element type: " + element.Type);
|
||||||
}
|
}
|
||||||
@@ -401,6 +406,11 @@ namespace VocaluxeLib.Menu
|
|||||||
{
|
{
|
||||||
_AddElement(_ParticleEffects.Add(pe, key), EType.ParticleEffect);
|
_AddElement(_ParticleEffects.Add(pe, key), EType.ParticleEffect);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
protected void _AddProgressBar(CProgressBar pb, String key = null)
|
||||||
|
{
|
||||||
|
_AddElement(_ProgressBars.Add(pb, key), EType.ProgressBar);
|
||||||
|
}
|
||||||
#endregion Element-Adding
|
#endregion Element-Adding
|
||||||
|
|
||||||
#region InteractionHandling
|
#region InteractionHandling
|
||||||
|
|||||||
@@ -0,0 +1,437 @@
|
|||||||
|
#region license
|
||||||
|
// This file is part of Vocaluxe.
|
||||||
|
//
|
||||||
|
// Vocaluxe is free software: you can redistribute it and/or modify
|
||||||
|
// it under the terms of the GNU General Public License as published by
|
||||||
|
// the Free Software Foundation, either version 3 of the License, or
|
||||||
|
// (at your option) any later version.
|
||||||
|
//
|
||||||
|
// Vocaluxe is distributed in the hope that it will be useful,
|
||||||
|
// but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||||
|
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||||
|
// GNU General Public License for more details.
|
||||||
|
//
|
||||||
|
// You should have received a copy of the GNU General Public License
|
||||||
|
// along with Vocaluxe. If not, see <http://www.gnu.org/licenses/>.
|
||||||
|
#endregion
|
||||||
|
|
||||||
|
using System;
|
||||||
|
using System.Diagnostics;
|
||||||
|
using System.Xml.Serialization;
|
||||||
|
using VocaluxeLib.Draw;
|
||||||
|
using VocaluxeLib.Xml;
|
||||||
|
|
||||||
|
namespace VocaluxeLib.Menu
|
||||||
|
{
|
||||||
|
[XmlType("ProgressBar")]
|
||||||
|
public struct SThemeProgressBar
|
||||||
|
{
|
||||||
|
[XmlAttribute(AttributeName = "Name")] public string Name;
|
||||||
|
public string SkinBackground;
|
||||||
|
public string SkinForeground;
|
||||||
|
public string SkinProgressLeft;
|
||||||
|
public string SkinProgressMid;
|
||||||
|
public string SkinProgressRight;
|
||||||
|
public SThemeColor ColorBackground;
|
||||||
|
public SThemeColor ColorForeground;
|
||||||
|
public EDirection Direction;
|
||||||
|
public EOffOn AnimateMovement;
|
||||||
|
public EOffOn AnimateColoring;
|
||||||
|
public SRectF Rect;
|
||||||
|
public SReflection? Reflection;
|
||||||
|
}
|
||||||
|
|
||||||
|
public sealed class CProgressBar : CMenuElementBase, IMenuElement, IThemeable
|
||||||
|
{
|
||||||
|
private readonly int _PartyModeID;
|
||||||
|
|
||||||
|
private SThemeProgressBar _Theme;
|
||||||
|
|
||||||
|
public string GetThemeName()
|
||||||
|
{
|
||||||
|
return _Theme.Name;
|
||||||
|
}
|
||||||
|
|
||||||
|
public bool ThemeLoaded { get; private set; }
|
||||||
|
|
||||||
|
public bool Selectable
|
||||||
|
{
|
||||||
|
get { return false; }
|
||||||
|
}
|
||||||
|
|
||||||
|
private CTextureRef _TextureBackground;
|
||||||
|
public CTextureRef TextureBackground
|
||||||
|
{
|
||||||
|
get { return _TextureBackground ?? CBase.Themes.GetSkinTexture(_Theme.SkinBackground, _PartyModeID); }
|
||||||
|
|
||||||
|
set { _TextureBackground = value; }
|
||||||
|
}
|
||||||
|
|
||||||
|
private CTextureRef _TextureForeground;
|
||||||
|
public CTextureRef TextureForeground
|
||||||
|
{
|
||||||
|
get { return _TextureForeground ?? CBase.Themes.GetSkinTexture(_Theme.SkinForeground, _PartyModeID); }
|
||||||
|
|
||||||
|
set { _TextureForeground = value; }
|
||||||
|
}
|
||||||
|
|
||||||
|
private CTextureRef _TextureProgressLeft;
|
||||||
|
public CTextureRef TextureProgressLeft
|
||||||
|
{
|
||||||
|
get { return _TextureProgressLeft ?? CBase.Themes.GetSkinTexture(_Theme.SkinProgressLeft, _PartyModeID); }
|
||||||
|
|
||||||
|
set { _TextureProgressLeft = value; }
|
||||||
|
}
|
||||||
|
|
||||||
|
private CTextureRef _TextureProgressMid;
|
||||||
|
public CTextureRef TextureProgressMid
|
||||||
|
{
|
||||||
|
get { return _TextureProgressMid ?? CBase.Themes.GetSkinTexture(_Theme.SkinProgressMid, _PartyModeID); }
|
||||||
|
|
||||||
|
set { _TextureProgressMid = value; }
|
||||||
|
}
|
||||||
|
|
||||||
|
private CTextureRef _TextureProgressRight;
|
||||||
|
public CTextureRef TextureProgressRight
|
||||||
|
{
|
||||||
|
get { return _TextureProgressRight ?? CBase.Themes.GetSkinTexture(_Theme.SkinProgressRight, _PartyModeID); }
|
||||||
|
|
||||||
|
set { _TextureProgressRight = value; }
|
||||||
|
}
|
||||||
|
|
||||||
|
public SColorF ColorBackground;
|
||||||
|
public SColorF ColorForeground;
|
||||||
|
|
||||||
|
public bool Reflection;
|
||||||
|
public float ReflectionSpace;
|
||||||
|
public float ReflectionHeight;
|
||||||
|
|
||||||
|
public float Alpha = 1;
|
||||||
|
|
||||||
|
private float _ProgressTarget;
|
||||||
|
public float Progress
|
||||||
|
{
|
||||||
|
get { return _ProgressTarget; }
|
||||||
|
set
|
||||||
|
{
|
||||||
|
if (value != _ProgressTarget)
|
||||||
|
_UpdateProgress();
|
||||||
|
|
||||||
|
_ProgressTarget = value;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
private float _ProgressCurrent;
|
||||||
|
|
||||||
|
private SColorF _ColorProgressCurrent;
|
||||||
|
private SColorF _ColorProgressTarget;
|
||||||
|
|
||||||
|
private SRectF _RectProgressBegin;
|
||||||
|
private SRectF _RectProgressMid;
|
||||||
|
private SRectF _RectProgressEnd;
|
||||||
|
|
||||||
|
private CTextureRef _TextureProgressBegin;
|
||||||
|
private CTextureRef _TextureProgressEnd;
|
||||||
|
|
||||||
|
public CProgressBar(int partyModeID)
|
||||||
|
{
|
||||||
|
_PartyModeID = partyModeID;
|
||||||
|
}
|
||||||
|
|
||||||
|
public CProgressBar(CProgressBar pb)
|
||||||
|
{
|
||||||
|
_PartyModeID = pb._PartyModeID;
|
||||||
|
|
||||||
|
_TextureBackground = pb.TextureBackground;
|
||||||
|
_TextureForeground = pb.TextureForeground;
|
||||||
|
_TextureProgressLeft = pb.TextureProgressLeft;
|
||||||
|
_TextureProgressMid = pb._TextureProgressMid;
|
||||||
|
_TextureProgressRight = pb._TextureProgressRight;
|
||||||
|
|
||||||
|
ColorBackground = pb.ColorBackground;
|
||||||
|
ColorForeground = pb.ColorForeground;
|
||||||
|
|
||||||
|
MaxRect = pb.MaxRect;
|
||||||
|
Reflection = pb.Reflection;
|
||||||
|
ReflectionSpace = pb.ReflectionHeight;
|
||||||
|
ReflectionHeight = pb.ReflectionSpace;
|
||||||
|
|
||||||
|
Alpha = pb.Alpha;
|
||||||
|
Visible = pb.Visible;
|
||||||
|
}
|
||||||
|
|
||||||
|
public CProgressBar(SThemeProgressBar theme, int partyModeID)
|
||||||
|
{
|
||||||
|
_PartyModeID = partyModeID;
|
||||||
|
_Theme = theme;
|
||||||
|
_UpdateProgress();
|
||||||
|
ThemeLoaded = true;
|
||||||
|
}
|
||||||
|
|
||||||
|
public bool LoadTheme(string xmlPath, string elementName, CXmlReader xmlReader)
|
||||||
|
{
|
||||||
|
//Will be removed
|
||||||
|
return false;
|
||||||
|
}
|
||||||
|
|
||||||
|
public void Draw()
|
||||||
|
{
|
||||||
|
Draw(1f);
|
||||||
|
}
|
||||||
|
|
||||||
|
public void Draw(float scale = 1f, float zModify = 0f, bool forceDraw = false)
|
||||||
|
{
|
||||||
|
if (scale <= 0)
|
||||||
|
return;
|
||||||
|
|
||||||
|
if (Visible || forceDraw || (CBase.Settings.GetProgramState() == EProgramState.EditTheme))
|
||||||
|
{
|
||||||
|
/**
|
||||||
|
//Draw background
|
||||||
|
SColorF color = new SColorF(ColorBackground.R, ColorBackground.G, ColorBackground.B, ColorBackground.A * Alpha);
|
||||||
|
if (_TextureBackground != null)
|
||||||
|
{
|
||||||
|
CBase.Drawing.DrawTexture(_TextureBackground, Rect, color);
|
||||||
|
if (Reflection)
|
||||||
|
CBase.Drawing.DrawTextureReflection(_TextureBackground, Rect, color, Rect, ReflectionSpace, ReflectionHeight);
|
||||||
|
}
|
||||||
|
else
|
||||||
|
CBase.Drawing.DrawRect(ColorBackground, Rect);
|
||||||
|
**/
|
||||||
|
//Draw progress
|
||||||
|
if (_TextureProgressBegin != null)
|
||||||
|
{
|
||||||
|
CBase.Drawing.DrawTexture(_TextureProgressBegin, _RectProgressBegin, _ColorProgressCurrent);
|
||||||
|
if (Reflection)
|
||||||
|
CBase.Drawing.DrawTextureReflection(_TextureProgressBegin, _RectProgressBegin, _ColorProgressCurrent, _RectProgressBegin, ReflectionSpace, ReflectionHeight);
|
||||||
|
}
|
||||||
|
else
|
||||||
|
CBase.Drawing.DrawRect(_ColorProgressCurrent, _RectProgressBegin);
|
||||||
|
|
||||||
|
if (_TextureProgressMid != null)
|
||||||
|
{
|
||||||
|
CBase.Drawing.DrawTexture(_TextureProgressMid, _RectProgressMid, _ColorProgressCurrent);
|
||||||
|
if (Reflection)
|
||||||
|
CBase.Drawing.DrawTextureReflection(_TextureProgressMid, _RectProgressMid, _ColorProgressCurrent, _RectProgressMid, ReflectionSpace, ReflectionHeight);
|
||||||
|
}
|
||||||
|
else
|
||||||
|
CBase.Drawing.DrawRect(_ColorProgressCurrent, _RectProgressMid);
|
||||||
|
|
||||||
|
if (_TextureProgressEnd != null)
|
||||||
|
{
|
||||||
|
CBase.Drawing.DrawTexture(_TextureProgressEnd, _RectProgressEnd, _ColorProgressCurrent);
|
||||||
|
if (Reflection)
|
||||||
|
CBase.Drawing.DrawTextureReflection(_TextureProgressEnd, _RectProgressEnd, _ColorProgressCurrent, _RectProgressEnd, ReflectionSpace, ReflectionHeight);
|
||||||
|
}
|
||||||
|
else
|
||||||
|
CBase.Drawing.DrawRect(_ColorProgressCurrent, _RectProgressEnd);
|
||||||
|
/*
|
||||||
|
//Width-related variables rounded and then floored to prevent 1px gaps in progress bar
|
||||||
|
SRectF rect = new SRectF(Rect.X, Rect.Y, (float)Math.Round(Rect.W), (float)Math.Round(Rect.H), Rect.Z);
|
||||||
|
|
||||||
|
int dh = (int)((1f - scale) * rect.H / 2);
|
||||||
|
int dw = (int)Math.Min(dh, rect.W / 2);
|
||||||
|
|
||||||
|
var progressRect = new SRectF(rect.X + dw, rect.Y + dh, rect.W - 2 * dw, rect.H - 2 * dh, rect.Z);
|
||||||
|
|
||||||
|
//Width of each of the ends (round parts)
|
||||||
|
//Need 2 of them so use minimum
|
||||||
|
int endsW = (int)Math.Min(progressRect.H * _TextureProgressLeft.OrigAspect, progressRect.W / 2);
|
||||||
|
|
||||||
|
CBase.Drawing.DrawTexture(_TextureProgressLeft, new SRectF(progressRect.X, progressRect.Y, endsW, progressRect.H, progressRect.Z), color);
|
||||||
|
|
||||||
|
SRectF middleRect = new SRectF(progressRect.X + endsW, progressRect.Y, progressRect.W - 2 * endsW, progressRect.H, progressRect.Z);
|
||||||
|
|
||||||
|
int midW = (int)Math.Round(progressRect.H * _TextureProgressMid.OrigAspect);
|
||||||
|
|
||||||
|
int midCount = (int)middleRect.W / midW;
|
||||||
|
|
||||||
|
for (int i = 0; i < midCount; ++i)
|
||||||
|
{
|
||||||
|
CBase.Drawing.DrawTexture(_TextureProgressMid, new SRectF(middleRect.X + (i * midW), progressRect.Y, midW, progressRect.H, progressRect.Z), color);
|
||||||
|
}
|
||||||
|
|
||||||
|
SRectF lastMidRect = new SRectF(middleRect.X + midCount * midW, progressRect.Y, middleRect.W - (midCount * midW), progressRect.H, progressRect.Z);
|
||||||
|
|
||||||
|
CBase.Drawing.DrawTexture(_TextureProgressMid, new SRectF(middleRect.X + (midCount * midW), middleRect.Y, midW, middleRect.H, middleRect.Z), color, lastMidRect);
|
||||||
|
|
||||||
|
CBase.Drawing.DrawTexture(_TextureProgressRight, new SRectF(progressRect.X + progressRect.W - endsW, progressRect.Y, endsW, progressRect.H, progressRect.Z), color);
|
||||||
|
*/
|
||||||
|
//Draw foreground
|
||||||
|
/**
|
||||||
|
color = new SColorF(ColorForeground.R, ColorForeground.G, ColorForeground.B, ColorForeground.A * Alpha);
|
||||||
|
if (_TextureForeground != null)
|
||||||
|
{
|
||||||
|
CBase.Drawing.DrawTexture(_TextureForeground, Rect, color);
|
||||||
|
if (Reflection)
|
||||||
|
CBase.Drawing.DrawTextureReflection(_TextureForeground, Rect, color, Rect, ReflectionSpace, ReflectionHeight);
|
||||||
|
}
|
||||||
|
else
|
||||||
|
CBase.Drawing.DrawRect(ColorForeground, Rect);
|
||||||
|
*/
|
||||||
|
}
|
||||||
|
|
||||||
|
/*
|
||||||
|
var color = new SColorF(Color.R, Color.G, Color.B, Color.A * Alpha);
|
||||||
|
if (Visible || forceDraw || (CBase.Settings.GetProgramState() == EProgramState.EditTheme))
|
||||||
|
{
|
||||||
|
if (texture != null)
|
||||||
|
{
|
||||||
|
CBase.Drawing.DrawTexture(texture, rect, color, bounds);
|
||||||
|
if (Reflection)
|
||||||
|
CBase.Drawing.DrawTextureReflection(texture, rect, color, bounds, ReflectionSpace, ReflectionHeight);
|
||||||
|
}
|
||||||
|
else
|
||||||
|
CBase.Drawing.DrawRect(color, rect);
|
||||||
|
}*/
|
||||||
|
|
||||||
|
if (Selected && (CBase.Settings.GetProgramState() == EProgramState.EditTheme))
|
||||||
|
CBase.Drawing.DrawRect(new SColorF(1f, 1f, 1f, 0.5f), Rect);
|
||||||
|
}
|
||||||
|
|
||||||
|
public void UnloadSkin() {}
|
||||||
|
|
||||||
|
public void LoadSkin()
|
||||||
|
{
|
||||||
|
if (!ThemeLoaded)
|
||||||
|
return;
|
||||||
|
_Theme.ColorBackground.Get(_PartyModeID, out ColorBackground);
|
||||||
|
_Theme.ColorForeground.Get(_PartyModeID, out ColorForeground);
|
||||||
|
|
||||||
|
TextureBackground = CBase.Themes.GetSkinTexture(_Theme.SkinBackground, _PartyModeID);
|
||||||
|
TextureForeground = CBase.Themes.GetSkinTexture(_Theme.SkinForeground, _PartyModeID);
|
||||||
|
TextureProgressLeft = CBase.Themes.GetSkinTexture(_Theme.SkinProgressLeft, _PartyModeID);
|
||||||
|
TextureProgressMid = CBase.Themes.GetSkinTexture(_Theme.SkinProgressMid, _PartyModeID);
|
||||||
|
TextureProgressRight = CBase.Themes.GetSkinTexture(_Theme.SkinProgressRight, _PartyModeID);
|
||||||
|
|
||||||
|
MaxRect = _Theme.Rect;
|
||||||
|
Reflection = _Theme.Reflection.HasValue;
|
||||||
|
if (Reflection)
|
||||||
|
{
|
||||||
|
Debug.Assert(_Theme.Reflection != null);
|
||||||
|
ReflectionSpace = _Theme.Reflection.Value.Space;
|
||||||
|
ReflectionHeight = _Theme.Reflection.Value.Height;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
public void ReloadSkin()
|
||||||
|
{
|
||||||
|
UnloadSkin();
|
||||||
|
LoadSkin();
|
||||||
|
}
|
||||||
|
|
||||||
|
public object GetTheme()
|
||||||
|
{
|
||||||
|
return _Theme;
|
||||||
|
}
|
||||||
|
|
||||||
|
private void _UpdateProgress()
|
||||||
|
{
|
||||||
|
_ColorProgressCurrent = new SColorF(1, 1, 1, 1);
|
||||||
|
_UpdateProgressLeft();
|
||||||
|
_UpdateProgressMid();
|
||||||
|
_UpdateProgressRight();
|
||||||
|
}
|
||||||
|
|
||||||
|
private void _UpdateProgressLeft()
|
||||||
|
{
|
||||||
|
switch (_Theme.Direction)
|
||||||
|
{
|
||||||
|
case EDirection.Right:
|
||||||
|
_RectProgressBegin = new SRectF(Rect.X, Rect.Y, Rect.H, Rect.H, Rect.Z);
|
||||||
|
_TextureProgressBegin = _TextureProgressLeft;
|
||||||
|
break;
|
||||||
|
|
||||||
|
case EDirection.Up:
|
||||||
|
_RectProgressBegin = new SRectF(Rect.X, Rect.Y + Rect.H - Rect.W, Rect.W, Rect.W, Rect.Z);
|
||||||
|
_TextureProgressBegin = _TextureProgressRight;
|
||||||
|
break;
|
||||||
|
|
||||||
|
case EDirection.Left:
|
||||||
|
_RectProgressBegin = new SRectF(Rect.X + Rect.W - Rect.H, Rect.Y, Rect.H, Rect.H, Rect.Z);
|
||||||
|
_TextureProgressBegin = _TextureProgressRight;
|
||||||
|
break;
|
||||||
|
|
||||||
|
case EDirection.Down:
|
||||||
|
_RectProgressBegin = new SRectF(Rect.X, Rect.Y, Rect.W, Rect.W, Rect.Z);
|
||||||
|
_TextureProgressBegin = _TextureProgressLeft;
|
||||||
|
break;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
private void _UpdateProgressMid()
|
||||||
|
{
|
||||||
|
_ProgressCurrent = _ProgressTarget;
|
||||||
|
switch (_Theme.Direction)
|
||||||
|
{
|
||||||
|
case EDirection.Right:
|
||||||
|
_RectProgressMid = new SRectF(Rect.X + Rect.H, Rect.Y, (Rect.W - 2 * Rect.H) * _ProgressCurrent, Rect.H, Rect.Z);
|
||||||
|
break;
|
||||||
|
|
||||||
|
case EDirection.Up:
|
||||||
|
float newHeight = (Rect.H - 2 * Rect.W) * _ProgressCurrent;
|
||||||
|
_RectProgressMid = new SRectF(Rect.X, Rect.Y + (Rect.H - Rect.W) - newHeight, Rect.W, newHeight, Rect.Z);
|
||||||
|
break;
|
||||||
|
|
||||||
|
case EDirection.Left:
|
||||||
|
float newWidth = (Rect.W - 2 * Rect.H) * _ProgressCurrent;
|
||||||
|
_RectProgressMid = new SRectF(Rect.X + (Rect.W - Rect.H) - newWidth, Rect.Y, newWidth, Rect.H, Rect.Z);
|
||||||
|
break;
|
||||||
|
|
||||||
|
case EDirection.Down:
|
||||||
|
_RectProgressMid = new SRectF(Rect.X, Rect.Y, (Rect.H - 2 * Rect.W) * _ProgressCurrent, Rect.W, Rect.Z);
|
||||||
|
break;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
private void _UpdateProgressRight()
|
||||||
|
{
|
||||||
|
switch (_Theme.Direction)
|
||||||
|
{
|
||||||
|
case EDirection.Right:
|
||||||
|
_RectProgressEnd = new SRectF(_RectProgressMid.X + _RectProgressMid.W, Rect.Y, Rect.H, Rect.H, Rect.Z);
|
||||||
|
_TextureProgressEnd = _TextureProgressRight;
|
||||||
|
break;
|
||||||
|
|
||||||
|
case EDirection.Up:
|
||||||
|
_RectProgressEnd = new SRectF(Rect.X, _RectProgressMid.Y + Rect.W, Rect.W, Rect.W, Rect.Z);
|
||||||
|
_TextureProgressEnd = _TextureProgressLeft;
|
||||||
|
break;
|
||||||
|
|
||||||
|
case EDirection.Left:
|
||||||
|
_RectProgressEnd = new SRectF(_RectProgressMid.X - Rect.H, Rect.Y, Rect.H, Rect.H, Rect.Z);
|
||||||
|
_TextureProgressEnd = _TextureProgressLeft;
|
||||||
|
break;
|
||||||
|
|
||||||
|
case EDirection.Down:
|
||||||
|
_RectProgressEnd = new SRectF(Rect.X, _RectProgressMid.Y + _RectProgressMid.H, Rect.W, Rect.W, Rect.Z);
|
||||||
|
_TextureProgressEnd = _TextureProgressRight;
|
||||||
|
break;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
#region ThemeEdit
|
||||||
|
public void MoveElement(int stepX, int stepY)
|
||||||
|
{
|
||||||
|
X += stepX;
|
||||||
|
Y += stepY;
|
||||||
|
|
||||||
|
_Theme.Rect.X += stepX;
|
||||||
|
_Theme.Rect.Y += stepY;
|
||||||
|
}
|
||||||
|
|
||||||
|
public void ResizeElement(int stepW, int stepH)
|
||||||
|
{
|
||||||
|
W += stepW;
|
||||||
|
if (W <= 0)
|
||||||
|
W = 1;
|
||||||
|
|
||||||
|
H += stepH;
|
||||||
|
if (H <= 0)
|
||||||
|
H = 1;
|
||||||
|
|
||||||
|
_Theme.Rect.W = Rect.W;
|
||||||
|
_Theme.Rect.H = Rect.H;
|
||||||
|
}
|
||||||
|
#endregion ThemeEdit
|
||||||
|
}
|
||||||
|
}
|
||||||
@@ -105,6 +105,7 @@
|
|||||||
<Compile Include="Game\CPoints.cs" />
|
<Compile Include="Game\CPoints.cs" />
|
||||||
<Compile Include="Menu\CScreenSetting.cs" />
|
<Compile Include="Menu\CScreenSetting.cs" />
|
||||||
<Compile Include="Menu\CSelectSlide.cs" />
|
<Compile Include="Menu\CSelectSlide.cs" />
|
||||||
|
<Compile Include="Menu\CProgressBar.cs" />
|
||||||
<Compile Include="Menu\CStatic.cs" />
|
<Compile Include="Menu\CStatic.cs" />
|
||||||
<Compile Include="Menu\CText.cs" />
|
<Compile Include="Menu\CText.cs" />
|
||||||
<Compile Include="Draw\CTextureRef.cs" />
|
<Compile Include="Draw\CTextureRef.cs" />
|
||||||
|
|||||||
Reference in new issue
Block a user