vanilla-wow-addons – Rev 1

Subversion Repositories:
Rev:
<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="AceGUIScrollFrame.lua"/>

        <!-- Had to put the bar in the core so the relative anchors in the Layers of the frame template
                 would work. Apparently, Layers are processed before Frames, unless the Frames are inherited,
                 in which case all inherited elements are processed first. -->
        <ScrollFrame name="AceGUIScrollFrameCoreTemplate" virtual="true">
                <Frames>
                        <Slider name="$parentScrollBar" inherits="UIPanelScrollBarTemplate">
                                <Anchors>
                                        <Anchor point="TOPLEFT" relativePoint="TOPRIGHT">
                                                <Offset>
                                                        <AbsDimension x="6" y="-16"/>
                                                </Offset>
                                        </Anchor>
                                        <Anchor point="BOTTOMLEFT" relativePoint="BOTTOMRIGHT">
                                                <Offset>
                                                        <AbsDimension x="6" y="16"/>
                                                </Offset>
                                        </Anchor>
                                </Anchors>
                        </Slider>
                </Frames>
        </ScrollFrame>

        <ScrollFrame name="AceGUIScrollFrameTemplate" inherits="AceGUIScrollFrameCoreTemplate" virtual="true">
                <Layers>
                        <Layer level="ARTWORK">
                                <Texture name="$parentBarTop" hidden="true"
                                                 file="Interface\PaperDollInfoFrame\UI-Character-ScrollBar">
                                        <Size>
                                                <AbsDimension x="29" y="25"/>
                                        </Size>
                                        <Anchors>
                                                <Anchor point="TOPRIGHT" relativeTo="$parentScrollBarScrollUpButton">
                                                        <Offset>
                                                                <AbsDimension x="6" y="4"/>
                                                        </Offset>
                                                </Anchor>
                                        </Anchors>
                                        <TexCoords left="0" right="0.484375" top="0" bottom="0.10"/>
                                </Texture>
                                <Texture name="$parentBarBottom" hidden="true"
                                                 file="Interface\PaperDollInfoFrame\UI-Character-ScrollBar">
                                        <Size>
                                                <AbsDimension x="29" y="24"/>
                                        </Size>
                                        <Anchors>
                                                <Anchor point="BOTTOMRIGHT" relativeTo="$parentScrollBarScrollDownButton">
                                                        <Offset>
                                                                <AbsDimension x="6" y="-2"/>
                                                        </Offset>
                                                </Anchor>
                                        </Anchors>
                                        <TexCoords left="0.515625" right="1.0" top="0.32" bottom="0.4140625"/>
                                </Texture>
                                <Texture name="$parentBarCenter" hidden="true"
                                                 file="Interface\PaperDollInfoFrame\UI-Character-ScrollBar">
                                        <Size>
                                                <AbsDimension x="29" y="0"/>
                                        </Size>
                                        <Anchors>
                                                <Anchor point="TOP" relativeTo="$parentBarTop" relativePoint="BOTTOM">
                                                        <Offset>
                                                                <AbsDimension x="0" y="0"/>
                                                        </Offset>
                                                </Anchor>
                                                <Anchor point="BOTTOM" relativeTo="$parentBarBottom" relativePoint="TOP">
                                                        <Offset>
                                                                <AbsDimension x="0" y="0"/>
                                                        </Offset>
                                                </Anchor>
                                        </Anchors>
                                        <TexCoords left="0" right="0.484375" top="0.1000001" bottom="1.0"/>
                                </Texture>
                        </Layer>
                </Layers>
                <ScrollChild>
                        <Frame name="$parentScrollChildFrame">
                                <Size>
                                        <AbsDimension x="300" y="334"/>
                                </Size>
                        </Frame>
                </ScrollChild>
                <Scripts>
                        <OnScrollRangeChanged>
                                ScrollFrame_OnScrollRangeChanged(arg2);
                        </OnScrollRangeChanged>
                        <OnVerticalScroll>
                                this.parentUnit:CallHandler("OnVerticalScroll")
                        </OnVerticalScroll>
                        <OnMouseWheel>
                                this.parentUnit:CallHandler("OnMouseWheel")
                        </OnMouseWheel>
                </Scripts>
        </ScrollFrame>
</Ui>

Generated by GNU Enscript 1.6.5.90.