Mercurial > wow > itemauditor
comparison ItemAuditor.xml @ 23:819bfdc5d73c
More debug messages and added the ability to scroll the debug window.
| author | Asa Ayers <Asa.Ayers@Gmail.com> |
|---|---|
| date | Thu, 08 Jul 2010 23:55:05 -0700 |
| parents | 66b7c3f5937e |
| children | 60ab9a4d2de1 |
comparison
equal
deleted
inserted
replaced
| 22:66b7c3f5937e | 23:819bfdc5d73c |
|---|---|
| 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/ | 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 ../UI.xsd"> | 2 ../UI.xsd"> |
| 3 | 3 |
| 4 <Frame name="ItemAuditor_DebugFrame" toplevel="true" movable="false" parent="UIParent" enableMouse="true" resizable="false" frameStrata="MEDIUM" hidden="true"> | 4 <Frame name="ItemAuditor_DebugFrame" toplevel="true" movable="true" parent="UIParent" enableMouse="true" resizable="false" frameStrata="MEDIUM" hidden="true"> |
| 5 <Size x="640" y="512"/> | 5 <Size x="640" y="512"/> |
| 6 <Anchors> | 6 <Anchors> |
| 7 <Anchor point="CENTER"/> | 7 <Anchor point="CENTER"/> |
| 8 </Anchors> | 8 </Anchors> |
| 9 <Layers> | 9 <Layers> |
| 67 </FontString> | 67 </FontString> |
| 68 </Layer> | 68 </Layer> |
| 69 | 69 |
| 70 </Layers> | 70 </Layers> |
| 71 <Frames> | 71 <Frames> |
| 72 <ScrollingMessageFrame name="$parentTxt" maxLines="100" fade="false" enableMouse="true"> | 72 <ScrollingMessageFrame name="$parentTxt" maxLines="999" fade="false" enableMouse="true"> |
| 73 <Anchors> | 73 <Anchors> |
| 74 <Anchor point="TOPLEFT" relativePoint="TOPLEFT"> | 74 <Anchor point="TOPLEFT" relativePoint="TOPLEFT"> |
| 75 <Offset x="25" y="-45"/> | 75 <Offset x="25" y="-45"/> |
| 76 </Anchor> | 76 </Anchor> |
| 77 <Anchor point="BOTTOMRIGHT" relativePoint="BOTTOMRIGHT"> | 77 <Anchor point="BOTTOMRIGHT" relativePoint="BOTTOMRIGHT"> |
| 79 </Anchor> | 79 </Anchor> |
| 80 </Anchors> | 80 </Anchors> |
| 81 <FontString font="Interface\AddOns\WowLua\fonts\VeraMono.ttf" justifyH="LEFT"> | 81 <FontString font="Interface\AddOns\WowLua\fonts\VeraMono.ttf" justifyH="LEFT"> |
| 82 <FontHeight val="14"/> | 82 <FontHeight val="14"/> |
| 83 </FontString> | 83 </FontString> |
| 84 <Scripts> | |
| 85 <OnMouseWheel> | |
| 86 local direction; | |
| 87 if delta > 0 then | |
| 88 direction = "up"; | |
| 89 self:ScrollUp() | |
| 90 else | |
| 91 direction = "down"; | |
| 92 self:ScrollDown() | |
| 93 end | |
| 94 | |
| 95 -- WowLua:ScrollingMessageFrameScroll(self, direction, type); | |
| 96 </OnMouseWheel> | |
| 97 | |
| 98 </Scripts> | |
| 84 </ScrollingMessageFrame> | 99 </ScrollingMessageFrame> |
| 85 <Button name="ItemAuditorButton_Close" inherits="UIPanelCloseButton"> | 100 <Button name="ItemAuditorButton_Close" inherits="UIPanelCloseButton"> |
| 86 <Anchors> | 101 <Anchors> |
| 87 <Anchor point="TOPRIGHT"> | 102 <Anchor point="TOPRIGHT"> |
| 88 <Offset x="0" y="-3"/> | 103 <Offset x="0" y="-3"/> |
| 92 <OnClick> | 107 <OnClick> |
| 93 ItemAuditor_DebugFrame:Hide() | 108 ItemAuditor_DebugFrame:Hide() |
| 94 </OnClick> | 109 </OnClick> |
| 95 </Scripts> | 110 </Scripts> |
| 96 </Button> | 111 </Button> |
| 112 <Button name="$parentDragHeader"> | |
| 113 <Size y="60"/> | |
| 114 <Anchors> | |
| 115 <Anchor point="TOPLEFT"> | |
| 116 <Offset x="0" y="-13"/> | |
| 117 </Anchor> | |
| 118 <Anchor point="TOPRIGHT"> | |
| 119 <Offset x="0" y="0"/> | |
| 120 </Anchor> | |
| 121 </Anchors> | |
| 122 <Layer level="BACKGROUND"> | |
| 123 <Texture name="$parent_Background" setAllPoints="true"> | |
| 124 <Color r="0" g="0" b="1" a="0.5" /> | |
| 125 </Texture> | |
| 126 </Layer> | |
| 127 <Scripts> | |
| 128 <OnMouseDown> | |
| 129 local parent = self:GetParent() | |
| 130 if parent:IsMovable() then | |
| 131 parent:StartMoving() | |
| 132 end | |
| 133 </OnMouseDown> | |
| 134 <OnMouseUp> | |
| 135 local parent = self:GetParent() | |
| 136 parent:StopMovingOrSizing() | |
| 137 </OnMouseUp> | |
| 138 </Scripts> | |
| 139 </Button> | |
| 97 </Frames> | 140 </Frames> |
| 141 <Scripts> | |
| 142 | |
| 143 </Scripts> | |
| 98 </Frame> | 144 </Frame> |
| 99 <Scripts> | 145 <Scripts> |
| 100 ItemAuditor_DebugFrame:Hide() | 146 ItemAuditor_DebugFrame:Hide() |
| 101 </Scripts> | 147 </Scripts> |
| 102 </Ui> | 148 </Ui> |
