Merge branch 'develop' of github.com:Vocaluxe/Vocaluxe into develop
No files matched your search
@@ -0,0 +1,29 @@
|
|||||||
|
<?xml version="1.0" encoding="UTF-8"?>
|
||||||
|
<root>
|
||||||
|
<Font1>
|
||||||
|
<Name>Normal</Name>
|
||||||
|
<Outline>0,00</Outline>
|
||||||
|
<OutlineColorR>0,00</OutlineColorR>
|
||||||
|
<OutlineColorG>0,00</OutlineColorG>
|
||||||
|
<OutlineColorB>0,00</OutlineColorB>
|
||||||
|
<OutlineColorA>1,00</OutlineColorA>
|
||||||
|
<Folder>FreeSans</Folder>
|
||||||
|
<FileNormal>FreeSans.ttf</FileNormal>
|
||||||
|
<FileBold>FreeSansBold.ttf</FileBold>
|
||||||
|
<FileItalic>FreeSansOblique.ttf</FileItalic>
|
||||||
|
<FileBoldItalic>FreeSansBoldOblique.ttf</FileBoldItalic>
|
||||||
|
</Font1>
|
||||||
|
<Font2>
|
||||||
|
<Name>Outline</Name>
|
||||||
|
<Outline>0,10</Outline>
|
||||||
|
<OutlineColorR>0,00</OutlineColorR>
|
||||||
|
<OutlineColorG>0,00</OutlineColorG>
|
||||||
|
<OutlineColorB>0,00</OutlineColorB>
|
||||||
|
<OutlineColorA>1,00</OutlineColorA>
|
||||||
|
<Folder>FreeSans</Folder>
|
||||||
|
<FileNormal>FreeSans.ttf</FileNormal>
|
||||||
|
<FileBold>FreeSansBold.ttf</FileBold>
|
||||||
|
<FileItalic>FreeSansOblique.ttf</FileItalic>
|
||||||
|
<FileBoldItalic>FreeSansBoldOblique.ttf</FileBoldItalic>
|
||||||
|
</Font2>
|
||||||
|
</root>
|
||||||
@@ -0,0 +1,40 @@
|
|||||||
|
Congratulations, you have successfully downloaded font file!
|
||||||
|
|
||||||
|
This font is provided to you by Fonts2u.com – the largest online
|
||||||
|
repository of free fonts for Windows and Mac.
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
How to install this font on your computer?
|
||||||
|
|
||||||
|
For Windows 7 / Vista users:
|
||||||
|
|
||||||
|
- Right-click the font file(s) and choose "Install".
|
||||||
|
|
||||||
|
For users of the previous Windows versions:
|
||||||
|
|
||||||
|
- Copy the included file(s) into a default Windows font folder
|
||||||
|
(usually C:\WINDOWS\FONTS or C:\WINNT\FONTS)
|
||||||
|
|
||||||
|
For Mac users:
|
||||||
|
|
||||||
|
Mac OS X 10.3 or above (including the FontBook)
|
||||||
|
|
||||||
|
- Double-click the font file and hit "Install font" button at
|
||||||
|
the bottom of the preview.
|
||||||
|
|
||||||
|
Mac OS X
|
||||||
|
|
||||||
|
- Either copy the font file(s) to /Library/Fonts (for all users),
|
||||||
|
or to /Users/Your_username/Library/Fonts (for you only).
|
||||||
|
|
||||||
|
Mac OS 9 or earlier
|
||||||
|
|
||||||
|
- You have to convert the font file(s) you have downloaded.
|
||||||
|
Drag the font suitcases into the System folder. The system
|
||||||
|
will propose you to add them to the Fonts folder.
|
||||||
|
|
||||||
|
For Linux users:
|
||||||
|
|
||||||
|
- Copy the font file(s) to /USR/SHARE/FONTS
|
||||||
|
|
||||||
|
After Width: | Height: | Size: 499 B |
|
After Width: | Height: | Size: 5.9 KiB |
|
After Width: | Height: | Size: 91 B |
|
After Width: | Height: | Size: 2.0 KiB |
|
After Width: | Height: | Size: 6.5 KiB |
|
After Width: | Height: | Size: 1.1 KiB |
|
After Width: | Height: | Size: 1.1 KiB |
|
After Width: | Height: | Size: 1.5 KiB |
|
After Width: | Height: | Size: 2.2 KiB |
|
After Width: | Height: | Size: 2.2 KiB |
|
After Width: | Height: | Size: 3.5 KiB |
@@ -0,0 +1,155 @@
|
|||||||
|
<?xml version="1.0" encoding="utf-8"?>
|
||||||
|
<root>
|
||||||
|
<SkinSystemVersion>3</SkinSystemVersion>
|
||||||
|
<Info>
|
||||||
|
<Name>Blue</Name>
|
||||||
|
<Author>brunzel</Author>
|
||||||
|
<SkinVersionMajor>0</SkinVersionMajor>
|
||||||
|
<SkinVersionMinor>1</SkinVersionMinor>
|
||||||
|
</Info>
|
||||||
|
<ColorSchemes>
|
||||||
|
<BackgroundColor>
|
||||||
|
<R>0,000</R>
|
||||||
|
<G>0,000</G>
|
||||||
|
<B>0,750</B>
|
||||||
|
<A>1,000</A>
|
||||||
|
</BackgroundColor>
|
||||||
|
<StaticColor>
|
||||||
|
<R>0,675</R>
|
||||||
|
<G>0,890</G>
|
||||||
|
<B>0,969</B>
|
||||||
|
<A>1,000</A>
|
||||||
|
</StaticColor>
|
||||||
|
<StaticColorAlpha>
|
||||||
|
<R>0,675</R>
|
||||||
|
<G>0,890</G>
|
||||||
|
<B>0,969</B>
|
||||||
|
<A>0,500</A>
|
||||||
|
</StaticColorAlpha>
|
||||||
|
<StaticWarningColor>
|
||||||
|
<R>0,675</R>
|
||||||
|
<G>0,890</G>
|
||||||
|
<B>0,969</B>
|
||||||
|
<A>1,000</A>
|
||||||
|
</StaticWarningColor>
|
||||||
|
<ButtonColor>
|
||||||
|
<R>0,675</R>
|
||||||
|
<G>0,890</G>
|
||||||
|
<B>0,969</B>
|
||||||
|
<A>0,300</A>
|
||||||
|
</ButtonColor>
|
||||||
|
<ButtonSColor>
|
||||||
|
<R>0,675</R>
|
||||||
|
<G>0,890</G>
|
||||||
|
<B>0,969</B>
|
||||||
|
<A>1,000</A>
|
||||||
|
</ButtonSColor>
|
||||||
|
<ButtonTextColor>
|
||||||
|
<R>0,675</R>
|
||||||
|
<G>0,890</G>
|
||||||
|
<B>0,969</B>
|
||||||
|
<A>0,500</A>
|
||||||
|
</ButtonTextColor>
|
||||||
|
<ButtonTextSColor>
|
||||||
|
<R>0,675</R>
|
||||||
|
<G>0,890</G>
|
||||||
|
<B>0,969</B>
|
||||||
|
<A>1,000</A>
|
||||||
|
</ButtonTextSColor>
|
||||||
|
<SelectSlideColor>
|
||||||
|
<R>0,675</R>
|
||||||
|
<G>0,890</G>
|
||||||
|
<B>0,969</B>
|
||||||
|
<A>1,000</A>
|
||||||
|
</SelectSlideColor>
|
||||||
|
<SelectSlideColorAlpha>
|
||||||
|
<R>0,675</R>
|
||||||
|
<G>0,890</G>
|
||||||
|
<B>0,969</B>
|
||||||
|
<A>0,500</A>
|
||||||
|
</SelectSlideColorAlpha>
|
||||||
|
<SelectSlideHColor>
|
||||||
|
<R>0,675</R>
|
||||||
|
<G>0,890</G>
|
||||||
|
<B>0,969</B>
|
||||||
|
<A>1,000</A>
|
||||||
|
</SelectSlideHColor>
|
||||||
|
<SelectSlideSColor>
|
||||||
|
<R>0,675</R>
|
||||||
|
<G>0,890</G>
|
||||||
|
<B>0,969</B>
|
||||||
|
<A>0,500</A>
|
||||||
|
</SelectSlideSColor>
|
||||||
|
<ArrowColor>
|
||||||
|
<R>0,675</R>
|
||||||
|
<G>0,890</G>
|
||||||
|
<B>0,969</B>
|
||||||
|
<A>0,300</A>
|
||||||
|
</ArrowColor>
|
||||||
|
<ArrowSColor>
|
||||||
|
<R>0,675</R>
|
||||||
|
<G>0,890</G>
|
||||||
|
<B>0,969</B>
|
||||||
|
<A>1,000</A>
|
||||||
|
</ArrowSColor>
|
||||||
|
<TextColor>
|
||||||
|
<R>0,675</R>
|
||||||
|
<G>0,890</G>
|
||||||
|
<B>0,969</B>
|
||||||
|
<A>0,500</A>
|
||||||
|
</TextColor>
|
||||||
|
<TextSColor>
|
||||||
|
<R>0,675</R>
|
||||||
|
<G>0,890</G>
|
||||||
|
<B>0,969</B>
|
||||||
|
<A>1,000</A>
|
||||||
|
</TextSColor>
|
||||||
|
<TextWarningColor>
|
||||||
|
<R>1,000</R>
|
||||||
|
<G>0,000</G>
|
||||||
|
<B>0,000</B>
|
||||||
|
<A>1,000</A>
|
||||||
|
</TextWarningColor>
|
||||||
|
<TextBlack>
|
||||||
|
<R>0,000</R>
|
||||||
|
<G>0,000</G>
|
||||||
|
<B>0,000</B>
|
||||||
|
<A>1,000</A>
|
||||||
|
</TextBlack>
|
||||||
|
<TextWhite>
|
||||||
|
<R>0,000</R>
|
||||||
|
<G>0,000</G>
|
||||||
|
<B>0,000</B>
|
||||||
|
<A>1,000</A>
|
||||||
|
</TextWhite>
|
||||||
|
<Visible>
|
||||||
|
<R>1,000</R>
|
||||||
|
<G>1,000</G>
|
||||||
|
<B>1,000</B>
|
||||||
|
<A>1,000</A>
|
||||||
|
</Visible>
|
||||||
|
<Invisible>
|
||||||
|
<R>1,000</R>
|
||||||
|
<G>1,000</G>
|
||||||
|
<B>1,000</B>
|
||||||
|
<A>0,000</A>
|
||||||
|
</Invisible>
|
||||||
|
</ColorSchemes>
|
||||||
|
<Skins>
|
||||||
|
<BG_Default>[Blue]BG_Default.png</BG_Default>
|
||||||
|
<Menu>Menu.png</Menu>
|
||||||
|
<Button>Button.png</Button>
|
||||||
|
<CoverTile>CoverTile.png</CoverTile>
|
||||||
|
<SelectSlide>SelectSlide.png</SelectSlide>
|
||||||
|
<SelectSlidePlayer>SelectSlidePlayer.png</SelectSlidePlayer>
|
||||||
|
<SelectSlideArrowLeft>SelectSlideArrowLeft.png</SelectSlideArrowLeft>
|
||||||
|
<SelectSlideArrowRight>SelectSlideArrowRight.png</SelectSlideArrowRight>
|
||||||
|
<PopupBG>Popup.png</PopupBG>
|
||||||
|
<ScrollUp>ScrollUp.png</ScrollUp>
|
||||||
|
<ScrollDown>ScrollDown.png</ScrollDown>
|
||||||
|
<Invisible>Invisible.png</Invisible>
|
||||||
|
</Skins>
|
||||||
|
<Videos>
|
||||||
|
<BG_Video>[Blue]BG_Video.mp4</BG_Video>
|
||||||
|
</Videos>
|
||||||
|
</root>
|
||||||
|
After Width: | Height: | Size: 816 KiB |
@@ -0,0 +1,11 @@
|
|||||||
|
<?xml version="1.0" encoding="utf-8"?>
|
||||||
|
<root>
|
||||||
|
<ThemeSystemVersion>5</ThemeSystemVersion>
|
||||||
|
<Info>
|
||||||
|
<Name>Ambient</Name>
|
||||||
|
<Author>brunzel</Author>
|
||||||
|
<SkinFolder>Textures</SkinFolder>
|
||||||
|
<ThemeVersionMajor>0</ThemeVersionMajor>
|
||||||
|
<ThemeVersionMinor>1</ThemeVersionMinor>
|
||||||
|
</Info>
|
||||||
|
</root>
|
||||||
@@ -0,0 +1,29 @@
|
|||||||
|
<?xml version="1.0" encoding="UTF-8"?>
|
||||||
|
<root>
|
||||||
|
<Font1>
|
||||||
|
<Name>Normal</Name>
|
||||||
|
<Outline>0,00</Outline>
|
||||||
|
<OutlineColorR>0,00</OutlineColorR>
|
||||||
|
<OutlineColorG>0,00</OutlineColorG>
|
||||||
|
<OutlineColorB>0,00</OutlineColorB>
|
||||||
|
<OutlineColorA>1,00</OutlineColorA>
|
||||||
|
<Folder>FreeSans</Folder>
|
||||||
|
<FileNormal>FreeSans.ttf</FileNormal>
|
||||||
|
<FileBold>FreeSansBold.ttf</FileBold>
|
||||||
|
<FileItalic>FreeSansOblique.ttf</FileItalic>
|
||||||
|
<FileBoldItalic>FreeSansBoldOblique.ttf</FileBoldItalic>
|
||||||
|
</Font1>
|
||||||
|
<Font2>
|
||||||
|
<Name>Outline</Name>
|
||||||
|
<Outline>0,10</Outline>
|
||||||
|
<OutlineColorR>0,00</OutlineColorR>
|
||||||
|
<OutlineColorG>0,00</OutlineColorG>
|
||||||
|
<OutlineColorB>0,00</OutlineColorB>
|
||||||
|
<OutlineColorA>1,00</OutlineColorA>
|
||||||
|
<Folder>FreeSans</Folder>
|
||||||
|
<FileNormal>FreeSans.ttf</FileNormal>
|
||||||
|
<FileBold>FreeSansBold.ttf</FileBold>
|
||||||
|
<FileItalic>FreeSansOblique.ttf</FileItalic>
|
||||||
|
<FileBoldItalic>FreeSansBoldOblique.ttf</FileBoldItalic>
|
||||||
|
</Font2>
|
||||||
|
</root>
|
||||||
@@ -0,0 +1,40 @@
|
|||||||
|
Congratulations, you have successfully downloaded font file!
|
||||||
|
|
||||||
|
This font is provided to you by Fonts2u.com – the largest online
|
||||||
|
repository of free fonts for Windows and Mac.
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
How to install this font on your computer?
|
||||||
|
|
||||||
|
For Windows 7 / Vista users:
|
||||||
|
|
||||||
|
- Right-click the font file(s) and choose "Install".
|
||||||
|
|
||||||
|
For users of the previous Windows versions:
|
||||||
|
|
||||||
|
- Copy the included file(s) into a default Windows font folder
|
||||||
|
(usually C:\WINDOWS\FONTS or C:\WINNT\FONTS)
|
||||||
|
|
||||||
|
For Mac users:
|
||||||
|
|
||||||
|
Mac OS X 10.3 or above (including the FontBook)
|
||||||
|
|
||||||
|
- Double-click the font file and hit "Install font" button at
|
||||||
|
the bottom of the preview.
|
||||||
|
|
||||||
|
Mac OS X
|
||||||
|
|
||||||
|
- Either copy the font file(s) to /Library/Fonts (for all users),
|
||||||
|
or to /Users/Your_username/Library/Fonts (for you only).
|
||||||
|
|
||||||
|
Mac OS 9 or earlier
|
||||||
|
|
||||||
|
- You have to convert the font file(s) you have downloaded.
|
||||||
|
Drag the font suitcases into the System folder. The system
|
||||||
|
will propose you to add them to the Fonts folder.
|
||||||
|
|
||||||
|
For Linux users:
|
||||||
|
|
||||||
|
- Copy the font file(s) to /USR/SHARE/FONTS
|
||||||
|
|
||||||
|
After Width: | Height: | Size: 499 B |
|
After Width: | Height: | Size: 5.9 KiB |
|
After Width: | Height: | Size: 91 B |
|
After Width: | Height: | Size: 2.0 KiB |
|
After Width: | Height: | Size: 6.5 KiB |
|
After Width: | Height: | Size: 1.1 KiB |
|
After Width: | Height: | Size: 1.1 KiB |
|
After Width: | Height: | Size: 1.5 KiB |
|
After Width: | Height: | Size: 2.2 KiB |
|
After Width: | Height: | Size: 2.2 KiB |
|
After Width: | Height: | Size: 3.5 KiB |
@@ -0,0 +1,155 @@
|
|||||||
|
<?xml version="1.0" encoding="utf-8"?>
|
||||||
|
<root>
|
||||||
|
<SkinSystemVersion>3</SkinSystemVersion>
|
||||||
|
<Info>
|
||||||
|
<Name>Blue</Name>
|
||||||
|
<Author>brunzel</Author>
|
||||||
|
<SkinVersionMajor>0</SkinVersionMajor>
|
||||||
|
<SkinVersionMinor>1</SkinVersionMinor>
|
||||||
|
</Info>
|
||||||
|
<ColorSchemes>
|
||||||
|
<BackgroundColor>
|
||||||
|
<R>0,000</R>
|
||||||
|
<G>0,000</G>
|
||||||
|
<B>0,750</B>
|
||||||
|
<A>1,000</A>
|
||||||
|
</BackgroundColor>
|
||||||
|
<StaticColor>
|
||||||
|
<R>0,675</R>
|
||||||
|
<G>0,890</G>
|
||||||
|
<B>0,969</B>
|
||||||
|
<A>1,000</A>
|
||||||
|
</StaticColor>
|
||||||
|
<StaticColorAlpha>
|
||||||
|
<R>0,675</R>
|
||||||
|
<G>0,890</G>
|
||||||
|
<B>0,969</B>
|
||||||
|
<A>0,500</A>
|
||||||
|
</StaticColorAlpha>
|
||||||
|
<StaticWarningColor>
|
||||||
|
<R>0,675</R>
|
||||||
|
<G>0,890</G>
|
||||||
|
<B>0,969</B>
|
||||||
|
<A>1,000</A>
|
||||||
|
</StaticWarningColor>
|
||||||
|
<ButtonColor>
|
||||||
|
<R>0,675</R>
|
||||||
|
<G>0,890</G>
|
||||||
|
<B>0,969</B>
|
||||||
|
<A>0,300</A>
|
||||||
|
</ButtonColor>
|
||||||
|
<ButtonSColor>
|
||||||
|
<R>0,675</R>
|
||||||
|
<G>0,890</G>
|
||||||
|
<B>0,969</B>
|
||||||
|
<A>1,000</A>
|
||||||
|
</ButtonSColor>
|
||||||
|
<ButtonTextColor>
|
||||||
|
<R>0,675</R>
|
||||||
|
<G>0,890</G>
|
||||||
|
<B>0,969</B>
|
||||||
|
<A>0,500</A>
|
||||||
|
</ButtonTextColor>
|
||||||
|
<ButtonTextSColor>
|
||||||
|
<R>0,675</R>
|
||||||
|
<G>0,890</G>
|
||||||
|
<B>0,969</B>
|
||||||
|
<A>1,000</A>
|
||||||
|
</ButtonTextSColor>
|
||||||
|
<SelectSlideColor>
|
||||||
|
<R>0,675</R>
|
||||||
|
<G>0,890</G>
|
||||||
|
<B>0,969</B>
|
||||||
|
<A>1,000</A>
|
||||||
|
</SelectSlideColor>
|
||||||
|
<SelectSlideColorAlpha>
|
||||||
|
<R>0,675</R>
|
||||||
|
<G>0,890</G>
|
||||||
|
<B>0,969</B>
|
||||||
|
<A>0,500</A>
|
||||||
|
</SelectSlideColorAlpha>
|
||||||
|
<SelectSlideHColor>
|
||||||
|
<R>0,675</R>
|
||||||
|
<G>0,890</G>
|
||||||
|
<B>0,969</B>
|
||||||
|
<A>1,000</A>
|
||||||
|
</SelectSlideHColor>
|
||||||
|
<SelectSlideSColor>
|
||||||
|
<R>0,675</R>
|
||||||
|
<G>0,890</G>
|
||||||
|
<B>0,969</B>
|
||||||
|
<A>0,500</A>
|
||||||
|
</SelectSlideSColor>
|
||||||
|
<ArrowColor>
|
||||||
|
<R>0,675</R>
|
||||||
|
<G>0,890</G>
|
||||||
|
<B>0,969</B>
|
||||||
|
<A>0,300</A>
|
||||||
|
</ArrowColor>
|
||||||
|
<ArrowSColor>
|
||||||
|
<R>0,675</R>
|
||||||
|
<G>0,890</G>
|
||||||
|
<B>0,969</B>
|
||||||
|
<A>1,000</A>
|
||||||
|
</ArrowSColor>
|
||||||
|
<TextColor>
|
||||||
|
<R>0,675</R>
|
||||||
|
<G>0,890</G>
|
||||||
|
<B>0,969</B>
|
||||||
|
<A>0,500</A>
|
||||||
|
</TextColor>
|
||||||
|
<TextSColor>
|
||||||
|
<R>0,675</R>
|
||||||
|
<G>0,890</G>
|
||||||
|
<B>0,969</B>
|
||||||
|
<A>1,000</A>
|
||||||
|
</TextSColor>
|
||||||
|
<TextWarningColor>
|
||||||
|
<R>1,000</R>
|
||||||
|
<G>0,000</G>
|
||||||
|
<B>0,000</B>
|
||||||
|
<A>1,000</A>
|
||||||
|
</TextWarningColor>
|
||||||
|
<TextBlack>
|
||||||
|
<R>0,000</R>
|
||||||
|
<G>0,000</G>
|
||||||
|
<B>0,000</B>
|
||||||
|
<A>1,000</A>
|
||||||
|
</TextBlack>
|
||||||
|
<TextWhite>
|
||||||
|
<R>0,000</R>
|
||||||
|
<G>0,000</G>
|
||||||
|
<B>0,000</B>
|
||||||
|
<A>1,000</A>
|
||||||
|
</TextWhite>
|
||||||
|
<Visible>
|
||||||
|
<R>1,000</R>
|
||||||
|
<G>1,000</G>
|
||||||
|
<B>1,000</B>
|
||||||
|
<A>1,000</A>
|
||||||
|
</Visible>
|
||||||
|
<Invisible>
|
||||||
|
<R>1,000</R>
|
||||||
|
<G>1,000</G>
|
||||||
|
<B>1,000</B>
|
||||||
|
<A>0,000</A>
|
||||||
|
</Invisible>
|
||||||
|
</ColorSchemes>
|
||||||
|
<Skins>
|
||||||
|
<BG_Default>[Blue]BG_Default.png</BG_Default>
|
||||||
|
<Menu>Menu.png</Menu>
|
||||||
|
<Button>Button.png</Button>
|
||||||
|
<CoverTile>CoverTile.png</CoverTile>
|
||||||
|
<SelectSlide>SelectSlide.png</SelectSlide>
|
||||||
|
<SelectSlidePlayer>SelectSlidePlayer.png</SelectSlidePlayer>
|
||||||
|
<SelectSlideArrowLeft>SelectSlideArrowLeft.png</SelectSlideArrowLeft>
|
||||||
|
<SelectSlideArrowRight>SelectSlideArrowRight.png</SelectSlideArrowRight>
|
||||||
|
<PopupBG>Popup.png</PopupBG>
|
||||||
|
<ScrollUp>ScrollUp.png</ScrollUp>
|
||||||
|
<ScrollDown>ScrollDown.png</ScrollDown>
|
||||||
|
<Invisible>Invisible.png</Invisible>
|
||||||
|
</Skins>
|
||||||
|
<Videos>
|
||||||
|
<BG_Video>[Blue]BG_Video.mp4</BG_Video>
|
||||||
|
</Videos>
|
||||||
|
</root>
|
||||||
|
After Width: | Height: | Size: 816 KiB |
@@ -0,0 +1,11 @@
|
|||||||
|
<?xml version="1.0" encoding="utf-8"?>
|
||||||
|
<root>
|
||||||
|
<ThemeSystemVersion>5</ThemeSystemVersion>
|
||||||
|
<Info>
|
||||||
|
<Name>Ambient</Name>
|
||||||
|
<Author>brunzel</Author>
|
||||||
|
<SkinFolder>Textures</SkinFolder>
|
||||||
|
<ThemeVersionMajor>0</ThemeVersionMajor>
|
||||||
|
<ThemeVersionMinor>1</ThemeVersionMinor>
|
||||||
|
</Info>
|
||||||
|
</root>
|
||||||
@@ -0,0 +1,29 @@
|
|||||||
|
<?xml version="1.0" encoding="UTF-8"?>
|
||||||
|
<root>
|
||||||
|
<Font1>
|
||||||
|
<Name>Normal</Name>
|
||||||
|
<Outline>0,00</Outline>
|
||||||
|
<OutlineColorR>0,00</OutlineColorR>
|
||||||
|
<OutlineColorG>0,00</OutlineColorG>
|
||||||
|
<OutlineColorB>0,00</OutlineColorB>
|
||||||
|
<OutlineColorA>1,00</OutlineColorA>
|
||||||
|
<Folder>FreeSans</Folder>
|
||||||
|
<FileNormal>FreeSans.ttf</FileNormal>
|
||||||
|
<FileBold>FreeSansBold.ttf</FileBold>
|
||||||
|
<FileItalic>FreeSansOblique.ttf</FileItalic>
|
||||||
|
<FileBoldItalic>FreeSansBoldOblique.ttf</FileBoldItalic>
|
||||||
|
</Font1>
|
||||||
|
<Font2>
|
||||||
|
<Name>Outline</Name>
|
||||||
|
<Outline>0,10</Outline>
|
||||||
|
<OutlineColorR>0,00</OutlineColorR>
|
||||||
|
<OutlineColorG>0,00</OutlineColorG>
|
||||||
|
<OutlineColorB>0,00</OutlineColorB>
|
||||||
|
<OutlineColorA>1,00</OutlineColorA>
|
||||||
|
<Folder>FreeSans</Folder>
|
||||||
|
<FileNormal>FreeSans.ttf</FileNormal>
|
||||||
|
<FileBold>FreeSansBold.ttf</FileBold>
|
||||||
|
<FileItalic>FreeSansOblique.ttf</FileItalic>
|
||||||
|
<FileBoldItalic>FreeSansBoldOblique.ttf</FileBoldItalic>
|
||||||
|
</Font2>
|
||||||
|
</root>
|
||||||
@@ -0,0 +1,40 @@
|
|||||||
|
Congratulations, you have successfully downloaded font file!
|
||||||
|
|
||||||
|
This font is provided to you by Fonts2u.com – the largest online
|
||||||
|
repository of free fonts for Windows and Mac.
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
How to install this font on your computer?
|
||||||
|
|
||||||
|
For Windows 7 / Vista users:
|
||||||
|
|
||||||
|
- Right-click the font file(s) and choose "Install".
|
||||||
|
|
||||||
|
For users of the previous Windows versions:
|
||||||
|
|
||||||
|
- Copy the included file(s) into a default Windows font folder
|
||||||
|
(usually C:\WINDOWS\FONTS or C:\WINNT\FONTS)
|
||||||
|
|
||||||
|
For Mac users:
|
||||||
|
|
||||||
|
Mac OS X 10.3 or above (including the FontBook)
|
||||||
|
|
||||||
|
- Double-click the font file and hit "Install font" button at
|
||||||
|
the bottom of the preview.
|
||||||
|
|
||||||
|
Mac OS X
|
||||||
|
|
||||||
|
- Either copy the font file(s) to /Library/Fonts (for all users),
|
||||||
|
or to /Users/Your_username/Library/Fonts (for you only).
|
||||||
|
|
||||||
|
Mac OS 9 or earlier
|
||||||
|
|
||||||
|
- You have to convert the font file(s) you have downloaded.
|
||||||
|
Drag the font suitcases into the System folder. The system
|
||||||
|
will propose you to add them to the Fonts folder.
|
||||||
|
|
||||||
|
For Linux users:
|
||||||
|
|
||||||
|
- Copy the font file(s) to /USR/SHARE/FONTS
|
||||||
|
|
||||||
|
After Width: | Height: | Size: 499 B |
|
After Width: | Height: | Size: 5.9 KiB |
|
After Width: | Height: | Size: 91 B |
|
After Width: | Height: | Size: 2.0 KiB |
|
After Width: | Height: | Size: 6.5 KiB |
|
After Width: | Height: | Size: 32 KiB |
|
After Width: | Height: | Size: 15 KiB |
|
After Width: | Height: | Size: 1.1 KiB |
|
After Width: | Height: | Size: 1.1 KiB |
|
After Width: | Height: | Size: 1.5 KiB |
|
After Width: | Height: | Size: 2.2 KiB |
|
After Width: | Height: | Size: 2.2 KiB |
|
After Width: | Height: | Size: 3.5 KiB |
@@ -0,0 +1,229 @@
|
|||||||
|
<?xml version="1.0" encoding="utf-8"?>
|
||||||
|
<root>
|
||||||
|
<SkinSystemVersion>3</SkinSystemVersion>
|
||||||
|
<Info>
|
||||||
|
<Name>Blue</Name>
|
||||||
|
<Author>brunzel</Author>
|
||||||
|
<SkinVersionMajor>0</SkinVersionMajor>
|
||||||
|
<SkinVersionMinor>1</SkinVersionMinor>
|
||||||
|
</Info>
|
||||||
|
<ColorSchemes>
|
||||||
|
<Player1Dim>
|
||||||
|
<R>0,000</R>
|
||||||
|
<G>0,000</G>
|
||||||
|
<B>1,000</B>
|
||||||
|
<A>0,500</A>
|
||||||
|
</Player1Dim>
|
||||||
|
<Player2Dim>
|
||||||
|
<R>1,000</R>
|
||||||
|
<G>0,000</G>
|
||||||
|
<B>0,000</B>
|
||||||
|
<A>0,500</A>
|
||||||
|
</Player2Dim>
|
||||||
|
<Player3Dim>
|
||||||
|
<R>0,000</R>
|
||||||
|
<G>1,000</G>
|
||||||
|
<B>0,000</B>
|
||||||
|
<A>0,500</A>
|
||||||
|
</Player3Dim>
|
||||||
|
<Player4Dim>
|
||||||
|
<R>0,500</R>
|
||||||
|
<G>0,000</G>
|
||||||
|
<B>1,000</B>
|
||||||
|
<A>0,500</A>
|
||||||
|
</Player4Dim>
|
||||||
|
<Player5Dim>
|
||||||
|
<R>1,000</R>
|
||||||
|
<G>0,800</G>
|
||||||
|
<B>0,000</B>
|
||||||
|
<A>0,500</A>
|
||||||
|
</Player5Dim>
|
||||||
|
<Player6Dim>
|
||||||
|
<R>1,000</R>
|
||||||
|
<G>0,000</G>
|
||||||
|
<B>0,500</B>
|
||||||
|
<A>0,500</A>
|
||||||
|
</Player6Dim>
|
||||||
|
<Player1Dim2>
|
||||||
|
<R>0,000</R>
|
||||||
|
<G>0,000</G>
|
||||||
|
<B>1,000</B>
|
||||||
|
<A>0,400</A>
|
||||||
|
</Player1Dim2>
|
||||||
|
<Player2Dim2>
|
||||||
|
<R>1,000</R>
|
||||||
|
<G>0,000</G>
|
||||||
|
<B>0,000</B>
|
||||||
|
<A>0,400</A>
|
||||||
|
</Player2Dim2>
|
||||||
|
<Player3Dim2>
|
||||||
|
<R>0,000</R>
|
||||||
|
<G>1,000</G>
|
||||||
|
<B>0,000</B>
|
||||||
|
<A>0,400</A>
|
||||||
|
</Player3Dim2>
|
||||||
|
<Player4Dim2>
|
||||||
|
<R>0,500</R>
|
||||||
|
<G>0,000</G>
|
||||||
|
<B>1,000</B>
|
||||||
|
<A>0,400</A>
|
||||||
|
</Player4Dim2>
|
||||||
|
<Player5Dim2>
|
||||||
|
<R>1,000</R>
|
||||||
|
<G>0,800</G>
|
||||||
|
<B>0,000</B>
|
||||||
|
<A>0,400</A>
|
||||||
|
</Player5Dim2>
|
||||||
|
<Player6Dim2>
|
||||||
|
<R>1,000</R>
|
||||||
|
<G>0,000</G>
|
||||||
|
<B>0,500</B>
|
||||||
|
<A>0,400</A>
|
||||||
|
</Player6Dim2>
|
||||||
|
<BackgroundColor>
|
||||||
|
<R>0,000</R>
|
||||||
|
<G>0,000</G>
|
||||||
|
<B>0,750</B>
|
||||||
|
<A>1,000</A>
|
||||||
|
</BackgroundColor>
|
||||||
|
<StaticColor>
|
||||||
|
<R>0,675</R>
|
||||||
|
<G>0,890</G>
|
||||||
|
<B>0,969</B>
|
||||||
|
<A>1,000</A>
|
||||||
|
</StaticColor>
|
||||||
|
<StaticColorAlpha>
|
||||||
|
<R>0,675</R>
|
||||||
|
<G>0,890</G>
|
||||||
|
<B>0,969</B>
|
||||||
|
<A>0,500</A>
|
||||||
|
</StaticColorAlpha>
|
||||||
|
<StaticWarningColor>
|
||||||
|
<R>0,675</R>
|
||||||
|
<G>0,890</G>
|
||||||
|
<B>0,969</B>
|
||||||
|
<A>1,000</A>
|
||||||
|
</StaticWarningColor>
|
||||||
|
<ButtonColor>
|
||||||
|
<R>0,675</R>
|
||||||
|
<G>0,890</G>
|
||||||
|
<B>0,969</B>
|
||||||
|
<A>0,300</A>
|
||||||
|
</ButtonColor>
|
||||||
|
<ButtonSColor>
|
||||||
|
<R>0,675</R>
|
||||||
|
<G>0,890</G>
|
||||||
|
<B>0,969</B>
|
||||||
|
<A>1,000</A>
|
||||||
|
</ButtonSColor>
|
||||||
|
<ButtonTextColor>
|
||||||
|
<R>0,675</R>
|
||||||
|
<G>0,890</G>
|
||||||
|
<B>0,969</B>
|
||||||
|
<A>0,500</A>
|
||||||
|
</ButtonTextColor>
|
||||||
|
<ButtonTextSColor>
|
||||||
|
<R>0,675</R>
|
||||||
|
<G>0,890</G>
|
||||||
|
<B>0,969</B>
|
||||||
|
<A>1,000</A>
|
||||||
|
</ButtonTextSColor>
|
||||||
|
<SelectSlideColor>
|
||||||
|
<R>0,675</R>
|
||||||
|
<G>0,890</G>
|
||||||
|
<B>0,969</B>
|
||||||
|
<A>1,000</A>
|
||||||
|
</SelectSlideColor>
|
||||||
|
<SelectSlideColorAlpha>
|
||||||
|
<R>0,675</R>
|
||||||
|
<G>0,890</G>
|
||||||
|
<B>0,969</B>
|
||||||
|
<A>0,500</A>
|
||||||
|
</SelectSlideColorAlpha>
|
||||||
|
<SelectSlideHColor>
|
||||||
|
<R>0,675</R>
|
||||||
|
<G>0,890</G>
|
||||||
|
<B>0,969</B>
|
||||||
|
<A>1,000</A>
|
||||||
|
</SelectSlideHColor>
|
||||||
|
<SelectSlideSColor>
|
||||||
|
<R>0,675</R>
|
||||||
|
<G>0,890</G>
|
||||||
|
<B>0,969</B>
|
||||||
|
<A>0,500</A>
|
||||||
|
</SelectSlideSColor>
|
||||||
|
<ArrowColor>
|
||||||
|
<R>0,675</R>
|
||||||
|
<G>0,890</G>
|
||||||
|
<B>0,969</B>
|
||||||
|
<A>0,300</A>
|
||||||
|
</ArrowColor>
|
||||||
|
<ArrowSColor>
|
||||||
|
<R>0,675</R>
|
||||||
|
<G>0,890</G>
|
||||||
|
<B>0,969</B>
|
||||||
|
<A>1,000</A>
|
||||||
|
</ArrowSColor>
|
||||||
|
<TextColor>
|
||||||
|
<R>0,675</R>
|
||||||
|
<G>0,890</G>
|
||||||
|
<B>0,969</B>
|
||||||
|
<A>0,500</A>
|
||||||
|
</TextColor>
|
||||||
|
<TextSColor>
|
||||||
|
<R>0,675</R>
|
||||||
|
<G>0,890</G>
|
||||||
|
<B>0,969</B>
|
||||||
|
<A>1,000</A>
|
||||||
|
</TextSColor>
|
||||||
|
<TextWarningColor>
|
||||||
|
<R>1,000</R>
|
||||||
|
<G>0,000</G>
|
||||||
|
<B>0,000</B>
|
||||||
|
<A>1,000</A>
|
||||||
|
</TextWarningColor>
|
||||||
|
<TextBlack>
|
||||||
|
<R>0,000</R>
|
||||||
|
<G>0,000</G>
|
||||||
|
<B>0,000</B>
|
||||||
|
<A>1,000</A>
|
||||||
|
</TextBlack>
|
||||||
|
<TextWhite>
|
||||||
|
<R>0,000</R>
|
||||||
|
<G>0,000</G>
|
||||||
|
<B>0,000</B>
|
||||||
|
<A>1,000</A>
|
||||||
|
</TextWhite>
|
||||||
|
<Visible>
|
||||||
|
<R>1,000</R>
|
||||||
|
<G>1,000</G>
|
||||||
|
<B>1,000</B>
|
||||||
|
<A>1,000</A>
|
||||||
|
</Visible>
|
||||||
|
<Invisible>
|
||||||
|
<R>1,000</R>
|
||||||
|
<G>1,000</G>
|
||||||
|
<B>1,000</B>
|
||||||
|
<A>0,000</A>
|
||||||
|
</Invisible>
|
||||||
|
</ColorSchemes>
|
||||||
|
<Skins>
|
||||||
|
<BG_Default>[Blue]BG_Default.png</BG_Default>
|
||||||
|
<Menu>Menu.png</Menu>
|
||||||
|
<Button>Button.png</Button>
|
||||||
|
<CoverTile>CoverTile.png</CoverTile>
|
||||||
|
<SelectSlide>SelectSlide.png</SelectSlide>
|
||||||
|
<SelectSlidePlayer>SelectSlidePlayer.png</SelectSlidePlayer>
|
||||||
|
<SelectSlideArrowLeft>SelectSlideArrowLeft.png</SelectSlideArrowLeft>
|
||||||
|
<SelectSlideArrowRight>SelectSlideArrowRight.png</SelectSlideArrowRight>
|
||||||
|
<PopupBG>Popup.png</PopupBG>
|
||||||
|
<RepeatIcon>RepeatIcon.png</RepeatIcon>
|
||||||
|
<Random>Random.png</Random>
|
||||||
|
<ScrollUp>ScrollUp.png</ScrollUp>
|
||||||
|
<ScrollDown>ScrollDown.png</ScrollDown>
|
||||||
|
<Invisible>Invisible.png</Invisible>
|
||||||
|
</Skins>
|
||||||
|
<Videos>
|
||||||
|
<BG_Video>[Blue]BG_Video.mp4</BG_Video>
|
||||||
|
</Videos>
|
||||||
|
</root>
|
||||||
|
After Width: | Height: | Size: 816 KiB |
@@ -0,0 +1,11 @@
|
|||||||
|
<?xml version="1.0" encoding="utf-8"?>
|
||||||
|
<root>
|
||||||
|
<ThemeSystemVersion>5</ThemeSystemVersion>
|
||||||
|
<Info>
|
||||||
|
<Name>Ambient</Name>
|
||||||
|
<Author>brunzel</Author>
|
||||||
|
<SkinFolder>Textures</SkinFolder>
|
||||||
|
<ThemeVersionMajor>0</ThemeVersionMajor>
|
||||||
|
<ThemeVersionMinor>1</ThemeVersionMinor>
|
||||||
|
</Info>
|
||||||
|
</root>
|
||||||
@@ -211,6 +211,7 @@ namespace Vocaluxe.Base
|
|||||||
_Video = -1;
|
_Video = -1;
|
||||||
}
|
}
|
||||||
CSound.FadeAndStop(_CurrentMusicStream, 0f, CSettings.BackgroundMusicFadeTime);
|
CSound.FadeAndStop(_CurrentMusicStream, 0f, CSettings.BackgroundMusicFadeTime);
|
||||||
|
_CurrentMusicStream = -1;
|
||||||
|
|
||||||
_CurrentPlaylistElement = new PlaylistElement();
|
_CurrentPlaylistElement = new PlaylistElement();
|
||||||
_Playing = false;
|
_Playing = false;
|
||||||
@@ -242,6 +243,7 @@ namespace Vocaluxe.Base
|
|||||||
|
|
||||||
bool finished = CSound.IsFinished(_CurrentMusicStream);
|
bool finished = CSound.IsFinished(_CurrentMusicStream);
|
||||||
if (_Playing && (timeToPlay <= CSettings.BackgroundMusicFadeTime || finished))
|
if (_Playing && (timeToPlay <= CSettings.BackgroundMusicFadeTime || finished))
|
||||||
|
{
|
||||||
if (_RepeatSong)
|
if (_RepeatSong)
|
||||||
{
|
{
|
||||||
CSound.SetPosition(_CurrentMusicStream, 0);
|
CSound.SetPosition(_CurrentMusicStream, 0);
|
||||||
@@ -250,6 +252,7 @@ namespace Vocaluxe.Base
|
|||||||
}
|
}
|
||||||
else
|
else
|
||||||
Next();
|
Next();
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@@ -60,7 +60,7 @@ namespace Vocaluxe.Base
|
|||||||
_CursorFadingTime = 0.5f;
|
_CursorFadingTime = 0.5f;
|
||||||
|
|
||||||
_CursorName = textureName;
|
_CursorName = textureName;
|
||||||
_Cursor = CDraw.AddTexture(CTheme.GetSkinFilePath(_CursorName));
|
_Cursor = CDraw.AddTexture(CTheme.GetSkinFilePath(_CursorName, -1));
|
||||||
|
|
||||||
_Cursor.color = color;
|
_Cursor.color = color;
|
||||||
_Cursor.rect.W = w;
|
_Cursor.rect.W = w;
|
||||||
@@ -126,7 +126,7 @@ namespace Vocaluxe.Base
|
|||||||
{
|
{
|
||||||
UnloadTextures();
|
UnloadTextures();
|
||||||
|
|
||||||
_Cursor = CDraw.AddTexture(CTheme.GetSkinFilePath(_CursorName));
|
_Cursor = CDraw.AddTexture(CTheme.GetSkinFilePath(_CursorName, -1));
|
||||||
}
|
}
|
||||||
|
|
||||||
public void FadeOut()
|
public void FadeOut()
|
||||||
@@ -252,14 +252,14 @@ namespace Vocaluxe.Base
|
|||||||
{
|
{
|
||||||
CLog.StartBenchmark(1, "Load Theme " + Enum.GetNames(typeof(EScreens))[i]);
|
CLog.StartBenchmark(1, "Load Theme " + Enum.GetNames(typeof(EScreens))[i]);
|
||||||
_Screens[i].Initialize(CMain.Base);
|
_Screens[i].Initialize(CMain.Base);
|
||||||
_Screens[i].LoadTheme(CTheme.GetThemeScreensPath());
|
_Screens[i].LoadTheme(CTheme.GetThemeScreensPath(-1));
|
||||||
CLog.StopBenchmark(1, "Load Theme " + Enum.GetNames(typeof(EScreens))[i]);
|
CLog.StopBenchmark(1, "Load Theme " + Enum.GetNames(typeof(EScreens))[i]);
|
||||||
}
|
}
|
||||||
|
|
||||||
for (int i = 0; i < _PopupScreens.Count; i++)
|
for (int i = 0; i < _PopupScreens.Count; i++)
|
||||||
{
|
{
|
||||||
_PopupScreens[i].Initialize(CMain.Base);
|
_PopupScreens[i].Initialize(CMain.Base);
|
||||||
_PopupScreens[i].LoadTheme(CTheme.GetThemeScreensPath());
|
_PopupScreens[i].LoadTheme(CTheme.GetThemeScreensPath(-1));
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -853,7 +853,7 @@ namespace Vocaluxe.Base
|
|||||||
if (CTheme.Cursor.color != string.Empty)
|
if (CTheme.Cursor.color != string.Empty)
|
||||||
{
|
{
|
||||||
SColorF color;
|
SColorF color;
|
||||||
color = CTheme.GetColor(CTheme.Cursor.color);
|
color = CTheme.GetColor(CTheme.Cursor.color, -1);
|
||||||
CTheme.Cursor.r = color.R;
|
CTheme.Cursor.r = color.R;
|
||||||
CTheme.Cursor.g = color.G;
|
CTheme.Cursor.g = color.G;
|
||||||
CTheme.Cursor.b = color.B;
|
CTheme.Cursor.b = color.B;
|
||||||
|
|||||||
@@ -210,39 +210,39 @@ namespace Vocaluxe.Base
|
|||||||
|
|
||||||
class BTheme : ITheme
|
class BTheme : ITheme
|
||||||
{
|
{
|
||||||
public string GetThemeScreensPath()
|
public string GetThemeScreensPath(int PartyModeID)
|
||||||
{
|
{
|
||||||
return CTheme.GetThemeScreensPath();
|
return CTheme.GetThemeScreensPath(PartyModeID);
|
||||||
}
|
}
|
||||||
|
|
||||||
public int GetSkinIndex()
|
public int GetSkinIndex(int PartyModeID)
|
||||||
{
|
{
|
||||||
return CTheme.GetSkinIndex();
|
return CTheme.GetSkinIndex(PartyModeID);
|
||||||
}
|
}
|
||||||
|
|
||||||
public STexture GetSkinTexture(string TextureName)
|
public STexture GetSkinTexture(string TextureName, int PartyModeID)
|
||||||
{
|
{
|
||||||
return CTheme.GetSkinTexture(TextureName);
|
return CTheme.GetSkinTexture(TextureName, PartyModeID);
|
||||||
}
|
}
|
||||||
|
|
||||||
public STexture GetSkinVideoTexture(string VideoName)
|
public STexture GetSkinVideoTexture(string VideoName, int PartyModeID)
|
||||||
{
|
{
|
||||||
return CTheme.GetSkinVideoTexture(VideoName);
|
return CTheme.GetSkinVideoTexture(VideoName, PartyModeID);
|
||||||
}
|
}
|
||||||
|
|
||||||
public void SkinVideoResume(string VideoName)
|
public void SkinVideoResume(string VideoName, int PartyModeID)
|
||||||
{
|
{
|
||||||
CTheme.SkinVideoResume(VideoName);
|
CTheme.SkinVideoResume(VideoName, PartyModeID);
|
||||||
}
|
}
|
||||||
|
|
||||||
public void SkinVideoPause(string VideoName)
|
public void SkinVideoPause(string VideoName, int PartyModeID)
|
||||||
{
|
{
|
||||||
CTheme.SkinVideoPause(VideoName);
|
CTheme.SkinVideoPause(VideoName, PartyModeID);
|
||||||
}
|
}
|
||||||
|
|
||||||
public SColorF GetColor(string ColorName)
|
public SColorF GetColor(string ColorName, int PartyModeID)
|
||||||
{
|
{
|
||||||
return CTheme.GetColor(ColorName);
|
return CTheme.GetColor(ColorName, PartyModeID);
|
||||||
}
|
}
|
||||||
|
|
||||||
public bool GetColor(string ColorName, int SkinIndex, ref SColorF Color)
|
public bool GetColor(string ColorName, int SkinIndex, ref SColorF Color)
|
||||||
|
|||||||
@@ -311,6 +311,19 @@ namespace Vocaluxe.Base
|
|||||||
}
|
}
|
||||||
pm.PartyMode.Initialize(CMain.Base);
|
pm.PartyMode.Initialize(CMain.Base);
|
||||||
|
|
||||||
|
if (!CTheme.AddTheme(Path.Combine(Path.Combine(CSettings.sFolderPartyModes, pm.Folder), "Theme.xml"), pm.PartyModeID))
|
||||||
|
return pm;
|
||||||
|
|
||||||
|
int ThemeIndex = CTheme.GetThemeIndex(pm.PartyModeID);
|
||||||
|
CTheme.ListSkins(ThemeIndex);
|
||||||
|
int SkinIndex = CTheme.GetSkinIndex(pm.PartyModeID);
|
||||||
|
|
||||||
|
if (!CTheme.LoadSkin(SkinIndex))
|
||||||
|
return pm;
|
||||||
|
|
||||||
|
if (!CTheme.LoadTheme(ThemeIndex))
|
||||||
|
return pm;
|
||||||
|
|
||||||
foreach (string screenfile in pm.ScreenFiles)
|
foreach (string screenfile in pm.ScreenFiles)
|
||||||
{
|
{
|
||||||
string XmlPath = Path.Combine(Path.Combine(CSettings.sFolderPartyModes, pm.Folder), CSettings.sFolderPartyModeScreens);
|
string XmlPath = Path.Combine(Path.Combine(CSettings.sFolderPartyModes, pm.Folder), CSettings.sFolderPartyModeScreens);
|
||||||
|
|||||||
@@ -96,6 +96,7 @@ namespace Vocaluxe.Base
|
|||||||
public const string sFolderPartyModeCode = "Code";
|
public const string sFolderPartyModeCode = "Code";
|
||||||
public const string sFolderPartyModeScreens = "Screens";
|
public const string sFolderPartyModeScreens = "Screens";
|
||||||
public const string sFolderPartyModeLanguages = "Languages";
|
public const string sFolderPartyModeLanguages = "Languages";
|
||||||
|
public const string sFolderPartyModeFonts = "Fonts";
|
||||||
|
|
||||||
//public const String[] ToneStrings = new String[]{ "C", "C#", "D", "D#", "E", "F", "F#", "G", "G#", "A", "A#", "B" };
|
//public const String[] ToneStrings = new String[]{ "C", "C#", "D", "D#", "E", "F", "F#", "G", "G#", "A", "A#", "B" };
|
||||||
public const int ToneMin = -36;
|
public const int ToneMin = -36;
|
||||||
|
|||||||
@@ -25,6 +25,7 @@ namespace Vocaluxe.Base
|
|||||||
|
|
||||||
public string Path;
|
public string Path;
|
||||||
public string FileName;
|
public string FileName;
|
||||||
|
public int PartyModeID;
|
||||||
}
|
}
|
||||||
|
|
||||||
struct SkinElement
|
struct SkinElement
|
||||||
@@ -45,6 +46,7 @@ namespace Vocaluxe.Base
|
|||||||
|
|
||||||
public string Path;
|
public string Path;
|
||||||
public string FileName;
|
public string FileName;
|
||||||
|
public int PartyModeID;
|
||||||
|
|
||||||
public Dictionary<string, SkinElement> SkinList;
|
public Dictionary<string, SkinElement> SkinList;
|
||||||
public List<SkinElement> VideoList;
|
public List<SkinElement> VideoList;
|
||||||
@@ -96,7 +98,8 @@ namespace Vocaluxe.Base
|
|||||||
List<string> names = new List<string>();
|
List<string> names = new List<string>();
|
||||||
foreach (Theme th in _Themes)
|
foreach (Theme th in _Themes)
|
||||||
{
|
{
|
||||||
names.Add(th.Name);
|
if (th.PartyModeID == -1)
|
||||||
|
names.Add(th.Name);
|
||||||
}
|
}
|
||||||
return names.ToArray();
|
return names.ToArray();
|
||||||
}
|
}
|
||||||
@@ -110,7 +113,8 @@ namespace Vocaluxe.Base
|
|||||||
List<string> names = new List<string>();
|
List<string> names = new List<string>();
|
||||||
foreach (Skin sk in _Skins)
|
foreach (Skin sk in _Skins)
|
||||||
{
|
{
|
||||||
names.Add(sk.Name);
|
if (sk.PartyModeID == -1)
|
||||||
|
names.Add(sk.Name);
|
||||||
}
|
}
|
||||||
return names.ToArray();
|
return names.ToArray();
|
||||||
}
|
}
|
||||||
@@ -137,84 +141,92 @@ namespace Vocaluxe.Base
|
|||||||
{
|
{
|
||||||
for (int index = 0; index < _Skins.Count; index++)
|
for (int index = 0; index < _Skins.Count; index++)
|
||||||
{
|
{
|
||||||
bool loaded = false;
|
if (_Skins[index].PartyModeID == -1)
|
||||||
XPathDocument xPathDoc = null;
|
LoadSkin(index);
|
||||||
XPathNavigator navigator = null;
|
|
||||||
|
|
||||||
try
|
|
||||||
{
|
|
||||||
xPathDoc = new XPathDocument(Path.Combine(_Skins[index].Path, _Skins[index].FileName));
|
|
||||||
navigator = xPathDoc.CreateNavigator();
|
|
||||||
loaded = true;
|
|
||||||
}
|
|
||||||
catch (Exception e)
|
|
||||||
{
|
|
||||||
CLog.LogError("Error loading skin " + _Skins[index].FileName + ": " + e.Message);
|
|
||||||
loaded = false;
|
|
||||||
if (navigator != null)
|
|
||||||
navigator = null;
|
|
||||||
|
|
||||||
if (xPathDoc != null)
|
|
||||||
xPathDoc = null;
|
|
||||||
}
|
|
||||||
|
|
||||||
if (loaded)
|
|
||||||
{
|
|
||||||
string value = String.Empty;
|
|
||||||
|
|
||||||
|
|
||||||
// load skins/textures
|
|
||||||
List<string> keys = new List<string>(_Skins[index].SkinList.Keys);
|
|
||||||
|
|
||||||
foreach (string name in keys)
|
|
||||||
{
|
|
||||||
try
|
|
||||||
{
|
|
||||||
CHelper.GetValueFromXML("//root/Skins/" + name, navigator, ref value, String.Empty);
|
|
||||||
SkinElement sk = _Skins[index].SkinList[name];
|
|
||||||
sk.Value = value;
|
|
||||||
sk.VideoIndex = -1;
|
|
||||||
sk.Texture = CDraw.AddTexture(Path.Combine(_Skins[index].Path, sk.Value));
|
|
||||||
_Skins[index].SkinList[name] = sk;
|
|
||||||
}
|
|
||||||
catch (Exception e)
|
|
||||||
{
|
|
||||||
MessageBox.Show("Error on loading texture \"" + name + "\": " + e.Message + e.StackTrace);
|
|
||||||
CLog.LogError("Error on loading texture \"" + name + "\": " + e.Message + e.StackTrace);
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
|
|
||||||
// load videos
|
|
||||||
for (int i = 0; i < _Skins[index].VideoList.Count; i++)
|
|
||||||
{
|
|
||||||
try
|
|
||||||
{
|
|
||||||
CHelper.GetValueFromXML("//root/Videos/" + _Skins[index].VideoList[i].Name, navigator, ref value, String.Empty);
|
|
||||||
SkinElement sk = new SkinElement();
|
|
||||||
sk.Name = _Skins[index].VideoList[i].Name;
|
|
||||||
sk.Value = value;
|
|
||||||
sk.VideoIndex = CVideo.VdLoad(Path.Combine(_Skins[index].Path, sk.Value));
|
|
||||||
CVideo.VdSetLoop(sk.VideoIndex, true);
|
|
||||||
CVideo.VdPause(sk.VideoIndex);
|
|
||||||
sk.Texture = new STexture(-1);
|
|
||||||
_Skins[index].VideoList[i] = sk;
|
|
||||||
}
|
|
||||||
catch (Exception e)
|
|
||||||
{
|
|
||||||
MessageBox.Show("Error on loading video \"" + _Skins[index].VideoList[i].Name + "\": " + e.Message + e.StackTrace);
|
|
||||||
CLog.LogError("Error on loading video \"" + _Skins[index].VideoList[i].Name + "\": " + e.Message + e.StackTrace);
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
// load colors
|
|
||||||
LoadColors(navigator, index);
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
public static bool LoadSkin(int SkinIndex)
|
||||||
|
{
|
||||||
|
bool loaded = false;
|
||||||
|
XPathDocument xPathDoc = null;
|
||||||
|
XPathNavigator navigator = null;
|
||||||
|
|
||||||
|
try
|
||||||
|
{
|
||||||
|
xPathDoc = new XPathDocument(Path.Combine(_Skins[SkinIndex].Path, _Skins[SkinIndex].FileName));
|
||||||
|
navigator = xPathDoc.CreateNavigator();
|
||||||
|
loaded = true;
|
||||||
|
}
|
||||||
|
catch (Exception e)
|
||||||
|
{
|
||||||
|
CLog.LogError("Error loading skin " + _Skins[SkinIndex].FileName + ": " + e.Message);
|
||||||
|
loaded = false;
|
||||||
|
if (navigator != null)
|
||||||
|
navigator = null;
|
||||||
|
|
||||||
|
if (xPathDoc != null)
|
||||||
|
xPathDoc = null;
|
||||||
|
}
|
||||||
|
|
||||||
|
if (loaded)
|
||||||
|
{
|
||||||
|
string value = String.Empty;
|
||||||
|
|
||||||
|
|
||||||
|
// load skins/textures
|
||||||
|
List<string> keys = new List<string>(_Skins[SkinIndex].SkinList.Keys);
|
||||||
|
|
||||||
|
foreach (string name in keys)
|
||||||
|
{
|
||||||
|
try
|
||||||
|
{
|
||||||
|
CHelper.GetValueFromXML("//root/Skins/" + name, navigator, ref value, String.Empty);
|
||||||
|
SkinElement sk = _Skins[SkinIndex].SkinList[name];
|
||||||
|
sk.Value = value;
|
||||||
|
sk.VideoIndex = -1;
|
||||||
|
sk.Texture = CDraw.AddTexture(Path.Combine(_Skins[SkinIndex].Path, sk.Value));
|
||||||
|
_Skins[SkinIndex].SkinList[name] = sk;
|
||||||
|
}
|
||||||
|
catch (Exception e)
|
||||||
|
{
|
||||||
|
MessageBox.Show("Error on loading texture \"" + name + "\": " + e.Message + e.StackTrace);
|
||||||
|
CLog.LogError("Error on loading texture \"" + name + "\": " + e.Message + e.StackTrace);
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
// load videos
|
||||||
|
for (int i = 0; i < _Skins[SkinIndex].VideoList.Count; i++)
|
||||||
|
{
|
||||||
|
try
|
||||||
|
{
|
||||||
|
CHelper.GetValueFromXML("//root/Videos/" + _Skins[SkinIndex].VideoList[i].Name, navigator, ref value, String.Empty);
|
||||||
|
SkinElement sk = new SkinElement();
|
||||||
|
sk.Name = _Skins[SkinIndex].VideoList[i].Name;
|
||||||
|
sk.Value = value;
|
||||||
|
sk.VideoIndex = CVideo.VdLoad(Path.Combine(_Skins[SkinIndex].Path, sk.Value));
|
||||||
|
CVideo.VdSetLoop(sk.VideoIndex, true);
|
||||||
|
CVideo.VdPause(sk.VideoIndex);
|
||||||
|
sk.Texture = new STexture(-1);
|
||||||
|
_Skins[SkinIndex].VideoList[i] = sk;
|
||||||
|
}
|
||||||
|
catch (Exception e)
|
||||||
|
{
|
||||||
|
MessageBox.Show("Error on loading video \"" + _Skins[SkinIndex].VideoList[i].Name + "\": " + e.Message + e.StackTrace);
|
||||||
|
CLog.LogError("Error on loading video \"" + _Skins[SkinIndex].VideoList[i].Name + "\": " + e.Message + e.StackTrace);
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
// load colors
|
||||||
|
LoadColors(navigator, SkinIndex);
|
||||||
|
}
|
||||||
|
return loaded;
|
||||||
|
}
|
||||||
|
|
||||||
public static void UnloadSkins()
|
public static void UnloadSkins()
|
||||||
{
|
{
|
||||||
|
int NumPartyModeSkins = 0;
|
||||||
for (int i = 0; i < _Skins.Count; i++)
|
for (int i = 0; i < _Skins.Count; i++)
|
||||||
{
|
{
|
||||||
foreach (SkinElement sk in _Skins[i].SkinList.Values)
|
foreach (SkinElement sk in _Skins[i].SkinList.Values)
|
||||||
@@ -229,32 +241,55 @@ namespace Vocaluxe.Base
|
|||||||
STexture VideoTexture = _Skins[i].VideoList[j].Texture;
|
STexture VideoTexture = _Skins[i].VideoList[j].Texture;
|
||||||
CDraw.RemoveTexture(ref VideoTexture);
|
CDraw.RemoveTexture(ref VideoTexture);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if (_Skins[i].PartyModeID != -1)
|
||||||
|
NumPartyModeSkins++;
|
||||||
|
}
|
||||||
|
|
||||||
|
while (_Skins.Count > NumPartyModeSkins)
|
||||||
|
{
|
||||||
|
int num = _Skins.Count;
|
||||||
|
for (int i = 0; i < num; i++)
|
||||||
|
{
|
||||||
|
if (_Skins[i].PartyModeID == -1)
|
||||||
|
{
|
||||||
|
_Skins.RemoveAt(i);
|
||||||
|
break;
|
||||||
|
}
|
||||||
|
}
|
||||||
}
|
}
|
||||||
_Skins.Clear();
|
|
||||||
}
|
}
|
||||||
|
|
||||||
public static void LoadTheme()
|
public static void LoadTheme()
|
||||||
|
{
|
||||||
|
for (int i = 0; i < _Themes.Count; i++)
|
||||||
|
{
|
||||||
|
if (_Themes[i].Name == CConfig.Theme && _Themes[i].PartyModeID == -1)
|
||||||
|
LoadTheme(i);
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
public static bool LoadTheme(int ThemeIndex)
|
||||||
{
|
{
|
||||||
bool loaded = false;
|
bool loaded = false;
|
||||||
XPathDocument xPathDoc = null;
|
XPathDocument xPathDoc = null;
|
||||||
XPathNavigator navigator = null;
|
XPathNavigator navigator = null;
|
||||||
int index = 0;
|
|
||||||
|
|
||||||
for (int i = 0; i < _Themes.Count; i++)
|
if (ThemeIndex < 0 || ThemeIndex >= _Themes.Count)
|
||||||
{
|
{
|
||||||
if (_Themes[i].Name == CConfig.Theme)
|
CLog.LogError("Can't find Theme Index " + ThemeIndex.ToString());
|
||||||
index = i;
|
return false;
|
||||||
}
|
}
|
||||||
|
|
||||||
try
|
try
|
||||||
{
|
{
|
||||||
xPathDoc = new XPathDocument(Path.Combine(_Themes[index].Path, _Themes[index].FileName));
|
xPathDoc = new XPathDocument(Path.Combine(_Themes[ThemeIndex].Path, _Themes[ThemeIndex].FileName));
|
||||||
navigator = xPathDoc.CreateNavigator();
|
navigator = xPathDoc.CreateNavigator();
|
||||||
loaded = true;
|
loaded = true;
|
||||||
}
|
}
|
||||||
catch (Exception e)
|
catch (Exception e)
|
||||||
{
|
{
|
||||||
CLog.LogError("Error loading theme " + _Themes[index].FileName + ": " + e.Message);
|
CLog.LogError("Error loading theme " + _Themes[ThemeIndex].FileName + ": " + e.Message);
|
||||||
loaded = false;
|
loaded = false;
|
||||||
if (navigator != null)
|
if (navigator != null)
|
||||||
navigator = null;
|
navigator = null;
|
||||||
@@ -262,40 +297,53 @@ namespace Vocaluxe.Base
|
|||||||
if (xPathDoc != null)
|
if (xPathDoc != null)
|
||||||
xPathDoc = null;
|
xPathDoc = null;
|
||||||
}
|
}
|
||||||
|
|
||||||
if (loaded)
|
if (loaded)
|
||||||
{
|
{
|
||||||
int skinIndex = GetSkinIndex();
|
int skinIndex = GetSkinIndex(_Themes[ThemeIndex].PartyModeID);
|
||||||
|
|
||||||
// Load Cursor
|
// Load Cursor
|
||||||
LoadCursor(navigator, skinIndex);
|
if (_Themes[ThemeIndex].PartyModeID == -1)
|
||||||
|
LoadCursor(navigator, skinIndex);
|
||||||
|
|
||||||
// load fonts
|
// load fonts
|
||||||
CFonts.LoadThemeFonts(
|
if (_Themes[ThemeIndex].PartyModeID == -1)
|
||||||
_Themes[index].Name,
|
{
|
||||||
Path.Combine(Path.Combine(_Themes[index].Path, _Themes[index].SkinFolder), CSettings.sFolderThemeFonts),
|
CFonts.LoadThemeFonts(
|
||||||
navigator);
|
_Themes[ThemeIndex].Name,
|
||||||
}
|
Path.Combine(Path.Combine(_Themes[ThemeIndex].Path, _Themes[ThemeIndex].SkinFolder), CSettings.sFolderThemeFonts),
|
||||||
|
navigator);
|
||||||
|
}
|
||||||
|
else
|
||||||
|
{
|
||||||
|
CFonts.LoadPartyModeFonts(_Themes[ThemeIndex].PartyModeID,
|
||||||
|
Path.Combine(_Themes[ThemeIndex].Path, CSettings.sFolderPartyModeFonts),
|
||||||
|
navigator);
|
||||||
|
}
|
||||||
|
}
|
||||||
|
return loaded;
|
||||||
}
|
}
|
||||||
|
|
||||||
public static void SaveTheme()
|
public static void SaveTheme()
|
||||||
{
|
{
|
||||||
SaveSkin();
|
SaveSkin();
|
||||||
|
|
||||||
int ThemeIndex = 0;
|
|
||||||
for (int i = 0; i < _Themes.Count; i++)
|
for (int i = 0; i < _Themes.Count; i++)
|
||||||
{
|
{
|
||||||
if (_Themes[i].Name == CConfig.Theme)
|
if (_Themes[i].Name == CConfig.Theme && _Themes[i].PartyModeID == -1 || _Themes[i].PartyModeID != -1)
|
||||||
ThemeIndex = i;
|
SaveTheme(i);
|
||||||
}
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
private static void SaveTheme(int ThemeIndex)
|
||||||
|
{
|
||||||
#region ThemeMainFile
|
#region ThemeMainFile
|
||||||
XmlWriter writer = XmlWriter.Create(Path.Combine(_Themes[ThemeIndex].Path, _Themes[ThemeIndex].FileName), _settings);
|
XmlWriter writer = XmlWriter.Create(Path.Combine(_Themes[ThemeIndex].Path, _Themes[ThemeIndex].FileName), _settings);
|
||||||
writer.WriteStartDocument();
|
writer.WriteStartDocument();
|
||||||
writer.WriteStartElement("root");
|
writer.WriteStartElement("root");
|
||||||
|
|
||||||
// ThemeSystemVersion
|
// ThemeSystemVersion
|
||||||
writer.WriteElementString("ThemeSystemVersion", ThemeSystemVersion.ToString());
|
writer.WriteElementString("ThemeSystemVersion", ThemeSystemVersion.ToString());
|
||||||
|
|
||||||
#region Info
|
#region Info
|
||||||
writer.WriteStartElement("Info");
|
writer.WriteStartElement("Info");
|
||||||
@@ -305,15 +353,17 @@ namespace Vocaluxe.Base
|
|||||||
writer.WriteElementString("SkinFolder", _Themes[ThemeIndex].SkinFolder);
|
writer.WriteElementString("SkinFolder", _Themes[ThemeIndex].SkinFolder);
|
||||||
writer.WriteElementString("ThemeVersionMajor", _Themes[ThemeIndex].ThemeVersionMajor.ToString());
|
writer.WriteElementString("ThemeVersionMajor", _Themes[ThemeIndex].ThemeVersionMajor.ToString());
|
||||||
writer.WriteElementString("ThemeVersionMinor", _Themes[ThemeIndex].ThemeVersionMinor.ToString());
|
writer.WriteElementString("ThemeVersionMinor", _Themes[ThemeIndex].ThemeVersionMinor.ToString());
|
||||||
|
|
||||||
writer.WriteEndElement();
|
writer.WriteEndElement();
|
||||||
#endregion Info
|
#endregion Info
|
||||||
|
|
||||||
// Cursor
|
// Cursor
|
||||||
SaveCursor(writer);
|
if (_Themes[ThemeIndex].PartyModeID == -1)
|
||||||
|
SaveCursor(writer);
|
||||||
|
|
||||||
// save fonts
|
// save fonts
|
||||||
CFonts.SaveThemeFonts(_Themes[ThemeIndex].Name, writer);
|
if (_Themes[ThemeIndex].PartyModeID == -1)
|
||||||
|
CFonts.SaveThemeFonts(_Themes[ThemeIndex].Name, writer);
|
||||||
|
|
||||||
|
|
||||||
// End of File
|
// End of File
|
||||||
@@ -389,78 +439,98 @@ namespace Vocaluxe.Base
|
|||||||
|
|
||||||
foreach (string file in files)
|
foreach (string file in files)
|
||||||
{
|
{
|
||||||
bool loaded = false;
|
AddTheme(Path.Combine(path, file), -1);
|
||||||
XPathDocument xPathDoc = null;
|
|
||||||
XPathNavigator navigator = null;
|
|
||||||
|
|
||||||
try
|
|
||||||
{
|
|
||||||
xPathDoc = new XPathDocument(Path.Combine(path, file));
|
|
||||||
navigator = xPathDoc.CreateNavigator();
|
|
||||||
loaded = true;
|
|
||||||
}
|
|
||||||
catch (Exception e)
|
|
||||||
{
|
|
||||||
CLog.LogError("Error loading theme " + file + ": " + e.Message);
|
|
||||||
loaded = false;
|
|
||||||
if (navigator != null)
|
|
||||||
navigator = null;
|
|
||||||
|
|
||||||
if (xPathDoc != null)
|
|
||||||
xPathDoc = null;
|
|
||||||
}
|
|
||||||
|
|
||||||
if (loaded)
|
|
||||||
{
|
|
||||||
Theme theme = new Theme();
|
|
||||||
|
|
||||||
int version = 0;
|
|
||||||
CHelper.TryGetIntValueFromXML("//root/ThemeSystemVersion", navigator, ref version);
|
|
||||||
|
|
||||||
if (version == ThemeSystemVersion)
|
|
||||||
{
|
|
||||||
CHelper.GetValueFromXML("//root/Info/Name", navigator, ref theme.Name, String.Empty);
|
|
||||||
if (theme.Name != String.Empty)
|
|
||||||
{
|
|
||||||
CHelper.GetValueFromXML("//root/Info/Author", navigator, ref theme.Author, String.Empty);
|
|
||||||
CHelper.GetValueFromXML("//root/Info/SkinFolder", navigator, ref theme.SkinFolder, String.Empty);
|
|
||||||
CHelper.TryGetIntValueFromXML("//root/Info/ThemeVersionMajor", navigator, ref theme.ThemeVersionMajor);
|
|
||||||
CHelper.TryGetIntValueFromXML("//root/Info/ThemeVersionMinor", navigator, ref theme.ThemeVersionMinor);
|
|
||||||
theme.Path = path;
|
|
||||||
theme.FileName = file;
|
|
||||||
|
|
||||||
_Themes.Add(theme);
|
|
||||||
}
|
|
||||||
}
|
|
||||||
else
|
|
||||||
{
|
|
||||||
string msg = "Can't load Theme \"" + file + "\", ";
|
|
||||||
if (version < ThemeSystemVersion)
|
|
||||||
msg += "the file ist outdated! ";
|
|
||||||
else
|
|
||||||
msg += "the file is for newer program versions! ";
|
|
||||||
|
|
||||||
msg += "Current ThemeSystemVersion is " + ThemeSystemVersion.ToString();
|
|
||||||
CLog.LogError(msg);
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
public static bool AddTheme(string FilePath, int PartyModeID)
|
||||||
|
{
|
||||||
|
bool loaded = false;
|
||||||
|
XPathDocument xPathDoc = null;
|
||||||
|
XPathNavigator navigator = null;
|
||||||
|
|
||||||
|
try
|
||||||
|
{
|
||||||
|
xPathDoc = new XPathDocument(FilePath);
|
||||||
|
navigator = xPathDoc.CreateNavigator();
|
||||||
|
loaded = true;
|
||||||
|
}
|
||||||
|
catch (Exception e)
|
||||||
|
{
|
||||||
|
CLog.LogError("Error loading theme " + FilePath + ": " + e.Message);
|
||||||
|
loaded = false;
|
||||||
|
if (navigator != null)
|
||||||
|
navigator = null;
|
||||||
|
|
||||||
|
if (xPathDoc != null)
|
||||||
|
xPathDoc = null;
|
||||||
|
}
|
||||||
|
|
||||||
|
if (loaded)
|
||||||
|
{
|
||||||
|
Theme theme = new Theme();
|
||||||
|
|
||||||
|
int version = 0;
|
||||||
|
CHelper.TryGetIntValueFromXML("//root/ThemeSystemVersion", navigator, ref version);
|
||||||
|
|
||||||
|
if (version == ThemeSystemVersion)
|
||||||
|
{
|
||||||
|
CHelper.GetValueFromXML("//root/Info/Name", navigator, ref theme.Name, String.Empty);
|
||||||
|
if (theme.Name != String.Empty)
|
||||||
|
{
|
||||||
|
CHelper.GetValueFromXML("//root/Info/Author", navigator, ref theme.Author, String.Empty);
|
||||||
|
CHelper.GetValueFromXML("//root/Info/SkinFolder", navigator, ref theme.SkinFolder, String.Empty);
|
||||||
|
CHelper.TryGetIntValueFromXML("//root/Info/ThemeVersionMajor", navigator, ref theme.ThemeVersionMajor);
|
||||||
|
CHelper.TryGetIntValueFromXML("//root/Info/ThemeVersionMinor", navigator, ref theme.ThemeVersionMinor);
|
||||||
|
theme.Path = Path.GetDirectoryName(FilePath);
|
||||||
|
theme.FileName = Path.GetFileName(FilePath);
|
||||||
|
theme.PartyModeID = PartyModeID;
|
||||||
|
|
||||||
|
_Themes.Add(theme);
|
||||||
|
}
|
||||||
|
}
|
||||||
|
else
|
||||||
|
{
|
||||||
|
string msg = "Can't load Theme \"" + FilePath + "\", ";
|
||||||
|
if (version < ThemeSystemVersion)
|
||||||
|
msg += "the file ist outdated! ";
|
||||||
|
else
|
||||||
|
msg += "the file is for newer program versions! ";
|
||||||
|
|
||||||
|
msg += "Current ThemeSystemVersion is " + ThemeSystemVersion.ToString();
|
||||||
|
CLog.LogError(msg);
|
||||||
|
loaded = false;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
return loaded;
|
||||||
|
}
|
||||||
|
|
||||||
public static void ListSkins()
|
public static void ListSkins()
|
||||||
{
|
{
|
||||||
CHelper Helper = new CHelper();
|
CHelper Helper = new CHelper();
|
||||||
int themeIndex = GetThemeIndex();
|
int themeIndex = GetThemeIndex(-1);
|
||||||
_Skins.Clear();
|
_Skins.Clear();
|
||||||
|
|
||||||
if (themeIndex < 0)
|
if (themeIndex < 0 || themeIndex >= _Themes.Count)
|
||||||
{
|
{
|
||||||
CLog.LogError("Error List Skins. Can't find Theme: " + CConfig.Theme);
|
CLog.LogError("Error List Skins. Can't find Theme: " + CConfig.Theme);
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
ListSkins(themeIndex);
|
||||||
|
}
|
||||||
|
|
||||||
|
public static void ListSkins(int ThemeIndex)
|
||||||
|
{
|
||||||
|
CHelper Helper = new CHelper();
|
||||||
|
|
||||||
|
if (ThemeIndex < 0 || ThemeIndex >= _Themes.Count)
|
||||||
|
{
|
||||||
|
CLog.LogError("Error List Skins. Can't find Theme index: " + ThemeIndex.ToString());
|
||||||
|
return;
|
||||||
|
}
|
||||||
|
|
||||||
|
Theme theme = _Themes[ThemeIndex];
|
||||||
|
|
||||||
Theme theme = _Themes[themeIndex];
|
|
||||||
|
|
||||||
string path = Path.Combine(theme.Path, theme.SkinFolder);
|
string path = Path.Combine(theme.Path, theme.SkinFolder);
|
||||||
List<string> files = Helper.ListFiles(path, "*.xml", false);
|
List<string> files = Helper.ListFiles(path, "*.xml", false);
|
||||||
|
|
||||||
@@ -506,6 +576,7 @@ namespace Vocaluxe.Base
|
|||||||
|
|
||||||
skin.Path = path;
|
skin.Path = path;
|
||||||
skin.FileName = file;
|
skin.FileName = file;
|
||||||
|
skin.PartyModeID = theme.PartyModeID;
|
||||||
|
|
||||||
skin.SkinList = new Dictionary<string, SkinElement>();
|
skin.SkinList = new Dictionary<string, SkinElement>();
|
||||||
List<string> names = CHelper.GetValuesFromXML("Skins", navigator);
|
List<string> names = CHelper.GetValuesFromXML("Skins", navigator);
|
||||||
@@ -540,17 +611,21 @@ namespace Vocaluxe.Base
|
|||||||
msg += "Current SkinSystemVersion is " + SkinSystemVersion.ToString();
|
msg += "Current SkinSystemVersion is " + SkinSystemVersion.ToString();
|
||||||
CLog.LogError(msg);
|
CLog.LogError(msg);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
#endregion Theme and Skin loading and writing
|
#endregion Theme and Skin loading and writing
|
||||||
|
|
||||||
#region Theme and Skin index handling
|
#region Theme and Skin index handling
|
||||||
public static int GetSkinIndex()
|
public static int GetSkinIndex(int PartyModeID)
|
||||||
{
|
{
|
||||||
for (int i = 0; i < _Skins.Count; i++)
|
for (int i = 0; i < _Skins.Count; i++)
|
||||||
{
|
{
|
||||||
if (_Skins[i].Name == CConfig.Skin)
|
if (PartyModeID != -1 && _Skins[i].PartyModeID == PartyModeID)
|
||||||
|
{
|
||||||
|
return i;
|
||||||
|
}
|
||||||
|
else if (PartyModeID == -1 && _Skins[i].Name == CConfig.Skin)
|
||||||
{
|
{
|
||||||
return i;
|
return i;
|
||||||
}
|
}
|
||||||
@@ -559,11 +634,15 @@ namespace Vocaluxe.Base
|
|||||||
return -1;
|
return -1;
|
||||||
}
|
}
|
||||||
|
|
||||||
public static int GetThemeIndex()
|
public static int GetThemeIndex(int PartyModeID)
|
||||||
{
|
{
|
||||||
for (int i = 0; i < _Themes.Count; i++)
|
for (int i = 0; i < _Themes.Count; i++)
|
||||||
{
|
{
|
||||||
if (_Themes[i].Name == CConfig.Theme)
|
if (PartyModeID != -1 && _Themes[i].PartyModeID == PartyModeID)
|
||||||
|
{
|
||||||
|
return i;
|
||||||
|
}
|
||||||
|
else if (PartyModeID == -1 && _Themes[i].Name == CConfig.Theme)
|
||||||
{
|
{
|
||||||
return i;
|
return i;
|
||||||
}
|
}
|
||||||
@@ -572,11 +651,11 @@ namespace Vocaluxe.Base
|
|||||||
return -1;
|
return -1;
|
||||||
}
|
}
|
||||||
|
|
||||||
public static string GetThemeScreensPath()
|
public static string GetThemeScreensPath(int PartyModeID)
|
||||||
{
|
{
|
||||||
string path = String.Empty;
|
string path = String.Empty;
|
||||||
|
|
||||||
int themeIndex = GetThemeIndex();
|
int themeIndex = GetThemeIndex(PartyModeID);
|
||||||
if (themeIndex != -1)
|
if (themeIndex != -1)
|
||||||
{
|
{
|
||||||
path = Path.Combine(_Themes[themeIndex].Path, _Themes[themeIndex].SkinFolder);
|
path = Path.Combine(_Themes[themeIndex].Path, _Themes[themeIndex].SkinFolder);
|
||||||
@@ -588,9 +667,9 @@ namespace Vocaluxe.Base
|
|||||||
return path;
|
return path;
|
||||||
}
|
}
|
||||||
|
|
||||||
public static STexture GetSkinTexture(string TextureName)
|
public static STexture GetSkinTexture(string TextureName, int PartyModeID)
|
||||||
{
|
{
|
||||||
int SkinIndex = GetSkinIndex();
|
int SkinIndex = GetSkinIndex(PartyModeID);
|
||||||
if (SkinIndex != -1 && TextureName != null && _Skins[SkinIndex].SkinList.ContainsKey(TextureName))
|
if (SkinIndex != -1 && TextureName != null && _Skins[SkinIndex].SkinList.ContainsKey(TextureName))
|
||||||
{
|
{
|
||||||
return _Skins[SkinIndex].SkinList[TextureName].Texture;
|
return _Skins[SkinIndex].SkinList[TextureName].Texture;
|
||||||
@@ -598,9 +677,9 @@ namespace Vocaluxe.Base
|
|||||||
return new STexture(-1);
|
return new STexture(-1);
|
||||||
}
|
}
|
||||||
|
|
||||||
public static string GetSkinFilePath(string SkinName)
|
public static string GetSkinFilePath(string SkinName, int PartyModeID)
|
||||||
{
|
{
|
||||||
return GetSkinFileName(SkinName, GetSkinIndex(), true);
|
return GetSkinFileName(SkinName, GetSkinIndex(PartyModeID), true);
|
||||||
}
|
}
|
||||||
|
|
||||||
private static string GetSkinFileName(string SkinName, int SkinIndex)
|
private static string GetSkinFileName(string SkinName, int SkinIndex)
|
||||||
@@ -625,9 +704,9 @@ namespace Vocaluxe.Base
|
|||||||
return SkinName;
|
return SkinName;
|
||||||
}
|
}
|
||||||
|
|
||||||
public static STexture GetSkinVideoTexture(string VideoName)
|
public static STexture GetSkinVideoTexture(string VideoName, int PartyModeID)
|
||||||
{
|
{
|
||||||
int SkinIndex = GetSkinIndex();
|
int SkinIndex = GetSkinIndex(PartyModeID);
|
||||||
if (SkinIndex != -1)
|
if (SkinIndex != -1)
|
||||||
{
|
{
|
||||||
for (int i = 0; i < _Skins[SkinIndex].VideoList.Count; i++)
|
for (int i = 0; i < _Skins[SkinIndex].VideoList.Count; i++)
|
||||||
@@ -638,7 +717,7 @@ namespace Vocaluxe.Base
|
|||||||
float Time = 0f;
|
float Time = 0f;
|
||||||
if (sk.VideoIndex == -1)
|
if (sk.VideoIndex == -1)
|
||||||
{
|
{
|
||||||
sk.VideoIndex = CVideo.VdLoad(GetVideoFilePath(sk.Name));
|
sk.VideoIndex = CVideo.VdLoad(GetVideoFilePath(sk.Name, PartyModeID));
|
||||||
CVideo.VdSetLoop(sk.VideoIndex, true);
|
CVideo.VdSetLoop(sk.VideoIndex, true);
|
||||||
}
|
}
|
||||||
CVideo.VdGetFrame(sk.VideoIndex, ref sk.Texture, Time, ref Time);
|
CVideo.VdGetFrame(sk.VideoIndex, ref sk.Texture, Time, ref Time);
|
||||||
@@ -650,9 +729,9 @@ namespace Vocaluxe.Base
|
|||||||
return new STexture(-1);
|
return new STexture(-1);
|
||||||
}
|
}
|
||||||
|
|
||||||
public static void SkinVideoPause(string VideoName)
|
public static void SkinVideoPause(string VideoName, int PartyModeID)
|
||||||
{
|
{
|
||||||
int SkinIndex = GetSkinIndex();
|
int SkinIndex = GetSkinIndex(PartyModeID);
|
||||||
if (SkinIndex != -1)
|
if (SkinIndex != -1)
|
||||||
{
|
{
|
||||||
for (int i = 0; i < _Skins[SkinIndex].VideoList.Count; i++)
|
for (int i = 0; i < _Skins[SkinIndex].VideoList.Count; i++)
|
||||||
@@ -662,7 +741,7 @@ namespace Vocaluxe.Base
|
|||||||
{
|
{
|
||||||
if (sk.VideoIndex == -1)
|
if (sk.VideoIndex == -1)
|
||||||
{
|
{
|
||||||
sk.VideoIndex = CVideo.VdLoad(GetVideoFilePath(sk.Name));
|
sk.VideoIndex = CVideo.VdLoad(GetVideoFilePath(sk.Name, PartyModeID));
|
||||||
CVideo.VdSetLoop(sk.VideoIndex, true);
|
CVideo.VdSetLoop(sk.VideoIndex, true);
|
||||||
}
|
}
|
||||||
CVideo.VdPause(sk.VideoIndex);
|
CVideo.VdPause(sk.VideoIndex);
|
||||||
@@ -673,9 +752,9 @@ namespace Vocaluxe.Base
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
public static void SkinVideoResume(string VideoName)
|
public static void SkinVideoResume(string VideoName, int PartyModeID)
|
||||||
{
|
{
|
||||||
int SkinIndex = GetSkinIndex();
|
int SkinIndex = GetSkinIndex(PartyModeID);
|
||||||
if (SkinIndex != -1)
|
if (SkinIndex != -1)
|
||||||
{
|
{
|
||||||
for (int i = 0; i < _Skins[SkinIndex].VideoList.Count; i++)
|
for (int i = 0; i < _Skins[SkinIndex].VideoList.Count; i++)
|
||||||
@@ -685,7 +764,7 @@ namespace Vocaluxe.Base
|
|||||||
{
|
{
|
||||||
if (sk.VideoIndex == -1)
|
if (sk.VideoIndex == -1)
|
||||||
{
|
{
|
||||||
sk.VideoIndex = CVideo.VdLoad(GetVideoFilePath(sk.Name));
|
sk.VideoIndex = CVideo.VdLoad(GetVideoFilePath(sk.Name, PartyModeID));
|
||||||
CVideo.VdSetLoop(sk.VideoIndex, true);
|
CVideo.VdSetLoop(sk.VideoIndex, true);
|
||||||
}
|
}
|
||||||
CVideo.VdResume(sk.VideoIndex);
|
CVideo.VdResume(sk.VideoIndex);
|
||||||
@@ -696,9 +775,9 @@ namespace Vocaluxe.Base
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
public static string GetVideoFilePath(string VideoName)
|
public static string GetVideoFilePath(string VideoName, int PartyModeID)
|
||||||
{
|
{
|
||||||
return GetVideoFileName(VideoName, GetSkinIndex(), true);
|
return GetVideoFileName(VideoName, GetSkinIndex(PartyModeID), true);
|
||||||
}
|
}
|
||||||
|
|
||||||
private static string GetVideoFileName(string VideoName, int SkinIndex)
|
private static string GetVideoFileName(string VideoName, int SkinIndex)
|
||||||
@@ -728,24 +807,27 @@ namespace Vocaluxe.Base
|
|||||||
private static void LoadColors(XPathNavigator navigator, int SkinIndex)
|
private static void LoadColors(XPathNavigator navigator, int SkinIndex)
|
||||||
{
|
{
|
||||||
Skin skin = _Skins[SkinIndex];
|
Skin skin = _Skins[SkinIndex];
|
||||||
|
|
||||||
List<SColorF> PlayerColors = new List<SColorF>();
|
|
||||||
float value = 0f;
|
|
||||||
|
|
||||||
int i = 1;
|
if (_Skins[SkinIndex].PartyModeID == -1)
|
||||||
while (CHelper.TryGetFloatValueFromXML("//root/Colors/Player" + i.ToString() + "/R", navigator, ref value))
|
|
||||||
{
|
{
|
||||||
SColorF color = new SColorF();
|
List<SColorF> PlayerColors = new List<SColorF>();
|
||||||
|
float value = 0f;
|
||||||
|
|
||||||
color.R = value;
|
int i = 1;
|
||||||
CHelper.TryGetFloatValueFromXML("//root/Colors/Player" + i.ToString() + "/G", navigator, ref color.G);
|
while (CHelper.TryGetFloatValueFromXML("//root/Colors/Player" + i.ToString() + "/R", navigator, ref value))
|
||||||
CHelper.TryGetFloatValueFromXML("//root/Colors/Player" + i.ToString() + "/B", navigator, ref color.B);
|
{
|
||||||
CHelper.TryGetFloatValueFromXML("//root/Colors/Player" + i.ToString() + "/A", navigator, ref color.A);
|
SColorF color = new SColorF();
|
||||||
|
|
||||||
PlayerColors.Add(color);
|
color.R = value;
|
||||||
i++;
|
CHelper.TryGetFloatValueFromXML("//root/Colors/Player" + i.ToString() + "/G", navigator, ref color.G);
|
||||||
|
CHelper.TryGetFloatValueFromXML("//root/Colors/Player" + i.ToString() + "/B", navigator, ref color.B);
|
||||||
|
CHelper.TryGetFloatValueFromXML("//root/Colors/Player" + i.ToString() + "/A", navigator, ref color.A);
|
||||||
|
|
||||||
|
PlayerColors.Add(color);
|
||||||
|
i++;
|
||||||
|
}
|
||||||
|
skin.ThemeColors.Player = PlayerColors.ToArray();
|
||||||
}
|
}
|
||||||
skin.ThemeColors.Player = PlayerColors.ToArray();
|
|
||||||
|
|
||||||
List<SColorScheme> ColorScheme = new List<SColorScheme>();
|
List<SColorScheme> ColorScheme = new List<SColorScheme>();
|
||||||
List<string> names = CHelper.GetValuesFromXML("ColorSchemes", navigator);
|
List<string> names = CHelper.GetValuesFromXML("ColorSchemes", navigator);
|
||||||
@@ -776,7 +858,7 @@ namespace Vocaluxe.Base
|
|||||||
|
|
||||||
if (CHelper.GetValueFromXML("//root/Cursor/Color", navigator, ref value, value))
|
if (CHelper.GetValueFromXML("//root/Cursor/Color", navigator, ref value, value))
|
||||||
{
|
{
|
||||||
SColorF color = GetColor(value);
|
SColorF color = GetColor(value, _Skins[SkinIndex].PartyModeID);
|
||||||
Cursor.r = color.R;
|
Cursor.r = color.R;
|
||||||
Cursor.g = color.G;
|
Cursor.g = color.G;
|
||||||
Cursor.b = color.B;
|
Cursor.b = color.B;
|
||||||
@@ -797,19 +879,22 @@ namespace Vocaluxe.Base
|
|||||||
#region Element Writing
|
#region Element Writing
|
||||||
private static void SaveColors(XmlWriter writer, int SkinIndex)
|
private static void SaveColors(XmlWriter writer, int SkinIndex)
|
||||||
{
|
{
|
||||||
writer.WriteStartElement("Colors");
|
if (_Skins[SkinIndex].PartyModeID == -1)
|
||||||
for (int i = 0; i < _Skins[SkinIndex].ThemeColors.Player.Length; i++)
|
|
||||||
{
|
{
|
||||||
writer.WriteStartElement("Player" + (i + 1).ToString());
|
writer.WriteStartElement("Colors");
|
||||||
|
for (int i = 0; i < _Skins[SkinIndex].ThemeColors.Player.Length; i++)
|
||||||
|
{
|
||||||
|
writer.WriteStartElement("Player" + (i + 1).ToString());
|
||||||
|
|
||||||
writer.WriteElementString("R", _Skins[SkinIndex].ThemeColors.Player[i].R.ToString("#0.000"));
|
writer.WriteElementString("R", _Skins[SkinIndex].ThemeColors.Player[i].R.ToString("#0.000"));
|
||||||
writer.WriteElementString("G", _Skins[SkinIndex].ThemeColors.Player[i].G.ToString("#0.000"));
|
writer.WriteElementString("G", _Skins[SkinIndex].ThemeColors.Player[i].G.ToString("#0.000"));
|
||||||
writer.WriteElementString("B", _Skins[SkinIndex].ThemeColors.Player[i].B.ToString("#0.000"));
|
writer.WriteElementString("B", _Skins[SkinIndex].ThemeColors.Player[i].B.ToString("#0.000"));
|
||||||
writer.WriteElementString("A", _Skins[SkinIndex].ThemeColors.Player[i].A.ToString("#0.000"));
|
writer.WriteElementString("A", _Skins[SkinIndex].ThemeColors.Player[i].A.ToString("#0.000"));
|
||||||
|
|
||||||
|
writer.WriteEndElement();
|
||||||
|
}
|
||||||
writer.WriteEndElement();
|
writer.WriteEndElement();
|
||||||
}
|
}
|
||||||
writer.WriteEndElement();
|
|
||||||
|
|
||||||
writer.WriteStartElement("ColorSchemes");
|
writer.WriteStartElement("ColorSchemes");
|
||||||
foreach (SColorScheme scheme in _Skins[SkinIndex].ThemeColors.ColorSchemes)
|
foreach (SColorScheme scheme in _Skins[SkinIndex].ThemeColors.ColorSchemes)
|
||||||
@@ -852,11 +937,11 @@ namespace Vocaluxe.Base
|
|||||||
#endregion ElementWriting
|
#endregion ElementWriting
|
||||||
|
|
||||||
#region Color Handling
|
#region Color Handling
|
||||||
public static SColorF GetColor(string ColorName)
|
public static SColorF GetColor(string ColorName, int PartyModeID)
|
||||||
{
|
{
|
||||||
SColorF color = new SColorF(1f, 1f, 1f, 1f);
|
SColorF color = new SColorF(1f, 1f, 1f, 1f);
|
||||||
|
|
||||||
int SkinIndex = GetSkinIndex();
|
int SkinIndex = GetSkinIndex(PartyModeID);
|
||||||
foreach (SColorScheme scheme in _Skins[SkinIndex].ThemeColors.ColorSchemes)
|
foreach (SColorScheme scheme in _Skins[SkinIndex].ThemeColors.ColorSchemes)
|
||||||
{
|
{
|
||||||
if (scheme.Name == ColorName)
|
if (scheme.Name == ColorName)
|
||||||
@@ -884,7 +969,7 @@ namespace Vocaluxe.Base
|
|||||||
}
|
}
|
||||||
|
|
||||||
bool success;
|
bool success;
|
||||||
GetPlayerColor(ColorName, SkinIndex, out success);
|
GetPlayerColor(ColorName, GetSkinIndex(-1), out success);
|
||||||
return success;
|
return success;
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -892,7 +977,7 @@ namespace Vocaluxe.Base
|
|||||||
{
|
{
|
||||||
SColorF color = new SColorF(1f, 1f, 1f, 1f);
|
SColorF color = new SColorF(1f, 1f, 1f, 1f);
|
||||||
|
|
||||||
int SkinIndex = GetSkinIndex();
|
int SkinIndex = GetSkinIndex(-1);
|
||||||
|
|
||||||
if (_Skins[SkinIndex].ThemeColors.Player.Length < PlayerNr)
|
if (_Skins[SkinIndex].ThemeColors.Player.Length < PlayerNr)
|
||||||
return color;
|
return color;
|
||||||
@@ -903,12 +988,14 @@ namespace Vocaluxe.Base
|
|||||||
public static SColorF GetPlayerColor(string PlayerNrString)
|
public static SColorF GetPlayerColor(string PlayerNrString)
|
||||||
{
|
{
|
||||||
bool dummy;
|
bool dummy;
|
||||||
return GetPlayerColor(PlayerNrString, GetSkinIndex(), out dummy);
|
return GetPlayerColor(PlayerNrString, GetSkinIndex(-1), out dummy);
|
||||||
}
|
}
|
||||||
|
|
||||||
public static SColorF GetPlayerColor(string PlayerNrString, int SkinIndex, out bool success)
|
public static SColorF GetPlayerColor(string PlayerNrString, int SkinIndex, out bool success)
|
||||||
{
|
{
|
||||||
SColorF color = new SColorF(1f, 1f, 1f, 1f);
|
SColorF color = new SColorF(1f, 1f, 1f, 1f);
|
||||||
|
if (_Skins[SkinIndex].PartyModeID != -1)
|
||||||
|
SkinIndex = GetSkinIndex(-1);
|
||||||
|
|
||||||
int selection = -1;
|
int selection = -1;
|
||||||
for (int i = 0; i < _Skins[SkinIndex].ThemeColors.Player.Length; i++)
|
for (int i = 0; i < _Skins[SkinIndex].ThemeColors.Player.Length; i++)
|
||||||
@@ -925,7 +1012,7 @@ namespace Vocaluxe.Base
|
|||||||
|
|
||||||
public static SColorF GetPlayerColor(int PlayerNr, out bool success)
|
public static SColorF GetPlayerColor(int PlayerNr, out bool success)
|
||||||
{
|
{
|
||||||
return GetPlayerColor(PlayerNr, GetSkinIndex(), out success);
|
return GetPlayerColor(PlayerNr, GetSkinIndex(-1), out success);
|
||||||
}
|
}
|
||||||
|
|
||||||
public static SColorF GetPlayerColor(int PlayerNr, int SkinIndex, out bool success)
|
public static SColorF GetPlayerColor(int PlayerNr, int SkinIndex, out bool success)
|
||||||
@@ -933,6 +1020,9 @@ namespace Vocaluxe.Base
|
|||||||
success = false;
|
success = false;
|
||||||
SColorF color = new SColorF(1f, 1f, 1f, 1f);
|
SColorF color = new SColorF(1f, 1f, 1f, 1f);
|
||||||
|
|
||||||
|
if (_Skins[SkinIndex].PartyModeID != -1)
|
||||||
|
SkinIndex = GetSkinIndex(-1);
|
||||||
|
|
||||||
if (_Skins[SkinIndex].ThemeColors.Player.Length < PlayerNr || PlayerNr < 1)
|
if (_Skins[SkinIndex].ThemeColors.Player.Length < PlayerNr || PlayerNr < 1)
|
||||||
return color;
|
return color;
|
||||||
|
|
||||||
|
|||||||
@@ -126,7 +126,7 @@ namespace Vocaluxe.Base
|
|||||||
|
|
||||||
public void Load(string VideoName)
|
public void Load(string VideoName)
|
||||||
{
|
{
|
||||||
_VideoStream = CVideo.VdLoad(CTheme.GetVideoFilePath(VideoName));
|
_VideoStream = CVideo.VdLoad(CTheme.GetVideoFilePath(VideoName, -1));
|
||||||
_Loaded = true;
|
_Loaded = true;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@@ -59,10 +59,10 @@ namespace Vocaluxe.Screens
|
|||||||
base.LoadTheme(XmlPath);
|
base.LoadTheme(XmlPath);
|
||||||
|
|
||||||
SelectSlides[htSelectSlides(SelectSlideTheme)].AddValues(CTheme.ThemeNames);
|
SelectSlides[htSelectSlides(SelectSlideTheme)].AddValues(CTheme.ThemeNames);
|
||||||
SelectSlides[htSelectSlides(SelectSlideTheme)].Selection = CTheme.GetThemeIndex();
|
SelectSlides[htSelectSlides(SelectSlideTheme)].Selection = CTheme.GetThemeIndex(-1);
|
||||||
|
|
||||||
SelectSlides[htSelectSlides(SelectSlideSkin)].AddValues(CTheme.SkinNames);
|
SelectSlides[htSelectSlides(SelectSlideSkin)].AddValues(CTheme.SkinNames);
|
||||||
SelectSlides[htSelectSlides(SelectSlideSkin)].Selection = CTheme.GetSkinIndex();
|
SelectSlides[htSelectSlides(SelectSlideSkin)].Selection = CTheme.GetSkinIndex(-1);
|
||||||
|
|
||||||
SelectSlides[htSelectSlides(SelectSlideCover)].AddValues(CCover.CoverThemes);
|
SelectSlides[htSelectSlides(SelectSlideCover)].AddValues(CCover.CoverThemes);
|
||||||
SelectSlides[htSelectSlides(SelectSlideCover)].Selection = CCover.GetCoverThemeIndex();
|
SelectSlides[htSelectSlides(SelectSlideCover)].Selection = CCover.GetCoverThemeIndex();
|
||||||
@@ -140,8 +140,8 @@ namespace Vocaluxe.Screens
|
|||||||
base.OnShow();
|
base.OnShow();
|
||||||
|
|
||||||
_OldCoverTheme = CCover.GetCoverThemeIndex();
|
_OldCoverTheme = CCover.GetCoverThemeIndex();
|
||||||
_OldTheme = CTheme.GetThemeIndex();
|
_OldTheme = CTheme.GetThemeIndex(-1);
|
||||||
_OldSkin = CTheme.GetSkinIndex();
|
_OldSkin = CTheme.GetSkinIndex(-1);
|
||||||
_TempSkin = _OldSkin;
|
_TempSkin = _OldSkin;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@@ -438,7 +438,7 @@ namespace Vocaluxe.Screens
|
|||||||
UpdateNames();
|
UpdateNames();
|
||||||
|
|
||||||
CBackgroundMusic.Disabled = true;
|
CBackgroundMusic.Disabled = true;
|
||||||
|
CloseSong();
|
||||||
}
|
}
|
||||||
|
|
||||||
public override void OnShowFinish()
|
public override void OnShowFinish()
|
||||||
@@ -573,6 +573,8 @@ namespace Vocaluxe.Screens
|
|||||||
|
|
||||||
private void LoadNextSong()
|
private void LoadNextSong()
|
||||||
{
|
{
|
||||||
|
CloseSong();
|
||||||
|
|
||||||
CGame.NextRound();
|
CGame.NextRound();
|
||||||
|
|
||||||
if (CGame.IsFinished())
|
if (CGame.IsFinished())
|
||||||
@@ -589,8 +591,6 @@ namespace Vocaluxe.Screens
|
|||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
CloseSong();
|
|
||||||
|
|
||||||
if (!song.CoverSmallLoaded)
|
if (!song.CoverSmallLoaded)
|
||||||
song.ReadNotes();
|
song.ReadNotes();
|
||||||
|
|
||||||
|
|||||||
@@ -131,13 +131,13 @@ namespace Vocaluxe.Menu
|
|||||||
public void Resume()
|
public void Resume()
|
||||||
{
|
{
|
||||||
if (_Theme.Type == EBackgroundTypes.Video && _Theme.VideoName != String.Empty && _Base.Config.GetVideoBackgrounds() == EOffOn.TR_CONFIG_ON)
|
if (_Theme.Type == EBackgroundTypes.Video && _Theme.VideoName != String.Empty && _Base.Config.GetVideoBackgrounds() == EOffOn.TR_CONFIG_ON)
|
||||||
_Base.Theme.SkinVideoResume(_Theme.VideoName);
|
_Base.Theme.SkinVideoResume(_Theme.VideoName, _PartyModeID);
|
||||||
}
|
}
|
||||||
|
|
||||||
public void Pause()
|
public void Pause()
|
||||||
{
|
{
|
||||||
if (_Theme.VideoName != String.Empty)
|
if (_Theme.VideoName != String.Empty)
|
||||||
_Base.Theme.SkinVideoPause(_Theme.VideoName);
|
_Base.Theme.SkinVideoPause(_Theme.VideoName, _PartyModeID);
|
||||||
}
|
}
|
||||||
|
|
||||||
public bool Draw()
|
public bool Draw()
|
||||||
@@ -175,7 +175,7 @@ namespace Vocaluxe.Menu
|
|||||||
public void LoadTextures()
|
public void LoadTextures()
|
||||||
{
|
{
|
||||||
if (_Theme.ColorName != String.Empty)
|
if (_Theme.ColorName != String.Empty)
|
||||||
Color = _Base.Theme.GetColor(_Theme.ColorName);
|
Color = _Base.Theme.GetColor(_Theme.ColorName, _PartyModeID);
|
||||||
}
|
}
|
||||||
|
|
||||||
public void ReloadTextures()
|
public void ReloadTextures()
|
||||||
@@ -195,7 +195,7 @@ namespace Vocaluxe.Menu
|
|||||||
|
|
||||||
private bool DrawTexture()
|
private bool DrawTexture()
|
||||||
{
|
{
|
||||||
STexture Texture = _Base.Theme.GetSkinTexture(_Theme.TextureName);
|
STexture Texture = _Base.Theme.GetSkinTexture(_Theme.TextureName, _PartyModeID);
|
||||||
if (Texture.height > 0)
|
if (Texture.height > 0)
|
||||||
{
|
{
|
||||||
RectangleF bounds = new RectangleF(0f, 0f, _Base.Settings.GetRenderW(), _Base.Settings.GetRenderH());
|
RectangleF bounds = new RectangleF(0f, 0f, _Base.Settings.GetRenderW(), _Base.Settings.GetRenderH());
|
||||||
@@ -210,7 +210,7 @@ namespace Vocaluxe.Menu
|
|||||||
|
|
||||||
private bool DrawVideo()
|
private bool DrawVideo()
|
||||||
{
|
{
|
||||||
STexture VideoTexture = _Base.Theme.GetSkinVideoTexture(_Theme.VideoName);
|
STexture VideoTexture = _Base.Theme.GetSkinVideoTexture(_Theme.VideoName, _PartyModeID);
|
||||||
if (VideoTexture.height > 0)
|
if (VideoTexture.height > 0)
|
||||||
{
|
{
|
||||||
RectangleF bounds = new RectangleF(0f, 0f, _Base.Settings.GetRenderW(), _Base.Settings.GetRenderH());
|
RectangleF bounds = new RectangleF(0f, 0f, _Base.Settings.GetRenderW(), _Base.Settings.GetRenderH());
|
||||||
|
|||||||
@@ -312,7 +312,7 @@ namespace Vocaluxe.Menu
|
|||||||
if (Texture.index != -1)
|
if (Texture.index != -1)
|
||||||
texture = Texture;
|
texture = Texture;
|
||||||
else
|
else
|
||||||
texture = _Base.Theme.GetSkinTexture(_Theme.TextureName);
|
texture = _Base.Theme.GetSkinTexture(_Theme.TextureName, _PartyModeID);
|
||||||
|
|
||||||
_Base.Drawing.DrawTexture(texture, Rect, Color);
|
_Base.Drawing.DrawTexture(texture, Rect, Color);
|
||||||
|
|
||||||
@@ -329,7 +329,7 @@ namespace Vocaluxe.Menu
|
|||||||
if (Texture.index != -1)
|
if (Texture.index != -1)
|
||||||
texture = Texture;
|
texture = Texture;
|
||||||
else
|
else
|
||||||
texture = _Base.Theme.GetSkinTexture(_Theme.STextureName);
|
texture = _Base.Theme.GetSkinTexture(_Theme.STextureName, _PartyModeID);
|
||||||
|
|
||||||
_Base.Drawing.DrawTexture(texture, Rect, SColor);
|
_Base.Drawing.DrawTexture(texture, Rect, SColor);
|
||||||
|
|
||||||
@@ -346,7 +346,7 @@ namespace Vocaluxe.Menu
|
|||||||
if (STexture.index != -1)
|
if (STexture.index != -1)
|
||||||
texture = STexture;
|
texture = STexture;
|
||||||
else
|
else
|
||||||
texture = _Base.Theme.GetSkinTexture(_Theme.STextureName);
|
texture = _Base.Theme.GetSkinTexture(_Theme.STextureName, _PartyModeID);
|
||||||
|
|
||||||
_Base.Drawing.DrawTexture(texture, Rect, SColor);
|
_Base.Drawing.DrawTexture(texture, Rect, SColor);
|
||||||
|
|
||||||
@@ -375,10 +375,10 @@ namespace Vocaluxe.Menu
|
|||||||
Text.LoadTextures();
|
Text.LoadTextures();
|
||||||
|
|
||||||
if (_Theme.ColorName != String.Empty)
|
if (_Theme.ColorName != String.Empty)
|
||||||
Color = _Base.Theme.GetColor(_Theme.ColorName);
|
Color = _Base.Theme.GetColor(_Theme.ColorName, _PartyModeID);
|
||||||
|
|
||||||
if (_Theme.SColorName != String.Empty)
|
if (_Theme.SColorName != String.Empty)
|
||||||
SColor = _Base.Theme.GetColor(_Theme.SColorName);
|
SColor = _Base.Theme.GetColor(_Theme.SColorName, _PartyModeID);
|
||||||
}
|
}
|
||||||
|
|
||||||
public void ReloadTextures()
|
public void ReloadTextures()
|
||||||
|
|||||||
@@ -277,10 +277,10 @@ namespace Vocaluxe.Menu
|
|||||||
public void LoadTextures()
|
public void LoadTextures()
|
||||||
{
|
{
|
||||||
if (_Theme.ColorName != String.Empty)
|
if (_Theme.ColorName != String.Empty)
|
||||||
Color = _Base.Theme.GetColor(_Theme.ColorName);
|
Color = _Base.Theme.GetColor(_Theme.ColorName, _PartyModeID);
|
||||||
|
|
||||||
if (_Theme.MaxColorName != String.Empty)
|
if (_Theme.MaxColorName != String.Empty)
|
||||||
MaxColor = _Base.Theme.GetColor(_Theme.MaxColorName);
|
MaxColor = _Base.Theme.GetColor(_Theme.MaxColorName, _PartyModeID);
|
||||||
}
|
}
|
||||||
|
|
||||||
public void ReloadTextures()
|
public void ReloadTextures()
|
||||||
|
|||||||
@@ -551,10 +551,10 @@ namespace Vocaluxe.Menu
|
|||||||
public void LoadTextures()
|
public void LoadTextures()
|
||||||
{
|
{
|
||||||
if (_Theme.ColorName != String.Empty)
|
if (_Theme.ColorName != String.Empty)
|
||||||
Color = _Base.Theme.GetColor(_Theme.ColorName);
|
Color = _Base.Theme.GetColor(_Theme.ColorName, _PartyModeID);
|
||||||
|
|
||||||
if (_Theme.SColorName != String.Empty)
|
if (_Theme.SColorName != String.Empty)
|
||||||
ColorProcessed = _Base.Theme.GetColor(_Theme.SColorName);
|
ColorProcessed = _Base.Theme.GetColor(_Theme.SColorName, _PartyModeID);
|
||||||
}
|
}
|
||||||
|
|
||||||
public void ReloadTextures()
|
public void ReloadTextures()
|
||||||
|
|||||||
@@ -202,7 +202,7 @@ namespace Vocaluxe.Menu
|
|||||||
if (loaded)
|
if (loaded)
|
||||||
VersionCheck = CheckVersion(_ScreenVersion, navigator);
|
VersionCheck = CheckVersion(_ScreenVersion, navigator);
|
||||||
|
|
||||||
int SkinIndex = _Base.Theme.GetSkinIndex();
|
int SkinIndex = _Base.Theme.GetSkinIndex(_PartyModeID);
|
||||||
|
|
||||||
if (loaded && VersionCheck && SkinIndex != -1)
|
if (loaded && VersionCheck && SkinIndex != -1)
|
||||||
{
|
{
|
||||||
|
|||||||
@@ -477,14 +477,14 @@ namespace Vocaluxe.Menu
|
|||||||
|
|
||||||
public void LoadTextures()
|
public void LoadTextures()
|
||||||
{
|
{
|
||||||
_TextureEmptyTile = _Base.Theme.GetSkinTexture(_Theme.TextureEmptyTileName);
|
_TextureEmptyTile = _Base.Theme.GetSkinTexture(_Theme.TextureEmptyTileName, _PartyModeID);
|
||||||
_TextureTileSelected = _Base.Theme.GetSkinTexture(_Theme.TextureTileSelectedName);
|
_TextureTileSelected = _Base.Theme.GetSkinTexture(_Theme.TextureTileSelectedName, _PartyModeID);
|
||||||
|
|
||||||
if (_Theme.ColorEmptyTileName != String.Empty)
|
if (_Theme.ColorEmptyTileName != String.Empty)
|
||||||
ColorEmptyTile = _Base.Theme.GetColor(_Theme.ColorEmptyTileName);
|
ColorEmptyTile = _Base.Theme.GetColor(_Theme.ColorEmptyTileName, _PartyModeID);
|
||||||
|
|
||||||
if (_Theme.NameColorName != String.Empty)
|
if (_Theme.NameColorName != String.Empty)
|
||||||
_Theme.NameColor = _Base.Theme.GetColor(_Theme.NameColorName);
|
_Theme.NameColor = _Base.Theme.GetColor(_Theme.NameColorName, _PartyModeID);
|
||||||
}
|
}
|
||||||
|
|
||||||
public void ReloadTextures()
|
public void ReloadTextures()
|
||||||
|
|||||||
@@ -292,7 +292,7 @@ namespace Vocaluxe.Menu
|
|||||||
public void Draw()
|
public void Draw()
|
||||||
{
|
{
|
||||||
if (_TextureName != String.Empty)
|
if (_TextureName != String.Empty)
|
||||||
_Base.Drawing.DrawTexture(_Base.Theme.GetSkinTexture(_TextureName), _Rect, new SColorF(_Color.R, _Color.G, _Color.B, _Color.A * Alpha2 * _Alpha));
|
_Base.Drawing.DrawTexture(_Base.Theme.GetSkinTexture(_TextureName, _PartyModeID), _Rect, new SColorF(_Color.R, _Color.G, _Color.B, _Color.A * Alpha2 * _Alpha));
|
||||||
else
|
else
|
||||||
_Base.Drawing.DrawTexture(_Texture, _Rect, new SColorF(_Color.R, _Color.G, _Color.B, _Color.A * Alpha2 * _Alpha));
|
_Base.Drawing.DrawTexture(_Texture, _Rect, new SColorF(_Color.R, _Color.G, _Color.B, _Color.A * Alpha2 * _Alpha));
|
||||||
}
|
}
|
||||||
@@ -620,9 +620,9 @@ namespace Vocaluxe.Menu
|
|||||||
public void LoadTextures()
|
public void LoadTextures()
|
||||||
{
|
{
|
||||||
if (_Theme.ColorName != String.Empty)
|
if (_Theme.ColorName != String.Empty)
|
||||||
Color = _Base.Theme.GetColor(_Theme.ColorName);
|
Color = _Base.Theme.GetColor(_Theme.ColorName, _PartyModeID);
|
||||||
if(_Theme.TextureName != String.Empty)
|
if(_Theme.TextureName != String.Empty)
|
||||||
Texture = _Base.Theme.GetSkinTexture(_Theme.TextureName);
|
Texture = _Base.Theme.GetSkinTexture(_Theme.TextureName, _PartyModeID);
|
||||||
}
|
}
|
||||||
|
|
||||||
public void ReloadTextures()
|
public void ReloadTextures()
|
||||||
|
|||||||
@@ -435,12 +435,12 @@ namespace Vocaluxe.Menu
|
|||||||
{
|
{
|
||||||
if (i == CurrentPlaylistElement && _Selected)
|
if (i == CurrentPlaylistElement && _Selected)
|
||||||
{
|
{
|
||||||
PlaylistElements[i].Background.Texture = _Base.Theme.GetSkinTexture(_Theme.STextureBackgroundName);
|
PlaylistElements[i].Background.Texture = _Base.Theme.GetSkinTexture(_Theme.STextureBackgroundName, _PartyModeID);
|
||||||
PlaylistElements[i].Background.Color = BackgroundSColor;
|
PlaylistElements[i].Background.Color = BackgroundSColor;
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
PlaylistElements[i].Background.Texture = _Base.Theme.GetSkinTexture(_Theme.TextureBackgroundName);
|
PlaylistElements[i].Background.Texture = _Base.Theme.GetSkinTexture(_Theme.TextureBackgroundName, _PartyModeID);
|
||||||
PlaylistElements[i].Background.Color = BackgroundColor;
|
PlaylistElements[i].Background.Color = BackgroundColor;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@@ -474,10 +474,10 @@ namespace Vocaluxe.Menu
|
|||||||
public void LoadTextures()
|
public void LoadTextures()
|
||||||
{
|
{
|
||||||
if (_Theme.ColorBackgroundName != String.Empty)
|
if (_Theme.ColorBackgroundName != String.Empty)
|
||||||
BackgroundColor = _Base.Theme.GetColor(_Theme.ColorBackgroundName);
|
BackgroundColor = _Base.Theme.GetColor(_Theme.ColorBackgroundName, _PartyModeID);
|
||||||
|
|
||||||
if (_Theme.SColorBackgroundName != String.Empty)
|
if (_Theme.SColorBackgroundName != String.Empty)
|
||||||
BackgroundSColor = _Base.Theme.GetColor(_Theme.SColorBackgroundName);
|
BackgroundSColor = _Base.Theme.GetColor(_Theme.SColorBackgroundName, _PartyModeID);
|
||||||
|
|
||||||
_Theme.Text1.LoadTextures();
|
_Theme.Text1.LoadTextures();
|
||||||
_Theme.ButtonPlaylistClose.LoadTextures();
|
_Theme.ButtonPlaylistClose.LoadTextures();
|
||||||
@@ -982,7 +982,7 @@ namespace Vocaluxe.Menu
|
|||||||
ChangeOrderElement.SelectSlide.RectArrowRight.Z = _Base.Settings.GetZNear();
|
ChangeOrderElement.SelectSlide.RectArrowRight.Z = _Base.Settings.GetZNear();
|
||||||
ChangeOrderElement.Text1.Z = _Base.Settings.GetZNear();
|
ChangeOrderElement.Text1.Z = _Base.Settings.GetZNear();
|
||||||
|
|
||||||
ChangeOrderElement.Background.Texture = _Base.Theme.GetSkinTexture(_Theme.TextureBackgroundName);
|
ChangeOrderElement.Background.Texture = _Base.Theme.GetSkinTexture(_Theme.TextureBackgroundName, _PartyModeID);
|
||||||
ChangeOrderElement.Background.Color = BackgroundColor;
|
ChangeOrderElement.Background.Color = BackgroundColor;
|
||||||
|
|
||||||
OldMousePosX = MouseEvent.X;
|
OldMousePosX = MouseEvent.X;
|
||||||
|
|||||||
@@ -129,12 +129,12 @@ namespace Vocaluxe.Menu
|
|||||||
|
|
||||||
private STexture GetTextureValue(string _string)
|
private STexture GetTextureValue(string _string)
|
||||||
{
|
{
|
||||||
return _Base.Theme.GetSkinTexture(_string);
|
return _Base.Theme.GetSkinTexture(_string, _PartyModeID);
|
||||||
}
|
}
|
||||||
|
|
||||||
private SColorF GetColorValue(string _string)
|
private SColorF GetColorValue(string _string)
|
||||||
{
|
{
|
||||||
return _Base.Theme.GetColor(_string);
|
return _Base.Theme.GetColor(_string, _PartyModeID);
|
||||||
}
|
}
|
||||||
#endregion Private
|
#endregion Private
|
||||||
|
|
||||||
|
|||||||
@@ -720,15 +720,15 @@ namespace Vocaluxe.Menu
|
|||||||
if (!Visible && _Base.Settings.GetGameState() != EGameState.EditTheme)
|
if (!Visible && _Base.Settings.GetGameState() != EGameState.EditTheme)
|
||||||
return;
|
return;
|
||||||
|
|
||||||
STexture Texture = _Base.Theme.GetSkinTexture(_Theme.TextureName);
|
STexture Texture = _Base.Theme.GetSkinTexture(_Theme.TextureName, _PartyModeID);
|
||||||
STexture TextureArrowLeft = _Base.Theme.GetSkinTexture(_Theme.TextureArrowLeftName);
|
STexture TextureArrowLeft = _Base.Theme.GetSkinTexture(_Theme.TextureArrowLeftName, _PartyModeID);
|
||||||
STexture TextureArrowRight = _Base.Theme.GetSkinTexture(_Theme.TextureArrowRightName);
|
STexture TextureArrowRight = _Base.Theme.GetSkinTexture(_Theme.TextureArrowRightName, _PartyModeID);
|
||||||
|
|
||||||
STexture STexture = _Base.Theme.GetSkinTexture(_Theme.STextureName);
|
STexture STexture = _Base.Theme.GetSkinTexture(_Theme.STextureName, _PartyModeID);
|
||||||
STexture STextureArrowLeft = _Base.Theme.GetSkinTexture(_Theme.STextureArrowLeftName);
|
STexture STextureArrowLeft = _Base.Theme.GetSkinTexture(_Theme.STextureArrowLeftName, _PartyModeID);
|
||||||
STexture STextureArrowRight = _Base.Theme.GetSkinTexture(_Theme.STextureArrowRightName);
|
STexture STextureArrowRight = _Base.Theme.GetSkinTexture(_Theme.STextureArrowRightName, _PartyModeID);
|
||||||
|
|
||||||
STexture HTexture = _Base.Theme.GetSkinTexture(_Theme.HTextureName);
|
STexture HTexture = _Base.Theme.GetSkinTexture(_Theme.HTextureName, _PartyModeID);
|
||||||
|
|
||||||
if (Selected)
|
if (Selected)
|
||||||
{
|
{
|
||||||
@@ -822,25 +822,25 @@ namespace Vocaluxe.Menu
|
|||||||
public void LoadTextures()
|
public void LoadTextures()
|
||||||
{
|
{
|
||||||
if (_Theme.ColorName != String.Empty)
|
if (_Theme.ColorName != String.Empty)
|
||||||
Color = _Base.Theme.GetColor(_Theme.ColorName);
|
Color = _Base.Theme.GetColor(_Theme.ColorName, _PartyModeID);
|
||||||
|
|
||||||
if (_Theme.SColorName != String.Empty)
|
if (_Theme.SColorName != String.Empty)
|
||||||
SColor = _Base.Theme.GetColor(_Theme.SColorName);
|
SColor = _Base.Theme.GetColor(_Theme.SColorName, _PartyModeID);
|
||||||
|
|
||||||
if (_Theme.HColorName != String.Empty)
|
if (_Theme.HColorName != String.Empty)
|
||||||
HColor = _Base.Theme.GetColor(_Theme.HColorName);
|
HColor = _Base.Theme.GetColor(_Theme.HColorName, _PartyModeID);
|
||||||
|
|
||||||
if (_Theme.ArrowColorName != String.Empty)
|
if (_Theme.ArrowColorName != String.Empty)
|
||||||
ColorArrow = _Base.Theme.GetColor(_Theme.ArrowColorName);
|
ColorArrow = _Base.Theme.GetColor(_Theme.ArrowColorName, _PartyModeID);
|
||||||
|
|
||||||
if (_Theme.SArrowColorName != String.Empty)
|
if (_Theme.SArrowColorName != String.Empty)
|
||||||
SColorArrow = _Base.Theme.GetColor(_Theme.SArrowColorName);
|
SColorArrow = _Base.Theme.GetColor(_Theme.SArrowColorName, _PartyModeID);
|
||||||
|
|
||||||
if (_Theme.TextColorName != String.Empty)
|
if (_Theme.TextColorName != String.Empty)
|
||||||
TextColor = _Base.Theme.GetColor(_Theme.TextColorName);
|
TextColor = _Base.Theme.GetColor(_Theme.TextColorName, _PartyModeID);
|
||||||
|
|
||||||
if (_Theme.SColorName != String.Empty)
|
if (_Theme.SColorName != String.Empty)
|
||||||
STextColor = _Base.Theme.GetColor(_Theme.STextColorName);
|
STextColor = _Base.Theme.GetColor(_Theme.STextColorName, _PartyModeID);
|
||||||
}
|
}
|
||||||
|
|
||||||
public void ReloadTextures()
|
public void ReloadTextures()
|
||||||
|
|||||||
@@ -35,7 +35,7 @@ namespace Vocaluxe.Menu
|
|||||||
if (_Texture.index != -1)
|
if (_Texture.index != -1)
|
||||||
return _Texture;
|
return _Texture;
|
||||||
else
|
else
|
||||||
return _Base.Theme.GetSkinTexture(_Theme.TextureName);
|
return _Base.Theme.GetSkinTexture(_Theme.TextureName, _PartyModeID);
|
||||||
}
|
}
|
||||||
|
|
||||||
set { _Texture = value; }
|
set { _Texture = value; }
|
||||||
@@ -247,7 +247,7 @@ namespace Vocaluxe.Menu
|
|||||||
if (_Texture.index != -1)
|
if (_Texture.index != -1)
|
||||||
texture = _Texture;
|
texture = _Texture;
|
||||||
else
|
else
|
||||||
texture = _Base.Theme.GetSkinTexture(_Theme.TextureName);
|
texture = _Base.Theme.GetSkinTexture(_Theme.TextureName, _PartyModeID);
|
||||||
|
|
||||||
SRectF bounds = new SRectF(
|
SRectF bounds = new SRectF(
|
||||||
Rect.X - Rect.W * (scale - 1f),
|
Rect.X - Rect.W * (scale - 1f),
|
||||||
@@ -293,7 +293,7 @@ namespace Vocaluxe.Menu
|
|||||||
public void LoadTextures()
|
public void LoadTextures()
|
||||||
{
|
{
|
||||||
if (_Theme.ColorName != String.Empty)
|
if (_Theme.ColorName != String.Empty)
|
||||||
Color = _Base.Theme.GetColor(_Theme.ColorName);
|
Color = _Base.Theme.GetColor(_Theme.ColorName, _PartyModeID);
|
||||||
}
|
}
|
||||||
|
|
||||||
public void ReloadTextures()
|
public void ReloadTextures()
|
||||||
|
|||||||
@@ -839,10 +839,10 @@ namespace Vocaluxe.Menu
|
|||||||
public void LoadTextures()
|
public void LoadTextures()
|
||||||
{
|
{
|
||||||
if (_Theme.ColorName != String.Empty)
|
if (_Theme.ColorName != String.Empty)
|
||||||
Color = _Base.Theme.GetColor(_Theme.ColorName);
|
Color = _Base.Theme.GetColor(_Theme.ColorName, _PartyModeID);
|
||||||
|
|
||||||
if (_Theme.SColorName != String.Empty)
|
if (_Theme.SColorName != String.Empty)
|
||||||
SColor = _Base.Theme.GetColor(_Theme.SColorName);
|
SColor = _Base.Theme.GetColor(_Theme.SColorName, _PartyModeID);
|
||||||
}
|
}
|
||||||
|
|
||||||
public void ReloadTextures()
|
public void ReloadTextures()
|
||||||
|
|||||||