Advertisement
Xzempt

Untitled

Jan 4th, 2012
90
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.18 KB | None | 0 0
  1. <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/
  2. ..\..\FrameXML\UI.xsd">
  3. <Button name="Tickets_minimapbutton" toplevel="true" frameStrata="LOW" parent="Minimap" enableMouse="true" movable="true" hidden="false">
  4. <Size>
  5. <AbsDimension x="27" y="27"/>
  6. </Size>
  7. <Anchors>
  8. <Anchor point="TOPLEFT">
  9. <Offset>
  10. <AbsDimension x="-25" y="-60"/>
  11. </Offset>
  12. </Anchor>
  13. </Anchors>
  14. <NormalTexture file = "Interface\AddOns\TicketChaos\Textures\Battlenet_Up"/>
  15. <PushedTexture file = "Interface\AddOns\TicketChaos\Textures\Battlenet_Down"/>
  16. <Layers>
  17. <Layer level="BACKGROUND">
  18. <Texture name="$parent_Texture">
  19. <Size>
  20. <AbsDimension x="15" y="15"/>
  21. </Size>
  22. <Anchors>
  23. <Anchor point="TOPLEFT">
  24. <Offset>
  25. <AbsDimension x="6" y="-6"/>
  26. </Offset>
  27. </Anchor>
  28. </Anchors>
  29. <TexCoords left="0.075" right="0.925" top="0.075" bottom="0.925"/>
  30. </Texture>
  31. </Layer>
  32. <Layer level="OVERLAY">
  33. <Texture file="Interface\Minimap\MiniMap-TrackingBorder">
  34. <Size>
  35. <AbsDimension x="46" y="46"/>
  36. </Size>
  37. <Anchors>
  38. <Anchor point="TOPLEFT"/>
  39. </Anchors>
  40. </Texture>
  41. </Layer>
  42. </Layers>
  43. <HighlightTexture alphaMode="ADD" file="Interface\Minimap\UI-Minimap-ZoomButton-Highlight"/>
  44. <Scripts>
  45. <OnLoad>
  46. this:RegisterForClicks("LeftButtonUp","RightButtonUp");
  47. this:RegisterForDrag("RightButton");
  48. </OnLoad>
  49. <OnEnter>
  50. GameTooltip:SetOwner(this, "ANCHOR_LEFT");
  51. GameTooltip:AddLine("TicketChaos v1.5");
  52. GameTooltip:AddLine("Left click to show/hide.");
  53. GameTooltip:AddLine("Right click to drag.");
  54. GameTooltip:AddLine("Made by Chocochaos - http://www.tenaciousgaming.com");
  55. GameTooltip:Show();
  56. </OnEnter>
  57. <OnLeave>
  58. GameTooltip:Hide();
  59. </OnLeave>
  60. <OnClick>
  61. Toggle_Tickets()
  62. </OnClick>
  63. <OnLoad>
  64. this:RegisterForDrag("RightButton");
  65. </OnLoad>
  66. <OnDragStart>
  67. this:StartMoving();
  68. </OnDragStart>
  69. <OnDragStop>
  70. this:StopMovingOrSizing();
  71. </OnDragStop>
  72. </Scripts>
  73. </Button>
  74. </Ui>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement