Some minor changes

This commit is contained in:
Stephan Sundermann committed 2012-03-05 19:24:42 +01:00
1 parent 01ec1b0927
commit 88ae7d86c8
2 files changed
+28 -38

No files matched your search

@@ -18,13 +18,29 @@
<!-- <Space>: Reflection Space--> <!-- <Space>: Reflection Space-->
<!-- <Height>: Reflection Height--> <!-- <Height>: Reflection Height-->
</StaticBG> </StaticBG>
<StaticCover>
<!--<Skin>: Texture name-->
<Skin>CoverBackground</Skin>
<!--<X>, <Y>, <Z>, <W>, <H>: Static position, width and height-->
<X>50</X>
<Y>0</Y>
<Z>0,00</Z>
<W>50</W>
<H>50</H>
<!--<Color>: Static color from ColorScheme (high priority)-->
<!--or <R>, <G>, <B>, <A> (lower priority)-->
<Color>Visible</Color>
<!--<Reflection> If exists:-->
<!-- <Space>: Reflection Space-->
<!-- <Height>: Reflection Height-->
</StaticCover>
<ButtonPrevious> <ButtonPrevious>
<!--<Skin>: Texture name--> <!--<Skin>: Texture name-->
<Skin>PreviousIcon</Skin> <Skin>PreviousIcon</Skin>
<!--<SkinSelected>: Texture name for selected button--> <!--<SkinSelected>: Texture name for selected button-->
<SkinSelected>PreviousIcon</SkinSelected> <SkinSelected>PreviousIcon</SkinSelected>
<!--<X>, <Y>, <Z>, <W>, <H>: Button position, width and height--> <!--<X>, <Y>, <Z>, <W>, <H>: Button position, width and height-->
<X>50</X> <X>125</X>
<Y>0</Y> <Y>0</Y>
<Z>0,00</Z> <Z>0,00</Z>
<W>50</W> <W>50</W>
@@ -71,7 +87,7 @@
<!--<SkinSelected>: Texture name for selected button--> <!--<SkinSelected>: Texture name for selected button-->
<SkinSelected>PlayIcon</SkinSelected> <SkinSelected>PlayIcon</SkinSelected>
<!--<X>, <Y>, <Z>, <W>, <H>: Button position, width and height--> <!--<X>, <Y>, <Z>, <W>, <H>: Button position, width and height-->
<X>125</X> <X>200</X>
<Y>5</Y> <Y>5</Y>
<Z>0,00</Z> <Z>0,00</Z>
<W>40</W> <W>40</W>
@@ -118,7 +134,7 @@
<!--<SkinSelected>: Texture name for selected button--> <!--<SkinSelected>: Texture name for selected button-->
<SkinSelected>PauseIcon</SkinSelected> <SkinSelected>PauseIcon</SkinSelected>
<!--<X>, <Y>, <Z>, <W>, <H>: Button position, width and height--> <!--<X>, <Y>, <Z>, <W>, <H>: Button position, width and height-->
<X>125</X> <X>200</X>
<Y>5</Y> <Y>5</Y>
<Z>0,00</Z> <Z>0,00</Z>
<W>40</W> <W>40</W>
@@ -165,7 +181,7 @@
<!--<SkinSelected>: Texture name for selected button--> <!--<SkinSelected>: Texture name for selected button-->
<SkinSelected>NextIcon</SkinSelected> <SkinSelected>NextIcon</SkinSelected>
<!--<X>, <Y>, <Z>, <W>, <H>: Button position, width and height--> <!--<X>, <Y>, <Z>, <W>, <H>: Button position, width and height-->
<X>190</X> <X>265</X>
<Y>0</Y> <Y>0</Y>
<Z>0,00</Z> <Z>0,00</Z>
<W>50</W> <W>50</W>
@@ -212,7 +228,7 @@
<!--<SkinSelected>: Texture name for selected button--> <!--<SkinSelected>: Texture name for selected button-->
<SkinSelected>RepeatIcon</SkinSelected> <SkinSelected>RepeatIcon</SkinSelected>
<!--<X>, <Y>, <Z>, <W>, <H>: Button position, width and height--> <!--<X>, <Y>, <Z>, <W>, <H>: Button position, width and height-->
<X>265</X> <X>330</X>
<Y>0</Y> <Y>0</Y>
<Z>0,00</Z> <Z>0,00</Z>
<W>50</W> <W>50</W>
@@ -225,7 +241,7 @@
<SColor>ButtonSColor</SColor> <SColor>ButtonSColor</SColor>
<Text> <Text>
<!--<X>, <Y>: Text position--> <!--<X>, <Y>: Text position-->
<X>265</X> <X>405</X>
<Y>25</Y> <Y>25</Y>
<!--<H>: Text height--> <!--<H>: Text height-->
<H>32</H> <H>32</H>
@@ -259,7 +275,7 @@
<!--<SkinSelected>: Texture name for selected button--> <!--<SkinSelected>: Texture name for selected button-->
<SkinSelected>VideoIcon</SkinSelected> <SkinSelected>VideoIcon</SkinSelected>
<!--<X>, <Y>, <Z>, <W>, <H>: Button position, width and height--> <!--<X>, <Y>, <Z>, <W>, <H>: Button position, width and height-->
<X>315</X> <X>405</X>
<Y>0</Y> <Y>0</Y>
<Z>0,00</Z> <Z>0,00</Z>
<W>50</W> <W>50</W>
@@ -306,7 +322,7 @@
<!--<SkinSelected>: Texture name for selected button--> <!--<SkinSelected>: Texture name for selected button-->
<SkinSelected>DuetIcon</SkinSelected> <SkinSelected>DuetIcon</SkinSelected>
<!--<X>, <Y>, <Z>, <W>, <H>: Button position, width and height--> <!--<X>, <Y>, <Z>, <W>, <H>: Button position, width and height-->
<X>380</X> <X>480</X>
<Y>0</Y> <Y>0</Y>
<Z>0,00</Z> <Z>0,00</Z>
<W>50</W> <W>50</W>
@@ -349,14 +365,14 @@
</ButtonSing> </ButtonSing>
<TextCurrentSong> <TextCurrentSong>
<!--<X>, <Y>: Text position--> <!--<X>, <Y>: Text position-->
<X>465</X> <X>555</X>
<Y>0</Y> <Y>0</Y>
<!--<Z>: Text position--> <!--<Z>: Text position-->
<Z>0,00</Z> <Z>0,00</Z>
<!--<H>: Text height--> <!--<H>: Text height-->
<H>50</H> <H>50</H>
<!--<MaxW>: Maximum text width (if exists)--> <!--<MaxW>: Maximum text width (if exists)-->
<MaxW>825</MaxW> <MaxW>725</MaxW>
<!--<Color>: Text color from ColorScheme (high priority)--> <!--<Color>: Text color from ColorScheme (high priority)-->
<!--or <R>, <G>, <B>, <A> (lower priority)--> <!--or <R>, <G>, <B>, <A> (lower priority)-->
<Color>StaticColor</Color> <Color>StaticColor</Color>
@@ -375,21 +391,5 @@
<!-- <Space>: Reflection Space--> <!-- <Space>: Reflection Space-->
<!-- <Height>: Reflection Height--> <!-- <Height>: Reflection Height-->
</TextCurrentSong> </TextCurrentSong>
<StaticCover>
<!--<Skin>: Texture name-->
<Skin>CoverBackground</Skin>
<!--<X>, <Y>, <Z>, <W>, <H>: Static position, width and height-->
<X>0</X>
<Y>0</Y>
<Z>0,00</Z>
<W>50</W>
<H>50</H>
<!--<Color>: Static color from ColorScheme (high priority)-->
<!--or <R>, <G>, <B>, <A> (lower priority)-->
<Color>Visible</Color>
<!--<Reflection> If exists:-->
<!-- <Space>: Reflection Space-->
<!-- <Height>: Reflection Height-->
</StaticCover>
</PopupScreenPlayerControl> </PopupScreenPlayerControl>
</root> </root>
+2 -12
View File
@@ -155,6 +155,8 @@ namespace Vocaluxe.Base
if (_AllFileNames.Count > 0 && _CurrentMusicStream != -1) if (_AllFileNames.Count > 0 && _CurrentMusicStream != -1)
{ {
CSound.SetPosition(_CurrentMusicStream, 0); CSound.SetPosition(_CurrentMusicStream, 0);
if (_VideoEnabled)
LoadVideo();
} }
} }
@@ -321,11 +323,6 @@ namespace Vocaluxe.Base
return _CurrentPlaylistElement.GetSongNr(); return _CurrentPlaylistElement.GetSongNr();
} }
public static EAspect GetVideoAspect()
{
return _CurrentPlaylistElement.GetVideoAspect();
}
public static bool IsDuet() public static bool IsDuet()
{ {
return _CurrentPlaylistElement.IsDuet(); return _CurrentPlaylistElement.IsDuet();
@@ -371,7 +368,6 @@ class PlaylistElement
float _VideoGap; float _VideoGap;
int _SongNr; int _SongNr;
bool _Duet; bool _Duet;
EAspect _VideoAspect;
public PlaylistElement(CSong song) public PlaylistElement(CSong song)
{ {
@@ -383,7 +379,6 @@ class PlaylistElement
_VideoGap = song.VideoGap; _VideoGap = song.VideoGap;
_SongNr = song.ID; _SongNr = song.ID;
_Duet = song.IsDuet; _Duet = song.IsDuet;
_VideoAspect = song.VideoAspect;
} }
public PlaylistElement(string FilePath) public PlaylistElement(string FilePath)
@@ -441,11 +436,6 @@ class PlaylistElement
return _SongNr; return _SongNr;
} }
public EAspect GetVideoAspect()
{
return _VideoAspect;
}
public bool IsDuet() public bool IsDuet()
{ {
return _Duet; return _Duet;