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="smartselection.lua"/>

        <!-- template for selection component -->
        <Frame name="SASelectionTemplate" virtual="true">
                <Size>
                        <AbsDimension x="130" y="32"/>
                </Size>
                <Layers>
                        <Layer level="BACKGROUND">
                                <FontString name="$parentName" inherits="GameFontNormalSmall" justifyH="LEFT" text="?">
                                        <Size>
                                                <AbsDimension x="130" y="0"/>
                                        </Size>
                                        <Anchors>
                                                <Anchor point="CENTER" relativePoint="CENTER" relativeTo="$parent">
                                                        <Offset>
                                                                <AbsDimension x="0" y="22"/>
                                                        </Offset>
                                                </Anchor>
                                        </Anchors>
                                </FontString>
                        
                                <FontString name="$parentText" inherits="GameFontNormalSmall" justifyH="CENTER" text="?" scale="0.8">
                                        <Color r="1" g="1" b="1"/>
                                        <Size>
                                                <AbsDimension x="130" y="0"/>
                                        </Size>
                                        <Anchors>
                                                <Anchor point="CENTER" relativePoint="CENTER" relativeTo="$parent">
                                                        <Offset>
                                                                <AbsDimension x="0" y="0"/>
                                                        </Offset>
                                                </Anchor>
                                        </Anchors>
                                </FontString>
                        </Layer>
                </Layers>
                <Frames>
                        <Button name="$parentPrevButton">
                                <Size>
                                        <AbsDimension x="32" y="32"/>
                                </Size>
                                <Anchors>
                                        <Anchor point="LEFT" relativeTo="$parent">
                                                <Offset>
                                                        <AbsDimension x="0" y="0"/>
                                                </Offset>
                                        </Anchor>
                                </Anchors>
                                <NormalTexture file="Interface\Buttons\UI-SpellbookIcon-PrevPage-Up"/>
                                <PushedTexture file="Interface\Buttons\UI-SpellbookIcon-PrevPage-Down"/>
                                <DisabledTexture file="Interface\Buttons\UI-SpellbookIcon-PrevPage-Disabled"/>
                                <HighlightTexture file="Interface\Buttons\UI-Common-MouseHilight" alphaMode="ADD"/>
                                <Scripts>
                                        <OnClick>
                                                Selection_Prev(this:GetParent());
                                        </OnClick>
                                </Scripts>
                        </Button>
                        
                        <Button name="$parentNextButton">
                                <Size>
                                        <AbsDimension x="32" y="32"/>
                                </Size>
                                <Anchors>
                                        <Anchor point="RIGHT" relativeTo="$parent">
                                                <Offset>
                                                        <AbsDimension x="0" y="0"/>
                                                </Offset>
                                        </Anchor>
                                </Anchors>
                                <NormalTexture file="Interface\Buttons\UI-SpellbookIcon-NextPage-Up"/>
                                <PushedTexture file="Interface\Buttons\UI-SpellbookIcon-NextPage-Down"/>
                                <DisabledTexture file="Interface\Buttons\UI-SpellbookIcon-NextPage-Disabled"/>
                                <HighlightTexture file="Interface\Buttons\UI-Common-MouseHilight" alphaMode="ADD"/>
                                <Scripts>
                                        <OnClick>
                                                Selection_Next(this:GetParent());
                                        </OnClick>
                                </Scripts>
                        </Button>
                </Frames>
        </Frame>

</Ui>

Generated by GNU Enscript 1.6.5.90.