ElvUI/Modules/Skins/Load_Skins.xml

72 lines
2.9 KiB
XML

<Ui xmlns='http://www.blizzard.com/wow/ui/' xmlns:xsi='http://www.w3.org/2001/XMLSchema-instance' xsi:schemaLocation="http://www.blizzard.com/wow/ui/
..\FrameXML\UI.xsd">
<Script file='Skins.lua'/>
<Include file='Addons\Load_Addons.xml'/>
<Include file='Blizzard\Load_Blizzard.xml'/>
<Slider name='HybridScrollBarTemplateFixed' parentKey='scrollBar' virtual='true'>
<Size x='20' y='0'/>
<Anchors>
<Anchor point='TOPLEFT' relativePoint='TOPRIGHT' x='0' y='-18'/>
<Anchor point='BOTTOMLEFT' relativePoint='BOTTOMRIGHT' x='0' y='16'/>
</Anchors>
<Layers>
<Layer level='BACKGROUND'>
<Texture name='$parentBG' setAllPoints='true' hidden='true' parentKey='trackBG'>
<Color r='0' g='0' b='0' a='.85'/>
</Texture>
</Layer>
<Layer level='ARTWORK'>
<Texture name='$parentTop' parentKey='ScrollBarTop' file='Interface\PaperDollInfoFrame\UI-Character-ScrollBar'>
<Size x='27' y='48'/>
<Anchors>
<Anchor point='TOPLEFT' x='-4' y='17'/>
</Anchors>
<TexCoords left='0' right='0.484375' top='0' bottom='.20'/>
</Texture>
<Texture name='$parentBottom' parentKey='ScrollBarBottom' file='Interface\PaperDollInfoFrame\UI-Character-ScrollBar'>
<Size x='27' y='64'/>
<Anchors>
<Anchor point='BOTTOMLEFT' x='-4' y='-15'/>
</Anchors>
<TexCoords left='0.515625' right='1.0' top='0.1440625' bottom='0.4140625'/>
</Texture>
<Texture name='$parentMiddle' parentKey='ScrollBarMiddle' file='Interface\PaperDollInfoFrame\UI-Character-ScrollBar'>
<Anchors>
<Anchor point='TOPLEFT' relativeKey='$parent.ScrollBarTop' relativePoint='BOTTOMLEFT'/>
<Anchor point='BOTTOMRIGHT' relativeKey='$parent.ScrollBarBottom' relativePoint='TOPRIGHT'/>
</Anchors>
<TexCoords left='0' right='0.484375' top='0.1640625' bottom='1'/>
</Texture>
</Layer>
</Layers>
<Frames>
<Button name='$parentScrollUpButton' parentKey='ScrollUpButton' inherits='UIPanelScrollUpButtonTemplate'>
<Anchors>
<Anchor point='BOTTOM' relativePoint='TOP' x='0' y='-2'/>
</Anchors>
<Scripts>
<OnLoad function='HybridScrollFrameScrollUp_OnLoad'/>
<OnClick function ='HybridScrollFrameScrollButton_OnClick'/>
</Scripts>
</Button>
<Button name='$parentScrollDownButton' parentKey='ScrollDownButton' inherits='UIPanelScrollDownButtonTemplate'>
<Anchors>
<Anchor point='TOP' relativePoint='BOTTOM' x='0' y='2'/>
</Anchors>
<Scripts>
<OnLoad function='HybridScrollFrameScrollDown_OnLoad'/>
<OnClick function='HybridScrollFrameScrollButton_OnClick'/>
</Scripts>
</Button>
</Frames>
<Scripts>
<OnValueChanged function='HybridScrollFrame_OnValueChanged'/>
</Scripts>
<ThumbTexture name='$parentThumbTexture' inherits='HybridScrollBarButton' file='Interface\Buttons\UI-ScrollBar-Knob' parentKey='thumbTexture'>
<Size x='18' y='24'/>
<TexCoords left='0.20' right='0.80' top='0.125' bottom='0.875'/>
</ThumbTexture>
</Slider>
</Ui>