<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"> <Script file="config-calculation.lua"/> <Frame name="ww_configCalculationOptions" inherits="ww_borderedFrame" hidden="true"> <Anchors> <Anchor point="TOPLEFT"/> <Anchor point="BOTTOMRIGHT"/> </Anchors> <Layers> <Layer level="OVERLAY"> <FontString name="$parentTitle" parentKey="title" inherits="GameFontNormalLarge"> <Anchors> <Anchor point="TOP"> <Offset> <AbsDimension x="0" y="-5"/> </Offset> </Anchor> </Anchors> </FontString> </Layer> <Layer level="BACKGROUND"> <Texture setAllPoints="true"> <!--Plain black background with 80% alpha--> <Color r="0" g="0" b="0" a="0.8"/> </Texture> </Layer> </Layers> <Frames> <Frame name="$parentUseEffectUptimeRatio" parentKey="useEffectUptimeRatio" inherits="ww_labeledElement"> <Anchors> <Anchor point="TOP" relativePoint="BOTTOM" relativeTo="$parentTitle"> <Offset> <AbsDimension x="0" y="-10"/> </Offset> </Anchor> <Anchor point="LEFT"> <Offset> <AbsDimension x="9" y="0"/> </Offset> </Anchor> </Anchors> <Size> <AbsDimension x="0" y="25"/> </Size> <Frames> <EditBox letters="16" name="$parentRatio" parentKey="ratio" autoFocus="false"> <Anchors> <Anchor point="LEFT" relativePoint="RIGHT" relativeTo="$parentLabel"> <Offset> <AbsDimension x="5" y="0"/> </Offset> </Anchor> </Anchors> <Size> <AbsDimension x="50" y="22"/> </Size> <Backdrop edgeFile="Interface\Tooltips\UI-Tooltip-Border" tile="true"> <EdgeSize> <AbsValue val="10"/> </EdgeSize> <TileSize> <AbsValue val="10"/> </TileSize> <BackgroundInsets> <AbsInset left="0" right="0" top="5" bottom="5"/> </BackgroundInsets> </Backdrop> <FontString inherits="GameFontNormal"> <Anchors> <Anchor point="LEFT"/> </Anchors> </FontString> <Scripts> <OnLoad function="ww_editBoxTextInsets"/> <OnTextChanged function="ww_uptimeRatioTextChanged"/> <OnChar function="ww_uptimeRatioOnChar"/> <OnEscapePressed function="ww_clearFocus"/> </Scripts> </EditBox> </Frames> <Scripts> <OnLoad function="ww_uptimeRatioOnLoad"/> </Scripts> </Frame> </Frames> <Scripts> <OnLoad function="ww_configCalculationOnLoad"/> </Scripts> </Frame> </Ui>