WoWInterface SVN PowerAurasClassic

[/] [trunk/] [PowerAuras/] [PowerAuras.xml] - Rev 24

Compare with Previous | Blame | View Log

<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">

  <!-- Main Frame -->
  <Frame name="PowaAuras_Frame"
         hidden="false">
    <Scripts>
                <OnLoad>
                        PowaAuras:OnLoad(self)
                </OnLoad>
                <OnEvent>
                        if (PowaAuras.ModTest == false) then
                                PowaAuras:Debug(event);
                        end
                        PowaAuras[event](PowaAuras, ...);
                </OnEvent>
                <OnUpdate>
                        PowaAuras:OnUpdate(elapsed)
                </OnUpdate>
    </Scripts>
  </Frame>
  
  <!-- Tootips -->
  <GameTooltip name="PowaAuras_Tooltip"
               frameStrata="TOOLTIP"
               hidden="false"
               parent="UIParent"
               inherits="GameTooltipTemplate">
    <Anchors>
      <Anchor point="BOTTOM"
              relativePoint="TOP">
        <Offset>
          <AbsDimension x="0"
                        y="100" />
        </Offset>
      </Anchor>
    </Anchors>
  </GameTooltip>
  <GameTooltip name="PowaAction_Tooltip"
               frameStrata="TOOLTIP"
               hidden="false"
               parent="UIParent"
               inherits="GameTooltipTemplate">
    <Anchors>
      <Anchor point="BOTTOM"
              relativePoint="TOP">
        <Offset>
          <AbsDimension x="0"
                        y="100" />
        </Offset>
      </Anchor>
    </Anchors>
  </GameTooltip>
  
 <!-- Templates -->
 
<!-- Copied from OptionSliderTemplate 2.4.3 because Blizzard is ......
Check to see if they use consistent fontsizes in build > 8982 and remove this template.
Revert PowaBarSliderTemplate to inherit from OptionsSliderTemplate if it's fixed as well.  -->
  <Slider name="OptionsSmallSliderTemplate" orientation="HORIZONTAL" virtual="true" enableMouse="true">
                <Size>
                        <AbsDimension x="144" y="17"/>
                </Size>
                <HitRectInsets>
                        <AbsInset left="0" right="0" top="-10" bottom="-10"/>
                </HitRectInsets>
                <Backdrop bgFile="Interface\Buttons\UI-SliderBar-Background" edgeFile="Interface\Buttons\UI-SliderBar-Border" tile="true">
                        <EdgeSize>
                                <AbsValue val="8"/>
                        </EdgeSize>
                        <TileSize>
                                <AbsValue val="8"/>
                        </TileSize>
                        <BackgroundInsets>
                                <AbsInset left="3" right="3" top="6" bottom="6"/>
                        </BackgroundInsets>
                </Backdrop>
                <Layers>
                        <Layer level="ARTWORK">
                                <FontString name="$parentText" inherits="GameFontNormalSmall">
                                        <Anchors>
                                                <Anchor point="BOTTOM" relativePoint="TOP"/>
                                        </Anchors>
                                </FontString>
                                <FontString name="$parentLow" inherits="GameFontHighlightSmall" text="LOW">
                                        <Anchors>
                                                <Anchor point="TOPLEFT" relativePoint="BOTTOMLEFT">
                                                        <Offset>
                                                                <AbsDimension x="-4" y="3"/>
                                                        </Offset>
                                                </Anchor>
                                        </Anchors>
                                </FontString>
                                <FontString name="$parentHigh" inherits="GameFontHighlightSmall" text="HIGH">
                                        <Anchors>
                                                <Anchor point="TOPRIGHT" relativePoint="BOTTOMRIGHT">
                                                        <Offset>
                                                                <AbsDimension x="4" y="3"/>
                                                        </Offset>
                                                </Anchor>
                                        </Anchors>
                                </FontString>
                        </Layer>
                </Layers>
                <Scripts>
                        <OnEnter>
                                if ( self:IsEnabled() ) then
                                        if ( self.tooltipText ) then
                                                GameTooltip:SetOwner(self, self.tooltipOwnerPoint or "ANCHOR_RIGHT");
                                                GameTooltip:SetText(self.tooltipText, nil, nil, nil, nil, 1);
                                        end
                                        if ( self.tooltipRequirement ) then
                                                GameTooltip:AddLine(self.tooltipRequirement, 1.0, 1.0, 1.0, 1.0);
                                                GameTooltip:Show();
                                        end
                                end
                        </OnEnter>
                        <OnLeave>
                                GameTooltip:Hide();
                        </OnLeave>
                </Scripts>
                <ThumbTexture name="$parentThumb" file="Interface\Buttons\UI-SliderBar-Button-Horizontal">
                        <Size>
                                <AbsDimension x="32" y="32"/>
                        </Size>
                </ThumbTexture>
        </Slider>
  <Slider name="PowaBarSliderTemplate"
          inherits="OptionsSmallSliderTemplate"
          virtual="true">
    <Scripts>
      <OnEnter>
        if (self.aide) then 
                GameTooltip:SetOwner(self, "ANCHOR_RIGHT"); 
                GameTooltip:SetText(self.aide, nil, nil, nil, nil, 1); 
        end
      </OnEnter>
      <OnLeave>GameTooltip:Hide();</OnLeave>
    </Scripts>
  </Slider> 
  <CheckButton name="PowaCheckTemplate"
               inherits="OptionsSmallCheckButtonTemplate"
               virtual="true">
    <HitRectInsets>
      <AbsInset left="0"
                right="0"
                top="0"
                bottom="0" />
    </HitRectInsets>
  </CheckButton>
  <CheckButton name="PowaRadioTemplate"
               inherits="UIRadioButtonTemplate"
               virtual="true">
    <HitRectInsets>
      <AbsInset left="0"
                right="0"
                top="0"
                bottom="0" />
    </HitRectInsets>
    <Scripts>
      <OnEnter>
        if (self.tooltipText) then 
                GameTooltip:SetOwner(self, "ANCHOR_RIGHT"); 
                GameTooltip:SetText(self.tooltipText, nil, nil, nil, nil, 1); 
        end
      </OnEnter>
      <OnLeave>GameTooltip:Hide();</OnLeave>
    </Scripts>
  </CheckButton>
  <Button name="PowaFontButtonTemplate" virtual="true">
                <Size>
                        <AbsDimension x="200" y="16"/>
                </Size>
                <Layers>
                        <Layer level="BORDER">
                                <FontString name="$parentText" inherits="GameFontNormalSmall" justifyH="CENTER">
                                        <Size>
                                                <AbsDimension x="196" y="14"/>
                                        </Size>
                                        <Anchors>
                                                <Anchor point="TOPLEFT">
                                                        <Offset>
                                                                <AbsDimension x="10" y="-3"/>
                                                        </Offset>
                                                </Anchor>
                                        </Anchors>
                                </FontString>
                        </Layer>
                </Layers>
                <Scripts>
                        <OnClick>
                                PowaAuras:FontButton_OnClick(self);
                        </OnClick>
                </Scripts>
                <HighlightTexture file="Interface\QuestFrame\UI-QuestTitleHighlight" alphaMode="ADD">
                        <Size>
                                <AbsDimension x="200" y="16"/>
                        </Size>
                        <Anchors>
                                <Anchor point="TOP">
                                        <Offset>
                                                <AbsDimension x="5" y="-2"/>
                                        </Offset>
                                </Anchor>
                        </Anchors>
                </HighlightTexture>
        </Button>
  <Frame name="PowaDebugMessages"
         parent="UIParent"
         frameStrata="HIGH"
         hidden="true">
    <Size>
      <AbsDimension x="300"
                    y="300" />
    </Size>
    <Anchors>
      <Anchor point="LEFT"
              relativeTo="UIParent"
              relativePoint="LEFT">
        <Offset>
          <AbsDimension x="0"
                        y="0" />
        </Offset>
      </Anchor>
    </Anchors>
    <Layers>
      <Layer>
        <FontString name="PowaDebugMessagesText"
                    inherits="GameFontNormalSmall"
                    justifyH="LEFT"
                    text="Texte">
          <Size>
            <AbsDimension x="300"
                          y="300" />
          </Size>
          <Anchors>
            <Anchor point="LEFT">
              <Offset>
                <AbsDimension x="0"
                              y="0" />
              </Offset>
            </Anchor>
          </Anchors>
          <FontHeight>
            <AbsValue val="14" />
          </FontHeight>
        </FontString>
      </Layer>
    </Layers>
  </Frame>
  
  <!-- Aura Configuration Frame -->
  <Frame name="PowaBarConfigFrame"
         movable="true"
         parent="UIParent"
         frameStrata="DIALOG"
         hidden="true"
         enableMouse="true"
         enableKeyboard="true">
    <Size>
      <AbsDimension x="388"
                    y="704" />
    </Size>
    <Anchors>
      <Anchor point="CENTER"
              relativeTo="UIParent">
        <Offset>
          <AbsDimension x="0"
                        y="50" />
        </Offset>
      </Anchor>
    </Anchors>
    <Backdrop bgFile="Dungeons\Textures\rock\BM_BRSPIRE_CUBEROCK01"
              edgeFile="Interface\DialogFrame\UI-DialogBox-Border"
              tile="true">
      <BackgroundInsets>
        <AbsInset left="11"
                  right="12"
                  top="12"
                  bottom="11" />
      </BackgroundInsets>
      <TileSize>
        <AbsValue val="200" />
      </TileSize>
      <EdgeSize>
        <AbsValue val="32" />
      </EdgeSize>
    </Backdrop>
    <Scripts>
      <OnLoad>self:SetBackdropBorderColor(0.9, 1.0, 0.95); self:SetBackdropColor(0.6, 0.6, 0.6);</OnLoad>
      <OnMouseDown>PowaAuras:Bar_MouseDown(self, button, "PowaBarConfigFrame" );</OnMouseDown>
      <OnMouseUp>PowaAuras:Bar_MouseUp(self, button, "PowaBarConfigFrame" );</OnMouseUp>
    </Scripts>
    <Layers>
      <Layer>
        <Texture file="Interface\DialogFrame\UI-DialogBox-Header">
          <Size>
            <AbsDimension x="180"
                          y="32" />
          </Size>
          <Anchors>
            <Anchor point="TOP">
              <Offset>
                <AbsDimension x="0"
                              y="8" />
              </Offset>
            </Anchor>
          </Anchors>
          <TexCoords left="0.2"
                     right="0.8"
                     top="0"
                     bottom="0.6" />
        </Texture>
        <FontString name="PowaHeader"
                    inherits="GameFontNormalSmall"
                    text="POWER AURAS">
          <Size>
            <AbsDimension x="140"
                          y="0" />
          </Size>
          <Anchors>
            <Anchor point="TOP">
              <Offset>
                <AbsDimension x="0"
                              y="-4" />
              </Offset>
            </Anchor>
          </Anchors>
          <FontHeight>
            <AbsValue val="14" />
          </FontHeight>
        </FontString>
      </Layer>
    </Layers>
    <Frames>
      <Button name="PowaCloseButton">
        <Size>
          <AbsDimension x="30"
                        y="30" />
        </Size>
        <Anchors>
          <Anchor point="TOPRIGHT"
                  relativeTo="PowaBarConfigFrame"
                  relativePoint="TOPRIGHT">
            <Offset>
              <AbsDimension x="-4"
                            y="-4" />
            </Offset>
          </Anchor>
        </Anchors>
        <Scripts>
          <OnClick>PowaAuras:EditorClose();</OnClick>
        </Scripts>
        <NormalTexture file="Interface\Buttons\UI-Panel-MinimizeButton-Up" />
        <PushedTexture file="Interface\Buttons\UI-Panel-MinimizeButton-Down" />
        <HighlightTexture file="Interface\Buttons\UI-Panel-MinimizeButton-Highlight"
                          alphaMode="ADD" />
      </Button>
          
          <!-- Top Panel -->
      <Frame name="PowaBarConfigFrameEditor">
        <Size>
          <AbsDimension x="350"
                        y="300" />
        </Size>
        <Anchors>
          <Anchor point="TOP">
            <Offset>
              <AbsDimension x="0"
                            y="-25" />
            </Offset>
          </Anchor>
        </Anchors>
        <Backdrop bgFile="Dungeons\Textures\rock\BM_BRSPIRE_CUBEROCK01"
                  edgeFile="Interface\Tooltips\UI-Tooltip-Border"
                  tile="true">
          <EdgeSize>
            <AbsValue val="12" />
          </EdgeSize>
          <TileSize>
            <AbsValue val="128" />
          </TileSize>
          <BackgroundInsets>
            <AbsInset left="2"
                      right="2"
                      top="2"
                      bottom="2" />
          </BackgroundInsets>
        </Backdrop>
        <Scripts>
          <OnLoad>self:SetBackdropBorderColor(0.0, 0.0, 0.0); self:SetBackdropColor(0.1, 0.1, 0.1);</OnLoad>
        </Scripts>
        <Layers>
          <Layer>-- texture 
          <Texture name="AuraTexture"
                   file="Interface\AddOns\PowerAuras\Auras\Aura1.tga"
                   alphaMode="ADD">
            <Size>
              <AbsDimension x="107"
                            y="107" />
            </Size>
            <Anchors>
              <Anchor point="TOPLEFT">
                <Offset>
                  <AbsDimension x="22"
                                y="-5" />
                </Offset>
              </Anchor>
            </Anchors>
          </Texture></Layer>
        </Layers>
        <Frames>
          <Slider name="PowaBarAuraTextureSlider"
                  inherits="PowaBarSliderTemplate">
            <Size>
              <AbsDimension x="250"
                            y="16" />
            </Size>
            <Anchors>
              <Anchor point="LEFT"
                      relativeTo="AuraTexture"
                      relativePoint="TOPRIGHT">
                <Offset>
                  <AbsDimension x="-40"
                                y="-104" />
                </Offset>
              </Anchor>
            </Anchors>
            <Scripts>
              <OnLoad>
                self.aide = PowaAuras.Text.aideTexture; self:SetValueStep(1);
              </OnLoad>
             <OnValueChanged>PowaAuras:BarAuraTextureSliderChanged();</OnValueChanged>
            </Scripts>
          </Slider>
                  <EditBox name="PowaBarAuraTextureEdit"
                   autoFocus="false"
                   inherits="InputBoxTemplate">
            <Size>
              <AbsDimension x="40"
                            y="16" />
            </Size>
            <Anchors>
              <Anchor point="BOTTOMRIGHT"
                      relativeTo="PowaBarAuraTextureSlider"
                      relativePoint="TOPRIGHT">
                <Offset>
                  <AbsDimension x="0"
                                y="5" />
                </Offset>
              </Anchor>
            </Anchors>
            <Layers>
              <Layer level="OVERLAY">
                <FontString inherits="ChatFontNormal"
                            bytes="6" />
              </Layer>
            </Layers>
            <Scripts>
              <OnLoad>self:SetMaxLetters(2)</OnLoad>
              <OnEnterPressed>self:ClearFocus(); PowaAuras:TextAuraTextureChanged();</OnEnterPressed>
            </Scripts>
          </EditBox>
                  
          <EditBox name="PowaBarAurasText"
                   autoFocus="false"
                   inherits="InputBoxTemplate">
            <Size>
              <AbsDimension x="225"
                            y="16" />
            </Size>
            <Anchors>
              <Anchor point="TOPLEFT"
                      relativeTo="PowaBarAuraTextureSlider"
                      relativePoint="TOPLEFT">
                <Offset>
                  <AbsDimension x="5"
                                y="0" />
                </Offset>
              </Anchor>
            </Anchors>
            <Layers>
              <Layer level="OVERLAY">
                <FontString inherits="ChatFontNormal"
                            bytes="100" />
              </Layer>
            </Layers>
            <Scripts>
              <OnLoad>self:SetMaxLetters(100)</OnLoad>
              <OnEnterPressed>PowaAuras:AurasTextChanged(); self:ClearFocus()</OnEnterPressed>
              <OnEditFocusLost>PowaAuras:AurasTextChanged()</OnEditFocusLost>
                          <OnEscapePressed>PowaAuras:AurasTextCancel(); self:ClearFocus()</OnEscapePressed>
            </Scripts>
          </EditBox>
          <Button name="PowaFontsButton" inherits="OptionsButtonTemplate" text="[T]">
                        <Size>
                          <AbsDimension x="22"
                                        y="22" />
                        </Size>
                        <Anchors>
                          <Anchor point="TOPLEFT"
                                  relativeTo="PowaBarAurasText"
                                  relativePoint="TOPRIGHT">
                            <Offset>
                              <AbsDimension x="5"
                                            y="3" />
                            </Offset>
                          </Anchor>
                        </Anchors>
                        <Scripts>
                          <OnClick>PowaAuras:OpenFontSelector(self);</OnClick>
                          <OnEnter>
                                GameTooltip:SetOwner(self, "ANCHOR_RIGHT");
                GameTooltip:SetText(PowaAuras.Text.aideFont, nil, nil, nil, nil, 1);
                          </OnEnter>
                          <OnLeave>GameTooltip:Hide();</OnLeave>
                        </Scripts>              
          </Button>
          <EditBox name="PowaBarCustomTexName"
                   autoFocus="false"
                   inherits="InputBoxTemplate">
            <Size>
              <AbsDimension x="145"
                            y="16" />
            </Size>
            <Anchors>
              <Anchor point="TOPLEFT"
                      relativeTo="PowaBarAuraTextureSlider"
                      relativePoint="TOPLEFT">
                <Offset>
                  <AbsDimension x="5"
                                y="0" />
                </Offset>
              </Anchor>
            </Anchors>
            <Layers>
              <Layer level="OVERLAY">
                <FontString inherits="ChatFontNormal"
                            bytes="100" />
              </Layer>
            </Layers>
            <Scripts>
              <OnLoad>self:SetMaxLetters(100)</OnLoad>
              <OnEnterPressed>PowaAuras:CustomTextChanged() self:ClearFocus()</OnEnterPressed>
            </Scripts>
          </EditBox>
          <CheckButton name="PowaTextAuraButton"
                       inherits="PowaCheckTemplate">
            <Size>
              <AbsDimension x="25"
                            y="25" />
            </Size>
            <Anchors>
              <Anchor point="BOTTOMLEFT"
                      relativeTo="PowaBarAuraTextureSlider"
                      relativePoint="TOPLEFT">
                <Offset>
                  <AbsDimension x="100"
                                y="8" />
                </Offset>
              </Anchor>
            </Anchors>
            <Scripts>
              <OnLoad>
                self.tooltipText = PowaAuras.Text.aideTextAura; 
                getglobal("PowaTextAuraButtonText"):SetText(PowaAuras.Text.nomTextAura);
              </OnLoad>
              <OnClick>PowaAuras:TextAuraChecked();</OnClick>
            </Scripts>
          </CheckButton>
          <CheckButton name="PowaCustomTextureButton"
                       inherits="PowaCheckTemplate">
            <Size>
              <AbsDimension x="25"
                            y="25" />
            </Size>
            <Anchors>
              <Anchor point="BOTTOMLEFT"
                      relativeTo="PowaTextAuraButton"
                      relativePoint="TOPLEFT">
                <Offset>
                  <AbsDimension x="0"
                                y="-2" />
                </Offset>
              </Anchor>
            </Anchors>
            <Scripts>
              <OnLoad>
                self.tooltipText = PowaAuras.Text.aideCustomTextures; 
                getglobal("PowaCustomTextureButtonText"):SetText(PowaAuras.Text.nomCustomTextures);
              </OnLoad>
              <OnClick>PowaAuras:CustomTexturesChecked();</OnClick>
            </Scripts>
          </CheckButton>
          <CheckButton name="PowaWowTextureButton"
                       inherits="PowaCheckTemplate">
            <Size>
              <AbsDimension x="25"
                            y="25" />
            </Size>
            <Anchors>
              <Anchor point="BOTTOMLEFT"
                      relativeTo="PowaCustomTextureButton"
                      relativePoint="TOPLEFT">
                <Offset>
                  <AbsDimension x="0"
                                y="-2" />
                </Offset>
              </Anchor>
            </Anchors>
            <Scripts>
              <OnLoad>
                self.tooltipText = PowaAuras.Text.aideWowTextures; 
                getglobal("PowaWowTextureButtonText"):SetText(PowaAuras.Text.nomWowTextures);
              </OnLoad>
              <OnClick>PowaAuras:WowTexturesChecked();</OnClick>
            </Scripts>
          </CheckButton>
          <CheckButton name="PowaRandomColorButton"
                       inherits="PowaCheckTemplate">
            <Size>
              <AbsDimension x="25"
                            y="25" />
            </Size>
            <Anchors>
              <Anchor point="BOTTOMLEFT"
                      relativeTo="AuraTexture"
                      relativePoint="BOTTOMLEFT">
                <Offset>
                  <AbsDimension x="-15"
                                y="-42" />
                </Offset>
              </Anchor>
            </Anchors>
            <Scripts>
              <OnLoad>
                self.tooltipText = PowaAuras.Text.aideRandomColor; 
                getglobal("PowaRandomColorButtonText"):SetText(PowaAuras.Text.nomRandomColor);
              </OnLoad>
              <OnClick>PowaAuras:RandomColorChecked();</OnClick>
            </Scripts>
          </CheckButton>
          <CheckButton name="PowaTexModeButton"
                       inherits="PowaCheckTemplate">
            <Size>
              <AbsDimension x="25"
                            y="25" />
            </Size>
            <Anchors>
              <Anchor point="BOTTOMLEFT"
                      relativeTo="PowaWowTextureButton"
                      relativePoint="TOPLEFT">
                <Offset>
                  <AbsDimension x="0"
                                y="-2" />
                </Offset>
              </Anchor>
            </Anchors>
            <Scripts>
              <OnLoad>
                self.tooltipText = PowaAuras.Text.aideTexMode; 
                getglobal("PowaTexModeButtonText"):SetText(PowaAuras.Text.nomTexMode);
              </OnLoad>
              <OnClick>PowaAuras:TexModeChecked();</OnClick>
            </Scripts>
          </CheckButton>
          <Slider name="PowaBarAuraSymSlider"
                  inherits="PowaBarSliderTemplate">
            <Size>
              <AbsDimension x="130"
                            y="16" />
            </Size>
            <Anchors>
              <Anchor point="TOP"
                      relativeTo="AuraTexture"
                      relativePoint="BOTTOM">
                <Offset>
                  <AbsDimension x="0"
                                y="-55" />
                </Offset>
              </Anchor>
            </Anchors>
            <Scripts>
              <OnLoad>
                self:SetMinMaxValues(0,3); self:SetValue(0); self:SetValueStep(1); 
                getglobal("PowaBarAuraSymSliderText"):SetText(PowaAuras.Text.nomSymetrie.." : "..PowaAuras.Text.aucune);
                getglobal("PowaBarAuraSymSliderLow"):SetText(PowaAuras.Text.aucune); 
                getglobal("PowaBarAuraSymSliderHigh"):SetText("XY");
              </OnLoad>
              <OnValueChanged>PowaAuras:BarAuraSymSliderChanged();</OnValueChanged>
            </Scripts>
          </Slider>
          <Slider name="PowaBarAuraAlphaSlider"
                  inherits="PowaBarSliderTemplate">
            <Size>
              <AbsDimension x="210"
                            y="16" />
            </Size>
            <Anchors>
              <Anchor point="TOP"
                      relativeTo="PowaBarAuraTextureSlider"
                      relativePoint="BOTTOM">
                <Offset>
                  <AbsDimension x="20"
                                y="-17" />
                </Offset>
              </Anchor>
            </Anchors>
            <Scripts>
              <OnLoad>
                self:SetMinMaxValues(0.1,1.0); self:SetValue(1.0); self:SetValueStep(0.05); 
                getglobal("PowaBarAuraAlphaSliderText"):SetText(PowaAuras.Text.nomAlpha.." : 1.0");
                getglobal("PowaBarAuraAlphaSliderLow"):SetText("10"); 
                getglobal("PowaBarAuraAlphaSliderHigh"):SetText("100");
              </OnLoad>
              <OnValueChanged>PowaAuras:BarAuraAlphaSliderChanged();</OnValueChanged>
            </Scripts>
          </Slider>
          <Slider name="PowaBarAuraDeformSlider"
                  inherits="PowaBarSliderTemplate">
            <Size>
              <AbsDimension x="130"
                            y="16" />
            </Size>
            <Anchors>
              <Anchor point="TOP"
                      relativeTo="PowaBarAuraAlphaSlider"
                      relativePoint="BOTTOM">
                <Offset>
                  <AbsDimension x="40"
                                y="-17" />
                </Offset>
              </Anchor>
            </Anchors>
            <Scripts>
              <OnLoad>
                self.aide = PowaAuras.Text.aideDeform; self:SetMinMaxValues(0.5,1.5); self:SetValue(1); self:SetValueStep(0.05); 
                getglobal("PowaBarAuraDeformSliderText"):SetText(PowaAuras.Text.nomDeform.." : 1"); 
                getglobal("PowaBarAuraDeformSliderLow"):SetText(PowaAuras.Text.hauteur); 
                getglobal("PowaBarAuraDeformSliderHigh"):SetText(PowaAuras.Text.largeur);
              </OnLoad>
              <OnValueChanged>PowaAuras:BarAuraDeformSliderChanged();</OnValueChanged>
            </Scripts>
          </Slider>
          <Slider name="PowaBarAuraSizeSlider"
                  inherits="PowaBarSliderTemplate">
            <Size>
              <AbsDimension x="328"
                            y="16" />
            </Size>
            <Anchors>
              <Anchor point="TOPLEFT"
                      relativeTo="PowaBarAuraSymSlider"
                      relativePoint="BOTTOMLEFT">
                <Offset>
                  <AbsDimension x="0"
                                y="-18" />
                </Offset>
              </Anchor>
            </Anchors>
            <Scripts>
              <OnLoad>
                self:SetMinMaxValues(0.1,2.0); self:SetValue(1.0); self:SetValueStep(0.02); 
                getglobal("PowaBarAuraSizeSliderText"):SetText(PowaAuras.Text.nomTaille.." : 100");
                getglobal("PowaBarAuraSizeSliderLow"):SetText("10%"); 
                getglobal("PowaBarAuraSizeSliderHigh"):SetText("200%");
              </OnLoad>
              <OnValueChanged>PowaAuras:BarAuraSizeSliderChanged();</OnValueChanged>
            </Scripts>
          </Slider>
          <Slider name="PowaBarAuraCoordXSlider"
                  inherits="PowaBarSliderTemplate">
            <Size>
              <AbsDimension x="280"
                            y="16" />
            </Size>
            <Anchors>
              <Anchor point="TOPLEFT"
                      relativeTo="PowaBarAuraSizeSlider"
                      relativePoint="BOTTOMLEFT">
                <Offset>
                  <AbsDimension x="0"
                                y="-18" />
                </Offset>
              </Anchor>
            </Anchors>
            <Scripts>
              <OnLoad>
                self:SetMinMaxValues(-300,300); self:SetValue(0); self:SetValueStep(1); 
                getglobal("PowaBarAuraCoordXSliderText"):SetText(PowaAuras.Text.nomPos.." X : 0");
                getglobal("PowaBarAuraCoordXSliderLow"):SetText("-300"); 
                getglobal("PowaBarAuraCoordXSliderHigh"):SetText("300");
              </OnLoad>
              <OnValueChanged>PowaAuras:BarAuraCoordXSliderChanged();</OnValueChanged>
              <OnMouseUp>
                self:SetMinMaxValues(self:GetValue()-200,self:GetValue()+200); 
                getglobal("PowaBarAuraCoordXSliderLow"):SetText(self:GetValue()-200);
                getglobal("PowaBarAuraCoordXSliderHigh"):SetText(self:GetValue()+200);
              </OnMouseUp>
            </Scripts>
          </Slider>
          <EditBox name="PowaBarAuraCoordXEdit"
                   autoFocus="false"
                   inherits="InputBoxTemplate">
            <Size>
              <AbsDimension x="40"
                            y="16" />
            </Size>
            <Anchors>
              <Anchor point="LEFT"
                      relativeTo="PowaBarAuraCoordXSlider"
                      relativePoint="RIGHT">
                <Offset>
                  <AbsDimension x="10"
                                y="0" />
                </Offset>
              </Anchor>
            </Anchors>
            <Layers>
              <Layer level="OVERLAY">
                <FontString inherits="ChatFontNormal"
                            bytes="6" />
              </Layer>
            </Layers>
            <Scripts>
              <OnLoad>self:SetMaxLetters(6)</OnLoad>
              <OnEnterPressed>self:ClearFocus() PowaAuras:TextCoordXChanged();</OnEnterPressed>
            </Scripts>
          </EditBox>
          <Slider name="PowaBarAuraCoordSlider"
                  inherits="PowaBarSliderTemplate">
            <Size>
              <AbsDimension x="280"
                            y="16" />
            </Size>
            <Anchors>
              <Anchor point="TOP"
                      relativeTo="PowaBarAuraCoordXSlider"
                      relativePoint="BOTTOM">
                <Offset>
                  <AbsDimension x="0"
                                y="-16" />
                </Offset>
              </Anchor>
            </Anchors>
            <Scripts>
              <OnLoad>
                self:SetMinMaxValues(-300,300); self:SetValue(-30); self:SetValueStep(1); 
                getglobal("PowaBarAuraCoordSliderText"):SetText(PowaAuras.Text.nomPos.." Y : -30");
                getglobal("PowaBarAuraCoordSliderLow"):SetText("-300"); 
                getglobal("PowaBarAuraCoordSliderHigh"):SetText("300");
              </OnLoad>
              <OnValueChanged>PowaAuras:BarAuraCoordSliderChanged();</OnValueChanged>
              <OnMouseUp>
                self:SetMinMaxValues(self:GetValue()-200,self:GetValue()+200); 
                getglobal("PowaBarAuraCoordSliderLow"):SetText(self:GetValue()-200);
                getglobal("PowaBarAuraCoordSliderHigh"):SetText(self:GetValue()+200);
              </OnMouseUp>
            </Scripts>
          </Slider>
          <EditBox name="PowaBarAuraCoordYEdit"
                   autoFocus="false"
                   inherits="InputBoxTemplate">
            <Size>
              <AbsDimension x="40"
                            y="16" />
            </Size>
            <Anchors>
              <Anchor point="LEFT"
                      relativeTo="PowaBarAuraCoordSlider"
                      relativePoint="RIGHT">
                <Offset>
                  <AbsDimension x="10"
                                y="0" />
                </Offset>
              </Anchor>
            </Anchors>
            <Layers>
              <Layer level="OVERLAY">
                <FontString inherits="ChatFontNormal"
                            bytes="6" />
              </Layer>
            </Layers>
            <Scripts>
              <OnLoad>self:SetMaxLetters(6)</OnLoad>
              <OnEnterPressed>self:ClearFocus() PowaAuras:TextCoordYChanged();</OnEnterPressed>
            </Scripts>
          </EditBox>
          <Button name="PowaColor">
            <Size>
              <AbsDimension x="16"
                            y="16" />
            </Size>
            <Anchors>
              <Anchor point="BOTTOMLEFT"
                      relativeTo="AuraTexture"
                      relativePoint="BOTTOMLEFT">
                <Offset>
                  <AbsDimension x="-11"
                                y="-15" />
                </Offset>
              </Anchor>
            </Anchors>
            <Layers>
              <Layer level="BACKGROUND">
                <Texture name="$parent_SwatchBg">
                  <Size>
                    <AbsDimension x="14"
                                  y="14" />
                  </Size>
                  <Anchors>
                    <Anchor point="CENTER">
                      <Offset>
                        <AbsDimension x="0"
                                      y="0" />
                      </Offset>
                    </Anchor>
                  </Anchors>
                  <Color r="1.0"
                         g="1.0"
                         b="1.0" />
                </Texture>
              </Layer>
            </Layers>
            <Scripts>
              <OnLoad>getglobal(self:GetName().."_SwatchBg").r = 1.0; getglobal(self:GetName().."_SwatchBg").g = 1.0; getglobal(self:GetName().."_SwatchBg").b = 1.0;</OnLoad>
              <OnClick>PowaAuras:OpenColorPicker();</OnClick>
              <OnEnter>
                getglobal(self:GetName().."_SwatchBg"):SetVertexColor(NORMAL_FONT_COLOR.r, NORMAL_FONT_COLOR.g, NORMAL_FONT_COLOR.b); 
                GameTooltip:SetOwner(self, "ANCHOR_RIGHT");
                GameTooltip:SetText(PowaAuras.Text.aideColor, nil, nil, nil, nil, 1);
              </OnEnter>
              <OnLeave>getglobal(self:GetName().."_SwatchBg"):SetVertexColor(HIGHLIGHT_FONT_COLOR.r, HIGHLIGHT_FONT_COLOR.g, HIGHLIGHT_FONT_COLOR.b); GameTooltip:Hide();</OnLeave>
            </Scripts>
            <NormalTexture name="$parentNormalTexture"
                           file="Interface\ChatFrame\ChatFrameColorSwatch" />
          </Button>
                  
                  <!-- First Configuration Tab Panel (Activation)-->
          <Frame name="PowaBarConfigFrameEditor2">
            <Size>
              <AbsDimension x="350"
                            y="340" />
            </Size>
            <Anchors>
              <Anchor point="TOP"
                      relativeTo="PowaBarConfigFrameEditor"
                      relativePoint="BOTTOM">
                <Offset>
                  <AbsDimension x="0"
                                y="-25" />
                </Offset>
              </Anchor>
            </Anchors>
            <Backdrop bgFile="Dungeons\Textures\rock\BM_BRSPIRE_CUBEROCK01"
                      edgeFile="Interface\Tooltips\UI-Tooltip-Border"
                      tile="true">
              <EdgeSize>
                <AbsValue val="12" />
              </EdgeSize>
              <TileSize>
                <AbsValue val="128" />
              </TileSize>
              <BackgroundInsets>
                <AbsInset left="2"
                          right="2"
                          top="2"
                          bottom="2" />
              </BackgroundInsets>
            </Backdrop>
            <Scripts>
              <OnLoad>self:SetBackdropBorderColor(0.0, 0.0, 0.0); self:SetBackdropColor(0.1, 0.1, 0.1);</OnLoad>
            </Scripts>
            <Layers>
              <Layer>
                <Texture name="PowaIconTexture"
                         file="Interface\InventoryItems\WowUnknownItem01">
                  <Size>
                    <AbsDimension x="40"
                                  y="40" />
                  </Size>
                  <Anchors>
                    <Anchor point="TOPRIGHT"
                            relativeTo="PowaBarConfigFrameEditor2"
                            relativePoint="TOPRIGHT">
                      <Offset>
                        <AbsDimension x="-5"
                                      y="-5" />
                      </Offset>
                    </Anchor>
                  </Anchors>
                </Texture>
              </Layer>
            </Layers>
            <Frames>
              <EditBox name="PowaBarBuffName"
                       autoFocus="false"
                       inherits="InputBoxTemplate">
                <Size>
                  <AbsDimension x="272"
                                y="16" />
                </Size>
                <Anchors>
                  <Anchor point="TOPLEFT"
                          relativeTo="PowaBarConfigFrameEditor2"
                          relativePoint="TOPLEFT">
                    <Offset>
                      <AbsDimension x="13"
                                    y="-55" />
                    </Offset>
                  </Anchor>
                </Anchors>
                <Scripts>
                  <OnLoad>self:SetMaxLetters(200) self.aide = PowaAuras.Text.aideBuff;</OnLoad>
                  <OnEnterPressed>self:ClearFocus()</OnEnterPressed>
                  <OnTextChanged>PowaAuras:TextChanged()</OnTextChanged>
                  <OnEnter>GameTooltip:SetOwner(self, "ANCHOR_RIGHT"); GameTooltip:SetText(self.aide, nil, nil, nil, nil, 1);</OnEnter>
                  <OnLeave>GameTooltip:Hide();</OnLeave>
                </Scripts>
                <Layers>
                  <Layer level="OVERLAY">
                    <FontString inherits="ChatFontNormal"
                                bytes="200" />
                  </Layer>
                  <Layer level="OVERLAY">
                    <FontString name="PowaBarBuffNameText"
                                inherits="GameFontNormalSmall"
                                justifyH="LEFT"
                                text="">
                      <Size>
                        <AbsDimension x="150"
                                      y="20" />
                      </Size>
                      <Anchors>
                        <Anchor point="BOTTOMLEFT"
                                relativeTo="PowaBarBuffName"
                                relativePoint="TOPLEFT">
                          <Offset>
                            <AbsDimension x="0"
                                          y="0" />
                          </Offset>
                        </Anchor>
                      </Anchors>
                    </FontString>
                  </Layer>
                </Layers>
              </EditBox>
              <EditBox name="PowaBarMultiID"
                       autoFocus="false"
                       inherits="InputBoxTemplate">
                <Size>
                  <AbsDimension x="145"
                                y="16" />
                </Size>
                <Anchors>
                  <Anchor point="TOPRIGHT"
                          relativeTo="PowaBarBuffName"
                          relativePoint="BOTTOMRIGHT">
                    <Offset>
                      <AbsDimension x="0"
                                    y="-15" />
                    </Offset>
                  </Anchor>
                </Anchors>
                <Scripts>
                  <OnLoad>self:SetMaxLetters(50) self.aide = PowaAuras.Text.aideMultiID;</OnLoad>
                  <OnEnterPressed>self:ClearFocus()</OnEnterPressed>
                  <OnTextChanged>PowaAuras:MultiIDChanged()</OnTextChanged>
                  <OnEnter>GameTooltip:SetOwner(self, "ANCHOR_RIGHT"); GameTooltip:SetText(self.aide, nil, nil, nil, nil, 1);</OnEnter>
                  <OnLeave>GameTooltip:Hide();</OnLeave>
                </Scripts>
                <Layers>
                  <Layer level="OVERLAY">
                    <FontString inherits="ChatFontNormal"
                                bytes="50" />
                  </Layer>
                  <Layer level="OVERLAY">
                    <FontString name="PowaBarMultiIDText"
                                inherits="GameFontNormalSmall"
                                justifyH="LEFT"
                                text="">
                      <Size>
                        <AbsDimension x="150"
                                      y="20" />
                      </Size>
                      <Anchors>
                        <Anchor point="BOTTOMLEFT"
                                relativeTo="PowaBarMultiID"
                                relativePoint="TOPLEFT">
                          <Offset>
                            <AbsDimension x="0"
                                          y="0" />
                          </Offset>
                        </Anchor>
                      </Anchors>
                    </FontString>
                  </Layer>
                </Layers>
              </EditBox>
              <EditBox name="PowaBarTooltipCheck"
                       autoFocus="false"
                       inherits="InputBoxTemplate">
                <Size>
                  <AbsDimension x="145"
                                y="16" />
                </Size>
                <Anchors>
                  <Anchor point="TOPLEFT"
                          relativeTo="PowaBarMultiID"
                          relativePoint="BOTTOMLEFT">
                    <Offset>
                      <AbsDimension x="0"
                                    y="-15" />
                    </Offset>
                  </Anchor>
                </Anchors>
                <Scripts>
                  <OnLoad>self:SetMaxLetters(15) self.aide = PowaAuras.Text.aideTooltipCheck;</OnLoad>
                  <OnEnterPressed>self:ClearFocus()</OnEnterPressed>
                  <OnTextChanged>PowaAuras:TooltipCheckChanged()</OnTextChanged>
                  <OnEnter>GameTooltip:SetOwner(self, "ANCHOR_RIGHT"); GameTooltip:SetText(self.aide, nil, nil, nil, nil, 1);</OnEnter>
                  <OnLeave>GameTooltip:Hide();</OnLeave>
                </Scripts>
                <Layers>
                  <Layer level="OVERLAY">
                    <FontString inherits="ChatFontNormal"
                                bytes="50" />
                  </Layer>
                  <Layer level="OVERLAY">
                    <FontString name="PowaBarTooltipCheckText"
                                inherits="GameFontNormalSmall"
                                justifyH="LEFT"
                                text="">
                      <Size>
                        <AbsDimension x="150"
                                      y="20" />
                      </Size>
                      <Anchors>
                        <Anchor point="BOTTOMLEFT"
                                relativeTo="PowaBarTooltipCheck"
                                relativePoint="TOPLEFT">
                          <Offset>
                            <AbsDimension x="0"
                                          y="0" />
                          </Offset>
                        </Anchor>
                      </Anchors>
                    </FontString>
                  </Layer>
                </Layers>
              </EditBox>
              <EditBox name="PowaBarBuffStacks"
                       autoFocus="false"
                       inherits="InputBoxTemplate">
                <Size>
                  <AbsDimension x="50"
                                y="16" />
                </Size>
                <Anchors>
                  <Anchor point="BOTTOMLEFT"
                          relativeTo="PowaBarBuffName"
                          relativePoint="TOPLEFT">
                    <Offset>
                      <AbsDimension x="200"
                                    y="12" />
                    </Offset>
                  </Anchor>
                </Anchors>
                <Scripts>
                  <OnLoad>
                        getglobal("PowaBarBuffStacksLabel"):SetText(PowaAuras.Text.nomStacks); 
                        self:SetMaxLetters(10);
                                        self.aide = PowaAuras.Text.aideStacks;
                  </OnLoad>
                  <OnEnterPressed>self:ClearFocus()</OnEnterPressed>
                  <OnTextChanged>PowaAuras:StacksTextChanged()</OnTextChanged>
                  <OnEnter>GameTooltip:SetOwner(self, "ANCHOR_RIGHT"); GameTooltip:SetText(self.aide, nil, nil, nil, nil, 1);</OnEnter>
                  <OnLeave>GameTooltip:Hide();</OnLeave>
                </Scripts>
                <Layers>
                  <Layer level="BACKGROUND">
                    <FontString name="$parentLabel"
                                inherits="GameFontNormalSmall">
                      <Anchors>
                        <Anchor point="RIGHT"
                                relativePoint="LEFT">
                          <Offset>
                            <AbsDimension x="-5"
                                          y="0" />
                          </Offset>
                        </Anchor>
                      </Anchors>
                    </FontString>
                  </Layer>
                </Layers>
              </EditBox>
              <Frame name="PowaDropDownBuffType"
                     inherits="UIDropDownMenuTemplate"
                     id="10">
                <Size>
                  <AbsDimension x="225" />
                </Size>
                <Anchors>
                  <Anchor point="BOTTOMLEFT"
                          relativeTo="PowaBarBuffName"
                          relativePoint="TOPLEFT">
                    <Offset>
                      <AbsDimension x="-25"
                                    y="5" />
                    </Offset>
                  </Anchor>
                </Anchors>
                <Layers>
                  <Layer level="BACKGROUND">
                    <FontString name="$parentLabel"
                                inherits="GameFontNormalSmall">
                      <Anchors>
                        <Anchor point="BOTTOMLEFT"
                                relativePoint="TOPLEFT">
                          <Offset>
                            <AbsDimension x="21"
                                          y="5" />
                          </Offset>
                        </Anchor>
                      </Anchors>
                    </FontString>
                  </Layer>
                </Layers>
                <Scripts>
                  <OnLoad>
                        getglobal("PowaDropDownBuffTypeLabel"):SetText(PowaAuras.Text.nomActivationBy); 
                        UIDropDownMenu_Initialize(self, PowaAuras.DropDownMenu_Initialize);
                  </OnLoad>
                  <OnEnter>GameTooltip:SetOwner(self, "ANCHOR_RIGHT");</OnEnter>
                  <OnLeave>GameTooltip:Hide();</OnLeave>
                </Scripts>
              </Frame>
              <Frame name="PowaDropDownStance"
                     inherits="UIDropDownMenuTemplate"
                     id="12">
                <Size>
                  <AbsDimension x="210" />
                </Size>
                <Anchors>
                  <Anchor point="TOPLEFT"
                          relativeTo="PowaBarBuffName"
                          relativePoint="BOTTOMLEFT">
                    <Offset>
                      <AbsDimension x="30"
                                    y="20" />
                    </Offset>
                  </Anchor>
                </Anchors>
                <Layers>
                  <Layer level="BACKGROUND">
                    <FontString name="$parentLabel"
                                inherits="GameFontNormalSmall">
                      <Anchors>
                        <Anchor point="TOPRIGHT"
                                relativePoint="TOPLEFT">
                          <Offset>
                            <AbsDimension x="0"
                                          y="-5" />
                          </Offset>
                        </Anchor>
                      </Anchors>
                    </FontString>
                  </Layer>
                </Layers>
                <Scripts>
                  <OnLoad>
                        getglobal("PowaDropDownStanceLabel"):SetText(PowaAuras.Text.nomStance); 
                        UIDropDownMenu_Initialize(self, PowaAuras.DropDownMenu_Initialize);
                  </OnLoad>
                  <OnShow>UIDropDownMenu_Initialize(self, PowaAuras.DropDownMenu_Initialize);</OnShow>
                  <OnEnter>GameTooltip:SetOwner(self, "ANCHOR_RIGHT"); GameTooltip:SetText(PowaAuras.Text.aideStance, nil, nil, nil, nil, 1);</OnEnter>
                  <OnLeave>GameTooltip:Hide();</OnLeave>
                </Scripts>
              </Frame>
              <Slider name="PowaBarThresholdSlider"
                      inherits="PowaBarSliderTemplate">
                <Size>
                  <AbsDimension x="245"
                                y="16" />
                </Size>
                <Anchors>
                  <Anchor point="TOPLEFT"
                          relativeTo="PowaBarBuffName"
                          relativePoint="BOTTOMLEFT">
                    <Offset>
                      <AbsDimension x="0"
                                    y="18" />
                    </Offset>
                  </Anchor>
                </Anchors>
                <Scripts>
                  <OnLoad>
                        self:SetMinMaxValues(0,100); self:SetValue(50); self:SetValueStep(2); 
                        getglobal("PowaBarThresholdSliderText"):SetText(PowaAuras.Text.nomThreshold.." : 50");
                        getglobal("PowaBarThresholdSliderLow"):SetText("0%"); 
                        getglobal("PowaBarThresholdSliderHigh"):SetText("100%");
                  </OnLoad>
                  <OnValueChanged>PowaAuras:BarThresholdSliderChanged();</OnValueChanged>
                </Scripts>
              </Slider>
              <CheckButton name="PowaThresholdInvertButton"
                                                         inherits="PowaCheckTemplate">
                <Size>
                        <AbsDimension x="25"
                                                                                y="25" />
                </Size>
                <Anchors>
                        <Anchor point="TOPLEFT"
                                                        relativeTo="PowaBarThresholdSlider"
                                                        relativePoint="TOPRIGHT">
                                <Offset>
                                        <AbsDimension x="2"
                                                                                                y="3" />
                                </Offset>
                        </Anchor>
                </Anchors>
                <Scripts>
                        <OnLoad>self.tooltipText = PowaAuras.Text.aideThreshInv; getglobal("PowaThresholdInvertButtonText"):SetText(PowaAuras.Text.nomThreshInv);</OnLoad>
                        <OnClick>PowaAuras:ThresholdInvertChecked(self);</OnClick>
                </Scripts>
              </CheckButton>
              <CheckButton name="PowaOwntexButton"
                           inherits="PowaCheckTemplate">
                <Size>
                  <AbsDimension x="25"
                                y="25" />
                </Size>
                <Anchors>
                  <Anchor point="TOPLEFT"
                          relativeTo="PowaDropDownBuffType"
                          relativePoint="TOPRIGHT">
                    <Offset>
                      <AbsDimension x="-70"
                                    y="15" />
                    </Offset>
                  </Anchor>
                </Anchors>
                <Scripts>
                  <OnLoad>self.tooltipText = PowaAuras.Text.aideOwnTex; getglobal("PowaOwntexButtonText"):SetText(PowaAuras.Text.nomOwnTex); getglobal("PowaOwntexButtonText"):SetTextColor(1.0,0.2,0.2);</OnLoad>
                  <OnClick>PowaAuras:OwntexChecked();</OnClick>
                </Scripts>
              </CheckButton>
              <CheckButton name="PowaExactButton"
                           inherits="PowaCheckTemplate">
                <Size>
                  <AbsDimension x="25"
                                y="25" />
                </Size>
                <Anchors>
                  <Anchor point="TOPLEFT"
                          relativeTo="PowaBarBuffName"
                          relativePoint="BOTTOMLEFT">
                    <Offset>
                      <AbsDimension x="-8"
                                    y="-10" />
                    </Offset>
                  </Anchor>
                </Anchors>
                <Scripts>
                  <OnLoad>self.tooltipText = PowaAuras.Text.aideExact; getglobal("PowaExactButtonText"):SetText(PowaAuras.Text.nomExact); getglobal("PowaExactButtonText"):SetTextColor(1.0,0.2,0.2);</OnLoad>
                  <OnClick>PowaAuras:ExactChecked();</OnClick>
                </Scripts>
              </CheckButton>
              <CheckButton name="PowaIgnoreMajButton"
                           inherits="PowaCheckTemplate">
                <Size>
                  <AbsDimension x="25"
                                y="25" />
                </Size>
                <Anchors>
                  <Anchor point="TOP"
                          relativeTo="PowaExactButton"
                          relativePoint="BOTTOM">
                    <Offset>
                      <AbsDimension x="0"
                                    y="5" />
                    </Offset>
                  </Anchor>
                </Anchors>
                <Scripts>
                  <OnLoad>self.tooltipText = PowaAuras.Text.aideIgnoreMaj; getglobal("PowaIgnoreMajButtonText"):SetText(PowaAuras.Text.nomCheckIgnoreMaj);</OnLoad>
                  <OnClick>PowaAuras:IgnoreMajChecked();</OnClick>
                </Scripts>
              </CheckButton>
              <CheckButton name="PowaGCDButton"
                           inherits="PowaCheckTemplate">
                <Size>
                  <AbsDimension x="25"
                                y="25" />
                </Size>
                <Anchors>
                  <Anchor point="TOPLEFT"
                          relativeTo="PowaIgnoreMajButton"
                          relativePoint="BOTTOMLEFT">
                    <Offset>
                      <AbsDimension x="0"
                                    y="5" />
                    </Offset>
                  </Anchor>
                </Anchors>
                <Scripts>
                  <OnLoad>
                        self.tooltipText = PowaAuras.Text.aideGCD; 
                        getglobal("PowaGCDButtonText"):SetText(PowaAuras.Text.nomGCD); 
                        getglobal("PowaGCDButtonText"):SetTextColor(1.0,0.2,0.2);
                  </OnLoad>
                  <OnClick>PowaAuras:GCDChecked();</OnClick>
                </Scripts>
              </CheckButton>
              <CheckButton name="PowaInverseButton"
                           inherits="PowaCheckTemplate">
                <Size>
                  <AbsDimension x="25"
                                y="25" />
                </Size>
                <Anchors>
                  <Anchor point="TOP"
                          relativeTo="PowaGCDButton"
                          relativePoint="BOTTOM">
                    <Offset>
                      <AbsDimension x="0"
                                    y="0" />
                    </Offset>
                  </Anchor>
                </Anchors>
                <Scripts>
                  <OnLoad>
                        self.tooltipText = PowaAuras.Text.aideInverse; 
                        getglobal("PowaInverseButtonText"):SetText(PowaAuras.Text.nomCheckInverse);
                  </OnLoad>
                  <OnClick>PowaAuras:InverseChecked();</OnClick>
                </Scripts>
              </CheckButton>
              <CheckButton name="PowaMineButton"
                           inherits="PowaCheckTemplate">
                <Size>
                  <AbsDimension x="25"
                                y="25" />
                </Size>
                <Anchors>
                  <Anchor point="LEFT"
                          relativeTo="PowaInverseButton"
                          relativePoint="RIGHT">
                    <Offset>
                      <AbsDimension x="100"
                                    y="0" />
                    </Offset>
                  </Anchor>
                </Anchors>
                <Scripts>
                  <OnLoad>
                        self.tooltipText = PowaAuras.Text.aideMine; 
                        getglobal("PowaMineButtonText"):SetText(PowaAuras.Text.nomMine); 
                        getglobal("PowaMineButtonText"):SetTextColor(1.0,0.2,0.2);
                  </OnLoad>
                  <OnClick>PowaAuras:MineChecked();</OnClick>
                </Scripts>
              </CheckButton>                      
              <CheckButton name="PowaInCombatButton"
                           inherits="PowaCheckTemplate">
                <Size>
                  <AbsDimension x="25"
                                y="25" />
                </Size>
                <Anchors>
                  <Anchor point="TOP"
                          relativeTo="PowaInverseButton"
                          relativePoint="BOTTOM">
                    <Offset>
                      <AbsDimension x="0"
                                    y="5" />
                    </Offset>
                  </Anchor>
                </Anchors>
                <Scripts>
                  <OnLoad>self.tooltipText = PowaAuras.Text.aideInCombat; getglobal("PowaInCombatButtonText"):SetText(PowaAuras.Text.nomInCombat);</OnLoad>
                  <OnClick>PowaAuras:CombatChecked(1);</OnClick>
                </Scripts>
              </CheckButton>
              <CheckButton name="PowaNotInCombatButton"
                           inherits="PowaCheckTemplate">
                <Size>
                  <AbsDimension x="25"
                                y="25" />
                </Size>
                <Anchors>
                  <Anchor point="LEFT"
                          relativeTo="PowaInCombatButton"
                          relativePoint="RIGHT">
                    <Offset>
                      <AbsDimension x="100"
                                    y="0" />
                    </Offset>
                  </Anchor>
                </Anchors>
                <Scripts>
                  <OnLoad>
                        self.tooltipText = PowaAuras.Text.aideNotInCombat; 
                        getglobal("PowaNotInCombatButtonText"):SetText(PowaAuras.Text.nomNotInCombat);
                  </OnLoad>
                  <OnClick>PowaAuras:CombatChecked(2);</OnClick>
                </Scripts>
              </CheckButton>
              <CheckButton name="PowaIsInRaidButton"
                           inherits="PowaCheckTemplate">
                <Size>
                  <AbsDimension x="25"
                                y="25" />
                </Size>
                <Anchors>
                  <Anchor point="TOP"
                          relativeTo="PowaInCombatButton"
                          relativePoint="BOTTOM">
                    <Offset>
                      <AbsDimension x="0"
                                    y="5" />
                    </Offset>
                  </Anchor>
                </Anchors>
                <Scripts>
                  <OnLoad>
                        self.tooltipText = PowaAuras.Text.aideIsInRaid; 
                        getglobal("PowaIsInRaidButtonText"):SetText(PowaAuras.Text.nomIsInRaid);
                        getglobal("PowaIsInRaidButtonText"):SetTextColor(1.0,0.2,0.2);
                  </OnLoad>
                  <OnClick>PowaAuras:CheckedButtonOnClick(self, "isinraid");</OnClick>
                </Scripts>
              </CheckButton>
              <CheckButton name="PowaRestingButton"
                           inherits="PowaCheckTemplate">
                <Size>
                  <AbsDimension x="25"
                                y="25" />
                </Size>
                <Anchors>
                  <Anchor point="LEFT"
                          relativeTo="PowaIsInRaidButton"
                          relativePoint="RIGHT">
                    <Offset>
                      <AbsDimension x="100"
                                    y="0" />
                    </Offset>
                  </Anchor>
                </Anchors>
                <Scripts>
                  <OnLoad>
                        self.tooltipText = PowaAuras.Text.aideResting; 
                        getglobal("PowaRestingButtonText"):SetText(PowaAuras.Text.nomResting);
                  </OnLoad>
                  <OnClick>PowaAuras:CheckedButtonOnClick(self, "ignoreResting");</OnClick>
                </Scripts>
              </CheckButton>
              <CheckButton name="PowaIsMountedButton"
                           inherits="PowaCheckTemplate">
                <Size>
                  <AbsDimension x="25"
                                y="25" />
                </Size>
                <Anchors>
                  <Anchor point="TOP"
                          relativeTo="PowaIsInRaidButton"
                           relativePoint="BOTTOM">
                    <Offset>
                      <AbsDimension x="0"
                                    y="5" />
                    </Offset>
                 </Anchor>
                </Anchors>
                <Scripts>
                  <OnLoad>
                        self.tooltipText = PowaAuras.Text.aideIsMounted; 
                        getglobal("PowaIsMountedButtonText"):SetText(PowaAuras.Text.nomIsMounted);
                  </OnLoad>
                  <OnClick>PowaAuras:CheckedButtonOnClick(self, "ismounted");</OnClick>
                </Scripts>
              </CheckButton>
              <CheckButton name="PowaInVehicleButton"
                           inherits="PowaCheckTemplate">
                <Size>
                  <AbsDimension x="25"
                                y="25" />
                </Size>
                <Anchors>
                  <Anchor point="LEFT"
                          relativeTo="PowaIsMountedButton"
                          relativePoint="RIGHT">
                    <Offset>
                      <AbsDimension x="100"
                                    y="0" />
                    </Offset>
                  </Anchor>
                </Anchors>
                <Scripts>
                 <OnLoad>
                        self.tooltipText = PowaAuras.Text.aideInVehicle; 
                        getglobal("PowaInVehicleButtonText"):SetText(PowaAuras.Text.nomInVehicle);
                  </OnLoad>
                  <OnClick>PowaAuras:CheckedButtonOnClick(self, "inVehicle");</OnClick>
                </Scripts>
              </CheckButton>
              <CheckButton name="PowaTargetButton"
                           inherits="PowaCheckTemplate">
                <Size>
                  <AbsDimension x="25"
                                y="25" />
                </Size>
                <Anchors>
                  <Anchor point="TOP"
                          relativeTo="PowaIsMountedButton"
                          relativePoint="BOTTOM">
                    <Offset>
                      <AbsDimension x="0"
                                    y="0" />
                    </Offset>
                  </Anchor>
                </Anchors>
                <Scripts>
                  <OnLoad>
                        self.tooltipText = PowaAuras.Text.aideTarget; 
                        getglobal("PowaTargetButtonText"):SetText(PowaAuras.Text.nomCheckTarget);
                        getglobal("PowaTargetButtonText"):SetTextColor(1.0,0.2,0.2);
                  </OnLoad>
                  <OnClick>PowaAuras:TargetChecked();</OnClick>
                </Scripts>
              </CheckButton>
              <CheckButton name="PowaTargetFriendButton"
                           inherits="PowaCheckTemplate">
                <Size>
                  <AbsDimension x="25"
                                y="25" />
                </Size>
                <Anchors>
                  <Anchor point="LEFT"
                          relativeTo="PowaTargetButton"
                          relativePoint="RIGHT">
                    <Offset>
                      <AbsDimension x="100"
                                    y="0" />
                    </Offset>
                  </Anchor>
                </Anchors>
                <Scripts>
                  <OnLoad>
                        self.tooltipText = PowaAuras.Text.aideTargetFriend; 
                        getglobal("PowaTargetFriendButtonText"):SetText(PowaAuras.Text.nomCheckFriend);
                        getglobal("PowaTargetFriendButtonText"):SetTextColor(0.2,1.0,0.2);
                  </OnLoad>
                  <OnClick>PowaAuras:TargetFriendChecked();</OnClick>
                </Scripts>
              </CheckButton>
              <CheckButton name="PowaFocusButton"
                           inherits="PowaCheckTemplate">
                <Size>
                  <AbsDimension x="25"
                                y="25" />
                </Size>
                <Anchors>
                  <Anchor point="TOP"
                          relativeTo="PowaTargetButton"
                          relativePoint="BOTTOM">
                    <Offset>
                      <AbsDimension x="0"
                                    y="5" />
                    </Offset>
                  </Anchor>
                </Anchors>
                <Scripts>
                  <OnLoad>
                        self.tooltipText = PowaAuras.Text.aideFocus; 
                        getglobal("PowaFocusButtonText"):SetText(PowaAuras.Text.nomCheckFocus); 
                        getglobal("PowaFocusButtonText"):SetTextColor(0.2,1.0,0.2);
                  </OnLoad>
                  <OnClick>PowaAuras:FocusChecked();</OnClick>
                </Scripts>
              </CheckButton>
              
              <CheckButton name="PowaGroupOrSelfButton"
                           inherits="PowaCheckTemplate">
                <Size>
                  <AbsDimension x="25"
                                y="25" />
                </Size>
                <Anchors>
                  <Anchor point="LEFT"
                          relativeTo="PowaFocusButton"
                          relativePoint="RIGHT">
                    <Offset>
                      <AbsDimension x="100"
                                    y="0" />
                    </Offset>
                  </Anchor>
                </Anchors>
                <Scripts>
                  <OnLoad>
                        self.tooltipText = PowaAuras.Text.aideGroupOrSelf; 
                        getglobal("PowaGroupOrSelfButtonText"):SetText(PowaAuras.Text.nomCheckGroupOrSelf); 
                        getglobal("PowaGroupOrSelfButtonText"):SetTextColor(0.2,1.0,0.2);
                  </OnLoad>
                  <OnClick>PowaAuras:GroupOrSelfChecked();</OnClick>
                </Scripts>
              </CheckButton>
              
              
              <CheckButton name="PowaPartyButton"
                           inherits="PowaCheckTemplate">
                <Size>
                  <AbsDimension x="25"
                                y="25" />
                </Size>
                <Anchors>
                  <Anchor point="TOP"
                          relativeTo="PowaFocusButton"
                          relativePoint="BOTTOM">
                    <Offset>
                      <AbsDimension x="0"
                                    y="5" />
                    </Offset>
                  </Anchor>
                </Anchors>
                <Scripts>
                  <OnLoad>
                        self.tooltipText = PowaAuras.Text.aideParty; 
                        getglobal("PowaPartyButtonText"):SetText(PowaAuras.Text.nomCheckParty); 
                        getglobal("PowaPartyButtonText"):SetTextColor(0.2,1.0,0.2);
                  </OnLoad>
                  <OnClick>PowaAuras:PartyChecked();</OnClick>
                </Scripts>
              </CheckButton>
              <CheckButton name="PowaRaidButton"
                           inherits="PowaCheckTemplate">
                <Size>
                  <AbsDimension x="25"
                                y="25" />
                </Size>
                <Anchors>
                  <Anchor point="LEFT"
                          relativeTo="PowaPartyButton"
                          relativePoint="RIGHT">
                    <Offset>
                      <AbsDimension x="100"
                                    y="0" />
                    </Offset>
                  </Anchor>
                </Anchors>
                <Scripts>
                  <OnLoad>
                        self.tooltipText = PowaAuras.Text.aideRaid; 
                        getglobal("PowaRaidButtonText"):SetText(PowaAuras.Text.nomCheckRaid); 
                        getglobal("PowaRaidButtonText"):SetTextColor(0.2,1.0,0.2);
                  </OnLoad>
                  <OnClick>PowaAuras:RaidChecked();</OnClick>
                </Scripts>
              </CheckButton>
              <CheckButton name="PowaGroupAnyButton"
                           inherits="PowaCheckTemplate">
                <Size>
                  <AbsDimension x="25"
                                y="25" />
                </Size>
                <Anchors>
                  <Anchor point="LEFT"
                          relativeTo="PowaRaidButton"
                          relativePoint="RIGHT">
                    <Offset>
                      <AbsDimension x="100"
                                    y="0" />
                    </Offset>
                  </Anchor>
                </Anchors>
                <Scripts>
                  <OnLoad>
                        self.tooltipText = PowaAuras.Text.aideGroupAny; 
                        getglobal("PowaGroupAnyButtonText"):SetText(PowaAuras.Text.nomCheckGroupAny); 
                  </OnLoad>
                  <OnClick>PowaAuras:GroupAnyChecked();</OnClick>
                </Scripts>
              </CheckButton>
              <CheckButton name="PowaOptunitnButton"
                           inherits="PowaCheckTemplate">
                <Size>
                  <AbsDimension x="25"
                                y="25" />
                </Size>
                <Anchors>
                  <Anchor point="TOP"
                          relativeTo="PowaPartyButton"
                          relativePoint="BOTTOM">
                    <Offset>
                      <AbsDimension x="0"
                                    y="5" />
                    </Offset>
                  </Anchor>
                </Anchors>
                <Scripts>
                  <OnLoad>
                        self.tooltipText = PowaAuras.Text.aideOptunitn; 
                        getglobal("PowaOptunitnButtonText"):SetText(PowaAuras.Text.nomCheckOptunitn);
                        getglobal("PowaOptunitnButtonText"):SetTextColor(0.2,1.0,0.2);
                  </OnLoad>
                  <OnClick>PowaAuras:OptunitnChecked();</OnClick>
                </Scripts>
              </CheckButton>
              <CheckButton name="PowaTalentGroup1Button"
                           inherits="PowaCheckTemplate">
                <Size>
                  <AbsDimension x="25"
                                y="25" />
                </Size>
                <Anchors>
                  <Anchor point="TOP"
                          relativeTo="PowaOptunitnButton"
                          relativePoint="BOTTOM">
                    <Offset>
                      <AbsDimension x="0"
                                    y="5" />
                    </Offset>
                  </Anchor>
                </Anchors>
                <Scripts>
                  <OnLoad>self.tooltipText = PowaAuras.Text.aideTalentGroup1; getglobal("PowaTalentGroup1ButtonText"):SetText(PowaAuras.Text.nomTalentGroup1);</OnLoad>
                  <OnClick>PowaAuras:TalentGroup1Checked();</OnClick>
                </Scripts>
              </CheckButton>
              <CheckButton name="PowaTalentGroup2Button"
                           inherits="PowaCheckTemplate">
                <Size>
                  <AbsDimension x="25"
                                y="25" />
                </Size>
                <Anchors>
                  <Anchor point="LEFT"
                          relativeTo="PowaTalentGroup1Button"
                          relativePoint="RIGHT">
                    <Offset>
                      <AbsDimension x="100"
                                    y="0" />
                    </Offset>
                  </Anchor>
                </Anchors>
                <Scripts>
                  <OnLoad>self.tooltipText = PowaAuras.Text.aideTalentGroup2; getglobal("PowaTalentGroup2ButtonText"):SetText(PowaAuras.Text.nomTalentGroup2);</OnLoad>
                  <OnClick>PowaAuras:TalentGroup2Checked();</OnClick>
                </Scripts>
              </CheckButton>
              <EditBox name="PowaBarUnitn"
                       autoFocus="false"
                       inherits="InputBoxTemplate">
                <Size>
                  <AbsDimension x="150"
                                y="16" />
                </Size>
                <Anchors>
                  <Anchor point="TOPLEFT"
                          relativeTo="PowaOptunitnButtonText"
                          relativePoint="TOPLEFT">
                    <Offset>
                      <AbsDimension x="80"
                                    y="3" />
                    </Offset>
                  </Anchor>
                </Anchors>
                <Layers>
                  <Layer level="OVERLAY">
                    <FontString inherits="ChatFontNormal"
                                bytes="200" />
                  </Layer>
                </Layers>
                <Scripts>
                  <OnLoad>self:SetMaxLetters(200) self.aide = PowaAuras.Text.aideUnitn;</OnLoad>
                  <OnEnterPressed>self:ClearFocus()</OnEnterPressed>
                  <OnTextChanged>PowaAuras:UnitnTextChanged()</OnTextChanged>
                  <OnEnter>GameTooltip:SetOwner(self, "ANCHOR_RIGHT"); GameTooltip:SetText(self.aide, nil, nil, nil, nil, 1);</OnEnter>
                  <OnLeave>GameTooltip:Hide();</OnLeave>
                </Scripts>
                <Layers>
                  <Layer level="OVERLAY">
                    <FontString name="PowaBarUnitnText"
                                inherits="GameFontNormalSmall"
                                justifyH="LEFT"
                                text="">
                      <Size>
                        <AbsDimension x="150"
                                      y="20" />
                      </Size>
                      <Anchors>
                        <Anchor point="BOTTOMLEFT"
                                relativeTo="PowaBarUnitn"
                                relativePoint="TOPLEFT">
                          <Offset>
                            <AbsDimension x="0"
                                          y="0" />
                          </Offset>
                        </Anchor>
                      </Anchors>
                    </FontString>
                  </Layer>
                </Layers>
              </EditBox>
            </Frames>
          </Frame>
                  <!-- Second Configuration Tab Panel (Animation)-->
           <Frame name="PowaBarConfigFrameEditor3"
                 hidden="true">
            <Size>
              <AbsDimension x="350"
                            y="130" />
            </Size>
            <Anchors>
              <Anchor point="TOP"
                      relativeTo="PowaBarConfigFrameEditor"
                      relativePoint="BOTTOM">
                <Offset>
                  <AbsDimension x="0"
                                y="-25" />
                </Offset>
              </Anchor>
            </Anchors>
            <Backdrop bgFile="Dungeons\Textures\rock\BM_BRSPIRE_CUBEROCK01"
                      edgeFile="Interface\Tooltips\UI-Tooltip-Border"
                      tile="true">
              <EdgeSize>
                <AbsValue val="12" />
              </EdgeSize>
              <TileSize>
                <AbsValue val="128" />
              </TileSize>
              <BackgroundInsets>
                <AbsInset left="2"
                          right="2"
                          top="2"
                          bottom="2" />
              </BackgroundInsets>
            </Backdrop>
            <Scripts>
              <OnLoad>self:SetBackdropBorderColor(0.0, 0.0, 0.0); self:SetBackdropColor(0.1, 0.1, 0.1);</OnLoad>
            </Scripts>
            <Frames>
              <Frame name="PowaDropDownAnimBegin"
                     inherits="UIDropDownMenuTemplate"
                     id="1">
                <Size>
                  <AbsDimension x="140" />
                </Size>
                <Anchors>
                  <Anchor point="TOPLEFT"
                          relativeTo="PowaBarConfigFrameEditor3"
                          relativePoint="TOPLEFT">
                    <Offset>
                      <AbsDimension x="-8"
                                    y="-15" />
                    </Offset>
                  </Anchor>
                </Anchors>
                <Layers>
                  <Layer level="BACKGROUND">
                    <FontString name="$parentLabel"
                                inherits="GameFontNormalSmall">
                      <Anchors>
                        <Anchor point="BOTTOMLEFT"
                                relativePoint="TOPLEFT">
                          <Offset>
                            <AbsDimension x="21"
                                          y="0" />
                          </Offset>
                        </Anchor>
                      </Anchors>
                    </FontString>
                  </Layer>
                </Layers>
                <Scripts>
                  <OnLoad>
                        getglobal("PowaDropDownAnimBeginLabel"):SetText(PowaAuras.Text.nomBegin); 
                        UIDropDownMenu_Initialize(self, PowaAuras.DropDownMenu_Initialize);
                  </OnLoad>
                  <OnShow>UIDropDownMenu_Initialize(self, PowaAuras.DropDownMenu_Initialize);</OnShow>
                </Scripts>
              </Frame>
              <Frame name="PowaDropDownAnimEnd"
                     inherits="UIDropDownMenuTemplate"
                     id="2">
                <Size>
                  <AbsDimension x="140" />
                </Size>
                <Anchors>
                  <Anchor point="LEFT"
                          relativeTo="PowaDropDownAnimBegin"
                          relativePoint="RIGHT">
                    <Offset>
                      <AbsDimension x="0"
                                    y="0" />
                    </Offset>
                  </Anchor>
                </Anchors>
                <Layers>
                  <Layer level="BACKGROUND">
                    <FontString name="$parentLabel"
                                inherits="GameFontNormalSmall">
                      <Anchors>
                        <Anchor point="BOTTOMLEFT"
                                relativePoint="TOPLEFT">
                          <Offset>
                            <AbsDimension x="21"
                                          y="0" />
                          </Offset>
                        </Anchor>
                      </Anchors>
                    </FontString>
                  </Layer>
                </Layers>
                <Scripts>
                  <OnLoad>
                        getglobal("PowaDropDownAnimEndLabel"):SetText(PowaAuras.Text.nomEnd); 
                        UIDropDownMenu_Initialize(self, PowaAuras.DropDownMenu_Initialize);
                  </OnLoad>
                  <OnShow>UIDropDownMenu_Initialize(self, PowaAuras.DropDownMenu_Initialize);</OnShow>
                </Scripts>
              </Frame>
              <Frame name="PowaDropDownAnim1"
                     inherits="UIDropDownMenuTemplate"
                     id="3">
                <Size>
                  <AbsDimension x="140" />
                </Size>
                <Anchors>
                  <Anchor point="TOP"
                          relativeTo="PowaDropDownAnimBegin"
                          relativePoint="BOTTOM">
                    <Offset>
                      <AbsDimension x="0"
                                    y="-10" />
                    </Offset>
                  </Anchor>
                </Anchors>
                <Layers>
                  <Layer level="BACKGROUND">
                    <FontString name="$parentLabel"
                                inherits="GameFontNormalSmall">
                      <Anchors>
                        <Anchor point="BOTTOMLEFT"
                                relativePoint="TOPLEFT">
                          <Offset>
                            <AbsDimension x="21"
                                          y="0" />
                          </Offset>
                        </Anchor>
                      </Anchors>
                    </FontString>
                  </Layer>
                </Layers>
                <Scripts>
                  <OnLoad>
                        getglobal("PowaDropDownAnim1Label"):SetText(PowaAuras.Text.nomAnim1); 
                        UIDropDownMenu_Initialize(self, PowaAuras.DropDownMenu_Initialize);
                  </OnLoad>
                  <OnShow>UIDropDownMenu_Initialize(self, PowaAuras.DropDownMenu_Initialize);</OnShow>
                  <OnEnter>GameTooltip:SetOwner(self, "ANCHOR_RIGHT"); GameTooltip:SetText(PowaAuras.Text.aideAnim1, nil, nil, nil, nil, 1);</OnEnter>
                  <OnLeave>GameTooltip:Hide();</OnLeave>
                </Scripts>
              </Frame>
              <Frame name="PowaDropDownAnim2"
                     inherits="UIDropDownMenuTemplate"
                     id="4">
                <Size>
                  <AbsDimension x="140" />
                </Size>
                <Anchors>
                  <Anchor point="LEFT"
                          relativeTo="PowaDropDownAnim1"
                          relativePoint="RIGHT">
                    <Offset>
                      <AbsDimension x="0"
                                    y="0" />
                    </Offset>
                  </Anchor>
                </Anchors>
                <Layers>
                  <Layer level="BACKGROUND">
                    <FontString name="$parentLabel"
                                inherits="GameFontNormalSmall">
                      <Anchors>
                        <Anchor point="BOTTOMLEFT"
                                relativePoint="TOPLEFT">
                          <Offset>
                            <AbsDimension x="21"
                                          y="0" />
                          </Offset>
                        </Anchor>
                      </Anchors>
                    </FontString>
                  </Layer>
                </Layers>
                <Scripts>
                  <OnLoad>
                        getglobal("PowaDropDownAnim2Label"):SetText(PowaAuras.Text.nomAnim2); 
                        UIDropDownMenu_Initialize(self, PowaAuras.DropDownMenu_Initialize);
                  </OnLoad>
                  <OnShow>UIDropDownMenu_Initialize(self, PowaAuras.DropDownMenu_Initialize);</OnShow>
                  <OnEnter>GameTooltip:SetOwner(self, "ANCHOR_RIGHT"); GameTooltip:SetText(PowaAuras.Text.aideAnim2, nil, nil, nil, nil, 1);</OnEnter>
                  <OnLeave>GameTooltip:Hide();</OnLeave>
                </Scripts>
              </Frame>
              <Slider name="PowaBarAuraAnimSpeedSlider"
                      inherits="PowaBarSliderTemplate">
                <Size>
                  <AbsDimension x="130"
                                y="16" />
                </Size>
                <Anchors>
                  <Anchor point="BOTTOMLEFT"
                          relativeTo="PowaBarConfigFrameEditor3"
                          relativePoint="BOTTOMLEFT">
                    <Offset>
                      <AbsDimension x="10"
                                    y="15" />
                    </Offset>
                  </Anchor>
                </Anchors>
                <Scripts>
                  <OnLoad>
                        self:SetMinMaxValues(0.50,2.00); self:SetValue(1.0); self:SetValueStep(0.05); 
                        getglobal("PowaBarAuraAnimSpeedSliderText"):SetText(PowaAuras.Text.nomSpeed.." : 100%");
                        getglobal("PowaBarAuraAnimSpeedSliderLow"):SetText("50"); 
                        getglobal("PowaBarAuraAnimSpeedSliderHigh"):SetText("200");
                  </OnLoad>
                  <OnValueChanged>PowaAuras:BarAuraAnimSpeedSliderChanged();</OnValueChanged>
                </Scripts>
              </Slider>
              <Slider name="PowaBarAuraDurationSlider"
                      inherits="PowaBarSliderTemplate">
                <Size>
                  <AbsDimension x="130"
                                y="16" />
                </Size>
                <Anchors>
                  <Anchor point="LEFT"
                          relativeTo="PowaBarAuraAnimSpeedSlider"
                          relativePoint="RIGHT">
                    <Offset>
                      <AbsDimension x="10"
                                    y="0" />
                    </Offset>
                  </Anchor>
                </Anchors>
                <Scripts>
                  <OnLoad>
                        self.aide = PowaAuras.Text.aideDuration; self:SetMinMaxValues(0,30); self:SetValue(0); self:SetValueStep(1);
                        getglobal("PowaBarAuraDurationSliderText"):SetText(PowaAuras.Text.nomDuration.." : 0 sec"); 
                        getglobal("PowaBarAuraDurationSliderLow"):SetText(PowaAuras.Text.aucune);
                        getglobal("PowaBarAuraDurationSliderHigh"):SetText("30");
                  </OnLoad>
                  <OnValueChanged>PowaAuras:BarAuraAnimDurationSliderChanged();</OnValueChanged>
                </Scripts>
              </Slider>
            </Frames>
          </Frame>
                  <!-- Third Configuration Tab Panel (Sound)-->
           <Frame name="PowaBarConfigFrameEditor5"
                 hidden="true">
            <Size>
              <AbsDimension x="350"
                            y="150" />
            </Size>
            <Anchors>
              <Anchor point="TOP"
                      relativeTo="PowaBarConfigFrameEditor"
                      relativePoint="BOTTOM">
                <Offset>
                  <AbsDimension x="0"
                                y="-25" />
                </Offset>
              </Anchor>
            </Anchors>
            <Backdrop bgFile="Dungeons\Textures\rock\BM_BRSPIRE_CUBEROCK01"
                      edgeFile="Interface\Tooltips\UI-Tooltip-Border"
                      tile="true">
              <EdgeSize>
                <AbsValue val="12" />
              </EdgeSize>
              <TileSize>
                <AbsValue val="128" />
              </TileSize>
              <BackgroundInsets>
                <AbsInset left="2"
                          right="2"
                          top="2"
                          bottom="2" />
              </BackgroundInsets>
            </Backdrop>
            <Scripts>
              <OnLoad>self:SetBackdropBorderColor(0.0, 0.0, 0.0); self:SetBackdropColor(0.1, 0.1, 0.1);</OnLoad>
            </Scripts>
            <Frames>
              <Frame name="PowaDropDownSound"
                     inherits="UIDropDownMenuTemplate"
                     id="11">
                <Size>
                  <AbsDimension x="220" />
                </Size>
                <Anchors>
                  <Anchor point="TOPLEFT"
                          relativeTo="PowaBarConfigFrameEditor5"
                          relativePoint="TOPLEFT">
                    <Offset>
                      <AbsDimension x="5"
                                    y="-15" />
                    </Offset>
                  </Anchor>
                </Anchors>
                <Layers>
                  <Layer level="BACKGROUND">
                    <FontString name="$parentLabel"
                                inherits="GameFontNormalSmall">
                      <Anchors>
                        <Anchor point="BOTTOMLEFT"
                                relativePoint="TOPLEFT">
                          <Offset>
                            <AbsDimension x="15"
                                          y="0" />
                          </Offset>
                        </Anchor>
                      </Anchors>
                    </FontString>
                  </Layer>
                </Layers>
                <Scripts>
                  <OnLoad>
                        getglobal("PowaDropDownSoundLabel"):SetText(PowaAuras.Text.nomSound); 
                        UIDropDownMenu_Initialize(self, PowaAuras.DropDownMenu_Initialize);
                  </OnLoad>
                  <OnShow>UIDropDownMenu_Initialize(self, PowaAuras.DropDownMenu_Initialize);</OnShow>
                  <OnEnter>GameTooltip:SetOwner(self, "ANCHOR_RIGHT"); GameTooltip:SetText(PowaAuras.Text.aideSound, nil, nil, nil, nil, 1);</OnEnter>
                  <OnLeave>GameTooltip:Hide();</OnLeave>
                </Scripts>
              </Frame>
              <EditBox name="PowaBarCustomSound"
                       autoFocus="false"
                       inherits="InputBoxTemplate">
                <Size>
                  <AbsDimension x="150"
                                y="16" />
                </Size>
                <Anchors>
                  <Anchor point="TOPLEFT"
                          relativeTo="PowaDropDownSound"
                          relativePoint="BOTTOMLEFT">
                    <Offset>
                      <AbsDimension x="20"
                                    y="-15" />
                    </Offset>
                  </Anchor>
                </Anchors>
                <Layers>
                  <Layer level="OVERLAY">
                    <FontString inherits="ChatFontNormal"
                                bytes="200" />
                  </Layer>
                </Layers>
                <Scripts>
                  <OnLoad>getglobal("PowaBarCustomSoundText"):SetText(PowaAuras.Text.nomCustomSound); self:SetMaxLetters(200) self.aide = PowaAuras.Text.aideCustomSound;</OnLoad>
                  <OnEnterPressed>self:ClearFocus()</OnEnterPressed>
                  <OnTextChanged>PowaAuras:CustomSoundTextChanged()</OnTextChanged>
                  <OnEnter>GameTooltip:SetOwner(self, "ANCHOR_RIGHT"); GameTooltip:SetText(self.aide, nil, nil, nil, nil, 1);</OnEnter>
                  <OnLeave>GameTooltip:Hide();</OnLeave>
                </Scripts>
                <Layers>
                  <Layer level="OVERLAY">
                    <FontString name="PowaBarCustomSoundText"
                                inherits="GameFontNormalSmall"
                                justifyH="LEFT">
                      <Size>
                        <AbsDimension x="220"
                                      y="20" />
                      </Size>
                      <Anchors>
                        <Anchor point="BOTTOMLEFT"
                                relativeTo="PowaBarCustomSound"
                                relativePoint="TOPLEFT">
                          <Offset>
                            <AbsDimension x="0"
                                          y="0" />
                          </Offset>
                        </Anchor>
                      </Anchors>
                    </FontString>
                  </Layer>
                </Layers>
              </EditBox>
            </Frames>
          </Frame>
                  <!-- Fourth Configuration Tab Panel (Timer)-->
           <Frame name="PowaBarConfigFrameEditor4"
                 hidden="true">
            <Size>
              <AbsDimension x="350"
                            y="260" />
            </Size>
            <Anchors>
              <Anchor point="TOP"
                      relativeTo="PowaBarConfigFrameEditor"
                      relativePoint="BOTTOM">
                <Offset>
                  <AbsDimension x="0"
                                y="-25" />
                </Offset>
              </Anchor>
            </Anchors>
            <Backdrop bgFile="Dungeons\Textures\rock\BM_BRSPIRE_CUBEROCK01"
                      edgeFile="Interface\Tooltips\UI-Tooltip-Border"
                      tile="true">
              <EdgeSize>
                <AbsValue val="12" />
              </EdgeSize>
              <TileSize>
                <AbsValue val="128" />
              </TileSize>
              <BackgroundInsets>
                <AbsInset left="2"
                          right="2"
                          top="2"
                          bottom="2" />
              </BackgroundInsets>
            </Backdrop>
            <Scripts>
              <OnLoad>self:SetBackdropBorderColor(0.0, 0.0, 0.0); self:SetBackdropColor(0.1, 0.1, 0.1);</OnLoad>
            </Scripts>
            <Frames>
              <CheckButton name="PowaShowTimerButton"
                           inherits="PowaCheckTemplate">
                <Size>
                  <AbsDimension x="25"
                                y="25" />
                </Size>
                <Anchors>
                  <Anchor point="TOPLEFT"
                          relativeTo="PowaBarConfigFrameEditor4"
                          relativePoint="TOPLEFT">
                    <Offset>
                      <AbsDimension x="10"
                                    y="-5" />
                    </Offset>
                  </Anchor>
                </Anchors>
                <Scripts>
                  <OnLoad>
                        self.tooltipText = PowaAuras.Text.aideShowTimer; 
                        getglobal("PowaShowTimerButtonText"):SetText(PowaAuras.Text.nomCheckShowTimer);
                        getglobal("PowaShowTimerButtonText"):SetTextColor(0.2,1.0,0.2);
                  </OnLoad>
                  <OnClick>PowaAuras:ShowTimerChecked(self);</OnClick>
                </Scripts>
              </CheckButton>
              <Slider name="PowaTimerCoordXSlider"
                      inherits="PowaBarSliderTemplate">
                <Size>
                  <AbsDimension x="130"
                                y="16" />
                </Size>
                <Anchors>
                  <Anchor point="TOPLEFT"
                          relativeTo="PowaBarConfigFrameEditor4"
                          relativePoint="TOPLEFT">
                    <Offset>
                      <AbsDimension x="10"
                                    y="-42" />
                    </Offset>
                  </Anchor>
                </Anchors>
                <Scripts>
                  <OnLoad>
                        self:SetMinMaxValues(-150,150); self:SetValue(0); self:SetValueStep(5); 
                        getglobal("PowaTimerCoordXSliderText"):SetText(PowaAuras.Text.nomPos.." X : 0");
                        getglobal("PowaTimerCoordXSliderLow"):SetText("-150"); 
                        getglobal("PowaTimerCoordXSliderHigh"):SetText("150");
                  </OnLoad>
                  <OnValueChanged>PowaAuras:TimerCoordXSliderChanged();</OnValueChanged>
                  <OnMouseUp>
                        self:SetMinMaxValues(self:GetValue()-100,self:GetValue()+100); 
                        getglobal("PowaTimerCoordXSliderLow"):SetText(self:GetValue()-100);
                        getglobal("PowaTimerCoordXSliderHigh"):SetText(self:GetValue()+100);
                  </OnMouseUp>
                </Scripts>
              </Slider>
              <Slider name="PowaTimerCoordSlider"
                      inherits="PowaBarSliderTemplate">
                <Size>
                  <AbsDimension x="130"
                                y="16" />
                </Size>
                <Anchors>
                  <Anchor point="LEFT"
                          relativeTo="PowaTimerCoordXSlider"
                          relativePoint="RIGHT">
                    <Offset>
                      <AbsDimension x="10"
                                    y="0" />
                    </Offset>
                  </Anchor>
                </Anchors>
                <Scripts>
                  <OnLoad>
                        self:SetMinMaxValues(-200,100); self:SetValue(0); self:SetValueStep(5); 
                        getglobal("PowaTimerCoordSliderText"):SetText(PowaAuras.Text.nomPos.." Y : 0");
                        getglobal("PowaTimerCoordSliderLow"):SetText("-200"); 
                        getglobal("PowaTimerCoordSliderHigh"):SetText("100");
                  </OnLoad>
                  <OnValueChanged>PowaAuras:TimerCoordSliderChanged();</OnValueChanged>
                  <OnMouseUp>
                        self:SetMinMaxValues(self:GetValue()-100,self:GetValue()+100); 
                        getglobal("PowaTimerCoordSliderLow"):SetText(self:GetValue()-100);
                        getglobal("PowaTimerCoordSliderHigh"):SetText(self:GetValue()+100);
                  </OnMouseUp>
                </Scripts>
              </Slider>
              <Slider name="PowaTimerSizeSlider"
                      inherits="PowaBarSliderTemplate">
                <Size>
                  <AbsDimension x="130"
                                y="16" />
                </Size>
                <Anchors>
                  <Anchor point="TOP"
                          relativeTo="PowaTimerCoordXSlider"
                          relativePoint="BOTTOM">
                    <Offset>
                      <AbsDimension x="0"
                                    y="-20" />
                    </Offset>
                  </Anchor>
                </Anchors>
                <Scripts>
                  <OnLoad>
                        self:SetMinMaxValues(0.5,2.0); self:SetValue(1.0); self:SetValueStep(0.05); 
                        getglobal("PowaTimerSizeSliderText"):SetText(PowaAuras.Text.nomTaille.." : 1.0");
                        getglobal("PowaTimerSizeSliderLow"):SetText("0.5"); 
                        getglobal("PowaTimerSizeSliderHigh"):SetText("2.0");
                  </OnLoad>
                  <OnValueChanged>PowaAuras:TimerSizeSliderChanged();</OnValueChanged>
                </Scripts>
              </Slider>
              <Slider name="PowaTimerAlphaSlider"
                      inherits="PowaBarSliderTemplate">
                <Size>
                  <AbsDimension x="130"
                                y="16" />
                </Size>
                <Anchors>
                  <Anchor point="TOP"
                          relativeTo="PowaTimerCoordSlider"
                          relativePoint="BOTTOM">
                    <Offset>
                      <AbsDimension x="0"
                                    y="-20" />
                    </Offset>
                  </Anchor>
                </Anchors>
                <Scripts>
                  <OnLoad>
                        self:SetMinMaxValues(0.1,1.0); self:SetValue(1.0); self:SetValueStep(0.05); 
                        getglobal("PowaTimerAlphaSliderText"):SetText(PowaAuras.Text.nomAlpha.." : 1.0");
                        getglobal("PowaTimerAlphaSliderLow"):SetText("0.1"); 
                        getglobal("PowaTimerAlphaSliderHigh"):SetText("1.0");
                  </OnLoad>
                  <OnValueChanged>PowaAuras:TimerAlphaSliderChanged();</OnValueChanged>
                </Scripts>
              </Slider>
              <Slider name="PowaTimerDurationSlider"
                      inherits="PowaBarSliderTemplate">
                <Size>
                  <AbsDimension x="130"
                                y="16" />
                </Size>
                <Anchors>
                  <Anchor point="TOP"
                          relativeTo="PowaTimerAlphaSlider"
                          relativePoint="BOTTOM">
                    <Offset>
                      <AbsDimension x="0"
                                    y="-20" />
                    </Offset>
                  </Anchor>
                </Anchors>
                <Scripts>
                  <OnLoad>
                        self.aide = PowaAuras.Text.aideTimerDuration; self:SetMinMaxValues(0,60); self:SetValue(0); self:SetValueStep(1);
                        getglobal("PowaTimerDurationSliderText"):SetText(PowaAuras.Text.nomTimerDuration.." : 0"); 
                        getglobal("PowaTimerDurationSliderLow"):SetText("0");
                        getglobal("PowaTimerDurationSliderHigh"):SetText("60");
                  </OnLoad>
                  <OnValueChanged>PowaAuras:TimerDurationSliderChanged();</OnValueChanged>
                </Scripts>
              </Slider>
              <CheckButton name="PowaBuffTimerCentsButton"
                           inherits="PowaCheckTemplate">
                <Size>
                  <AbsDimension x="25"
                                y="25" />
                </Size>
                <Anchors>
                  <Anchor point="TOPLEFT"
                          relativeTo="PowaTimerSizeSlider"
                          relativePoint="BOTTOMLEFT">
                    <Offset>
                      <AbsDimension x="0"
                                    y="-10" />
                    </Offset>
                  </Anchor>
                </Anchors>
                <Scripts>
                  <OnLoad>getglobal("PowaBuffTimerCentsButtonText"):SetText(PowaAuras.Text.nomCentiemes);</OnLoad>
                  <OnClick>PowaAuras:TimerChecked(self, "cents");</OnClick>
                </Scripts>
              </CheckButton>
              <CheckButton name="PowaBuffTimerDualButton"
                           inherits="PowaCheckTemplate">
                <Size>
                  <AbsDimension x="25"
                                y="25" />
                </Size>
                <Anchors>
                  <Anchor point="TOP"
                          relativeTo="PowaBuffTimerCentsButton"
                          relativePoint="BOTTOM">
                    <Offset>
                      <AbsDimension x="0"
                                    y="4" />
                    </Offset>
                  </Anchor>
                </Anchors>
                <Scripts>
                  <OnLoad>getglobal("PowaBuffTimerDualButtonText"):SetText(PowaAuras.Text.nomDual);</OnLoad>
                  <OnClick>PowaAuras:TimerChecked(self, "dual");</OnClick>
                </Scripts>
              </CheckButton>
                          
              <CheckButton name="PowaBuffTimerLeadingZerosButton"
                           inherits="PowaCheckTemplate">
                <Size>
                  <AbsDimension x="25"
                                y="25" />
                </Size>
                <Anchors>
                  <Anchor point="TOP"
                          relativeTo="PowaBuffTimerDualButton"
                          relativePoint="BOTTOM">
                    <Offset>
                      <AbsDimension x="0"
                                    y="4" />
                    </Offset>
                  </Anchor>
                </Anchors>
                <Scripts>
                  <OnLoad>getglobal("PowaBuffTimerLeadingZerosButtonText"):SetText(PowaAuras.Text.nomHideLeadingZeros);</OnLoad>
                  <OnClick>PowaAuras:TimerChecked(self, "HideLeadingZeros");</OnClick>
                </Scripts>
              </CheckButton>
                          
              <CheckButton name="PowaBuffTimerTransparentButton"
                           inherits="PowaCheckTemplate">
                <Size>
                  <AbsDimension x="25"
                                y="25" />
                </Size>
                <Anchors>
                  <Anchor point="TOP"
                          relativeTo="PowaBuffTimerLeadingZerosButton"
                          relativePoint="BOTTOM">
                    <Offset>
                      <AbsDimension x="0"
                                    y="4" />
                    </Offset>
                  </Anchor>
                </Anchors>
                <Scripts>
                  <OnLoad>getglobal("PowaBuffTimerTransparentButtonText"):SetText(PowaAuras.Text.nomTransparent);</OnLoad>
                  <OnClick>PowaAuras:TimerTransparentChecked(self);</OnClick>
                </Scripts>
              </CheckButton>
                          
            </Frames>
          </Frame>

                  <!-- Fith Configuration Tab Panel (Stacks)-->
           <Frame name="PowaBarConfigFrameEditor6"
                 hidden="true">
            <Size>
              <AbsDimension x="350"
                            y="260" />
            </Size>
            <Anchors>
              <Anchor point="TOP"
                      relativeTo="PowaBarConfigFrameEditor"
                      relativePoint="BOTTOM">
                <Offset>
                  <AbsDimension x="0"
                                y="-25" />
                </Offset>
              </Anchor>
            </Anchors>
            <Backdrop bgFile="Dungeons\Textures\rock\BM_BRSPIRE_CUBEROCK01"
                      edgeFile="Interface\Tooltips\UI-Tooltip-Border"
                      tile="true">
              <EdgeSize>
                <AbsValue val="12" />
              </EdgeSize>
              <TileSize>
                <AbsValue val="128" />
              </TileSize>
              <BackgroundInsets>
                <AbsInset left="2"
                          right="2"
                          top="2"
                          bottom="2" />
              </BackgroundInsets>
            </Backdrop>
            <Scripts>
              <OnLoad>self:SetBackdropBorderColor(0.0, 0.0, 0.0); self:SetBackdropColor(0.1, 0.1, 0.1);</OnLoad>
            </Scripts>
            <Frames>
              <CheckButton name="PowaShowStacksButton"
                           inherits="PowaCheckTemplate">
                <Size>
                  <AbsDimension x="25"
                                y="25" />
                </Size>
                <Anchors>
                  <Anchor point="TOPLEFT"
                          relativeTo="PowaBarConfigFrameEditor6"
                          relativePoint="TOPLEFT">
                    <Offset>
                      <AbsDimension x="10"
                                    y="-5" />
                    </Offset>
                  </Anchor>
                </Anchors>
                <Scripts>
                  <OnLoad>
                        self.tooltipText = PowaAuras.Text.aideShowStacks; 
                        getglobal("PowaShowStacksButtonText"):SetText(PowaAuras.Text.nomCheckShowStacks);
                        getglobal("PowaShowStacksButtonText"):SetTextColor(0.2,1.0,0.2);
                  </OnLoad>
                  <OnClick>PowaAuras:ShowStacksChecked(self);</OnClick>
                </Scripts>
              </CheckButton>
              <Slider name="PowaStacksCoordXSlider"
                      inherits="PowaBarSliderTemplate">
                <Size>
                  <AbsDimension x="130"
                                y="16" />
                </Size>
                <Anchors>
                  <Anchor point="TOPLEFT"
                          relativeTo="PowaBarConfigFrameEditor6"
                          relativePoint="TOPLEFT">
                    <Offset>
                      <AbsDimension x="10"
                                    y="-42" />
                    </Offset>
                  </Anchor>
                </Anchors>
                <Scripts>
                  <OnLoad>
                        self:SetMinMaxValues(-150,150); self:SetValue(0); self:SetValueStep(5); 
                        getglobal("PowaStacksCoordXSliderText"):SetText(PowaAuras.Text.nomPos.." X : 0");
                        getglobal("PowaStacksCoordXSliderLow"):SetText("-150"); 
                        getglobal("PowaStacksCoordXSliderHigh"):SetText("150");
                  </OnLoad>
                  <OnValueChanged>PowaAuras:StacksCoordXSliderChanged();</OnValueChanged>
                  <OnMouseUp>
                        self:SetMinMaxValues(self:GetValue()-100,self:GetValue()+100); 
                        getglobal("PowaStacksCoordXSliderLow"):SetText(self:GetValue()-100);
                        getglobal("PowaStacksCoordXSliderHigh"):SetText(self:GetValue()+100);
                  </OnMouseUp>
                </Scripts>
              </Slider>
              <Slider name="PowaStacksCoordSlider"
                      inherits="PowaBarSliderTemplate">
                <Size>
                  <AbsDimension x="130"
                                y="16" />
                </Size>
                <Anchors>
                  <Anchor point="LEFT"
                          relativeTo="PowaStacksCoordXSlider"
                          relativePoint="RIGHT">
                    <Offset>
                      <AbsDimension x="10"
                                    y="0" />
                    </Offset>
                  </Anchor>
                </Anchors>
                <Scripts>
                  <OnLoad>
                        self:SetMinMaxValues(-200,100); self:SetValue(0); self:SetValueStep(5); 
                        getglobal("PowaStacksCoordSliderText"):SetText(PowaAuras.Text.nomPos.." Y : 0");
                        getglobal("PowaStacksCoordSliderLow"):SetText("-200"); 
                        getglobal("PowaStacksCoordSliderHigh"):SetText("100");
                  </OnLoad>
                  <OnValueChanged>PowaAuras:StacksCoordSliderChanged();</OnValueChanged>
                  <OnMouseUp>
                        self:SetMinMaxValues(self:GetValue()-100,self:GetValue()+100); 
                        getglobal("PowaStacksCoordSliderLow"):SetText(self:GetValue()-100);
                        getglobal("PowaStacksCoordSliderHigh"):SetText(self:GetValue()+100);
                  </OnMouseUp>
                </Scripts>
              </Slider>
              <Slider name="PowaStacksSizeSlider"
                      inherits="PowaBarSliderTemplate">
                <Size>
                  <AbsDimension x="130"
                                y="16" />
                </Size>
                <Anchors>
                  <Anchor point="TOP"
                          relativeTo="PowaStacksCoordXSlider"
                          relativePoint="BOTTOM">
                    <Offset>
                      <AbsDimension x="0"
                                    y="-20" />
                    </Offset>
                  </Anchor>
                </Anchors>
                <Scripts>
                  <OnLoad>
                        self:SetMinMaxValues(0.5,2.0); self:SetValue(1.0); self:SetValueStep(0.05); 
                        getglobal("PowaStacksSizeSliderText"):SetText(PowaAuras.Text.nomTaille.." : 1.0");
                        getglobal("PowaStacksSizeSliderLow"):SetText("0.5"); 
                        getglobal("PowaStacksSizeSliderHigh"):SetText("2.0");
                  </OnLoad>
                  <OnValueChanged>PowaAuras:StacksSizeSliderChanged();</OnValueChanged>
                </Scripts>
              </Slider>
              <Slider name="PowaStacksAlphaSlider"
                      inherits="PowaBarSliderTemplate">
                <Size>
                  <AbsDimension x="130"
                                y="16" />
                </Size>
                <Anchors>
                  <Anchor point="TOP"
                          relativeTo="PowaStacksCoordSlider"
                          relativePoint="BOTTOM">
                    <Offset>
                      <AbsDimension x="0"
                                    y="-20" />
                    </Offset>
                  </Anchor>
                </Anchors>
                <Scripts>
                  <OnLoad>
                        self:SetMinMaxValues(0.1,1.0); self:SetValue(1.0); self:SetValueStep(0.05); 
                        getglobal("PowaStacksAlphaSliderText"):SetText(PowaAuras.Text.nomAlpha.." : 1.0");
                        getglobal("PowaStacksAlphaSliderLow"):SetText("0.1"); 
                        getglobal("PowaStacksAlphaSliderHigh"):SetText("1.0");
                  </OnLoad>
                  <OnValueChanged>PowaAuras:StacksAlphaSliderChanged();</OnValueChanged>
                </Scripts>
              </Slider>
                          
              <CheckButton name="PowaBuffStacksTransparentButton"
                           inherits="PowaCheckTemplate">
                <Size>
                  <AbsDimension x="25"
                                y="25" />
                </Size>
                <Anchors>
                  <Anchor point="TOPLEFT"
                          relativeTo="PowaStacksSizeSlider"
                          relativePoint="BOTTOMLEFT">
                    <Offset>
                      <AbsDimension x="0"
                                    y="-20" />
                    </Offset>
                  </Anchor>
                </Anchors>
                <Scripts>
                  <OnLoad>getglobal("PowaBuffStacksTransparentButtonText"):SetText(PowaAuras.Text.nomTransparent);</OnLoad>
                  <OnClick>PowaAuras:StacksChecked(self, "Transparent");</OnClick>
                </Scripts>
              </CheckButton>
                          
            </Frames>
          </Frame>                
                  
                  
          <Button name="PowaEditorTab2"
                  inherits="TabButtonTemplate">
            <Anchors>
              <Anchor point="BOTTOMLEFT"
                      relativePoint="TOPLEFT"
                      relativeTo="PowaBarConfigFrameEditor2">
                <Offset>
                  <AbsDimension x="5"
                                y="-2" />
                </Offset>
              </Anchor>
            </Anchors>
            <Scripts>
              <OnClick>
                PanelTemplates_SelectTab(self); 
                PanelTemplates_DeselectTab(PowaEditorTab1); 
                PanelTemplates_DeselectTab(PowaEditorTab3); 
                PanelTemplates_DeselectTab(PowaEditorTab4);
                PanelTemplates_DeselectTab(PowaEditorTab5);
                getglobal("PowaBarConfigFrameEditor2"):Show(); 
                getglobal("PowaBarConfigFrameEditor3"):Hide(); 
                getglobal("PowaBarConfigFrameEditor4"):Hide();
                getglobal("PowaBarConfigFrameEditor5"):Hide(); 
                getglobal("PowaBarConfigFrameEditor6"):Hide(); 
                PlaySound("igCharacterInfoTab");
              </OnClick>
              <OnLoad>
                getglobal("PowaEditorTab2Text"):SetText(PowaAuras.Text.nomTabActiv); 
                PanelTemplates_SelectTab(self); PanelTemplates_TabResize(self, 0);
                getglobal(self:GetName().."HighlightTexture"):SetWidth(self:GetTextWidth() + 31);
              </OnLoad>
            </Scripts>
          </Button>
          <Button name="PowaEditorTab1"
                  inherits="TabButtonTemplate">
            <Anchors>
              <Anchor point="LEFT"
                      relativePoint="RIGHT"
                      relativeTo="PowaEditorTab2">
                <Offset>
                  <AbsDimension x="0"
                                y="0" />
                </Offset>
              </Anchor>
            </Anchors>
            <Scripts>
              <OnClick>
                PanelTemplates_SelectTab(self); 
                PanelTemplates_DeselectTab(PowaEditorTab2); 
                PanelTemplates_DeselectTab(PowaEditorTab3); 
                PanelTemplates_DeselectTab(PowaEditorTab4);
                PanelTemplates_DeselectTab(PowaEditorTab5);
                getglobal("PowaBarConfigFrameEditor2"):Hide(); 
                getglobal("PowaBarConfigFrameEditor3"):Show(); 
                getglobal("PowaBarConfigFrameEditor4"):Hide();
                getglobal("PowaBarConfigFrameEditor5"):Hide(); 
                getglobal("PowaBarConfigFrameEditor6"):Hide(); 
                PlaySound("igCharacterInfoTab");
              </OnClick>
              <OnLoad>
                getglobal("PowaEditorTab1Text"):SetText(PowaAuras.Text.nomTabAnim); 
                PanelTemplates_DeselectTab(self); 
                PanelTemplates_TabResize(self, 0);
                getglobal(self:GetName().."HighlightTexture"):SetWidth(self:GetTextWidth() + 31);
              </OnLoad>
            </Scripts>
          </Button>
          <Button name="PowaEditorTab4"
                  inherits="TabButtonTemplate">
            <Anchors>
              <Anchor point="LEFT"
                      relativePoint="RIGHT"
                      relativeTo="PowaEditorTab1">
                <Offset>
                  <AbsDimension x="0"
                                y="0" />
                </Offset>
              </Anchor>
            </Anchors>
            <Scripts>
              <OnClick>
                PanelTemplates_SelectTab(self); 
                PanelTemplates_DeselectTab(PowaEditorTab1); 
                PanelTemplates_DeselectTab(PowaEditorTab2); 
                PanelTemplates_DeselectTab(PowaEditorTab3);
                PanelTemplates_DeselectTab(PowaEditorTab5);
                getglobal("PowaBarConfigFrameEditor5"):Show(); 
                getglobal("PowaBarConfigFrameEditor2"):Hide(); 
                getglobal("PowaBarConfigFrameEditor3"):Hide();
                getglobal("PowaBarConfigFrameEditor4"):Hide(); 
                getglobal("PowaBarConfigFrameEditor6"):Hide(); 
                PlaySound("igCharacterInfoTab");
              </OnClick>
              <OnLoad>
                getglobal("PowaEditorTab4Text"):SetText(PowaAuras.Text.nomTabSound); 
                PanelTemplates_DeselectTab(self); 
                PanelTemplates_TabResize(self, 0);
                getglobal(self:GetName().."HighlightTexture"):SetWidth(self:GetTextWidth() + 31);
              </OnLoad>
            </Scripts>
          </Button>
          <Button name="PowaEditorTab3"
                  inherits="TabButtonTemplate">
            <Anchors>
              <Anchor point="LEFT"
                      relativePoint="RIGHT"
                      relativeTo="PowaEditorTab4">
                <Offset>
                  <AbsDimension x="0"
                                y="0" />
                </Offset>
              </Anchor>
            </Anchors>
            <Scripts>
              <OnClick>
                PanelTemplates_SelectTab(self); 
                PanelTemplates_DeselectTab(PowaEditorTab1); 
                PanelTemplates_DeselectTab(PowaEditorTab2); 
                PanelTemplates_DeselectTab(PowaEditorTab4);
                PanelTemplates_DeselectTab(PowaEditorTab5);
                getglobal("PowaBarConfigFrameEditor4"):Show(); 
                getglobal("PowaBarConfigFrameEditor2"):Hide(); 
                getglobal("PowaBarConfigFrameEditor3"):Hide();
                getglobal("PowaBarConfigFrameEditor5"):Hide(); 
                getglobal("PowaBarConfigFrameEditor6"):Hide(); 
                PowaAuras:UpdateTimerOptions(); 
                PlaySound("igCharacterInfoTab");
              </OnClick>
              <OnLoad>
                getglobal("PowaEditorTab3Text"):SetText(PowaAuras.Text.nomTabTimer); 
                PanelTemplates_DeselectTab(self); 
                PanelTemplates_TabResize(self, 0);
                getglobal(self:GetName().."HighlightTexture"):SetWidth(self:GetTextWidth() + 31);
              </OnLoad>
            </Scripts>
          </Button>
          <Button name="PowaEditorTab5"
                  inherits="TabButtonTemplate">
            <Anchors>
              <Anchor point="LEFT"
                      relativePoint="RIGHT"
                      relativeTo="PowaEditorTab3">
                <Offset>
                  <AbsDimension x="0"
                                y="0" />
                </Offset>
              </Anchor>
            </Anchors>
            <Scripts>
              <OnClick>
                PanelTemplates_SelectTab(self); 
                PanelTemplates_DeselectTab(PowaEditorTab1); 
                PanelTemplates_DeselectTab(PowaEditorTab2); 
                PanelTemplates_DeselectTab(PowaEditorTab3); 
                PanelTemplates_DeselectTab(PowaEditorTab4);
                getglobal("PowaBarConfigFrameEditor6"):Show(); 
                getglobal("PowaBarConfigFrameEditor2"):Hide(); 
                getglobal("PowaBarConfigFrameEditor3"):Hide();
                getglobal("PowaBarConfigFrameEditor4"):Hide();
                getglobal("PowaBarConfigFrameEditor5"):Hide(); 
                PowaAuras:UpdateStacksOptions(); 
                PlaySound("igCharacterInfoTab");
              </OnClick>
              <OnLoad>
                getglobal("PowaEditorTab5Text"):SetText(PowaAuras.Text.nomTabStacks); 
                PanelTemplates_DeselectTab(self); 
                PanelTemplates_TabResize(self, 0);
                getglobal(self:GetName().."HighlightTexture"):SetWidth(self:GetTextWidth() + 31);
              </OnLoad>
            </Scripts>
          </Button>
        </Frames>
      </Frame>
    </Frames>
  </Frame>
  <Frame name="FontSelectorFrame"
                         movable="false"
                         parent="UIParent"
                         frameStrata="DIALOG"
                         hidden="true"
                         enableMouse="true"
                         enableKeyboard="true">
        <Size>
                <AbsDimension x="250"
                                                                        y="225" />
        </Size>
        <Anchors>
      <Anchor point="TOPLEFT"
              relativeTo="PowaBarConfigFrame"
              relativePoint="TOPRIGHT">
        <Offset>
          <AbsDimension x="0"
                        y="-200" />
        </Offset>
      </Anchor>
    </Anchors>
    <Backdrop bgFile="Dungeons\Textures\rock\BM_BRSPIRE_CUBEROCK01"
              edgeFile="Interface\DialogFrame\UI-DialogBox-Border"
              tile="true">
      <BackgroundInsets>
        <AbsInset left="11"
                  right="12"
                  top="12"
                  bottom="11" />
      </BackgroundInsets>
      <TileSize>
        <AbsValue val="200" />
      </TileSize>
      <EdgeSize>
        <AbsValue val="32" />
      </EdgeSize>
    </Backdrop>
    <Scripts>
      <OnShow>PowaAuras:FontSelectorOnShow(self);</OnShow>
    </Scripts>
    <Layers>
      <Layer>
        <Texture file="Interface\DialogFrame\UI-DialogBox-Header">
          <Size>
            <AbsDimension x="180"
                          y="32" />
          </Size>
          <Anchors>
            <Anchor point="TOP">
              <Offset>
                <AbsDimension x="0"
                              y="8" />
              </Offset>
            </Anchor>
          </Anchors>
          <TexCoords left="0.2"
                     right="0.8"
                     top="0"
                     bottom="0.6" />
        </Texture>
        <FontString name="PowaFontHeader"
                    inherits="GameFontNormalSmall"
                    text="Font Picker">
          <Size>
            <AbsDimension x="120"
                          y="0" />
          </Size>
          <Anchors>
            <Anchor point="TOP">
              <Offset>
                <AbsDimension x="0"
                              y="-4" />
              </Offset>
            </Anchor>
          </Anchors>
          <FontHeight>
            <AbsValue val="14" />
          </FontHeight>
        </FontString>
      </Layer>
    </Layers>
    <Frames>
        <Button name="PowaFontsCloseButton">
        <Size>
          <AbsDimension x="30"
                        y="30" />
        </Size>
        <Anchors>
          <Anchor point="TOPRIGHT"
                  relativeTo="FontSelectorFrame"
                  relativePoint="TOPRIGHT">
            <Offset>
              <AbsDimension x="-4"
                            y="-4" />
            </Offset>
          </Anchor>
        </Anchors>
        <Scripts>
          <OnClick>PowaAuras:FontSelectorClose(self);</OnClick>
        </Scripts>
        <NormalTexture file="Interface\Buttons\UI-Panel-MinimizeButton-Up" />
        <PushedTexture file="Interface\Buttons\UI-Panel-MinimizeButton-Down" />
        <HighlightTexture file="Interface\Buttons\UI-Panel-MinimizeButton-Highlight"
                          alphaMode="ADD" />
      </Button>
                        <Button name="PowaFontsOkayButton" inherits="OptionsButtonTemplate" text="Okay">
        <Anchors>
          <Anchor point="BOTTOMLEFT"
                  relativeTo="FontSelectorFrame"
                  relativePoint="BOTTOMLEFT">
            <Offset>
              <AbsDimension x="20"
                            y="15" />
            </Offset>
          </Anchor>
        </Anchors>
        <Scripts>
          <OnClick>PowaAuras:FontSelectorOkay(self);</OnClick>
        </Scripts>
      </Button>
      <Button name="PowaFontsCancelButton" inherits="OptionsButtonTemplate" text="Cancel">
        <Anchors>
          <Anchor point="BOTTOMRIGHT"
                  relativeTo="FontSelectorFrame"
                  relativePoint="BOTTOMRIGHT">
            <Offset>
              <AbsDimension x="-20"
                            y="15" />
            </Offset>
          </Anchor>
        </Anchors>
        <Scripts>
          <OnClick>PowaAuras:FontSelectorCancel(self);</OnClick>
        </Scripts>
      </Button>
                        <Frame name="FontSelectorEditor">
        <Size>
          <AbsDimension x="210"
                        y="162" />
        </Size>
        <Anchors>
          <Anchor point="TOP">
            <Offset>
              <AbsDimension x="0"
                            y="-25" />
            </Offset>
          </Anchor>
        </Anchors>
        <Backdrop bgFile="Dungeons\Textures\rock\BM_BRSPIRE_CUBEROCK01"
                  edgeFile="Interface\Tooltips\UI-Tooltip-Border"
                  tile="true">
          <EdgeSize>
            <AbsValue val="12" />
          </EdgeSize>
          <TileSize>
            <AbsValue val="128" />
          </TileSize>
          <BackgroundInsets>
            <AbsInset left="2"
                      right="2"
                      top="2"
                      bottom="2" />
          </BackgroundInsets>
        </Backdrop>
        <Scripts>
          <OnLoad>self:SetBackdropBorderColor(0.0, 0.0, 0.0); self:SetBackdropColor(0.1, 0.1, 0.1);</OnLoad>
        </Scripts>
        <Frames>
                                        <ScrollFrame name="$parentScrollFrame" inherits="FauxScrollFrameTemplate">
                                        <Anchors>
                                        <Anchor point="TOPLEFT" 
                                                                        relativeTo="FontSelectorEditor">
                                                <Offset>
                                                        <AbsDimension x="-22" y="-3"/>
                                                </Offset>
                                        </Anchor>
                                        <Anchor point="BOTTOMRIGHT" 
                                                                        relativeTo="FontSelectorEditor">
                                                <Offset>
                                                        <AbsDimension x="-22" y="2"/>
                                                </Offset>
                                        </Anchor>
                                        </Anchors>
                                        <Scripts>
                                        <OnVerticalScroll>
                                                        FauxScrollFrame_OnVerticalScroll(self, offset, 16, PowaAuras.FontScrollBar_Update); 
                                        </OnVerticalScroll>
                                        <OnShow>
                                                        PowaAuras.FontScrollBar_Update(self);
                                                </OnShow>
                                        </Scripts>
                                        </ScrollFrame>
                                        <Button name="$parentScrollButton1" inherits="PowaFontButtonTemplate" id="1">
                                                <Anchors>
                                        <Anchor point="TOPLEFT" relativeTo="$parent" relativePoint="TOPLEFT">
                                                                <Offset>
                                                <AbsDimension x="0" y="0"/>
                                        </Offset>
                                        </Anchor>
                                        </Anchors>
                                  </Button>
                                        <Button name="$parentScrollButton2" inherits="PowaFontButtonTemplate" id="2">
                                                <Anchors>
                                        <Anchor point="TOPLEFT" relativeTo="$parentScrollButton1" relativePoint="BOTTOMLEFT">
                                      </Anchor>
                                        </Anchors>
                                        </Button>
                                        <Button name="$parentScrollButton3" inherits="PowaFontButtonTemplate" id="3">
                                                <Anchors>
                                        <Anchor point="TOPLEFT" relativeTo="$parentScrollButton2" relativePoint="BOTTOMLEFT">
                                      </Anchor>
                                        </Anchors>
                                        </Button>
                                        <Button name="$parentScrollButton4" inherits="PowaFontButtonTemplate" id="4">
                                                <Anchors>
                                        <Anchor point="TOPLEFT" relativeTo="$parentScrollButton3" relativePoint="BOTTOMLEFT">
                                      </Anchor>
                                        </Anchors>
                                        </Button>
                                        <Button name="$parentScrollButton5" inherits="PowaFontButtonTemplate" id="5">
                                                <Anchors>
                                        <Anchor point="TOPLEFT" relativeTo="$parentScrollButton4" relativePoint="BOTTOMLEFT">
                                      </Anchor>
                                        </Anchors>
                                        </Button>
                                        <Button name="$parentScrollButton6" inherits="PowaFontButtonTemplate" id="6">
                                                <Anchors>
                                        <Anchor point="TOPLEFT" relativeTo="$parentScrollButton5" relativePoint="BOTTOMLEFT">
                                      </Anchor>
                                        </Anchors>
                                        </Button>
                                        <Button name="$parentScrollButton7" inherits="PowaFontButtonTemplate" id="7">
                                                <Anchors>
                                        <Anchor point="TOPLEFT" relativeTo="$parentScrollButton6" relativePoint="BOTTOMLEFT">
                                      </Anchor>
                                        </Anchors>
                                  </Button>
                                        <Button name="$parentScrollButton8" inherits="PowaFontButtonTemplate" id="8">
                                                <Anchors>
                                        <Anchor point="TOPLEFT" relativeTo="$parentScrollButton7" relativePoint="BOTTOMLEFT">
                                      </Anchor>
                                        </Anchors>
                                        </Button>
                                        <Button name="$parentScrollButton9" inherits="PowaFontButtonTemplate" id="9">
                                                <Anchors>
                                        <Anchor point="TOPLEFT" relativeTo="$parentScrollButton8" relativePoint="BOTTOMLEFT">
                                      </Anchor>
                                        </Anchors>
                                        </Button>
                                        <Button name="$parentScrollButton10" inherits="PowaFontButtonTemplate" id="10">
                                                <Anchors>
                                        <Anchor point="TOPLEFT" relativeTo="$parentScrollButton9" relativePoint="BOTTOMLEFT">
                                      </Anchor>
                                        </Anchors>
                                        </Button>
        </Frames>
        </Frame>
    </Frames>
  </Frame>
</Ui>

Compare with Previous | Blame