<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="GwWelcomePageTmpl" virtual="true">
        <Size x="512" y="512"/>
        <Anchors>
            <Anchor point="CENTER" relativePoint="CENTER" x="0" y="30"/>
        </Anchors>
        <Layers>
            <Layer level="BACKGROUND">
                <Texture parentKey="background" file="Interface/AddOns/GW2_UI/textures/uistuff/welcome-bg">
                <Size x="512" y="512"/>
                    <Anchors>
                        <Anchor point="TOPLEFT"/>
                        <Anchor point="BOTTOMRIGHT"/>
                    </Anchors>
                </Texture>
            </Layer>
            <Layer level="BORDER">
                <FontString parentKey="header" text="Welcome to Gw2 UI" justifyH="CENTER">
                    <Anchors>
                        <Anchor point="TOP" x="0" y="-20"/>
                    </Anchors>
                </FontString>
                <FontString parentKey="subHeader" text="{VERSION}" justifyH="CENTER">
                    <Anchors>
                        <Anchor point="TOP" relativePoint="BOTTOM" relativeKey="$parent.header" x="0" y="0"/>
                    </Anchors>
                </FontString>
            </Layer>
        </Layers>
        <Frames>
            <Frame parentKey="welcome" hidden="false">
                <Size x="478" y="320"/>
                <Anchors>
                    <Anchor point="BOTTOM" x="0" y="50"/>
                </Anchors>
                <Layers>
                    <Layer level="BORDER">
                        <FontString parentKey="header" text="{welcome}" justifyH="CENTER">
                            <Anchors>
                                <Anchor point="TOPLEFT" relativePoint="TOPLEFT" x="0" y="5"/>
                                <Anchor point="TOPRIGHT" relativePoint="TOPRIGHT"  x="0" y="5"/>
                            </Anchors>
                        </FontString>
                        <FontString parentKey="subHeader" text="{welcome}" justifyH="CENTER">
                            <Anchors>
                                <Anchor point="BOTTOMLEFT" relativePoint="BOTTOMLEFT" relativeKey="$parent.header" x="0" y="5"/>
                                <Anchor point="BOTTOMRIGHT" relativePoint="BOTTOMRIGHT" relativeKey="$parent.header" x="0" y="5"/>
                            </Anchors>
                        </FontString>
                    </Layer>
                </Layers>
                <Frames>
                    <Button parentKey="button0" inherits="GwStandardButton" text="button0">
                        <Size x="250" y="30"/>
                        <Anchors>
                            <Anchor point="TOP" relativePoint="BOTTOM" relativeKey="$parent.subHeader" x="0" y="-10"/>
                        </Anchors>
                    </Button>
                    <Button parentKey="button1" inherits="GwStandardButton" text="button1">
                        <Size x="250" y="30"/>
                        <Anchors>
                            <Anchor point="CENTER" relativePoint="BOTTOM" relativeKey="$parent.subHeader" x="0" y="-50"/>
                        </Anchors>
                    </Button>
                    <Button parentKey="button2" inherits="GwStandardButton" text="button2">
                        <Size x="125" y="30"/>
                        <Anchors>
                            <Anchor point="BOTTOM" relativePoint="BOTTOM" relativeKey="$parent.button1" x="0" y="-80"/>
                        </Anchors>
                    </Button>
                </Frames>
            </Frame>
            <Frame parentKey="changelog" hidden="false">
                <Size x="478" y="330"/>
                <Anchors>
                    <Anchor point="BOTTOM" x="0" y="50"/>
                </Anchors>
                <Layers>
                    <Layer level="BACKGROUND">
                        <Texture parentKey="background" file="Interface/AddOns/GW2_UI/textures/uistuff/gwstatusbar">
                            <Anchors>
                                <Anchor point="TOPLEFT"/>
                                <Anchor point="BOTTOMRIGHT"/>
                            </Anchors>
                            <Color r="0" b="0" g="0" a="0.3"/>
                        </Texture>
                    </Layer>
                    <Layer level="BORDER">
                        <FontString parentKey="header" text="Changelog" justifyH="LEFT">
                        <Anchors>
                                <Anchor point="BOTTOMLEFT" relativePoint="TOPLEFT" relativeKey="$parent.background" x="0" y="5"/>
                            </Anchors>
                        </FontString>
                    </Layer>
                </Layers>
                <Frames>
                    <ScrollFrame parentKey="scroll" enableMouse="true">
                     <Size x="231" y="600"/>
                        <Anchors>
                            <Anchor point="TOPLEFT" relativePoint="TOPLEFT" x="0" y="0" />
                            <Anchor point="BOTTOMRIGHT" relativePoint="BOTTOMRIGHT" x="0" y="0" />
                        </Anchors>
                        <Frames>
                            <Frame parentKey="scrollchild" enableMouse="false">
                                <Size x="231" y="600"/>
                                <Anchors>
                                    <Anchor point="TOPLEFT" relativePoint="TOPLEFT" x="0" y="0"/>
                                    <Anchor point="BOTTOMRIGHT" relativePoint="BOTTOMRIGHT" x="0" y="0"/>
                                </Anchors>
                                <Layers>
                                    <Layer level="BORDER">
                                        <FontString parentKey="text" text="{welcome}" justifyH="LEFT">
                                            <Anchors>
                                                <Anchor point="TOPLEFT" relativePoint="TOPLEFT" x="0" y="0"/>
                                                <Anchor point="TOPRIGHT" relativePoint="TOPRIGHT" x="0" y="5"/>
                                            </Anchors>
                                        </FontString>
                                    </Layer>
                                </Layers>
                            </Frame>
                            <Slider parentKey="slider" orientation="VERTICAL" enableMouse="true">
                                <Size x="12" y="12"/>
                                <Anchors>
                                    <Anchor point="TOPRIGHT" relativePoint="TOPRIGHT" x="0" y="-12"/>
                                    <Anchor point="BOTTOMRIGHT" relativePoint="BOTTOMRIGHT" x="0" y="12"/>
                                </Anchors>
                                <ThumbTexture parentKey="thumb" file="Interface/AddOns/GW2_UI/textures/uistuff/scrollbarmiddle">
                                    <Size x="12" y="100"/>
                                    <Anchors>
                                        <Anchor point="TOP" relativePoint="TOP"/>
                                    </Anchors>
                                </ThumbTexture>
                                <Layers>
                                    <Layer>
                                        <Texture file="Interface/AddOns/GW2_UI/textures/uistuff/scrollbg">
                                            <Anchors>
                                                <Anchor point="TOP" relativePoint="TOP"/>
                                                <Anchor point="BOTTOM" relativePoint="BOTTOM"/>
                                            </Anchors>
                                        </Texture>
                                    </Layer>
                                </Layers>
                                <Scripts>
                                    <OnValueChanged>
                                        self:GetParent():SetVerticalScroll(value)
                                    </OnValueChanged>
                                    <OnLoad>
                                        self:SetValue(1)
                                    </OnLoad>
                                </Scripts>
                            </Slider>
                            <Button parentKey="scrollUp">
                                <Size x="12" y="12"></Size>
                                <Anchors>
                                    <Anchor point="TOPRIGHT" relativePoint="TOPRIGHT" x="0" y="0"/>
                                </Anchors>
                                <Layers>
                                    <Layer>
                                        <Texture file="Interface/AddOns/GW2_UI/textures/uistuff/scrollbutton">
                                        <Size x="12" y="12"/>
                                            <Anchors>
                                                <Anchor point="TOP" relativePoint="TOP"/>
                                            </Anchors>
                                        </Texture>
                                    </Layer>
                                </Layers>
                            </Button>
                            <Button parentKey="scrollDown">
                                <Size x="12" y="12"/>
                                <Anchors>
                                    <Anchor point="BOTTOMRIGHT" relativePoint="BOTTOMRIGHT" x="0" y="0"/>
                                </Anchors>
                                <Layers>
                                    <Layer>
                                        <Texture file="Interface/AddOns/GW2_UI/textures/uistuff/scrollbutton">
                                            <Size x="12" y="12"/>
                                            <Anchors>
                                                <Anchor point="TOP" relativePoint="TOP"/>
                                            </Anchors>
                                            <TexCoords left="0" right="1" top="1" bottom="0" />
                                        </Texture>
                                    </Layer>
                                </Layers>
                            </Button>
                        </Frames>
                        <Scripts>
                            <OnMouseWheel>
                                delta = -delta * 15
                                local s = math.max(0,self:GetVerticalScroll() + delta)
                                self.slider:SetValue(s)
                                self:SetVerticalScroll(s)
                            </OnMouseWheel>
                        </Scripts>
                    </ScrollFrame>
                </Frames>
            </Frame>
            <Button parentKey="settings" inherits="GwStandardButton" text="">
                <Size x="120" y="28"/>
                <Anchors>
                    <Anchor point="BOTTOMLEFT" relativePoint="BOTTOMLEFT" x="5" y="10"/>
                </Anchors>
            </Button>
            <Button parentKey="changelogORwelcome" inherits="GwStandardButton" text="">
                <Size x="120" y="28"/>
                <Anchors>
                    <Anchor point="LEFT" relativePoint="LEFT" relativeKey="$parent.settings"  x="125" y="0"/>
                </Anchors>
            </Button>
            <Button parentKey="close" inherits="GwStandardButton" text="Close">
                <Size x="120" y="28"/>
                <Anchors>
                    <Anchor point="BOTTOMRIGHT" relativePoint="BOTTOMRIGHT" x="-5" y="10"/>
                </Anchors>
            </Button>
        </Frames>
    </Frame>

</Ui>
