CEGUI splashscreens
parent
d0ea7b6749
commit
d3f14a1efe
|
@ -0,0 +1,11 @@
|
|||
<?xml version="1.0" ?>
|
||||
<Animations>
|
||||
<AnimationDefinition name="Colobot/Splash" duration="3.25" replayMode="once">
|
||||
<Affector property="Alpha" interpolator="float">
|
||||
<KeyFrame position="0.0" value="0.0" />
|
||||
<KeyFrame position="0.5" value="1.0" progression="quadratic accelerating" />
|
||||
<KeyFrame position="2.5" value="1.0" />
|
||||
<KeyFrame position="3.0" value="0.0" progression="quadratic decelerating" />
|
||||
</Affector>
|
||||
</AnimationDefinition>
|
||||
</Animations>
|
|
@ -1,5 +1,5 @@
|
|||
<?xml version="1.0" ?>
|
||||
<Imageset version="2" name="ColobotButton1" imagefile="../../textures/button1.png" autoScaled="vertical" nativeHorzRes="2560" nativeVertRes="1920">
|
||||
<Imageset version="2" name="ColobotButton" resourceGroup="textures" imagefile="button1.png" autoScaled="vertical" nativeHorzRes="2560" nativeVertRes="1920">
|
||||
<Image name="ButtonBgChecked" width="128" height="128" xPos="0" yPos="0" />
|
||||
<Image name="ButtonBgHover" width="128" height="128" xPos="128" yPos="0" />
|
||||
<Image name="ButtonBgNormal" width="128" height="128" xPos="256" yPos="0" />
|
||||
|
@ -13,8 +13,8 @@
|
|||
<Image name="ButtonBgNormalB" width="104" height="12" xPos="268" yPos="116" />
|
||||
<Image name="ButtonBgNormalBR" width="12" height="12" xPos="372" yPos="116" />
|
||||
<Image name="ButtonBgPushed" width="128" height="128" xPos="384" yPos="0" />
|
||||
<Image name="SomeBar1" width="384" height="64" xPos="512" yPos="0" />
|
||||
<Image name="SomeBar2" width="384" height="64" xPos="512" yPos="64" />
|
||||
<Image name="SomeUnknownBar1" width="384" height="64" xPos="512" yPos="0" />
|
||||
<Image name="SomeUnknownBar2" width="384" height="64" xPos="512" yPos="64" />
|
||||
<Image name="ButtonBgDisabled" width="128" height="128" xPos="896" yPos="0" />
|
||||
|
||||
<Image name="Stop" width="128" height="128" xPos="0" yPos="128" />
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
<?xml version="1.0" ?>
|
||||
<Imageset version="2" name="ColobotButton2" imagefile="../../textures/button2.png" autoScaled="vertical" nativeHorzRes="2560" nativeVertRes="1920">
|
||||
<Imageset version="2" name="ColobotButton" resourceGroup="textures" imagefile="button2.png" autoScaled="vertical" nativeHorzRes="2560" nativeVertRes="1920">
|
||||
<Image name="ResearchTracked" width="128" height="128" xPos="0" yPos="0" />
|
||||
<Image name="ResearchWinged" width="128" height="128" xPos="128" yPos="0" />
|
||||
<Image name="ResearchThumper" width="128" height="128" xPos="256" yPos="0" />
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
<?xml version="1.0" ?>
|
||||
<Imageset imagefile="../../textures/mouse.png" name="ColobotMouse" version="2">
|
||||
<Imageset version="2" name="ColobotMouse" resourceGroup="textures" imagefile="mouse.png">
|
||||
<Image name="NormalAlpha" width="64" height="64" xPos="0" yPos="0" />
|
||||
<Image name="Normal" width="64" height="64" xPos="64" yPos="0" />
|
||||
<Image name="WaitAlpha" width="64" height="64" xPos="128" yPos="0" />
|
||||
|
|
|
@ -1,18 +1,20 @@
|
|||
<?xml version="1.0" ?>
|
||||
<GUILayout version="4">
|
||||
<Property name="Area" value="{{0,0},{0,0},{1,0},{1,0}}" />
|
||||
<Window type="DefaultWindow" name="root" />
|
||||
|
||||
<!--<Property name="Area" value="{{0,0},{0,0},{1,0},{1,0}}" />
|
||||
<Property name="MaxSize" value="{{1,0},{1,0}}" />
|
||||
|
||||
<Window type="DefaultWindow" name="root">
|
||||
<Window type="Colobot/ImageButton" name="test_button">
|
||||
<Property name="Area" value="{{0,0},{0,0},{0,64},{0,64}}" />
|
||||
<Property name="Disabled" value="false" />
|
||||
<Property name="Image" value="ColobotButton1/Edit" />
|
||||
<Property name="Image" value="ColobotButton/Edit" />
|
||||
</Window>
|
||||
<Window type="Colobot/TextButton" name="test_button2">
|
||||
<Property name="Area" value="{{0,0},{0,128},{0,192},{0,192}}" />
|
||||
<Property name="Disabled" value="false" />
|
||||
<Property name="Text" value="test" />
|
||||
</Window>
|
||||
</Window>
|
||||
</Window>-->
|
||||
</GUILayout>
|
||||
|
|
|
@ -19,7 +19,7 @@
|
|||
<UnifiedDim scale="1" offset="0" type="BottomEdge" />
|
||||
</Dim>
|
||||
</Area>
|
||||
<Image name="ColobotButton1/ButtonBgNormal" />
|
||||
<Image name="ColobotButton/ButtonBgNormal" />
|
||||
<VertFormat type="Stretched" />
|
||||
<HorzFormat type="Stretched" />
|
||||
</ImageryComponent>
|
||||
|
@ -41,7 +41,7 @@
|
|||
<UnifiedDim scale="1" offset="0" type="BottomEdge" />
|
||||
</Dim>
|
||||
</Area>
|
||||
<Image name="ColobotButton1/ButtonBgHover" />
|
||||
<Image name="ColobotButton/ButtonBgHover" />
|
||||
<VertFormat type="Stretched" />
|
||||
<HorzFormat type="Stretched" />
|
||||
</ImageryComponent>
|
||||
|
@ -63,7 +63,7 @@
|
|||
<UnifiedDim scale="1" offset="0" type="BottomEdge" />
|
||||
</Dim>
|
||||
</Area>
|
||||
<Image name="ColobotButton1/ButtonBgPushed" />
|
||||
<Image name="ColobotButton/ButtonBgPushed" />
|
||||
<VertFormat type="Stretched" />
|
||||
<HorzFormat type="Stretched" />
|
||||
</ImageryComponent>
|
||||
|
@ -85,7 +85,7 @@
|
|||
<UnifiedDim scale="1" offset="0" type="BottomEdge" />
|
||||
</Dim>
|
||||
</Area>
|
||||
<Image name="ColobotButton1/ButtonBgDisabled" />
|
||||
<Image name="ColobotButton/ButtonBgDisabled" />
|
||||
<VertFormat type="Stretched" />
|
||||
<HorzFormat type="Stretched" />
|
||||
</ImageryComponent>
|
||||
|
@ -135,7 +135,7 @@
|
|||
</ImageryComponent>
|
||||
</ImagerySection>
|
||||
|
||||
<!-- TODO: background_dead => ColobotButton1/Disabled -->
|
||||
<!-- TODO: background_dead => ColobotButton/Disabled -->
|
||||
|
||||
<StateImagery name="Normal">
|
||||
<Layer>
|
||||
|
@ -178,7 +178,7 @@
|
|||
<Dim type="RightEdge"><UnifiedDim scale="0.05" offset="0" type="RightEdge" /></Dim>
|
||||
<Dim type="BottomEdge"><UnifiedDim scale="0.05" offset="0" type="BottomEdge" /></Dim>
|
||||
</Area>
|
||||
<Image name="ColobotButton1/ButtonBgNormalTL" />
|
||||
<Image name="ColobotButton/ButtonBgNormalTL" />
|
||||
<VertFormat type="Stretched" />
|
||||
<HorzFormat type="Stretched" />
|
||||
</FrameComponent>
|
||||
|
@ -191,7 +191,7 @@
|
|||
<Dim type="RightEdge"><UnifiedDim scale="0.95" offset="0" type="RightEdge" /></Dim>
|
||||
<Dim type="BottomEdge"><UnifiedDim scale="0.05" offset="0" type="BottomEdge" /></Dim>
|
||||
</Area>
|
||||
<Image name="ColobotButton1/ButtonBgNormalT" />
|
||||
<Image name="ColobotButton/ButtonBgNormalT" />
|
||||
<VertFormat type="Stretched" />
|
||||
<HorzFormat type="Stretched" />
|
||||
</FrameComponent>
|
||||
|
@ -204,7 +204,7 @@
|
|||
<Dim type="RightEdge"><UnifiedDim scale="1" offset="0" type="RightEdge" /></Dim>
|
||||
<Dim type="BottomEdge"><UnifiedDim scale="0.05" offset="0" type="BottomEdge" /></Dim>
|
||||
</Area>
|
||||
<Image name="ColobotButton1/ButtonBgNormalTR" />
|
||||
<Image name="ColobotButton/ButtonBgNormalTR" />
|
||||
<VertFormat type="Stretched" />
|
||||
<HorzFormat type="Stretched" />
|
||||
</FrameComponent>
|
||||
|
@ -217,7 +217,7 @@
|
|||
<Dim type="RightEdge"><UnifiedDim scale="0.05" offset="0" type="RightEdge" /></Dim>
|
||||
<Dim type="BottomEdge"><UnifiedDim scale="0.95" offset="0" type="BottomEdge" /></Dim>
|
||||
</Area>
|
||||
<Image name="ColobotButton1/ButtonBgNormalL" />
|
||||
<Image name="ColobotButton/ButtonBgNormalL" />
|
||||
<VertFormat type="Stretched" />
|
||||
<HorzFormat type="Stretched" />
|
||||
</FrameComponent>
|
||||
|
@ -230,7 +230,7 @@
|
|||
<Dim type="RightEdge"><UnifiedDim scale="1" offset="0" type="RightEdge" /></Dim>
|
||||
<Dim type="BottomEdge"><UnifiedDim scale="0.95" offset="0" type="BottomEdge" /></Dim>
|
||||
</Area>
|
||||
<Image name="ColobotButton1/ButtonBgNormalR" />
|
||||
<Image name="ColobotButton/ButtonBgNormalR" />
|
||||
<VertFormat type="Stretched" />
|
||||
<HorzFormat type="Stretched" />
|
||||
</FrameComponent>
|
||||
|
@ -243,7 +243,7 @@
|
|||
<Dim type="RightEdge"><UnifiedDim scale="0.05" offset="0" type="RightEdge" /></Dim>
|
||||
<Dim type="BottomEdge"><UnifiedDim scale="1" offset="0" type="BottomEdge" /></Dim>
|
||||
</Area>
|
||||
<Image name="ColobotButton1/ButtonBgNormalBL" />
|
||||
<Image name="ColobotButton/ButtonBgNormalBL" />
|
||||
<VertFormat type="Stretched" />
|
||||
<HorzFormat type="Stretched" />
|
||||
</FrameComponent>
|
||||
|
@ -256,7 +256,7 @@
|
|||
<Dim type="RightEdge"><UnifiedDim scale="0.95" offset="0" type="RightEdge" /></Dim>
|
||||
<Dim type="BottomEdge"><UnifiedDim scale="1" offset="0" type="BottomEdge" /></Dim>
|
||||
</Area>
|
||||
<Image name="ColobotButton1/ButtonBgNormalB" />
|
||||
<Image name="ColobotButton/ButtonBgNormalB" />
|
||||
<VertFormat type="Stretched" />
|
||||
<HorzFormat type="Stretched" />
|
||||
</FrameComponent>
|
||||
|
@ -269,7 +269,7 @@
|
|||
<Dim type="RightEdge"><UnifiedDim scale="1" offset="0" type="RightEdge" /></Dim>
|
||||
<Dim type="BottomEdge"><UnifiedDim scale="1" offset="0" type="BottomEdge" /></Dim>
|
||||
</Area>
|
||||
<Image name="ColobotButton1/ButtonBgNormalBR" />
|
||||
<Image name="ColobotButton/ButtonBgNormalBR" />
|
||||
<VertFormat type="Stretched" />
|
||||
<HorzFormat type="Stretched" />
|
||||
</FrameComponent>
|
||||
|
@ -282,7 +282,7 @@
|
|||
<Dim type="RightEdge"><UnifiedDim scale="0.95" offset="0" type="RightEdge" /></Dim>
|
||||
<Dim type="BottomEdge"><UnifiedDim scale="0.95" offset="0" type="BottomEdge" /></Dim>
|
||||
</Area>
|
||||
<Image name="ColobotButton1/ButtonBgNormalC" />
|
||||
<Image name="ColobotButton/ButtonBgNormalC" />
|
||||
<VertFormat type="Stretched" />
|
||||
<HorzFormat type="Stretched" />
|
||||
</FrameComponent>
|
||||
|
@ -304,7 +304,7 @@
|
|||
<UnifiedDim scale="1" offset="0" type="BottomEdge" />
|
||||
</Dim>
|
||||
</Area>
|
||||
<Image name="ColobotButton1/ButtonBgHover" />
|
||||
<Image name="ColobotButton/ButtonBgHover" />
|
||||
<VertFormat type="Stretched" />
|
||||
<HorzFormat type="Stretched" />
|
||||
</ImageryComponent>
|
||||
|
@ -326,7 +326,7 @@
|
|||
<UnifiedDim scale="1" offset="0" type="BottomEdge" />
|
||||
</Dim>
|
||||
</Area>
|
||||
<Image name="ColobotButton1/ButtonBgPushed" />
|
||||
<Image name="ColobotButton/ButtonBgPushed" />
|
||||
<VertFormat type="Stretched" />
|
||||
<HorzFormat type="Stretched" />
|
||||
</ImageryComponent>
|
||||
|
@ -348,7 +348,7 @@
|
|||
<UnifiedDim scale="1" offset="0" type="BottomEdge" />
|
||||
</Dim>
|
||||
</Area>
|
||||
<Image name="ColobotButton1/ButtonBgDisabled" />
|
||||
<Image name="ColobotButton/ButtonBgDisabled" />
|
||||
<VertFormat type="Stretched" />
|
||||
<HorzFormat type="Stretched" />
|
||||
</ImageryComponent>
|
||||
|
@ -395,7 +395,7 @@
|
|||
</OperatorDim>
|
||||
</Dim>
|
||||
</Area>
|
||||
<Image name="ColobotButton2/ButtonBar1" />
|
||||
<Image name="ColobotButton/ButtonBar1" />
|
||||
<VertFormat type="Stretched" />
|
||||
<HorzFormat type="Stretched" />
|
||||
</ImageryComponent>
|
||||
|
@ -417,7 +417,7 @@
|
|||
<UnifiedDim scale="0.979166667" offset="0" type="BottomEdge" />
|
||||
</Dim>
|
||||
</Area>
|
||||
<Image name="ColobotButton2/ButtonBar2" />
|
||||
<Image name="ColobotButton/ButtonBar2" />
|
||||
<VertFormat type="Stretched" />
|
||||
<HorzFormat type="Stretched" />
|
||||
</ImageryComponent>
|
||||
|
@ -467,4 +467,33 @@
|
|||
</Layer>
|
||||
</StateImagery>
|
||||
</WidgetLook>
|
||||
|
||||
<WidgetLook name="Colobot/StaticImage">
|
||||
<PropertyDefinition name="Image" initialValue="" redrawOnWrite="true" />
|
||||
|
||||
<ImagerySection name="image">
|
||||
<ImageryComponent>
|
||||
<Area>
|
||||
<Dim type="LeftEdge"><AbsoluteDim value="0" /></Dim>
|
||||
<Dim type="TopEdge"><AbsoluteDim value="0" /></Dim>
|
||||
<Dim type="RightEdge"><UnifiedDim scale="1" offset="0" type="RightEdge" /></Dim>
|
||||
<Dim type="BottomEdge"><UnifiedDim scale="1" offset="0" type="BottomEdge" /></Dim>
|
||||
</Area>
|
||||
<ImageProperty name="Image" />
|
||||
<VertFormat type="Stretched" />
|
||||
<HorzFormat type="Stretched" />
|
||||
</ImageryComponent>
|
||||
</ImagerySection>
|
||||
|
||||
<StateImagery name="Enabled">
|
||||
<Layer>
|
||||
<Section section="image" />
|
||||
</Layer>
|
||||
</StateImagery>
|
||||
<StateImagery name="Disabled">
|
||||
<Layer>
|
||||
<Section section="image" />
|
||||
</Layer>
|
||||
</StateImagery>
|
||||
</WidgetLook>
|
||||
</Falagard>
|
||||
|
|
|
@ -3,10 +3,16 @@
|
|||
<Imageset filename="mouse.imageset" />
|
||||
<Imageset filename="button1.imageset" />
|
||||
<Imageset filename="button2.imageset" />
|
||||
|
||||
<ImagesetFromImage resourceGroup="textures" name="ColobotSplash/Splash1PPC" filename="ppc.png" />
|
||||
<ImagesetFromImage resourceGroup="textures" name="ColobotSplash/Splash2COLOBOT" filename="colobot.png" />
|
||||
<ImagesetFromImage resourceGroup="textures" name="ColobotSplash/Splash3EPSITEC" filename="epsitec.png" />
|
||||
|
||||
<Font filename="dvu_sans-12.font" />
|
||||
<LookNFeel filename="colobot.looknfeel" />
|
||||
<WindowRendererSet filename="CEGUICoreWindowRendererSet" />
|
||||
|
||||
<FalagardMapping windowType="Colobot/ImageButton" targetType="CEGUI/PushButton" renderer="Core/Button" lookNFeel="Colobot/ImageButton" />
|
||||
<FalagardMapping windowType="Colobot/TextButton" targetType="CEGUI/PushButton" renderer="Core/Button" lookNFeel="Colobot/TextButton" />
|
||||
<FalagardMapping windowType="Colobot/StaticImage" targetType="DefaultWindow" renderer="Core/Default" lookNFeel="Colobot/StaticImage" />
|
||||
</GUIScheme>
|
||||
|
|
Loading…
Reference in New Issue