Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <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">
- <Button name="Tickets_minimapbutton" toplevel="true" frameStrata="LOW" parent="Minimap" enableMouse="true" movable="true" hidden="false">
- <Size>
- <AbsDimension x="27" y="27"/>
- </Size>
- <Anchors>
- <Anchor point="TOPLEFT">
- <Offset>
- <AbsDimension x="-25" y="-60"/>
- </Offset>
- </Anchor>
- </Anchors>
- <NormalTexture file = "Interface\AddOns\TicketChaos\Textures\Battlenet_Up"/>
- <PushedTexture file = "Interface\AddOns\TicketChaos\Textures\Battlenet_Down"/>
- <Layers>
- <Layer level="BACKGROUND">
- <Texture name="$parent_Texture">
- <Size>
- <AbsDimension x="15" y="15"/>
- </Size>
- <Anchors>
- <Anchor point="TOPLEFT">
- <Offset>
- <AbsDimension x="6" y="-6"/>
- </Offset>
- </Anchor>
- </Anchors>
- <TexCoords left="0.075" right="0.925" top="0.075" bottom="0.925"/>
- </Texture>
- </Layer>
- <Layer level="OVERLAY">
- <Texture file="Interface\Minimap\MiniMap-TrackingBorder">
- <Size>
- <AbsDimension x="46" y="46"/>
- </Size>
- <Anchors>
- <Anchor point="TOPLEFT"/>
- </Anchors>
- </Texture>
- </Layer>
- </Layers>
- <HighlightTexture alphaMode="ADD" file="Interface\Minimap\UI-Minimap-ZoomButton-Highlight"/>
- <Scripts>
- <OnLoad>
- this:RegisterForClicks("LeftButtonUp","RightButtonUp");
- this:RegisterForDrag("RightButton");
- </OnLoad>
- <OnEnter>
- GameTooltip:SetOwner(this, "ANCHOR_LEFT");
- GameTooltip:AddLine("TicketChaos v1.5");
- GameTooltip:AddLine("Left click to show/hide.");
- GameTooltip:AddLine("Right click to drag.");
- GameTooltip:AddLine("Made by Chocochaos - http://www.tenaciousgaming.com");
- GameTooltip:Show();
- </OnEnter>
- <OnLeave>
- GameTooltip:Hide();
- </OnLeave>
- <OnClick>
- Toggle_Tickets()
- </OnClick>
- <OnLoad>
- this:RegisterForDrag("RightButton");
- </OnLoad>
- <OnDragStart>
- this:StartMoving();
- </OnDragStart>
- <OnDragStop>
- this:StopMovingOrSizing();
- </OnDragStop>
- </Scripts>
- </Button>
- </Ui>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement