| 
Nenue@6
 | 
     1 <!--
 | 
| 
Nenue@6
 | 
     2   Timer-specific XML defs
 | 
| 
Nenue@6
 | 
     3 -->
 | 
| 
Nenue@6
 | 
     4 <Ui>
 | 
| 
Nenue@6
 | 
     5   <Script file="Timer.Init.lua" />
 | 
| 
Nenue@6
 | 
     6   <Script file="Presets.lua" />
 | 
| 
Nenue@6
 | 
     7   <Script file="Timer.lua" />
 | 
| 
Nenue@6
 | 
     8   <Script file="Container.lua" />
 | 
| 
Nenue@6
 | 
     9   <Script file="Status.lua" />
 | 
| 
Nenue@6
 | 
    10   <Script file="Aura.lua" />
 | 
| 
Nenue@6
 | 
    11   <Script file="Cooldown.lua" />
 | 
| 
Nenue@6
 | 
    12   <Script file="Icon.lua" />
 | 
| 
Nenue@6
 | 
    13   <Script file="Progressbar.lua" />
 | 
| 
Nenue@6
 | 
    14   <Script file="Import.lua" />
 | 
| 
Nenue@6
 | 
    15   <Script file="Editor.lua" />
 | 
| 
Nenue@6
 | 
    16 
 | 
| 
Nenue@6
 | 
    17 
 | 
| 
Nenue@6
 | 
    18   <!-- EASY TIMER FRAME -->
 | 
| 
Nenue@6
 | 
    19 
 | 
| 
Nenue@6
 | 
    20   <Frame name="TurokTimerScripts"  parent="UIParent" virtual="true" hidden="true">
 | 
| 
Nenue@6
 | 
    21     <Scripts>
 | 
| 
Nenue@6
 | 
    22       <OnLoad>
 | 
| 
Nenue@6
 | 
    23         self.textRegions = {}
 | 
| 
Nenue@6
 | 
    24       </OnLoad>
 | 
| 
Nenue@6
 | 
    25       <OnShow>
 | 
| 
Nenue@6
 | 
    26         self:Report()
 | 
| 
Nenue@6
 | 
    27       </OnShow>
 | 
| 
Nenue@6
 | 
    28       <OnHide>
 | 
| 
Nenue@6
 | 
    29         self:Report()
 | 
| 
Nenue@6
 | 
    30       </OnHide>
 | 
| 
Nenue@6
 | 
    31       <OnUpdate>
 | 
| 
Nenue@6
 | 
    32         self:Update()
 | 
| 
Nenue@6
 | 
    33       </OnUpdate>
 | 
| 
Nenue@6
 | 
    34     </Scripts>
 | 
| 
Nenue@6
 | 
    35     <Size x="64" y="64" />
 | 
| 
Nenue@6
 | 
    36     <Anchors>
 | 
| 
Nenue@6
 | 
    37       <Anchor point="CENTER" />
 | 
| 
Nenue@6
 | 
    38     </Anchors>
 | 
| 
Nenue@6
 | 
    39     <Animations>
 | 
| 
Nenue@6
 | 
    40       <AnimationGroup parentKey="iconIntro" looping="NONE" ignoreFramerateThrottle="true">
 | 
| 
Nenue@6
 | 
    41         <Scale childKey="icon" order="1" duration=".10" fromScaleX="0.1" toScaleX="1.0" fromScaleY=".1" toScaleY="1" />
 | 
| 
Nenue@6
 | 
    42       </AnimationGroup>
 | 
| 
Nenue@6
 | 
    43       <AnimationGroup parentKey="Intro" looping="NONE" ignoreFramerateThrottle="true">
 | 
| 
Nenue@6
 | 
    44         <Alpha childKey="foreground" order="1" duration=".5" fromAlpha="0" toAlpha="1" />
 | 
| 
Nenue@6
 | 
    45         <Alpha childKey="background" order="1" duration=".5" fromAlpha="0" toAlpha="1" />
 | 
| 
Nenue@6
 | 
    46         <Scripts>
 | 
| 
Nenue@6
 | 
    47           <OnPlay>
 | 
| 
Nenue@6
 | 
    48             local g = self:GetParent()
 | 
| 
Nenue@6
 | 
    49             g.collected = nil
 | 
| 
Nenue@6
 | 
    50             g.add = true
 | 
| 
Nenue@6
 | 
    51             g:Report()
 | 
| 
Nenue@6
 | 
    52             --@debug@
 | 
| 
Nenue@6
 | 
    53             print('Layout', g.cvars.type, 'Intro |cFFFFFF00START', g:GetName())--@end-debug@
 | 
| 
Nenue@6
 | 
    54             g:Show()
 | 
| 
Nenue@6
 | 
    55             if g.cvars.sound_active then
 | 
| 
Nenue@6
 | 
    56               PlaySoundFile(g.cvars.sound_active)
 | 
| 
Nenue@6
 | 
    57             end
 | 
| 
Nenue@6
 | 
    58             if g.icon then
 | 
| 
Nenue@6
 | 
    59               g.iconIntro:Play()
 | 
| 
Nenue@6
 | 
    60             end
 | 
| 
Nenue@6
 | 
    61           </OnPlay>
 | 
| 
Nenue@6
 | 
    62           <OnStop>
 | 
| 
Nenue@6
 | 
    63             local g = self:GetParent()
 | 
| 
Nenue@6
 | 
    64             --@debug@
 | 
| 
Nenue@6
 | 
    65             print('Layout', g.cvars.type, 'Intro |cFFFF4400STOP', g:GetName())--@end-debug@
 | 
| 
Nenue@6
 | 
    66             if g.enableIcon then
 | 
| 
Nenue@6
 | 
    67               g.iconIntro:Stop()
 | 
| 
Nenue@6
 | 
    68             end
 | 
| 
Nenue@6
 | 
    69           </OnStop>
 | 
| 
Nenue@6
 | 
    70           <OnFinished>
 | 
| 
Nenue@6
 | 
    71             local g = self:GetParent()
 | 
| 
Nenue@6
 | 
    72             --@debug@
 | 
| 
Nenue@6
 | 
    73             print('Layout', g.cvars.type, 'Intro |cFF00FF00FINISH', g:GetName())--@end-debug@
 | 
| 
Nenue@6
 | 
    74             if g.enableIcon then
 | 
| 
Nenue@6
 | 
    75               g.iconIntro:Stop()
 | 
| 
Nenue@6
 | 
    76             end
 | 
| 
Nenue@6
 | 
    77             g:UpdateAlpha(Turok.inCombat, g.displayState, g.fillState)
 | 
| 
Nenue@6
 | 
    78           </OnFinished>
 | 
| 
Nenue@6
 | 
    79         </Scripts>
 | 
| 
Nenue@6
 | 
    80       </AnimationGroup>
 | 
| 
Nenue@6
 | 
    81       <AnimationGroup parentKey="iconOutro" looping="NONE" ignoreFramerateThrottle="true">
 | 
| 
Nenue@6
 | 
    82         <Scale childKey="icon" order="1" duration=".10" fromScaleX="1" toScaleX="0.1" fromScaleY="1" toScaleY="0.1"/>
 | 
| 
Nenue@6
 | 
    83       </AnimationGroup>
 | 
| 
Nenue@6
 | 
    84       <AnimationGroup parentKey="Outro" looping="NONE" ignoreFramerateThrottle="true">
 | 
| 
Nenue@6
 | 
    85         <Alpha childKey="foreground" order="1" duration=".5" change="-1" />
 | 
| 
Nenue@6
 | 
    86         <Alpha childKey="background" order="1" duration=".5" change="-1" />
 | 
| 
Nenue@6
 | 
    87         <Scripts>
 | 
| 
Nenue@6
 | 
    88           <OnPlay>
 | 
| 
Nenue@6
 | 
    89             local g = self:GetParent()
 | 
| 
Nenue@6
 | 
    90             g.collected = nil
 | 
| 
Nenue@6
 | 
    91             g.trash = true
 | 
| 
Nenue@6
 | 
    92             g:Report()
 | 
| 
Nenue@6
 | 
    93             --@debug@
 | 
| 
Nenue@6
 | 
    94             print('Layout', g.cvars.type, '|cFF0088FFOutro |cFFFFFF00START', g:GetName())--@end-debug@
 | 
| 
Nenue@6
 | 
    95             if g.spiral then
 | 
| 
Nenue@6
 | 
    96               g.spiral:StopAnimating()
 | 
| 
Nenue@6
 | 
    97               g.spiral:Hide()
 | 
| 
Nenue@6
 | 
    98             end
 | 
| 
Nenue@6
 | 
    99             if g.cvars.sound_hidden then
 | 
| 
Nenue@6
 | 
   100               PlaySoundFile(g.cvars.sound_hidden)
 | 
| 
Nenue@6
 | 
   101             end
 | 
| 
Nenue@6
 | 
   102             if g.enableIcon then
 | 
| 
Nenue@6
 | 
   103               g.iconOutro:Play()
 | 
| 
Nenue@6
 | 
   104             end
 | 
| 
Nenue@6
 | 
   105           </OnPlay>
 | 
| 
Nenue@6
 | 
   106           <OnStop>
 | 
| 
Nenue@6
 | 
   107             local g = self:GetParent()
 | 
| 
Nenue@6
 | 
   108             --@debug@
 | 
| 
Nenue@6
 | 
   109             print('Layout', g.cvars.type, '|cFF0088FFOutro |cFFFF4400STOP', g:GetName())--@end-debug@
 | 
| 
Nenue@6
 | 
   110             if g.enableIcon then
 | 
| 
Nenue@6
 | 
   111               g.iconOutro:Stop()
 | 
| 
Nenue@6
 | 
   112             end
 | 
| 
Nenue@6
 | 
   113           </OnStop>
 | 
| 
Nenue@6
 | 
   114           <OnFinished>
 | 
| 
Nenue@6
 | 
   115             local g = self:GetParent()
 | 
| 
Nenue@6
 | 
   116             g.trash = false
 | 
| 
Nenue@6
 | 
   117             --@debug@
 | 
| 
Nenue@6
 | 
   118             print('Layout', g.cvars.type, '|cFF0088FFOutro |cFF00FF00Finish', g:GetName())--@end-debug@
 | 
| 
Nenue@6
 | 
   119             if g.enableIcon then
 | 
| 
Nenue@6
 | 
   120               g.iconOutro:Stop()
 | 
| 
Nenue@6
 | 
   121             end
 | 
| 
Nenue@6
 | 
   122             g:Hide()
 | 
| 
Nenue@6
 | 
   123           </OnFinished>
 | 
| 
Nenue@6
 | 
   124         </Scripts>
 | 
| 
Nenue@6
 | 
   125       </AnimationGroup>
 | 
| 
Nenue@6
 | 
   126       <AnimationGroup parentKey="Retro" looping="NONE" ignoreFramerateThrottle="true">
 | 
| 
Nenue@6
 | 
   127         <Alpha childKey="iconFlash" fromAlpha="0" toAlpha=".7" duration="0.05" order="1" />
 | 
| 
Nenue@6
 | 
   128         <Alpha childKey="iconFlash" fromAlpha=".7" toAlpha="0" duration="0.15" order="2" />
 | 
| 
Nenue@6
 | 
   129         <Scripts>
 | 
| 
Nenue@6
 | 
   130           <OnPlay>
 | 
| 
Nenue@6
 | 
   131             local g = self:GetParent()
 | 
| 
Nenue@6
 | 
   132             --@debug@
 | 
| 
Nenue@6
 | 
   133             print('Layout', g.cvars.type, '|cFFFFFF00Retro |cFFFFFF00START', g:GetName())--@end-debug@
 | 
| 
Nenue@6
 | 
   134             if g.iconFlash then
 | 
| 
Nenue@6
 | 
   135               g.iconFlash:Show()
 | 
| 
Nenue@6
 | 
   136             end
 | 
| 
Nenue@6
 | 
   137           </OnPlay>
 | 
| 
Nenue@6
 | 
   138           <OnStop>
 | 
| 
Nenue@6
 | 
   139             local g = self:GetParent()
 | 
| 
Nenue@6
 | 
   140             --@debug@
 | 
| 
Nenue@6
 | 
   141             print('Layout',g.cvars.type, '|cFFFFFF00Retro |cFFFF4400STOP', self:GetParent():GetName())--@end-debug@
 | 
| 
Nenue@6
 | 
   142           </OnStop>
 | 
| 
Nenue@6
 | 
   143           <OnFinished>
 | 
| 
Nenue@6
 | 
   144             local g = self:GetParent()
 | 
| 
Nenue@6
 | 
   145             --@debug@
 | 
| 
Nenue@6
 | 
   146             print('Layout',g.cvars.type, '|cFFFFFF00Retro |cFF00FF00FINISH', g:GetName())--@end-debug@
 | 
| 
Nenue@6
 | 
   147             if g.iconFlash then
 | 
| 
Nenue@6
 | 
   148               g.iconFlash:Hide()
 | 
| 
Nenue@6
 | 
   149             end
 | 
| 
Nenue@6
 | 
   150             g:UpdateAlpha(Turok.inCombat, g.displayState, g.fillState)
 | 
| 
Nenue@6
 | 
   151           </OnFinished>
 | 
| 
Nenue@6
 | 
   152         </Scripts>
 | 
| 
Nenue@6
 | 
   153       </AnimationGroup>
 | 
| 
Nenue@6
 | 
   154       <AnimationGroup name="Slider" parentKey="slide" ignoreFramerateThrottle="true" looping="NONE">
 | 
| 
Nenue@6
 | 
   155         <Translation parentKey="t1" duration="0.11" order="1" />
 | 
| 
Nenue@6
 | 
   156       </AnimationGroup>
 | 
| 
Nenue@6
 | 
   157     </Animations>
 | 
| 
Nenue@6
 | 
   158     <Layers>
 | 
| 
Nenue@6
 | 
   159       <Layer level="BACKGROUND">
 | 
| 
Nenue@6
 | 
   160         <Texture file="Interface\ICONS\INV_Misc_QuestionMark" name="$parentSpellIcon" parentKey="icon" textureSubLevel="-7" hidden="true">
 | 
| 
Nenue@6
 | 
   161           <TexCoords top="0.1" left="0.1" bottom="0.9" right="0.9" />
 | 
| 
Nenue@6
 | 
   162         </Texture>
 | 
| 
Nenue@6
 | 
   163       </Layer>
 | 
| 
Nenue@6
 | 
   164       <Layer level="ARTWORK">
 | 
| 
Nenue@6
 | 
   165         <Texture parentKey="iconFlash" name="$parentIconFlashBox" hidden="true">
 | 
| 
Nenue@6
 | 
   166           <Anchor point="TOPLEFT" relativeKey="icon"/>
 | 
| 
Nenue@6
 | 
   167           <Anchor point="BOTTOMRIGHT" relativeKey="icon" />
 | 
| 
Nenue@6
 | 
   168           <Color r="1" g="1" b="1" a="1" />
 | 
| 
Nenue@6
 | 
   169         </Texture>
 | 
| 
Nenue@6
 | 
   170       </Layer>
 | 
| 
Nenue@6
 | 
   171       <Layer level="OVERLAY">
 | 
| 
Nenue@6
 | 
   172         <Texture parentKey="debugPanel" name="$parentDebugWindow" hidden="true">
 | 
| 
Nenue@6
 | 
   173           <Anchors>
 | 
| 
Nenue@6
 | 
   174             <Anchor point="TOPLEFT" relativePoint="BOTTOMLEFT" />
 | 
| 
Nenue@6
 | 
   175             <Anchor point="BOTTOMRIGHT" relativePoint="BOTTOMRIGHT" x="0" y="-40" />
 | 
| 
Nenue@6
 | 
   176           </Anchors>
 | 
| 
Nenue@6
 | 
   177         </Texture>
 | 
| 
Nenue@6
 | 
   178         <FontString inherits="TurokFontDetail" justifyH="LEFT">
 | 
| 
Nenue@6
 | 
   179           <Anchors>
 | 
| 
Nenue@6
 | 
   180             <Anchor point="TOPLEFT" />
 | 
| 
Nenue@6
 | 
   181           </Anchors>
 | 
| 
Nenue@6
 | 
   182         </FontString>
 | 
| 
Nenue@6
 | 
   183       </Layer>
 | 
| 
Nenue@6
 | 
   184     </Layers>
 | 
| 
Nenue@6
 | 
   185   </Frame>
 | 
| 
Nenue@6
 | 
   186 
 | 
| 
Nenue@6
 | 
   187   <Frame name="TurokIconTemplate" parent="UIParent" virtual="true" hidden="true" inherits="TurokTimerScripts">
 | 
| 
Nenue@6
 | 
   188     <Scripts>
 | 
| 
Nenue@6
 | 
   189       <OnLoad inherit="prepend">
 | 
| 
Nenue@6
 | 
   190         -- not using parentArray because we want name info
 | 
| 
Nenue@6
 | 
   191         self.textRegions = {
 | 
| 
Nenue@6
 | 
   192           counter = self.spiral.counter,
 | 
| 
Nenue@6
 | 
   193           subCounter = self.spiral.subCounter,
 | 
| 
Nenue@6
 | 
   194           charges = self.spiral.charges
 | 
| 
Nenue@6
 | 
   195         }
 | 
| 
Nenue@6
 | 
   196       </OnLoad>
 | 
| 
Nenue@6
 | 
   197     </Scripts>
 | 
| 
Nenue@6
 | 
   198     <Frames>
 | 
| 
Nenue@6
 | 
   199       <Cooldown name="$parentCooldownSpiral" parentKey="spiral" inherits="CooldownFrameTemplate">
 | 
| 
Nenue@6
 | 
   200         <SwipeTexture parentKey="spiralTex">
 | 
| 
Nenue@6
 | 
   201           <Color r="0" g="0" b="0" a="0.6" />
 | 
| 
Nenue@6
 | 
   202         </SwipeTexture>
 | 
| 
Nenue@6
 | 
   203         <Anchors>
 | 
| 
Nenue@6
 | 
   204           <Anchor relativeKey="$parent.icon" point="TOPLEFT" relativePoint="TOPLEFT" x="0" y="0" />
 | 
| 
Nenue@6
 | 
   205           <Anchor relativeKey="$parent.icon" point="BOTTOMRIGHT" relativePoint="BOTTOMRIGHT" x="0" y="0" />
 | 
| 
Nenue@6
 | 
   206         </Anchors>
 | 
| 
Nenue@6
 | 
   207         <Layers>
 | 
| 
Nenue@6
 | 
   208           <Layer level="OVERLAY">
 | 
| 
Nenue@6
 | 
   209             <FontString inherits="TurokFontMed" name="$parentCounter" parentKey="counter" justifyH="RIGHT" justifyV="BOTTOM">
 | 
| 
Nenue@6
 | 
   210               <KeyValues>
 | 
| 
Nenue@6
 | 
   211                 <!-- [1] below 6 seconds remaining -->
 | 
| 
Nenue@6
 | 
   212                 <KeyValue key="anchor1" value="TOP" />
 | 
| 
Nenue@6
 | 
   213                 <KeyValue key="anchor1_rel" value="TOP" />
 | 
| 
Nenue@6
 | 
   214                 <!-- [2] default -->
 | 
| 
Nenue@6
 | 
   215                 <KeyValue key="anchor2" value="TOP" />
 | 
| 
Nenue@6
 | 
   216                 <KeyValue key="anchor2_rel" value="TOP" />
 | 
| 
Nenue@6
 | 
   217                 <!-- [3] > 100 sec remaining -->
 | 
| 
Nenue@6
 | 
   218                 <KeyValue key="anchor3" value="TOPRIGHT" />
 | 
| 
Nenue@6
 | 
   219                 <KeyValue key="anchor3_rel" value="TOP" />
 | 
| 
Nenue@6
 | 
   220               </KeyValues>
 | 
| 
Nenue@6
 | 
   221               <Size x="40" y="40" />
 | 
| 
Nenue@6
 | 
   222               <Anchors>
 | 
| 
Nenue@6
 | 
   223                 <Anchor point="TOPRIGHT" relativePoint="TOP" relativeKey="$parent.$parent.icon" x="0" y="4" />
 | 
| 
Nenue@6
 | 
   224               </Anchors>
 | 
| 
Nenue@6
 | 
   225             </FontString>
 | 
| 
Nenue@6
 | 
   226             <FontString inherits="TurokFontDetail" name="$parentSubCounter" parentKey="subCounter" justifyH="LEFT" text="subtext" justifyV="BOTTOM">
 | 
| 
Nenue@6
 | 
   227               <KeyValues>
 | 
| 
Nenue@6
 | 
   228                 <KeyValue key="anchor1" value="LEFT" />
 | 
| 
Nenue@6
 | 
   229                 <KeyValue key="anchor1_rel" value="RIGHT" />
 | 
| 
Nenue@6
 | 
   230                 <KeyValue key="anchor2" value="LEFT" />
 | 
| 
Nenue@6
 | 
   231                 <KeyValue key="anchor2_rel" value="RIGHT" />
 | 
| 
Nenue@6
 | 
   232                 <KeyValue key="anchor3" value="LEFT" />
 | 
| 
Nenue@6
 | 
   233                 <KeyValue key="anchor3_rel" value="RIGHT" />
 | 
| 
Nenue@6
 | 
   234               </KeyValues>
 | 
| 
Nenue@6
 | 
   235               <Size x="40" y="40" />
 | 
| 
Nenue@6
 | 
   236               <Color r="1" g="1" b="0" a="1" />
 | 
| 
Nenue@6
 | 
   237               <Anchors>
 | 
| 
Nenue@6
 | 
   238                 <Anchor point="LEFT" relativePoint="RIGHT" relativeKey="$parent.counter" x="0" y="1" />
 | 
| 
Nenue@6
 | 
   239               </Anchors>
 | 
| 
Nenue@6
 | 
   240             </FontString>
 | 
| 
Nenue@6
 | 
   241             <FontString inherits="TurokFontDetail" name="$parentCharges" parentKey="charges" justifyH="RIGHT" justifyV="BOTTOM" text="charges">
 | 
| 
Nenue@6
 | 
   242               <Size x="80" y="30" />
 | 
| 
Nenue@6
 | 
   243               <Color a="1" r="1" g="1" b="0" />
 | 
| 
Nenue@6
 | 
   244               <Anchors>
 | 
| 
Nenue@6
 | 
   245                 <Anchor point="BOTTOMRIGHT" relativePoint="BOTTOMRIGHT" />
 | 
| 
Nenue@6
 | 
   246               </Anchors>
 | 
| 
Nenue@6
 | 
   247             </FontString>
 | 
| 
Nenue@6
 | 
   248           </Layer>
 | 
| 
Nenue@6
 | 
   249         </Layers>
 | 
| 
Nenue@6
 | 
   250       </Cooldown>
 | 
| 
Nenue@6
 | 
   251     </Frames>
 | 
| 
Nenue@6
 | 
   252   </Frame>
 | 
| 
Nenue@6
 | 
   253 
 | 
| 
Nenue@6
 | 
   254   <Frame name="TurokProgressbarTemplate" parent="UIParent" virtual="true" hidden="true" inherits="TurokTimerScripts">
 | 
| 
Nenue@6
 | 
   255     <Scripts>
 | 
| 
Nenue@6
 | 
   256       <OnLoad inherit="prepend">
 | 
| 
Nenue@6
 | 
   257         self.textRegions = {
 | 
| 
Nenue@6
 | 
   258           left = self.left,
 | 
| 
Nenue@6
 | 
   259           right = self.right
 | 
| 
Nenue@6
 | 
   260         }
 | 
| 
Nenue@6
 | 
   261       </OnLoad>
 | 
| 
Nenue@6
 | 
   262     </Scripts>
 | 
| 
Nenue@6
 | 
   263     <Layers>
 | 
| 
Nenue@6
 | 
   264 
 | 
| 
Nenue@6
 | 
   265       <Layer level="BACKGROUND">
 | 
| 
Nenue@6
 | 
   266 
 | 
| 
Nenue@6
 | 
   267 
 | 
| 
Nenue@6
 | 
   268         <Texture name="$parentProgressBackground" parentKey="background" textureSubLevel="0" />
 | 
| 
Nenue@6
 | 
   269       </Layer>
 | 
| 
Nenue@6
 | 
   270       <Layer level="ARTWORK">
 | 
| 
Nenue@6
 | 
   271         <Texture name="$parentProgressForeground" parentKey="foreground" textureSubLevel="1" />
 | 
| 
Nenue@6
 | 
   272       </Layer>
 | 
| 
Nenue@6
 | 
   273 
 | 
| 
Nenue@6
 | 
   274       <Layer level="OVERLAY">
 | 
| 
Nenue@6
 | 
   275         <FontString inherits="TurokFontDetail" name="$parentLeftText" parentKey="left" justifyH="LEFT">
 | 
| 
Nenue@6
 | 
   276           <Anchors>
 | 
| 
Nenue@6
 | 
   277             <Anchor point="LEFT" />
 | 
| 
Nenue@6
 | 
   278           </Anchors>
 | 
| 
Nenue@6
 | 
   279         </FontString>
 | 
| 
Nenue@6
 | 
   280         <FontString inherits="TurokFontDetail" name="$parentRightText" parentKey="right" justifyH="RIGHT">
 | 
| 
Nenue@6
 | 
   281           <Anchors>
 | 
| 
Nenue@6
 | 
   282             <Anchor point="RIGHT" />
 | 
| 
Nenue@6
 | 
   283           </Anchors>
 | 
| 
Nenue@6
 | 
   284         </FontString>
 | 
| 
Nenue@6
 | 
   285       </Layer>
 | 
| 
Nenue@6
 | 
   286     </Layers>
 | 
| 
Nenue@6
 | 
   287   </Frame>
 | 
| 
Nenue@6
 | 
   288 
 | 
| 
Nenue@6
 | 
   289   <!-- Collector Tray -->
 | 
| 
Nenue@6
 | 
   290   <Frame name="TkContainerTemplate" virtual="true" parent="UIParent" alpha="1" movable="true">
 | 
| 
Nenue@6
 | 
   291     <Size x="700" y="200" />
 | 
| 
Nenue@6
 | 
   292     <Scripts>
 | 
| 
Nenue@6
 | 
   293       <OnLoad>
 | 
| 
Nenue@6
 | 
   294         self:RegisterForDrag('LeftButton')
 | 
| 
Nenue@6
 | 
   295         self:EnableMouse(false) -- for now
 | 
| 
Nenue@6
 | 
   296       </OnLoad>
 | 
| 
Nenue@6
 | 
   297       <OnDragStart>
 | 
| 
Nenue@6
 | 
   298         if self:GetEnableMouse() then
 | 
| 
Nenue@6
 | 
   299           self.cx = self:GetLeft()
 | 
| 
Nenue@6
 | 
   300           self.cy = self:GetTop()
 | 
| 
Nenue@6
 | 
   301           self:StartMoving()
 | 
| 
Nenue@6
 | 
   302         end
 | 
| 
Nenue@6
 | 
   303       </OnDragStart>
 | 
| 
Nenue@6
 | 
   304       <OnDragStop>
 | 
| 
Nenue@6
 | 
   305         self:StopMovingOrSizing()
 | 
| 
Nenue@6
 | 
   306         self.x = self.x + (self:GetLeft() - self.cx)
 | 
| 
Nenue@6
 | 
   307         self.y = self.y + (self:GetTop() - self.cy)
 | 
| 
Nenue@6
 | 
   308         self:SetPoint(self.anchor, self.parent, self.anchorTo, self.x, self.y)
 | 
| 
Nenue@6
 | 
   309       </OnDragStop>
 | 
| 
Nenue@6
 | 
   310     </Scripts>
 | 
| 
Nenue@6
 | 
   311     <Layers>
 | 
| 
Nenue@6
 | 
   312       <Layer level="BACKGROUND">
 | 
| 
Nenue@6
 | 
   313         <Texture name="$parentBackdrop" parentKey="ConfigBG" setAllPoints="true" hidden="true">
 | 
| 
Nenue@6
 | 
   314           <Color r="1" g="1" b="1" a="0.25" />
 | 
| 
Nenue@6
 | 
   315         </Texture>
 | 
| 
Nenue@6
 | 
   316       </Layer>
 | 
| 
Nenue@6
 | 
   317       <Layer level="OVERLAY">
 | 
| 
Nenue@6
 | 
   318         <FontString name="$parentNameTag" parentKey="NameText" inherits="TurokFont" justifyH="LEFT" justifyV="BOTTOM" hidden="true">
 | 
| 
Nenue@6
 | 
   319           <Anchors>
 | 
| 
Nenue@6
 | 
   320             <Anchor point="BOTTOMLEFT" relativePoint="TOPLEFT" x="0" y="2" />
 | 
| 
Nenue@6
 | 
   321           </Anchors>
 | 
| 
Nenue@6
 | 
   322         </FontString>
 | 
| 
Nenue@6
 | 
   323       </Layer>
 | 
| 
Nenue@6
 | 
   324     </Layers>
 | 
| 
Nenue@6
 | 
   325   </Frame>
 | 
| 
Nenue@6
 | 
   326 
 | 
| 
Nenue@6
 | 
   327 </Ui> |