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"> <Frame name="PowaOptionsCpuFrame2" parent="UIParent"> <Scripts> <OnLoad> PowaOptionsCpuFrame2_OnLoad(self); </OnLoad> <OnShow> PowaOptionsCpuFrame2_OnShow(); </OnShow> </Scripts> <Frames> <!-- Enable PA Checkbox --> <CheckButton name="PowaEnableButton" inherits="PowaCheckTemplate"> <Size> <AbsDimension x="25" y="25"/> </Size> <Anchors> <Anchor point="TOPLEFT" relativeTo="PowaOptionsCpuFrame2" relativePoint="TOPLEFT"> <Offset> <AbsDimension x="20" y="-15" /> </Offset> </Anchor> </Anchors> <Scripts> <OnLoad> self.tooltipText = PowaAuras.Text.aideEnable; getglobal("PowaEnableButtonText"):SetText(PowaAuras.Text.nomEnable); </OnLoad> <OnClick> --PowaAuras:EnableChecked(); </OnClick> </Scripts> </CheckButton> <CheckButton name="PowaDebugButton" inherits="PowaCheckTemplate"> <Size> <AbsDimension x="25" y="25"/> </Size> <Anchors> <Anchor point="TOPLEFT" relativeTo="PowaEnableButton" relativePoint="BOTTOMLEFT"> <Offset> <AbsDimension x="0" y="-10" /> </Offset> </Anchor> </Anchors> <Scripts> <OnLoad> self.tooltipText = PowaAuras.Text.aideDebug; getglobal("PowaDebugButtonText"):SetText(PowaAuras.Text.nomDebug); </OnLoad> <OnClick> --PowaAuras:DebugChecked(); </OnClick> </Scripts> </CheckButton> <Slider name="PowaOptionsUpdateSlider2" inherits="PowaBarSliderTemplate"> <Size> <AbsDimension x="360" y="16" /> </Size> <Anchors> <Anchor point="TOPLEFT" relativeTo="PowaDebugButton" relativePoint="BOTTOMLEFT"> <Offset> <AbsDimension x="0" y="-20" /> </Offset> </Anchor> </Anchors> <Scripts> <OnLoad> self:SetMinMaxValues(0,100); self:SetValue(100-200*PowaMisc.OnUpdateLimit); self:SetValueStep(2); getglobal("PowaOptionsUpdateSlider2Text"):SetText(PowaAuras.Text.nomUpdateSpeed.." : 100"); getglobal("PowaOptionsUpdateSlider2Low"):SetText("0%"); getglobal("PowaOptionsUpdateSlider2High"):SetText("100%"); </OnLoad> <OnValueChanged>PowaAuras:PowaOptionsUpdateSliderChanged2(self);</OnValueChanged> </Scripts> </Slider> <Slider name="PowaOptionsAnimationsSlider2" inherits="PowaBarSliderTemplate"> <Size> <AbsDimension x="360" y="16" /> </Size> <Anchors> <Anchor point="TOPLEFT" relativeTo="PowaOptionsUpdateSlider2" relativePoint="BOTTOMLEFT"> <Offset> <AbsDimension x="0" y="-20" /> </Offset> </Anchor> </Anchors> <Scripts> <OnLoad> self:SetMinMaxValues(0,100); self:SetValue(100-1000*PowaMisc.AnimationLimit); self:SetValueStep(2); getglobal("PowaOptionsAnimationsSlider2Text"):SetText(PowaAuras.Text.nomSpeed.." : 100"); getglobal("PowaOptionsAnimationsSlider2Low"):SetText("0%"); getglobal("PowaOptionsAnimationsSlider2High"):SetText("100%"); </OnLoad> <OnValueChanged>PowaAuras:PowaOptionsAnimationsSliderChanged2(self);</OnValueChanged> </Scripts> </Slider> </Frames> </Frame> </Ui>