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">
  
  <Frame name="GEMDebugFrame" parent="GEMMainFrame" inherits="GEMTabFrame">
        <Frames>
                <ScrollingMessageFrame name="GEMDebug_Log" displayDuration="1200.0" maxLines="2000">
                        <Size>
                                <AbsDimension x="450" y="450"/>
                        </Size>
                        <Anchors>
                                <Anchor point="TOP">
                                        <Offset>
                                                <AbsDimension x="22" y="0"/>
                                        </Offset>
                                </Anchor>
                        </Anchors>                                              
                        <Frames>
                                <Button name="$parentBottomButton">
                                        <Size>
                                                <AbsDimension x="32" y="32"/>
                                        </Size>
                                        <Anchors>
                                                <Anchor point="BOTTOMLEFT">
                                                        <Offset>
                                                                <AbsDimension x="-32" y="-4"/>
                                                        </Offset>
                                                </Anchor>
                                        </Anchors>
                                        <Layers>
                                                <Layer level="OVERLAY">
                                                        <Texture name="$parentFlash" file="Interface\ChatFrame\UI-ChatIcon-BlinkHilight" hidden="true"/>
                                                </Layer>
                                        </Layers>
                                        <Scripts>
                                                <OnClick>
                                                        PlaySound("igChatBottom");
                                                        this:GetParent():ScrollToBottom();
                                                </OnClick>
                                        </Scripts>
                                        <NormalTexture file="Interface\ChatFrame\UI-ChatIcon-ScrollEnd-Up"/>
                                        <PushedTexture file="Interface\ChatFrame\UI-ChatIcon-ScrollEnd-Down"/>
                                        <DisabledTexture file="Interface\ChatFrame\UI-ChatIcon-ScrollEnd-Disabled"/>
                                        <HighlightTexture file="Interface\Buttons\UI-Common-MouseHilight" alphaMode="ADD"/>
                                </Button>
                                <Button name="$parentDownButton">
                                        <Size>
                                                <AbsDimension x="32" y="32"/>
                                        </Size>
                                        <Anchors>
                                                <Anchor point="BOTTOM" relativeTo="$parentBottomButton" relativePoint="TOP">
                                                        <Offset>
                                                                <AbsDimension x="0" y="-2"/>
                                                        </Offset>
                                                </Anchor>
                                        </Anchors>
                                        <Scripts>
                                                <OnLoad>
                                                        MessageFrameScrollButton_OnLoad();
                                                </OnLoad>
                                                <OnUpdate>
                                                        MessageFrameScrollButton_OnUpdate(arg1);
                                                </OnUpdate>
                                                <OnClick>
                                                        if ( this:GetButtonState() == "PUSHED" ) then
                                                                this.clickDelay = MESSAGE_SCROLLBUTTON_INITIAL_DELAY;
                                                        else
                                                                PlaySound("igChatScrollDown");
                                                                this:GetParent():ScrollDown();
                                                        end
                                                </OnClick>
                                        </Scripts>
                                        <NormalTexture file="Interface\ChatFrame\UI-ChatIcon-ScrollDown-Up"/>
                                        <PushedTexture file="Interface\ChatFrame\UI-ChatIcon-ScrollDown-Down"/>
                                        <DisabledTexture file="Interface\ChatFrame\UI-ChatIcon-ScrollDown-Disabled"/>
                                        <HighlightTexture file="Interface\Buttons\UI-Common-MouseHilight" alphaMode="ADD"/>
                                </Button>
                                <Button name="$parentUpButton">
                                        <Size>
                                                <AbsDimension x="32" y="32"/>
                                        </Size>
                                        <Anchors>
                                                <Anchor point="BOTTOM" relativeTo="$parentDownButton" relativePoint="TOP"/>
                                        </Anchors>
                                        <Scripts>
                                                <OnLoad>
                                                        MessageFrameScrollButton_OnLoad();
                                                </OnLoad>
                                                <OnUpdate>
                                                        MessageFrameScrollButton_OnUpdate(arg1);
                                                </OnUpdate>
                                                <OnClick>
                                                        if ( this:GetButtonState() == "PUSHED" ) then
                                                                this.clickDelay = MESSAGE_SCROLLBUTTON_INITIAL_DELAY;
                                                        else
                                                                PlaySound("igChatScrollUp");
                                                                this:GetParent():ScrollUp();
                                                        end
                                                </OnClick>
                                        </Scripts>
                                        <NormalTexture file="Interface\ChatFrame\UI-ChatIcon-ScrollUp-Up"/>
                                        <PushedTexture file="Interface\ChatFrame\UI-ChatIcon-ScrollUp-Down"/>
                                        <DisabledTexture file="Interface\ChatFrame\UI-ChatIcon-ScrollUp-Disabled"/>
                                        <HighlightTexture file="Interface\Buttons\UI-Common-MouseHilight" alphaMode="ADD"/>
                                </Button>
                        </Frames>
                        <Scripts>
                                <OnHyperlinkClick>
                                        ChatFrame_OnHyperlinkShow(arg1, arg2, arg3);
                                </OnHyperlinkClick>
                                <OnLoad>
                                        this:SetBackdropColor(1,1,1,1);
                                        this:EnableMouseWheel(1);
                                </OnLoad>
                        </Scripts>
                        <FontString justifyH="LEFT" font="Fonts\ARIALN.TTF">
                                <FontHeight>
                                        <AbsValue val="12"/>
                                </FontHeight>
                                <Shadow>
                                        <Offset>
                                                <AbsDimension x="1" y="-1"/>
                                        </Offset>
                                        <Color r="0" g="0" b="0" a="0.5"/>
                                </Shadow>
                        </FontString>                                                           
                </ScrollingMessageFrame>                                                
        </Frames>
        <Scripts>
                <OnShow>
                        --GEMDebug_OnShow();
                </OnShow>
        </Scripts>
  </Frame>
  
</Ui>