forked from teamnwah/openmw-tes3coop
More work on the MyGUI skins and layouts
git-svn-id: https://openmw.svn.sourceforge.net/svnroot/openmw/trunk@86 ea6a568a-9f4f-0410-981a-c910a81bb256actorid
parent
fdf9da706f
commit
9530ae0526
File diff suppressed because it is too large
Load Diff
@ -0,0 +1,22 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
|
||||
<MyGUI type="Skin">
|
||||
<!-- The 'box' frame that surrounds various HUD items -->
|
||||
<Skin name="HUD_Box" size="40 40" texture="menu_icon_equip.dds">
|
||||
<BasisSkin type="SubSkin" offset="0 0 40 2" align= "ALIGN_TOP ALIGN_HSTRETCH">
|
||||
<State name="normal" offset="2 2 40 2"/>
|
||||
</BasisSkin>
|
||||
<BasisSkin type="SubSkin" offset="0 38 40 2" align= "ALIGN_BOTTOM ALIGN_HSTRETCH">
|
||||
<State name="normal" offset="2 40 40 2"/>
|
||||
</BasisSkin>
|
||||
<BasisSkin type="SubSkin" offset="0 2 2 36" align= "ALIGN_LEFT ALIGN_VSTRETCH">
|
||||
<State name="normal" offset="2 4 2 36"/>
|
||||
</BasisSkin>
|
||||
<BasisSkin type="SubSkin" offset="38 2 2 36" align= "ALIGN_RIGHT ALIGN_VSTRETCH">
|
||||
<State name="normal" offset="40 4 2 36"/>
|
||||
</BasisSkin>
|
||||
|
||||
<!-- The interior of the box -->
|
||||
<Child type="Widget" skin="BlackBG" offset="2 2 36 36" align="ALIGN_STRETCH" name="Client"/>
|
||||
</Skin>
|
||||
</MyGUI>
|
@ -0,0 +1,85 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
|
||||
<MyGUI type="Skin">
|
||||
<!-- Energy bar frame graphics -->
|
||||
<Skin name="HUD_Bar_Top" size="64 2" texture="menu_small_energy_bar_top.dds">
|
||||
<BasisSkin type="MainSkin" offset = "0 0 64 2">
|
||||
<State name="normal" offset = "0 0 64 2"/>
|
||||
</BasisSkin>
|
||||
</Skin>
|
||||
<Skin name="HUD_Bar_Bottom" size="64 2" texture="menu_small_energy_bar_bottom.dds">
|
||||
<BasisSkin type="MainSkin" offset = "0 0 64 2">
|
||||
<State name="normal" offset = "0 0 64 2"/>
|
||||
</BasisSkin>
|
||||
</Skin>
|
||||
<Skin name="HUD_Bar_Side" size="2 8" texture="menu_small_energy_bar_vert.dds">
|
||||
<BasisSkin type="MainSkin" offset = "0 0 2 8">
|
||||
<State name="normal" offset = "0 0 2 8"/>
|
||||
</BasisSkin>
|
||||
</Skin>
|
||||
|
||||
<Skin name="MW_BarFrame" size="64 12">
|
||||
<!-- Edges -->
|
||||
<Child type="Widget" skin="HUD_Bar_Top" offset="0 0 64 2" align="ALIGN_HSTRETCH ALIGN_TOP"/>
|
||||
<Child type="Widget" skin="HUD_Bar_Bottom" offset="0 10 64 2" align="ALIGN_HSTRETCH ALIGN_BOTTOM"/>
|
||||
<Child type="Widget" skin="HUD_Bar_Side" offset="0 2 2 8" align="ALIGN_VSTRETCH ALIGN_LEFT"/>
|
||||
<Child type="Widget" skin="HUD_Bar_Side" offset="62 2 2 8" align="ALIGN_VSTRETCH ALIGN_RIGHT"/>
|
||||
</Skin>
|
||||
|
||||
<!-- Progress bar track, various colors -->
|
||||
<Skin name = "MW_BarTrack_Red" size = "16 8" texture = "menu_bar_red.dds" >
|
||||
<BasisSkin type="MainSkin" offset = "0 0 16 8" align = "ALIGN_STRETCH">
|
||||
<State name="normal" offset = "0 8 16 8"/>
|
||||
</BasisSkin>
|
||||
</Skin>
|
||||
<Skin name = "MW_BarTrack_Green" size = "16 8" texture = "menu_bar_green.dds" >
|
||||
<BasisSkin type="MainSkin" offset = "0 0 16 8" align = "ALIGN_STRETCH">
|
||||
<State name="normal" offset = "0 8 16 8"/>
|
||||
</BasisSkin>
|
||||
</Skin>
|
||||
<Skin name = "MW_BarTrack_Blue" size = "16 8" texture = "menu_bar_blue.dds" >
|
||||
<BasisSkin type="MainSkin" offset = "0 0 16 8" align = "ALIGN_STRETCH">
|
||||
<State name="normal" offset = "0 8 16 8"/>
|
||||
</BasisSkin>
|
||||
</Skin>
|
||||
<Skin name = "MW_BarTrack_Gray" size = "16 8" texture = "menu_bar_gray.dds" >
|
||||
<BasisSkin type="MainSkin" offset = "0 0 16 8" align = "ALIGN_STRETCH">
|
||||
<State name="normal" offset = "0 8 16 8"/>
|
||||
</BasisSkin>
|
||||
</Skin>
|
||||
|
||||
<!-- Main energy bar widget definitions. There's one for each color.-->
|
||||
|
||||
<Skin name="MW_EnergyBar_Red" size="64 12">
|
||||
<Property key="TrackSkin" value = "MW_BarTrack_Red" />
|
||||
<Property key="TrackWidth" value = "1" />
|
||||
|
||||
<Child type="Widget" skin="MW_BarFrame" offset="0 0 64 12" align="ALIGN_STRETCH"/>
|
||||
<Child type="Widget" skin="BlackBG" offset = "2 2 60 8" align = "ALIGN_STRETCH" name="Client"/>
|
||||
</Skin>
|
||||
|
||||
<Skin name="MW_EnergyBar_Green" size="64 12">
|
||||
<Property key="TrackSkin" value = "MW_BarTrack_Green" />
|
||||
<Property key="TrackWidth" value = "1" />
|
||||
|
||||
<Child type="Widget" skin="MW_BarFrame" offset="0 0 64 12" align="ALIGN_STRETCH"/>
|
||||
<Child type="Widget" skin="BlackBG" offset="2 2 60 8" align="ALIGN_STRETCH" name="Client"/>
|
||||
</Skin>
|
||||
|
||||
<Skin name="MW_EnergyBar_Blue" size="64 12">
|
||||
<Property key="TrackSkin" value = "MW_BarTrack_Blue" />
|
||||
<Property key="TrackWidth" value = "1" />
|
||||
|
||||
<Child type="Widget" skin="MW_BarFrame" offset="0 0 64 12" align="ALIGN_STRETCH"/>
|
||||
<Child type="Widget" skin="BlackBG" offset = "2 2 60 8" align = "ALIGN_STRETCH" name="Client"/>
|
||||
</Skin>
|
||||
|
||||
<Skin name="MW_EnergyBar_Gray" size="64 12">
|
||||
<Property key="TrackSkin" value = "MW_BarTrack_Gray" />
|
||||
<Property key="TrackWidth" value = "1" />
|
||||
|
||||
<Child type="Widget" skin="MW_BarFrame" offset="0 0 64 12" align="ALIGN_STRETCH"/>
|
||||
<Child type="Widget" skin="BlackBG" offset = "2 2 60 8" align = "ALIGN_STRETCH" name="Client"/>
|
||||
</Skin>
|
||||
|
||||
</MyGUI>
|
@ -0,0 +1,47 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
|
||||
<MyGUI type="Layout">
|
||||
<Widget type="Widget" layer="HUD" position="0 0 300 200" name="_Main">
|
||||
<!-- Energy bars -->
|
||||
<Widget type="Progress" skin="MW_EnergyBar_Red" position="13 146 65 12"
|
||||
align="Left Bottom" name="Health"/>
|
||||
<Widget type="Progress" skin="MW_EnergyBar_Blue" position="13 161 65 12"
|
||||
align="Left Bottom" name="Magicka"/>
|
||||
<Widget type="Progress" skin="MW_EnergyBar_Green" position="13 176 65 12"
|
||||
align="Left Bottom" name="Stamina"/>
|
||||
|
||||
<!-- Equipped weapon box -->
|
||||
<Widget type="Widget" skin="HUD_Box" position="82 146 36 36"
|
||||
align="Left Bottom">
|
||||
<Widget type="StaticImage" skin="StaticImage" position="2 2 32 32" align="Left Top"
|
||||
name="WeapImage"/>
|
||||
</Widget>
|
||||
<Widget type="Progress" skin="MW_EnergyBar_Red" position="82 182 36 6"
|
||||
align="Left Bottom" name="WeapStatus"/>
|
||||
|
||||
<!-- Selected spell box -->
|
||||
<Widget type="Widget" skin="HUD_Box" position="122 146 36 36"
|
||||
align="Left Bottom">
|
||||
<Widget type="StaticImage" skin="StaticImage" position="2 2 32 32" align="Left Top"
|
||||
name="SpellImage"/>
|
||||
</Widget>
|
||||
<Widget type="Progress" skin="MW_EnergyBar_Red" position="122 182 36 6"
|
||||
align="Left Bottom" name="SpellStatus"/>
|
||||
|
||||
<!-- Spell effects box -->
|
||||
<Widget type="Widget" skin="HUD_Box" position="199 168 20 20"
|
||||
align="Right Bottom" name="EffectBox">
|
||||
<Widget type="StaticImage" skin="StaticImage" position="2 2 16 16" align="Left Bottom"
|
||||
name="Effect1"/>
|
||||
</Widget>
|
||||
|
||||
<!-- Map box -->
|
||||
<Widget type="Widget" skin="HUD_Box" position="223 123 65 65"
|
||||
align="Right Bottom">
|
||||
<Widget type="StaticImage" skin="StaticImage" position="2 2 61 61" align="Left Bottom"
|
||||
name="MiniMap"/>
|
||||
<Widget type="StaticImage" skin="StaticImage" position="17 18 32 32" align="Left Bottom"
|
||||
name="Compass"/>
|
||||
</Widget>
|
||||
</Widget>
|
||||
</MyGUI>
|
@ -0,0 +1,12 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
|
||||
<MyGUI type="Layer">
|
||||
<Layer name="Scene" overlapped="false" peek="true"/>
|
||||
<Layer name="HUD" overlapped="false" peek="true"/>
|
||||
<Layer name="Windows" overlapped="true" peek="true"/>
|
||||
<Layer name="Journal" overlapped="false" peek="false"/>
|
||||
<Layer name="MainMenu" overlapped="false" peek="false"/>
|
||||
<Layer name="Console" overlapped="false" peek="false"/>
|
||||
<Layer name="Pointer" overlapped="false" peek="false"/>
|
||||
<Layer name="Statistic" overlapped="false" peek="false"/>
|
||||
</MyGUI>
|
@ -0,0 +1,19 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
|
||||
<MyGUI type="Skin">
|
||||
<Skin name = "DaedricText" size = "16 16">
|
||||
<Property key="FontName" value = "daedric" />
|
||||
<Property key="FontHeight" value = "18" />
|
||||
<Property key="AlignText" value = "ALIGN_DEFAULT" />
|
||||
<Property key="Colour" value = "1 1 1" />
|
||||
<BasisSkin type="SimpleText" offset = "0 0 16 16" align = "ALIGN_STRETCH"/>
|
||||
</Skin>
|
||||
|
||||
<Skin name = "DaedricText_orig" size = "16 16">
|
||||
<Property key="FontName" value = "daedric_orig" />
|
||||
<Property key="FontHeight" value = "18" />
|
||||
<Property key="AlignText" value = "ALIGN_DEFAULT" />
|
||||
<Property key="Colour" value = "1 1 1" />
|
||||
<BasisSkin type="SimpleText" offset = "0 0 16 16" align = "ALIGN_STRETCH"/>
|
||||
</Skin>
|
||||
</MyGUI>
|
Loading…
Reference in New Issue