Mercurial > wow > turok
comparison Turok/Modules/Combat/CombatLog.xml @ 6:a9b8b0866ece
clear out log jam
| author | Nenue |
|---|---|
| date | Sun, 21 Feb 2016 08:32:53 -0500 |
| parents | |
| children |
comparison
equal
deleted
inserted
replaced
| 5:8a9a6637f082 | 6:a9b8b0866ece |
|---|---|
| 1 <Ui> | |
| 2 <Frame name="TurokCombatMessageTemplate" virtual="true"> | |
| 3 <Anchors> | |
| 4 <Anchor point="BOTTOMLEFT" /> | |
| 5 </Anchors> | |
| 6 <Layers> | |
| 7 <Layer level="OVERLAY"> | |
| 8 <Texture parentKey="icon" hidden="true"> | |
| 9 <Size x="28" y="28" /> | |
| 10 <Anchors> | |
| 11 <Anchor point="RIGHT" relativePoint="LEFT" x="-1" y="0" /> | |
| 12 </Anchors> | |
| 13 <TexCoords top="0.15" left="0.15" right=".85" bottom="0.85" /> | |
| 14 </Texture> | |
| 15 </Layer> | |
| 16 <Layer level="OVERLAY"> | |
| 17 <Font name="$parentTkMessageFont" parentKey="font" font="InterfaceAddons\Turok\Media\font\ArchivoNarrow-Regular.ttf" > | |
| 18 <FontHeight> | |
| 19 <AbsValue val="12" /> | |
| 20 </FontHeight> | |
| 21 </Font> | |
| 22 <FontString name="$parentMessageText" parentKey="string" inherits="$parentTkMessageFont"> | |
| 23 <Anchors> | |
| 24 <Anchor point="BOTTOMLEFT" /> | |
| 25 </Anchors> | |
| 26 </FontString> | |
| 27 </Layer> | |
| 28 </Layers> | |
| 29 <Animations> | |
| 30 <AnimationGroup name="pop" parentKey="pop" ignoreFramerateThrottle="true"> | |
| 31 <Scale parentArray="scale" toScaleX="1" fromScaleX="1.75" toScaleY="1" fromScaleY="1.75" duration="0.12" order="1"/> | |
| 32 <Translation parentArray="translation" offsetX="85" offsetY="70" order="1" duration="0.32" /> | |
| 33 <Alpha parentArray="alpha" duration="0.75" order="1" change="-1" startDelay="2.25"/> | |
| 34 <Scripts> | |
| 35 <OnPlay> | |
| 36 self:GetParent():Show() | |
| 37 </OnPlay> | |
| 38 <OnStop> | |
| 39 local ct = self:GetParent() | |
| 40 ct.discard = true | |
| 41 ct:Hide() | |
| 42 </OnStop> | |
| 43 <OnFinished> | |
| 44 local ct = self:GetParent() | |
| 45 ct.discard = true | |
| 46 ct:Hide() | |
| 47 </OnFinished> | |
| 48 </Scripts> | |
| 49 </AnimationGroup> | |
| 50 <AnimationGroup name="$parent_FadeAway" parentKey="slide" ignoreFramerateThrottle="true"> | |
| 51 <Translation parentArray="translation" offsetX="0" offsetY="300" duration="3" order="1" /> | |
| 52 <Alpha parentArray="alpha" change="-1" startDelay="2.25" duration="0.75" order="1" /> | |
| 53 <Scripts> | |
| 54 <OnPlay> | |
| 55 self:GetParent():Show() | |
| 56 </OnPlay> | |
| 57 <OnStop> | |
| 58 local ct = self:GetParent() | |
| 59 ct.discard = true | |
| 60 ct:Hide() | |
| 61 </OnStop> | |
| 62 <OnFinished> | |
| 63 local ct = self:GetParent() | |
| 64 ct.discard = true | |
| 65 ct:Hide() | |
| 66 </OnFinished> | |
| 67 </Scripts> | |
| 68 </AnimationGroup> | |
| 69 <AnimationGroup name="$parent_SideAway" parentKey="lateralSlide" ignoreFramerateThrottle="true"> | |
| 70 <Translation parentArray="translation" offsetX="300" offsetY="0" duration="3" order="1" /> | |
| 71 <Alpha parentArray="alpha" change="-1" startDelay="2.25" duration="0.75" order="1" /> | |
| 72 <Scripts> | |
| 73 <OnPlay> | |
| 74 self:GetParent():Show() | |
| 75 </OnPlay> | |
| 76 <OnStop> | |
| 77 local ct = self:GetParent() | |
| 78 ct.discard = true | |
| 79 ct:Hide() | |
| 80 </OnStop> | |
| 81 <OnFinished> | |
| 82 local ct = self:GetParent() | |
| 83 ct.discard = true | |
| 84 ct:Hide() | |
| 85 </OnFinished> | |
| 86 </Scripts> | |
| 87 </AnimationGroup> | |
| 88 </Animations> | |
| 89 </Frame> | |
| 90 | |
| 91 <Frame name="TurokSCTAnchorTemplate" parent="UIParent" virtual="true" movable="true" resizable="true"> | |
| 92 <ResizeBounds> | |
| 93 <minResize x="40" y="40" /> | |
| 94 <maxResize x="1900" y="1200" /> | |
| 95 </ResizeBounds> | |
| 96 <Scripts> | |
| 97 <OnLoad> | |
| 98 </OnLoad> | |
| 99 <OnMouseDown> | |
| 100 if button ~= 'LeftButton' then | |
| 101 return | |
| 102 end | |
| 103 | |
| 104 print(self.sizer:GetCenter(), self.sizer:IsMouseOver()) | |
| 105 if self.sizer:IsMouseOver() then | |
| 106 self:StartSizing() | |
| 107 else | |
| 108 self:StartMoving() | |
| 109 end | |
| 110 self:SetScript('OnUpdate', function() | |
| 111 self.configHeader:SetText(self.name .."\n" | |
| 112 ..math.floor(self:GetWidth())..' x '..math.floor(self:GetHeight()).."\n(" | |
| 113 ..math.floor(self:GetLeft())..', '.. math.floor(self:GetTop())..')') | |
| 114 print('hammer') | |
| 115 end) | |
| 116 </OnMouseDown> | |
| 117 <OnMouseUp> | |
| 118 if button ~= 'LeftButton' then | |
| 119 return | |
| 120 end | |
| 121 self:SetScript('OnUpdate', nil) | |
| 122 print('stop') | |
| 123 self:StopMovingOrSizing() | |
| 124 </OnMouseUp> | |
| 125 </Scripts> | |
| 126 <Anchors> | |
| 127 <Anchor point="CENTER" relativeTo="UIParent" /> | |
| 128 </Anchors> | |
| 129 <Size x="400" y="500" /> | |
| 130 <Layers> | |
| 131 <Layer level="BACKGROUND"> | |
| 132 <Texture setAllPoints="true" parentArray="configRegions" hidden="true"> | |
| 133 <Color r="0" g="0" b="0" a="1" /> | |
| 134 </Texture> | |
| 135 </Layer> | |
| 136 <Layer level="OVERLAY"> | |
| 137 <FontString parentArray="configRegions" parentKey="configHeader" inherits="TurokFontDetail" text="configHeader" hidden="true"> | |
| 138 <Anchors> | |
| 139 <Anchor point="CENTER" /> | |
| 140 </Anchors> | |
| 141 </FontString> | |
| 142 </Layer> | |
| 143 <Layer level="HIGHLIGHT"> | |
| 144 <Texture parentArray="configRegions" parentKey="sizer" hidden="true"> | |
| 145 <Size x="24" y="24" /> | |
| 146 <Color r="1" g="1" b="1" a="1" /> | |
| 147 <Anchors> | |
| 148 <Anchor point="BOTTOMRIGHT" /> | |
| 149 </Anchors> | |
| 150 </Texture> | |
| 151 </Layer> | |
| 152 </Layers> | |
| 153 </Frame> | |
| 154 | |
| 155 <Frame name="TkDotBarTemplate" virtual="true"> | |
| 156 <Size x="120" y="16" /> | |
| 157 <Layers> | |
| 158 <Layer level="BACKGROUND"> | |
| 159 <Texture name="$parentBackground" parentKey="background" setAllPoint="true"> | |
| 160 <Color a="1" r="0" b="0" g="0" /> | |
| 161 </Texture> | |
| 162 </Layer> | |
| 163 <Layer level="ARTWORK"> | |
| 164 <Texture name="$parentForeground" parentKey="foreground"> | |
| 165 <Color a="1" r="1" b="1" g="0" /> | |
| 166 </Texture> | |
| 167 </Layer> | |
| 168 </Layers> | |
| 169 </Frame> | |
| 170 | |
| 171 <Frame name="TkCombatLogTemplate" parent="UIParent" virtual="true"> | |
| 172 <Scripts> | |
| 173 <OnLoad> | |
| 174 print('Layout', self:GetName(), 'has arrived.') | |
| 175 </OnLoad> | |
| 176 <OnHide> | |
| 177 print('Layout', self:GetName(), ' hidden.') | |
| 178 </OnHide> | |
| 179 </Scripts> | |
| 180 <Frames> | |
| 181 <ScrollingMessageFrame> | |
| 182 | |
| 183 </ScrollingMessageFrame> | |
| 184 </Frames> | |
| 185 </Frame> | |
| 186 </Ui> |
