Fix wrong theme stuff
This commit is contained in:
1 parent
3f76d039b6
commit
8109d77ab1
10 files changed
+118
-4878
No files matched your search
File diff suppressed because it is too large.
Load diff
@@ -385,10 +385,10 @@
|
|||||||
</Rect>
|
</Rect>
|
||||||
<SkinEmptyTile>CoverTile</SkinEmptyTile>
|
<SkinEmptyTile>CoverTile</SkinEmptyTile>
|
||||||
<ColorEmptyTile>
|
<ColorEmptyTile>
|
||||||
<R>1</R>
|
<R>1</R>
|
||||||
<G>1</G>
|
<G>1</G>
|
||||||
<B>1</B>
|
<B>1</B>
|
||||||
<A>0.2</A>
|
<A>0.2</A>
|
||||||
</ColorEmptyTile>
|
</ColorEmptyTile>
|
||||||
<SkinTileSelected>PlayerSelector</SkinTileSelected>
|
<SkinTileSelected>PlayerSelector</SkinTileSelected>
|
||||||
<Tiles>
|
<Tiles>
|
||||||
|
|||||||
-2050
File diff suppressed because it is too large.
Load diff
@@ -526,731 +526,6 @@
|
|||||||
<Reflection Enabled="false" />
|
<Reflection Enabled="false" />
|
||||||
<SelReflection Enabled="false" />
|
<SelReflection Enabled="false" />
|
||||||
</Button>
|
</Button>
|
||||||
<Button>
|
|
||||||
<Skin>CoverTile</Skin>
|
|
||||||
<SkinSelected>CoverTile</SkinSelected>
|
|
||||||
<Rect>
|
|
||||||
<X>0</X>
|
|
||||||
<Y>0</Y>
|
|
||||||
<W>0</W>
|
|
||||||
<H>0</H>
|
|
||||||
<Z>0</Z>
|
|
||||||
</Rect>
|
|
||||||
<Color />
|
|
||||||
<SelColor />
|
|
||||||
<Text>
|
|
||||||
<X>0</X>
|
|
||||||
<Y>0</Y>
|
|
||||||
<Z>0</Z>
|
|
||||||
<H>0</H>
|
|
||||||
<MaxW>0</MaxW>
|
|
||||||
<Color />
|
|
||||||
<SColor />
|
|
||||||
<Align>Left</Align>
|
|
||||||
<ResizeAlign>Top</ResizeAlign>
|
|
||||||
<Style>Normal</Style>
|
|
||||||
<Reflection Enabled="false" />
|
|
||||||
</Text>
|
|
||||||
<STextSpecified>false</STextSpecified>
|
|
||||||
<Reflection Enabled="false" />
|
|
||||||
<SelReflection Enabled="false" />
|
|
||||||
</Button>
|
|
||||||
<Button>
|
|
||||||
<Skin>CoverTile</Skin>
|
|
||||||
<SkinSelected>CoverTile</SkinSelected>
|
|
||||||
<Rect>
|
|
||||||
<X>0</X>
|
|
||||||
<Y>0</Y>
|
|
||||||
<W>0</W>
|
|
||||||
<H>0</H>
|
|
||||||
<Z>0</Z>
|
|
||||||
</Rect>
|
|
||||||
<Color />
|
|
||||||
<SelColor />
|
|
||||||
<Text>
|
|
||||||
<X>0</X>
|
|
||||||
<Y>0</Y>
|
|
||||||
<Z>0</Z>
|
|
||||||
<H>0</H>
|
|
||||||
<MaxW>0</MaxW>
|
|
||||||
<Color />
|
|
||||||
<SColor />
|
|
||||||
<Align>Left</Align>
|
|
||||||
<ResizeAlign>Top</ResizeAlign>
|
|
||||||
<Style>Normal</Style>
|
|
||||||
<Reflection Enabled="false" />
|
|
||||||
</Text>
|
|
||||||
<STextSpecified>false</STextSpecified>
|
|
||||||
<Reflection Enabled="false" />
|
|
||||||
<SelReflection Enabled="false" />
|
|
||||||
</Button>
|
|
||||||
<Button>
|
|
||||||
<Skin>CoverTile</Skin>
|
|
||||||
<SkinSelected>CoverTile</SkinSelected>
|
|
||||||
<Rect>
|
|
||||||
<X>0</X>
|
|
||||||
<Y>0</Y>
|
|
||||||
<W>0</W>
|
|
||||||
<H>0</H>
|
|
||||||
<Z>0</Z>
|
|
||||||
</Rect>
|
|
||||||
<Color />
|
|
||||||
<SelColor />
|
|
||||||
<Text>
|
|
||||||
<X>0</X>
|
|
||||||
<Y>0</Y>
|
|
||||||
<Z>0</Z>
|
|
||||||
<H>0</H>
|
|
||||||
<MaxW>0</MaxW>
|
|
||||||
<Color />
|
|
||||||
<SColor />
|
|
||||||
<Align>Left</Align>
|
|
||||||
<ResizeAlign>Top</ResizeAlign>
|
|
||||||
<Style>Normal</Style>
|
|
||||||
<Reflection Enabled="false" />
|
|
||||||
</Text>
|
|
||||||
<STextSpecified>false</STextSpecified>
|
|
||||||
<Reflection Enabled="false" />
|
|
||||||
<SelReflection Enabled="false" />
|
|
||||||
</Button>
|
|
||||||
<Button>
|
|
||||||
<Skin>CoverTile</Skin>
|
|
||||||
<SkinSelected>CoverTile</SkinSelected>
|
|
||||||
<Rect>
|
|
||||||
<X>0</X>
|
|
||||||
<Y>0</Y>
|
|
||||||
<W>0</W>
|
|
||||||
<H>0</H>
|
|
||||||
<Z>0</Z>
|
|
||||||
</Rect>
|
|
||||||
<Color />
|
|
||||||
<SelColor />
|
|
||||||
<Text>
|
|
||||||
<X>0</X>
|
|
||||||
<Y>0</Y>
|
|
||||||
<Z>0</Z>
|
|
||||||
<H>0</H>
|
|
||||||
<MaxW>0</MaxW>
|
|
||||||
<Color />
|
|
||||||
<SColor />
|
|
||||||
<Align>Left</Align>
|
|
||||||
<ResizeAlign>Top</ResizeAlign>
|
|
||||||
<Style>Normal</Style>
|
|
||||||
<Reflection Enabled="false" />
|
|
||||||
</Text>
|
|
||||||
<STextSpecified>false</STextSpecified>
|
|
||||||
<Reflection Enabled="false" />
|
|
||||||
<SelReflection Enabled="false" />
|
|
||||||
</Button>
|
|
||||||
<Button>
|
|
||||||
<Skin>CoverTile</Skin>
|
|
||||||
<SkinSelected>CoverTile</SkinSelected>
|
|
||||||
<Rect>
|
|
||||||
<X>0</X>
|
|
||||||
<Y>0</Y>
|
|
||||||
<W>0</W>
|
|
||||||
<H>0</H>
|
|
||||||
<Z>0</Z>
|
|
||||||
</Rect>
|
|
||||||
<Color />
|
|
||||||
<SelColor />
|
|
||||||
<Text>
|
|
||||||
<X>0</X>
|
|
||||||
<Y>0</Y>
|
|
||||||
<Z>0</Z>
|
|
||||||
<H>0</H>
|
|
||||||
<MaxW>0</MaxW>
|
|
||||||
<Color />
|
|
||||||
<SColor />
|
|
||||||
<Align>Left</Align>
|
|
||||||
<ResizeAlign>Top</ResizeAlign>
|
|
||||||
<Style>Normal</Style>
|
|
||||||
<Reflection Enabled="false" />
|
|
||||||
</Text>
|
|
||||||
<STextSpecified>false</STextSpecified>
|
|
||||||
<Reflection Enabled="false" />
|
|
||||||
<SelReflection Enabled="false" />
|
|
||||||
</Button>
|
|
||||||
<Button>
|
|
||||||
<Skin>CoverTile</Skin>
|
|
||||||
<SkinSelected>CoverTile</SkinSelected>
|
|
||||||
<Rect>
|
|
||||||
<X>0</X>
|
|
||||||
<Y>0</Y>
|
|
||||||
<W>0</W>
|
|
||||||
<H>0</H>
|
|
||||||
<Z>0</Z>
|
|
||||||
</Rect>
|
|
||||||
<Color />
|
|
||||||
<SelColor />
|
|
||||||
<Text>
|
|
||||||
<X>0</X>
|
|
||||||
<Y>0</Y>
|
|
||||||
<Z>0</Z>
|
|
||||||
<H>0</H>
|
|
||||||
<MaxW>0</MaxW>
|
|
||||||
<Color />
|
|
||||||
<SColor />
|
|
||||||
<Align>Left</Align>
|
|
||||||
<ResizeAlign>Top</ResizeAlign>
|
|
||||||
<Style>Normal</Style>
|
|
||||||
<Reflection Enabled="false" />
|
|
||||||
</Text>
|
|
||||||
<STextSpecified>false</STextSpecified>
|
|
||||||
<Reflection Enabled="false" />
|
|
||||||
<SelReflection Enabled="false" />
|
|
||||||
</Button>
|
|
||||||
<Button>
|
|
||||||
<Skin>CoverTile</Skin>
|
|
||||||
<SkinSelected>CoverTile</SkinSelected>
|
|
||||||
<Rect>
|
|
||||||
<X>0</X>
|
|
||||||
<Y>0</Y>
|
|
||||||
<W>0</W>
|
|
||||||
<H>0</H>
|
|
||||||
<Z>0</Z>
|
|
||||||
</Rect>
|
|
||||||
<Color />
|
|
||||||
<SelColor />
|
|
||||||
<Text>
|
|
||||||
<X>0</X>
|
|
||||||
<Y>0</Y>
|
|
||||||
<Z>0</Z>
|
|
||||||
<H>0</H>
|
|
||||||
<MaxW>0</MaxW>
|
|
||||||
<Color />
|
|
||||||
<SColor />
|
|
||||||
<Align>Left</Align>
|
|
||||||
<ResizeAlign>Top</ResizeAlign>
|
|
||||||
<Style>Normal</Style>
|
|
||||||
<Reflection Enabled="false" />
|
|
||||||
</Text>
|
|
||||||
<STextSpecified>false</STextSpecified>
|
|
||||||
<Reflection Enabled="false" />
|
|
||||||
<SelReflection Enabled="false" />
|
|
||||||
</Button>
|
|
||||||
<Button>
|
|
||||||
<Skin>CoverTile</Skin>
|
|
||||||
<SkinSelected>CoverTile</SkinSelected>
|
|
||||||
<Rect>
|
|
||||||
<X>0</X>
|
|
||||||
<Y>0</Y>
|
|
||||||
<W>0</W>
|
|
||||||
<H>0</H>
|
|
||||||
<Z>0</Z>
|
|
||||||
</Rect>
|
|
||||||
<Color />
|
|
||||||
<SelColor />
|
|
||||||
<Text>
|
|
||||||
<X>0</X>
|
|
||||||
<Y>0</Y>
|
|
||||||
<Z>0</Z>
|
|
||||||
<H>0</H>
|
|
||||||
<MaxW>0</MaxW>
|
|
||||||
<Color />
|
|
||||||
<SColor />
|
|
||||||
<Align>Left</Align>
|
|
||||||
<ResizeAlign>Top</ResizeAlign>
|
|
||||||
<Style>Normal</Style>
|
|
||||||
<Reflection Enabled="false" />
|
|
||||||
</Text>
|
|
||||||
<STextSpecified>false</STextSpecified>
|
|
||||||
<Reflection Enabled="false" />
|
|
||||||
<SelReflection Enabled="false" />
|
|
||||||
</Button>
|
|
||||||
<Button>
|
|
||||||
<Skin>CoverTile</Skin>
|
|
||||||
<SkinSelected>CoverTile</SkinSelected>
|
|
||||||
<Rect>
|
|
||||||
<X>0</X>
|
|
||||||
<Y>0</Y>
|
|
||||||
<W>0</W>
|
|
||||||
<H>0</H>
|
|
||||||
<Z>0</Z>
|
|
||||||
</Rect>
|
|
||||||
<Color />
|
|
||||||
<SelColor />
|
|
||||||
<Text>
|
|
||||||
<X>0</X>
|
|
||||||
<Y>0</Y>
|
|
||||||
<Z>0</Z>
|
|
||||||
<H>0</H>
|
|
||||||
<MaxW>0</MaxW>
|
|
||||||
<Color />
|
|
||||||
<SColor />
|
|
||||||
<Align>Left</Align>
|
|
||||||
<ResizeAlign>Top</ResizeAlign>
|
|
||||||
<Style>Normal</Style>
|
|
||||||
<Reflection Enabled="false" />
|
|
||||||
</Text>
|
|
||||||
<STextSpecified>false</STextSpecified>
|
|
||||||
<Reflection Enabled="false" />
|
|
||||||
<SelReflection Enabled="false" />
|
|
||||||
</Button>
|
|
||||||
<Button>
|
|
||||||
<Skin>CoverTile</Skin>
|
|
||||||
<SkinSelected>CoverTile</SkinSelected>
|
|
||||||
<Rect>
|
|
||||||
<X>0</X>
|
|
||||||
<Y>0</Y>
|
|
||||||
<W>0</W>
|
|
||||||
<H>0</H>
|
|
||||||
<Z>0</Z>
|
|
||||||
</Rect>
|
|
||||||
<Color />
|
|
||||||
<SelColor />
|
|
||||||
<Text>
|
|
||||||
<X>0</X>
|
|
||||||
<Y>0</Y>
|
|
||||||
<Z>0</Z>
|
|
||||||
<H>0</H>
|
|
||||||
<MaxW>0</MaxW>
|
|
||||||
<Color />
|
|
||||||
<SColor />
|
|
||||||
<Align>Left</Align>
|
|
||||||
<ResizeAlign>Top</ResizeAlign>
|
|
||||||
<Style>Normal</Style>
|
|
||||||
<Reflection Enabled="false" />
|
|
||||||
</Text>
|
|
||||||
<STextSpecified>false</STextSpecified>
|
|
||||||
<Reflection Enabled="false" />
|
|
||||||
<SelReflection Enabled="false" />
|
|
||||||
</Button>
|
|
||||||
<Button>
|
|
||||||
<Skin>CoverTile</Skin>
|
|
||||||
<SkinSelected>CoverTile</SkinSelected>
|
|
||||||
<Rect>
|
|
||||||
<X>0</X>
|
|
||||||
<Y>0</Y>
|
|
||||||
<W>0</W>
|
|
||||||
<H>0</H>
|
|
||||||
<Z>0</Z>
|
|
||||||
</Rect>
|
|
||||||
<Color />
|
|
||||||
<SelColor />
|
|
||||||
<Text>
|
|
||||||
<X>0</X>
|
|
||||||
<Y>0</Y>
|
|
||||||
<Z>0</Z>
|
|
||||||
<H>0</H>
|
|
||||||
<MaxW>0</MaxW>
|
|
||||||
<Color />
|
|
||||||
<SColor />
|
|
||||||
<Align>Left</Align>
|
|
||||||
<ResizeAlign>Top</ResizeAlign>
|
|
||||||
<Style>Normal</Style>
|
|
||||||
<Reflection Enabled="false" />
|
|
||||||
</Text>
|
|
||||||
<STextSpecified>false</STextSpecified>
|
|
||||||
<Reflection Enabled="false" />
|
|
||||||
<SelReflection Enabled="false" />
|
|
||||||
</Button>
|
|
||||||
<Button>
|
|
||||||
<Skin>CoverTile</Skin>
|
|
||||||
<SkinSelected>CoverTile</SkinSelected>
|
|
||||||
<Rect>
|
|
||||||
<X>0</X>
|
|
||||||
<Y>0</Y>
|
|
||||||
<W>0</W>
|
|
||||||
<H>0</H>
|
|
||||||
<Z>0</Z>
|
|
||||||
</Rect>
|
|
||||||
<Color />
|
|
||||||
<SelColor />
|
|
||||||
<Text>
|
|
||||||
<X>0</X>
|
|
||||||
<Y>0</Y>
|
|
||||||
<Z>0</Z>
|
|
||||||
<H>0</H>
|
|
||||||
<MaxW>0</MaxW>
|
|
||||||
<Color />
|
|
||||||
<SColor />
|
|
||||||
<Align>Left</Align>
|
|
||||||
<ResizeAlign>Top</ResizeAlign>
|
|
||||||
<Style>Normal</Style>
|
|
||||||
<Reflection Enabled="false" />
|
|
||||||
</Text>
|
|
||||||
<STextSpecified>false</STextSpecified>
|
|
||||||
<Reflection Enabled="false" />
|
|
||||||
<SelReflection Enabled="false" />
|
|
||||||
</Button>
|
|
||||||
<Button>
|
|
||||||
<Skin>CoverTile</Skin>
|
|
||||||
<SkinSelected>CoverTile</SkinSelected>
|
|
||||||
<Rect>
|
|
||||||
<X>0</X>
|
|
||||||
<Y>0</Y>
|
|
||||||
<W>0</W>
|
|
||||||
<H>0</H>
|
|
||||||
<Z>0</Z>
|
|
||||||
</Rect>
|
|
||||||
<Color />
|
|
||||||
<SelColor />
|
|
||||||
<Text>
|
|
||||||
<X>0</X>
|
|
||||||
<Y>0</Y>
|
|
||||||
<Z>0</Z>
|
|
||||||
<H>0</H>
|
|
||||||
<MaxW>0</MaxW>
|
|
||||||
<Color />
|
|
||||||
<SColor />
|
|
||||||
<Align>Left</Align>
|
|
||||||
<ResizeAlign>Top</ResizeAlign>
|
|
||||||
<Style>Normal</Style>
|
|
||||||
<Reflection Enabled="false" />
|
|
||||||
</Text>
|
|
||||||
<STextSpecified>false</STextSpecified>
|
|
||||||
<Reflection Enabled="false" />
|
|
||||||
<SelReflection Enabled="false" />
|
|
||||||
</Button>
|
|
||||||
<Button>
|
|
||||||
<Skin>CoverTile</Skin>
|
|
||||||
<SkinSelected>CoverTile</SkinSelected>
|
|
||||||
<Rect>
|
|
||||||
<X>0</X>
|
|
||||||
<Y>0</Y>
|
|
||||||
<W>0</W>
|
|
||||||
<H>0</H>
|
|
||||||
<Z>0</Z>
|
|
||||||
</Rect>
|
|
||||||
<Color />
|
|
||||||
<SelColor />
|
|
||||||
<Text>
|
|
||||||
<X>0</X>
|
|
||||||
<Y>0</Y>
|
|
||||||
<Z>0</Z>
|
|
||||||
<H>0</H>
|
|
||||||
<MaxW>0</MaxW>
|
|
||||||
<Color />
|
|
||||||
<SColor />
|
|
||||||
<Align>Left</Align>
|
|
||||||
<ResizeAlign>Top</ResizeAlign>
|
|
||||||
<Style>Normal</Style>
|
|
||||||
<Reflection Enabled="false" />
|
|
||||||
</Text>
|
|
||||||
<STextSpecified>false</STextSpecified>
|
|
||||||
<Reflection Enabled="false" />
|
|
||||||
<SelReflection Enabled="false" />
|
|
||||||
</Button>
|
|
||||||
<Button>
|
|
||||||
<Skin>CoverTile</Skin>
|
|
||||||
<SkinSelected>CoverTile</SkinSelected>
|
|
||||||
<Rect>
|
|
||||||
<X>0</X>
|
|
||||||
<Y>0</Y>
|
|
||||||
<W>0</W>
|
|
||||||
<H>0</H>
|
|
||||||
<Z>0</Z>
|
|
||||||
</Rect>
|
|
||||||
<Color />
|
|
||||||
<SelColor />
|
|
||||||
<Text>
|
|
||||||
<X>0</X>
|
|
||||||
<Y>0</Y>
|
|
||||||
<Z>0</Z>
|
|
||||||
<H>0</H>
|
|
||||||
<MaxW>0</MaxW>
|
|
||||||
<Color />
|
|
||||||
<SColor />
|
|
||||||
<Align>Left</Align>
|
|
||||||
<ResizeAlign>Top</ResizeAlign>
|
|
||||||
<Style>Normal</Style>
|
|
||||||
<Reflection Enabled="false" />
|
|
||||||
</Text>
|
|
||||||
<STextSpecified>false</STextSpecified>
|
|
||||||
<Reflection Enabled="false" />
|
|
||||||
<SelReflection Enabled="false" />
|
|
||||||
</Button>
|
|
||||||
<Button>
|
|
||||||
<Skin>CoverTile</Skin>
|
|
||||||
<SkinSelected>CoverTile</SkinSelected>
|
|
||||||
<Rect>
|
|
||||||
<X>0</X>
|
|
||||||
<Y>0</Y>
|
|
||||||
<W>0</W>
|
|
||||||
<H>0</H>
|
|
||||||
<Z>0</Z>
|
|
||||||
</Rect>
|
|
||||||
<Color />
|
|
||||||
<SelColor />
|
|
||||||
<Text>
|
|
||||||
<X>0</X>
|
|
||||||
<Y>0</Y>
|
|
||||||
<Z>0</Z>
|
|
||||||
<H>0</H>
|
|
||||||
<MaxW>0</MaxW>
|
|
||||||
<Color />
|
|
||||||
<SColor />
|
|
||||||
<Align>Left</Align>
|
|
||||||
<ResizeAlign>Top</ResizeAlign>
|
|
||||||
<Style>Normal</Style>
|
|
||||||
<Reflection Enabled="false" />
|
|
||||||
</Text>
|
|
||||||
<STextSpecified>false</STextSpecified>
|
|
||||||
<Reflection Enabled="false" />
|
|
||||||
<SelReflection Enabled="false" />
|
|
||||||
</Button>
|
|
||||||
<Button>
|
|
||||||
<Skin>CoverTile</Skin>
|
|
||||||
<SkinSelected>CoverTile</SkinSelected>
|
|
||||||
<Rect>
|
|
||||||
<X>0</X>
|
|
||||||
<Y>0</Y>
|
|
||||||
<W>0</W>
|
|
||||||
<H>0</H>
|
|
||||||
<Z>0</Z>
|
|
||||||
</Rect>
|
|
||||||
<Color />
|
|
||||||
<SelColor />
|
|
||||||
<Text>
|
|
||||||
<X>0</X>
|
|
||||||
<Y>0</Y>
|
|
||||||
<Z>0</Z>
|
|
||||||
<H>0</H>
|
|
||||||
<MaxW>0</MaxW>
|
|
||||||
<Color />
|
|
||||||
<SColor />
|
|
||||||
<Align>Left</Align>
|
|
||||||
<ResizeAlign>Top</ResizeAlign>
|
|
||||||
<Style>Normal</Style>
|
|
||||||
<Reflection Enabled="false" />
|
|
||||||
</Text>
|
|
||||||
<STextSpecified>false</STextSpecified>
|
|
||||||
<Reflection Enabled="false" />
|
|
||||||
<SelReflection Enabled="false" />
|
|
||||||
</Button>
|
|
||||||
<Button>
|
|
||||||
<Skin>CoverTile</Skin>
|
|
||||||
<SkinSelected>CoverTile</SkinSelected>
|
|
||||||
<Rect>
|
|
||||||
<X>0</X>
|
|
||||||
<Y>0</Y>
|
|
||||||
<W>0</W>
|
|
||||||
<H>0</H>
|
|
||||||
<Z>0</Z>
|
|
||||||
</Rect>
|
|
||||||
<Color />
|
|
||||||
<SelColor />
|
|
||||||
<Text>
|
|
||||||
<X>0</X>
|
|
||||||
<Y>0</Y>
|
|
||||||
<Z>0</Z>
|
|
||||||
<H>0</H>
|
|
||||||
<MaxW>0</MaxW>
|
|
||||||
<Color />
|
|
||||||
<SColor />
|
|
||||||
<Align>Left</Align>
|
|
||||||
<ResizeAlign>Top</ResizeAlign>
|
|
||||||
<Style>Normal</Style>
|
|
||||||
<Reflection Enabled="false" />
|
|
||||||
</Text>
|
|
||||||
<STextSpecified>false</STextSpecified>
|
|
||||||
<Reflection Enabled="false" />
|
|
||||||
<SelReflection Enabled="false" />
|
|
||||||
</Button>
|
|
||||||
<Button>
|
|
||||||
<Skin>CoverTile</Skin>
|
|
||||||
<SkinSelected>CoverTile</SkinSelected>
|
|
||||||
<Rect>
|
|
||||||
<X>0</X>
|
|
||||||
<Y>0</Y>
|
|
||||||
<W>0</W>
|
|
||||||
<H>0</H>
|
|
||||||
<Z>0</Z>
|
|
||||||
</Rect>
|
|
||||||
<Color />
|
|
||||||
<SelColor />
|
|
||||||
<Text>
|
|
||||||
<X>0</X>
|
|
||||||
<Y>0</Y>
|
|
||||||
<Z>0</Z>
|
|
||||||
<H>0</H>
|
|
||||||
<MaxW>0</MaxW>
|
|
||||||
<Color />
|
|
||||||
<SColor />
|
|
||||||
<Align>Left</Align>
|
|
||||||
<ResizeAlign>Top</ResizeAlign>
|
|
||||||
<Style>Normal</Style>
|
|
||||||
<Reflection Enabled="false" />
|
|
||||||
</Text>
|
|
||||||
<STextSpecified>false</STextSpecified>
|
|
||||||
<Reflection Enabled="false" />
|
|
||||||
<SelReflection Enabled="false" />
|
|
||||||
</Button>
|
|
||||||
<Button>
|
|
||||||
<Skin>CoverTile</Skin>
|
|
||||||
<SkinSelected>CoverTile</SkinSelected>
|
|
||||||
<Rect>
|
|
||||||
<X>0</X>
|
|
||||||
<Y>0</Y>
|
|
||||||
<W>0</W>
|
|
||||||
<H>0</H>
|
|
||||||
<Z>0</Z>
|
|
||||||
</Rect>
|
|
||||||
<Color />
|
|
||||||
<SelColor />
|
|
||||||
<Text>
|
|
||||||
<X>0</X>
|
|
||||||
<Y>0</Y>
|
|
||||||
<Z>0</Z>
|
|
||||||
<H>0</H>
|
|
||||||
<MaxW>0</MaxW>
|
|
||||||
<Color />
|
|
||||||
<SColor />
|
|
||||||
<Align>Left</Align>
|
|
||||||
<ResizeAlign>Top</ResizeAlign>
|
|
||||||
<Style>Normal</Style>
|
|
||||||
<Reflection Enabled="false" />
|
|
||||||
</Text>
|
|
||||||
<STextSpecified>false</STextSpecified>
|
|
||||||
<Reflection Enabled="false" />
|
|
||||||
<SelReflection Enabled="false" />
|
|
||||||
</Button>
|
|
||||||
<Button>
|
|
||||||
<Skin>CoverTile</Skin>
|
|
||||||
<SkinSelected>CoverTile</SkinSelected>
|
|
||||||
<Rect>
|
|
||||||
<X>0</X>
|
|
||||||
<Y>0</Y>
|
|
||||||
<W>0</W>
|
|
||||||
<H>0</H>
|
|
||||||
<Z>0</Z>
|
|
||||||
</Rect>
|
|
||||||
<Color />
|
|
||||||
<SelColor />
|
|
||||||
<Text>
|
|
||||||
<X>0</X>
|
|
||||||
<Y>0</Y>
|
|
||||||
<Z>0</Z>
|
|
||||||
<H>0</H>
|
|
||||||
<MaxW>0</MaxW>
|
|
||||||
<Color />
|
|
||||||
<SColor />
|
|
||||||
<Align>Left</Align>
|
|
||||||
<ResizeAlign>Top</ResizeAlign>
|
|
||||||
<Style>Normal</Style>
|
|
||||||
<Reflection Enabled="false" />
|
|
||||||
</Text>
|
|
||||||
<STextSpecified>false</STextSpecified>
|
|
||||||
<Reflection Enabled="false" />
|
|
||||||
<SelReflection Enabled="false" />
|
|
||||||
</Button>
|
|
||||||
<Button>
|
|
||||||
<Skin>CoverTile</Skin>
|
|
||||||
<SkinSelected>CoverTile</SkinSelected>
|
|
||||||
<Rect>
|
|
||||||
<X>0</X>
|
|
||||||
<Y>0</Y>
|
|
||||||
<W>0</W>
|
|
||||||
<H>0</H>
|
|
||||||
<Z>0</Z>
|
|
||||||
</Rect>
|
|
||||||
<Color />
|
|
||||||
<SelColor />
|
|
||||||
<Text>
|
|
||||||
<X>0</X>
|
|
||||||
<Y>0</Y>
|
|
||||||
<Z>0</Z>
|
|
||||||
<H>0</H>
|
|
||||||
<MaxW>0</MaxW>
|
|
||||||
<Color />
|
|
||||||
<SColor />
|
|
||||||
<Align>Left</Align>
|
|
||||||
<ResizeAlign>Top</ResizeAlign>
|
|
||||||
<Style>Normal</Style>
|
|
||||||
<Reflection Enabled="false" />
|
|
||||||
</Text>
|
|
||||||
<STextSpecified>false</STextSpecified>
|
|
||||||
<Reflection Enabled="false" />
|
|
||||||
<SelReflection Enabled="false" />
|
|
||||||
</Button>
|
|
||||||
<Button>
|
|
||||||
<Skin>CoverTile</Skin>
|
|
||||||
<SkinSelected>CoverTile</SkinSelected>
|
|
||||||
<Rect>
|
|
||||||
<X>0</X>
|
|
||||||
<Y>0</Y>
|
|
||||||
<W>0</W>
|
|
||||||
<H>0</H>
|
|
||||||
<Z>0</Z>
|
|
||||||
</Rect>
|
|
||||||
<Color />
|
|
||||||
<SelColor />
|
|
||||||
<Text>
|
|
||||||
<X>0</X>
|
|
||||||
<Y>0</Y>
|
|
||||||
<Z>0</Z>
|
|
||||||
<H>0</H>
|
|
||||||
<MaxW>0</MaxW>
|
|
||||||
<Color />
|
|
||||||
<SColor />
|
|
||||||
<Align>Left</Align>
|
|
||||||
<ResizeAlign>Top</ResizeAlign>
|
|
||||||
<Style>Normal</Style>
|
|
||||||
<Reflection Enabled="false" />
|
|
||||||
</Text>
|
|
||||||
<STextSpecified>false</STextSpecified>
|
|
||||||
<Reflection Enabled="false" />
|
|
||||||
<SelReflection Enabled="false" />
|
|
||||||
</Button>
|
|
||||||
<Button>
|
|
||||||
<Skin>CoverTile</Skin>
|
|
||||||
<SkinSelected>CoverTile</SkinSelected>
|
|
||||||
<Rect>
|
|
||||||
<X>0</X>
|
|
||||||
<Y>0</Y>
|
|
||||||
<W>0</W>
|
|
||||||
<H>0</H>
|
|
||||||
<Z>0</Z>
|
|
||||||
</Rect>
|
|
||||||
<Color />
|
|
||||||
<SelColor />
|
|
||||||
<Text>
|
|
||||||
<X>0</X>
|
|
||||||
<Y>0</Y>
|
|
||||||
<Z>0</Z>
|
|
||||||
<H>0</H>
|
|
||||||
<MaxW>0</MaxW>
|
|
||||||
<Color />
|
|
||||||
<SColor />
|
|
||||||
<Align>Left</Align>
|
|
||||||
<ResizeAlign>Top</ResizeAlign>
|
|
||||||
<Style>Normal</Style>
|
|
||||||
<Reflection Enabled="false" />
|
|
||||||
</Text>
|
|
||||||
<STextSpecified>false</STextSpecified>
|
|
||||||
<Reflection Enabled="false" />
|
|
||||||
<SelReflection Enabled="false" />
|
|
||||||
</Button>
|
|
||||||
<Button>
|
|
||||||
<Skin>CoverTile</Skin>
|
|
||||||
<SkinSelected>CoverTile</SkinSelected>
|
|
||||||
<Rect>
|
|
||||||
<X>0</X>
|
|
||||||
<Y>0</Y>
|
|
||||||
<W>0</W>
|
|
||||||
<H>0</H>
|
|
||||||
<Z>0</Z>
|
|
||||||
</Rect>
|
|
||||||
<Color />
|
|
||||||
<SelColor />
|
|
||||||
<Text>
|
|
||||||
<X>0</X>
|
|
||||||
<Y>0</Y>
|
|
||||||
<Z>0</Z>
|
|
||||||
<H>0</H>
|
|
||||||
<MaxW>0</MaxW>
|
|
||||||
<Color />
|
|
||||||
<SColor />
|
|
||||||
<Align>Left</Align>
|
|
||||||
<ResizeAlign>Top</ResizeAlign>
|
|
||||||
<Style>Normal</Style>
|
|
||||||
<Reflection Enabled="false" />
|
|
||||||
</Text>
|
|
||||||
<STextSpecified>false</STextSpecified>
|
|
||||||
<Reflection Enabled="false" />
|
|
||||||
<SelReflection Enabled="false" />
|
|
||||||
</Button>
|
|
||||||
</Buttons>
|
</Buttons>
|
||||||
<SongMenus />
|
<SongMenus />
|
||||||
<Lyrics />
|
<Lyrics />
|
||||||
|
|||||||
@@ -46,7 +46,7 @@
|
|||||||
</Static>
|
</Static>
|
||||||
<Static Name="StaticOptionsBG">
|
<Static Name="StaticOptionsBG">
|
||||||
<Skin>SongMenuBG</Skin>
|
<Skin>SongMenuBG</Skin>
|
||||||
<Color Name="White">
|
<Color Name="White"/>
|
||||||
<Rect>
|
<Rect>
|
||||||
<X>40</X>
|
<X>40</X>
|
||||||
<Y>40</Y>
|
<Y>40</Y>
|
||||||
@@ -1354,40 +1354,47 @@
|
|||||||
<SelReflection Enabled="false" />
|
<SelReflection Enabled="false" />
|
||||||
</ButtonPlaylistSing>
|
</ButtonPlaylistSing>
|
||||||
<SelectSlideGameMode>
|
<SelectSlideGameMode>
|
||||||
|
<Skin>Button</Skin>
|
||||||
|
<SkinArrowLeft>SelectSlideArrowLeft</SkinArrowLeft>
|
||||||
|
<SkinArrowRight>SelectSlideArrowRight</SkinArrowRight>
|
||||||
|
<SkinSelected />
|
||||||
|
<SkinArrowLeftSelected>SelectSlideArrowLeft</SkinArrowLeftSelected>
|
||||||
|
<SkinArrowRightSelected>SelectSlideArrowRight</SkinArrowRightSelected>
|
||||||
|
<SkinHighlighted />
|
||||||
<Rect>
|
<Rect>
|
||||||
<X>0</X>
|
<X>0</X>
|
||||||
<Y>0</Y>
|
<Y>28</Y>
|
||||||
<W>0</W>
|
<W>293</W>
|
||||||
<H>0</H>
|
<H>24</H>
|
||||||
<Z>0</Z>
|
<Z>-1.01</Z>
|
||||||
</Rect>
|
</Rect>
|
||||||
<RectArrowLeft>
|
<RectArrowLeft>
|
||||||
<X>0</X>
|
<X>54</X>
|
||||||
<Y>0</Y>
|
<Y>30</Y>
|
||||||
<W>0</W>
|
<W>20</W>
|
||||||
<H>0</H>
|
<H>20</H>
|
||||||
<Z>0</Z>
|
<Z>-1.02</Z>
|
||||||
</RectArrowLeft>
|
</RectArrowLeft>
|
||||||
<RectArrowRight>
|
<RectArrowRight>
|
||||||
<X>0</X>
|
<X>271</X>
|
||||||
<Y>0</Y>
|
<Y>30</Y>
|
||||||
<W>0</W>
|
<W>20</W>
|
||||||
<H>0</H>
|
<H>20</H>
|
||||||
<Z>0</Z>
|
<Z>-1.02</Z>
|
||||||
</RectArrowRight>
|
</RectArrowRight>
|
||||||
<Color />
|
<Color Name="ButtonColor" />
|
||||||
<SColor />
|
<SColor Name="ButtonSColor" />
|
||||||
<HColor />
|
<HColor Name="SelectSlideHColor" />
|
||||||
<ArrowColor />
|
<ArrowColor Name="ArrowColor" />
|
||||||
<ArrowSColor />
|
<ArrowSColor Name="ArrowSColor" />
|
||||||
<TextColor />
|
<TextColor Name="TextColor" />
|
||||||
<TextSColor />
|
<TextSColor Name="TextSColor" />
|
||||||
<TextH>0</TextH>
|
<TextH>22.00</TextH>
|
||||||
<TextRelativeX>0</TextRelativeX>
|
<TextRelativeX>25.00</TextRelativeX>
|
||||||
<TextRelativeY>0</TextRelativeY>
|
<TextMaxW>230.00</TextMaxW>
|
||||||
<TextMaxW>0</TextMaxW>
|
<TextFont>Outline</TextFont>
|
||||||
<TextStyle>Normal</TextStyle>
|
<TextStyle>Bold</TextStyle>
|
||||||
<NumVisible>0</NumVisible>
|
<NumVisible>1</NumVisible>
|
||||||
</SelectSlideGameMode>
|
</SelectSlideGameMode>
|
||||||
</Playlist>
|
</Playlist>
|
||||||
</Playlists>
|
</Playlists>
|
||||||
|
|||||||
@@ -174,7 +174,6 @@ namespace Vocaluxe.Base.ThemeSystem
|
|||||||
|
|
||||||
public virtual CVideoStream GetVideo(string videoName, bool loop)
|
public virtual CVideoStream GetVideo(string videoName, bool loop)
|
||||||
{
|
{
|
||||||
Debug.Assert(_Parent.Name != "Default" || _RequiredVideos.Contains(videoName));
|
|
||||||
CVideoSkinElement sk;
|
CVideoSkinElement sk;
|
||||||
if (_Videos.TryGetValue(videoName, out sk))
|
if (_Videos.TryGetValue(videoName, out sk))
|
||||||
{
|
{
|
||||||
@@ -190,7 +189,6 @@ namespace Vocaluxe.Base.ThemeSystem
|
|||||||
|
|
||||||
public virtual CTextureRef GetTexture(string name)
|
public virtual CTextureRef GetTexture(string name)
|
||||||
{
|
{
|
||||||
Debug.Assert(_Parent.Name != "Default" || _RequiredTextures.Contains(name));
|
|
||||||
CTextureRef texture;
|
CTextureRef texture;
|
||||||
_Textures.TryGetValue(name, out texture);
|
_Textures.TryGetValue(name, out texture);
|
||||||
return texture;
|
return texture;
|
||||||
|
|||||||
@@ -70,7 +70,8 @@ namespace VocaluxeLib.Menu
|
|||||||
set
|
set
|
||||||
{
|
{
|
||||||
Text.EditMode = value;
|
Text.EditMode = value;
|
||||||
_SelText.EditMode = value;
|
if (_SelText != null)
|
||||||
|
_SelText.EditMode = value;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -123,7 +124,7 @@ namespace VocaluxeLib.Menu
|
|||||||
_Theme = theme;
|
_Theme = theme;
|
||||||
|
|
||||||
Text = new CText(_Theme.Text, _PartyModeID, buttonText);
|
Text = new CText(_Theme.Text, _PartyModeID, buttonText);
|
||||||
_SelText = new CText(_Theme.SText, _PartyModeID, buttonText);
|
_SelText = _Theme.STextSpecified ? new CText(_Theme.SText, _PartyModeID, buttonText) : null;
|
||||||
|
|
||||||
Selected = false;
|
Selected = false;
|
||||||
EditMode = false;
|
EditMode = false;
|
||||||
@@ -147,7 +148,7 @@ namespace VocaluxeLib.Menu
|
|||||||
SelTexture = button.SelTexture;
|
SelTexture = button.SelTexture;
|
||||||
|
|
||||||
Text = new CText(button.Text);
|
Text = new CText(button.Text);
|
||||||
_SelText = new CText(button._SelText);
|
_SelText = _SelText == null ? null : new CText(button._SelText);
|
||||||
Selected = false;
|
Selected = false;
|
||||||
EditMode = false;
|
EditMode = false;
|
||||||
_Enabled = button._Enabled;
|
_Enabled = button._Enabled;
|
||||||
@@ -282,7 +283,7 @@ namespace VocaluxeLib.Menu
|
|||||||
else
|
else
|
||||||
Text.DrawRelative(Rect.X, Rect.Y);
|
Text.DrawRelative(Rect.X, Rect.Y);
|
||||||
}
|
}
|
||||||
else if (_Theme.STextSpecified)
|
else
|
||||||
{
|
{
|
||||||
texture = SelTexture ?? CBase.Themes.GetSkinTexture(_Theme.SkinSelected, _PartyModeID);
|
texture = SelTexture ?? CBase.Themes.GetSkinTexture(_Theme.SkinSelected, _PartyModeID);
|
||||||
|
|
||||||
|
|||||||
@@ -385,7 +385,7 @@ namespace VocaluxeLib.Menu
|
|||||||
|
|
||||||
try
|
try
|
||||||
{
|
{
|
||||||
TextWriter textWriter = new StreamWriter(@Path.Combine(ThemePath, ThemeName + ".xml"));
|
TextWriter textWriter = new StreamWriter(Path.Combine(ThemePath, ThemeName + ".xml"));
|
||||||
|
|
||||||
XmlSerializer serializer = new XmlSerializer(typeof(STheme));
|
XmlSerializer serializer = new XmlSerializer(typeof(STheme));
|
||||||
serializer.Serialize(textWriter, Theme);
|
serializer.Serialize(textWriter, Theme);
|
||||||
|
|||||||
@@ -323,10 +323,18 @@ namespace VocaluxeLib.Menu
|
|||||||
_ThemeLoaded &= xmlReader.TryGetFloatValue(item + "/HA", ref HighlightColor.A);
|
_ThemeLoaded &= xmlReader.TryGetFloatValue(item + "/HA", ref HighlightColor.A);
|
||||||
}
|
}
|
||||||
|
|
||||||
_ThemeLoaded &= xmlReader.TryGetFloatValue(item + "/TextH", ref _Theme.TextH);
|
_ThemeLoaded &= xmlReader.TryGetFloatValue(item + "/ArrowLeftX", ref RectArrowLeft.X);
|
||||||
xmlReader.TryGetFloatValue(item + "/TextRelativeX", ref _Theme.TextRelativeX);
|
_ThemeLoaded &= xmlReader.TryGetFloatValue(item + "/ArrowLeftY", ref RectArrowLeft.Y);
|
||||||
xmlReader.TryGetFloatValue(item + "/TextRelativeY", ref _Theme.TextRelativeY);
|
_ThemeLoaded &= xmlReader.TryGetFloatValue(item + "/ArrowLeftZ", ref RectArrowLeft.Z);
|
||||||
_ThemeLoaded &= xmlReader.TryGetFloatValue(item + "/TextMaxW", ref _Theme.TextMaxW);
|
_ThemeLoaded &= xmlReader.TryGetFloatValue(item + "/ArrowLeftW", ref RectArrowLeft.W);
|
||||||
|
_ThemeLoaded &= xmlReader.TryGetFloatValue(item + "/ArrowLeftH", ref RectArrowLeft.H);
|
||||||
|
|
||||||
|
_ThemeLoaded &= xmlReader.TryGetFloatValue(item + "/ArrowRightX", ref RectArrowRight.X);
|
||||||
|
_ThemeLoaded &= xmlReader.TryGetFloatValue(item + "/ArrowRightY", ref RectArrowRight.Y);
|
||||||
|
_ThemeLoaded &= xmlReader.TryGetFloatValue(item + "/ArrowRightZ", ref RectArrowRight.Z);
|
||||||
|
_ThemeLoaded &= xmlReader.TryGetFloatValue(item + "/ArrowRightW", ref RectArrowRight.W);
|
||||||
|
_ThemeLoaded &= xmlReader.TryGetFloatValue(item + "/ArrowRightH", ref RectArrowRight.H);
|
||||||
|
|
||||||
if (xmlReader.GetValue(item + "/ArrowColor", out _Theme.ArrowColor.Name, String.Empty))
|
if (xmlReader.GetValue(item + "/ArrowColor", out _Theme.ArrowColor.Name, String.Empty))
|
||||||
_ThemeLoaded &= _Theme.ArrowColor.Get(_PartyModeID, out ColorArrow);
|
_ThemeLoaded &= _Theme.ArrowColor.Get(_PartyModeID, out ColorArrow);
|
||||||
else
|
else
|
||||||
@@ -366,6 +374,11 @@ namespace VocaluxeLib.Menu
|
|||||||
_ThemeLoaded &= xmlReader.TryGetFloatValue(item + "/TextSB", ref SelTextColor.B);
|
_ThemeLoaded &= xmlReader.TryGetFloatValue(item + "/TextSB", ref SelTextColor.B);
|
||||||
_ThemeLoaded &= xmlReader.TryGetFloatValue(item + "/TextSA", ref SelTextColor.A);
|
_ThemeLoaded &= xmlReader.TryGetFloatValue(item + "/TextSA", ref SelTextColor.A);
|
||||||
}
|
}
|
||||||
|
_ThemeLoaded &= xmlReader.TryGetFloatValue(item + "/TextH", ref _Theme.TextH);
|
||||||
|
xmlReader.TryGetFloatValue(item + "/TextRelativeX", ref _Theme.TextRelativeX);
|
||||||
|
xmlReader.TryGetFloatValue(item + "/TextRelativeY", ref _Theme.TextRelativeY);
|
||||||
|
_ThemeLoaded &= xmlReader.TryGetFloatValue(item + "/TextMaxW", ref _Theme.TextMaxW);
|
||||||
|
|
||||||
_ThemeLoaded &= xmlReader.GetValue(item + "/TextFont", out _Theme.TextFont, "Normal");
|
_ThemeLoaded &= xmlReader.GetValue(item + "/TextFont", out _Theme.TextFont, "Normal");
|
||||||
_ThemeLoaded &= xmlReader.TryGetEnumValue(item + "/TextStyle", ref _Theme.TextStyle);
|
_ThemeLoaded &= xmlReader.TryGetEnumValue(item + "/TextStyle", ref _Theme.TextStyle);
|
||||||
|
|
||||||
@@ -378,6 +391,8 @@ namespace VocaluxeLib.Menu
|
|||||||
_Theme.ArrowSColor.Color = SelColorArrow;
|
_Theme.ArrowSColor.Color = SelColorArrow;
|
||||||
_Theme.Color.Color = Color;
|
_Theme.Color.Color = Color;
|
||||||
_Theme.HColor.Color = HighlightColor;
|
_Theme.HColor.Color = HighlightColor;
|
||||||
|
_Theme.RectArrowLeft = RectArrowLeft;
|
||||||
|
_Theme.RectArrowRight = RectArrowRight;
|
||||||
_Theme.SColor.Color = SelColor;
|
_Theme.SColor.Color = SelColor;
|
||||||
_Theme.TextColor.Color = TextColor;
|
_Theme.TextColor.Color = TextColor;
|
||||||
_Theme.TextSColor.Color = SelTextColor;
|
_Theme.TextSColor.Color = SelTextColor;
|
||||||
|
|||||||
+54
-10
@@ -102,27 +102,71 @@ namespace VocaluxeLib
|
|||||||
[XmlRoot("Color")]
|
[XmlRoot("Color")]
|
||||||
public struct SThemeColor
|
public struct SThemeColor
|
||||||
{
|
{
|
||||||
public SColorF Color;
|
[XmlAttribute] public string Name;
|
||||||
public string Name;
|
public float? R;
|
||||||
|
public float? G;
|
||||||
|
public float? B;
|
||||||
|
public float? A;
|
||||||
|
|
||||||
//Needed for serialization
|
//Needed for serialization
|
||||||
public bool ColorSpecified
|
|
||||||
{
|
|
||||||
get { return String.IsNullOrEmpty(Name); }
|
|
||||||
}
|
|
||||||
public bool NameSpecified
|
public bool NameSpecified
|
||||||
{
|
{
|
||||||
get { return !String.IsNullOrEmpty(Name); }
|
get { return !String.IsNullOrEmpty(Name); }
|
||||||
}
|
}
|
||||||
|
public bool RSpecified
|
||||||
|
{
|
||||||
|
get { return R.HasValue; }
|
||||||
|
}
|
||||||
|
public bool GSpecified
|
||||||
|
{
|
||||||
|
get { return G.HasValue; }
|
||||||
|
}
|
||||||
|
public bool BSpecified
|
||||||
|
{
|
||||||
|
get { return B.HasValue; }
|
||||||
|
}
|
||||||
|
public bool ASpecified
|
||||||
|
{
|
||||||
|
get { return A.HasValue; }
|
||||||
|
}
|
||||||
|
|
||||||
|
/// <summary>
|
||||||
|
/// Use only for old code! Remove when removing old LoadTheme()
|
||||||
|
/// </summary>
|
||||||
|
[XmlIgnore]
|
||||||
|
public SColorF Color
|
||||||
|
{
|
||||||
|
set
|
||||||
|
{
|
||||||
|
if (NameSpecified)
|
||||||
|
return;
|
||||||
|
R = value.R;
|
||||||
|
G = value.G;
|
||||||
|
B = value.B;
|
||||||
|
A = value.A;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
public bool Get(int partyModeId, out SColorF color)
|
public bool Get(int partyModeId, out SColorF color)
|
||||||
{
|
{
|
||||||
if (String.IsNullOrEmpty(Name))
|
bool ok;
|
||||||
|
if (!String.IsNullOrEmpty(Name))
|
||||||
|
ok = CBase.Themes.GetColor(Name, partyModeId, out color);
|
||||||
|
else
|
||||||
{
|
{
|
||||||
color = Color;
|
Debug.Assert(R.HasValue && G.HasValue && B.HasValue && A.HasValue);
|
||||||
return true;
|
ok = true;
|
||||||
|
color = new SColorF(1, 1, 1, 1);
|
||||||
}
|
}
|
||||||
return CBase.Themes.GetColor(Name, partyModeId, out color);
|
if (R.HasValue)
|
||||||
|
color.R = R.Value;
|
||||||
|
if (G.HasValue)
|
||||||
|
color.G = G.Value;
|
||||||
|
if (B.HasValue)
|
||||||
|
color.B = B.Value;
|
||||||
|
if (A.HasValue)
|
||||||
|
color.A = A.Value;
|
||||||
|
return ok;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in new issue
Block a user