mirror of
https://github.com/TES3MP/openmw-tes3mp.git
synced 2025-01-19 23:23:52 +00:00
Merge pull request #2350 from akortunov/guifixes
Make progress bars close to vanilla
This commit is contained in:
commit
cf85f00045
2 changed files with 40 additions and 59 deletions
|
@ -19,43 +19,43 @@
|
|||
</Resource>
|
||||
|
||||
<!-- Progress bar track, various colors -->
|
||||
<Resource type="AutoSizedResourceSkin" name="MW_BarTrack_Red" texture="textures\menu_bar_gray.dds" >
|
||||
<Resource type="ResourceSkin" name="MW_BarTrack_Red" size="16 8" texture="textures\menu_bar_gray.dds" >
|
||||
<Property key="Colour" value="#{fontcolour=health}"/>
|
||||
<BasisSkin type="MainSkin" align="Stretch">
|
||||
<State name="normal"/>
|
||||
<BasisSkin type="MainSkin" offset="0 0 16 8" align="Stretch">
|
||||
<State name="normal" offset="0 0 16 8"/>
|
||||
</BasisSkin>
|
||||
</Resource>
|
||||
<Resource type="AutoSizedResourceSkin" name="MW_BarTrack_Green" texture="textures\menu_bar_gray.dds" >
|
||||
<Resource type="ResourceSkin" name="MW_BarTrack_Green" size="16 8" texture="textures\menu_bar_gray.dds" >
|
||||
<Property key="Colour" value="#{fontcolour=fatigue}"/>
|
||||
<BasisSkin type="MainSkin" align="Stretch">
|
||||
<State name="normal"/>
|
||||
<BasisSkin type="MainSkin" offset="0 0 16 8" align="Stretch">
|
||||
<State name="normal" offset="0 0 16 8"/>
|
||||
</BasisSkin>
|
||||
</Resource>
|
||||
<Resource type="AutoSizedResourceSkin" name="MW_BarTrack_Blue" texture="textures\menu_bar_gray.dds" >
|
||||
<Resource type="ResourceSkin" name="MW_BarTrack_Blue" size="16 8" texture="textures\menu_bar_gray.dds" >
|
||||
<Property key="Colour" value="#{fontcolour=magic}"/>
|
||||
<BasisSkin type="MainSkin" align="Stretch">
|
||||
<State name="normal"/>
|
||||
<BasisSkin type="MainSkin" offset="0 0 16 8" align="Stretch">
|
||||
<State name="normal" offset="0 0 16 8"/>
|
||||
</BasisSkin>
|
||||
</Resource>
|
||||
<Resource type="AutoSizedResourceSkin" name="MW_BarTrack_Yellow" texture="textures\menu_bar_gray.dds" >
|
||||
<Resource type="ResourceSkin" name="MW_BarTrack_Yellow" size="16 8" texture="textures\menu_bar_gray.dds" >
|
||||
<Property key="Colour" value="1 1 0"/>
|
||||
<BasisSkin type="MainSkin" align="Stretch">
|
||||
<State name="normal"/>
|
||||
<BasisSkin type="MainSkin" offset="0 0 16 8" align="Stretch">
|
||||
<State name="normal" offset="0 0 16 8"/>
|
||||
</BasisSkin>
|
||||
</Resource>
|
||||
|
||||
|
||||
<Resource type="AutoSizedResourceSkin" name="MW_BarTrack_Magic" texture="textures\menu_bar_gray.dds" >
|
||||
<Resource type="ResourceSkin" name="MW_BarTrack_Magic" size="16 2" texture="textures\menu_bar_gray.dds" >
|
||||
<Property key="Colour" value="#{fontcolour=magic_fill}"/>
|
||||
<BasisSkin type="MainSkin" align="Stretch">
|
||||
<State name="normal"/>
|
||||
<BasisSkin type="MainSkin" offset="0 0 16 2" align="Stretch">
|
||||
<State name="normal" offset="0 0 16 2"/>
|
||||
</BasisSkin>
|
||||
</Resource>
|
||||
|
||||
<Resource type="AutoSizedResourceSkin" name="MW_BarTrack_Weapon" texture="textures\menu_bar_gray.dds" >
|
||||
<Resource type="ResourceSkin" name="MW_BarTrack_Weapon" size="16 2" texture="textures\menu_bar_gray.dds" >
|
||||
<Property key="Colour" value="#{fontcolour=weapon_fill}"/>
|
||||
<BasisSkin type="MainSkin" align="Stretch">
|
||||
<State name="normal"/>
|
||||
<BasisSkin type="MainSkin" offset="0 0 16 2" align="Stretch">
|
||||
<State name="normal" offset="0 0 16 2"/>
|
||||
</BasisSkin>
|
||||
</Resource>
|
||||
|
||||
|
|
|
@ -2,59 +2,40 @@
|
|||
|
||||
<MyGUI type="Resource" version="1.1">
|
||||
<!-- Progress bar track, various colors -->
|
||||
<Resource type="AutoSizedResourceSkin" name="MW_Track_Red" texture="textures\menu_bar_gray.dds" >
|
||||
<Resource type="ResourceSkin" name="MW_Track_Red" size="2 14" texture="textures\menu_bar_gray.dds" >
|
||||
<Property key="Colour" value="#{fontcolour=health}"/>
|
||||
<BasisSkin type="MainSkin" align="Stretch">
|
||||
<State name="normal"/>
|
||||
<BasisSkin type="MainSkin" offset="0 0 16 16" align="Stretch">
|
||||
<State name="normal" offset="0 0 16 16"/>
|
||||
</BasisSkin>
|
||||
</Resource>
|
||||
<Resource type="AutoSizedResourceSkin" name="MW_Track_Blue" texture="textures\menu_bar_gray.dds" >
|
||||
<Resource type="ResourceSkin" name="MW_Track_Blue" size="2 14" texture="textures\menu_bar_gray.dds" >
|
||||
<Property key="Colour" value="#{fontcolour=magic}"/>
|
||||
<BasisSkin type="MainSkin" align="Stretch">
|
||||
<State name="normal"/>
|
||||
<BasisSkin type="MainSkin" offset="0 0 16 16">
|
||||
<State name="normal" offset="0 0 16 16"/>
|
||||
</BasisSkin>
|
||||
</Resource>
|
||||
<Resource type="AutoSizedResourceSkin" name="MW_Track_Green" texture="textures\menu_bar_gray.dds" >
|
||||
<Resource type="ResourceSkin" name="MW_Track_Green" size="2 14" texture="textures\menu_bar_gray.dds" >
|
||||
<Property key="Colour" value="#{fontcolour=fatigue}"/>
|
||||
<BasisSkin type="MainSkin" align="Stretch">
|
||||
<State name="normal"/>
|
||||
<BasisSkin type="MainSkin" offset="0 0 16 16" align="Stretch">
|
||||
<State name="normal" offset="0 0 16 16"/>
|
||||
</BasisSkin>
|
||||
</Resource>
|
||||
<!-- Lighter variants (only uses top half of the gradient) -->
|
||||
<Resource type="AutoSizedResourceSkin" name="MW_BigTrack_Progress_Red_Small" texture="textures\menu_bar_gray.dds" >
|
||||
<Resource type="ResourceSkin" name="MW_Progress_Drowning_Full_Small" size="16 2" texture="textures\menu_bar_gray.dds" >
|
||||
<Property key="Colour" value="0.235 0.745 0.745"/>
|
||||
<BasisSkin type="MainSkin" offset="0 0 16 2" align="Stretch">
|
||||
<State name="normal" offset="0 0 16 2"/>
|
||||
</BasisSkin>
|
||||
</Resource>
|
||||
<Resource type="ResourceSkin" name="MW_Progress_Drowning_Small" size="16 2" texture="textures\menu_bar_gray.dds" >
|
||||
<Property key="Colour" value="1 0 0"/>
|
||||
<BasisSkin type="MainSkin" align="Stretch">
|
||||
<State name="normal"/>
|
||||
<BasisSkin type="MainSkin" offset="0 0 16 2" align="Stretch">
|
||||
<State name="normal" offset="0 0 16 2"/>
|
||||
</BasisSkin>
|
||||
</Resource>
|
||||
<Resource type="AutoSizedResourceSkin" name="MW_BigTrack_Progress_Blue_Small" size="16 8" texture="textures\menu_bar_gray.dds" >
|
||||
<Property key="Colour" value="0.3 0.3 1"/>
|
||||
<BasisSkin type="MainSkin" align="Stretch">
|
||||
<State name="normal"/>
|
||||
</BasisSkin>
|
||||
</Resource>
|
||||
<Resource type="AutoSizedResourceSkin" name="MW_BigTrack_Progress_Green_Small" texture="textures\menu_bar_gray.dds" >
|
||||
<Property key="Colour" value="0.298 0.784 0.780"/>
|
||||
<BasisSkin type="MainSkin" align="Stretch">
|
||||
<State name="normal"/>
|
||||
</BasisSkin>
|
||||
</Resource>
|
||||
<Resource type="ResourceSkin" name="MW_Progress_Drowning_Full_Small" size="16 8" texture="white" >
|
||||
<Property key="Colour" value="0.035 0.545 0.545"/>
|
||||
<BasisSkin type="MainSkin" offset="0 0 16 8" align="Stretch">
|
||||
<State name="normal" offset="0 0 16 8"/>
|
||||
</BasisSkin>
|
||||
</Resource>
|
||||
<Resource type="ResourceSkin" name="MW_Progress_Drowning_Small" size="16 8" texture="white" >
|
||||
<Property key="Colour" value="0.785 0 0"/>
|
||||
<BasisSkin type="MainSkin" offset="0 0 16 8" align="Stretch">
|
||||
<State name="normal" offset="0 0 16 8"/>
|
||||
</BasisSkin>
|
||||
</Resource>
|
||||
<Resource type="ResourceSkin" name="MW_Progress_Loading_Small" size="16 8" texture="white" >
|
||||
<Property key="Colour" value="0 0.615 0.620"/>
|
||||
<BasisSkin type="MainSkin" offset="0 0 16 8" align="Stretch">
|
||||
<State name="normal" offset="0 0 16 8"/>
|
||||
<Resource type="ResourceSkin" name="MW_Progress_Loading_Small" size="16 2" texture="textures\menu_bar_gray.dds" >
|
||||
<Property key="Colour" value="0 0.815 0.820"/>
|
||||
<BasisSkin type="MainSkin" offset="0 0 16 2" align="Stretch">
|
||||
<State name="normal" offset="0 0 16 2"/>
|
||||
</BasisSkin>
|
||||
</Resource>
|
||||
<Resource type="ResourceSkin" name="ProgressText" size="16 16">
|
||||
|
|
Loading…
Reference in a new issue