UIParent.xml

UIParent.xml (9.0.5.38556; unchanged since 8.0.1.27101)
  1. <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/
  2. ..\FrameXML\UI.xsd">
  3.   <Script file="UIParent.lua"/>
  4.   <Frame name="UIParent" setAllPoints="true" protected="true" frameStrata="MEDIUM">
  5.     <Attributes>
  6.       <Attribute name="DEFAULT_FRAME_WIDTH" type="number" value="384"/>
  7.       <Attribute name="TOP_OFFSET" type="number" value="-116"/>
  8.       <Attribute name="LEFT_OFFSET" type="number" value="16"/>
  9.       <Attribute name="CENTER_OFFSET" type="number" value="384"/> <!-- Do not modify, updated by UpdateUIPanelPositions() -->
  10.       <Attribute name="RIGHT_OFFSET" type="number" value="768"/>  <!-- Do not modify, updated by UpdateUIPanelPositions() -->
  11.       <Attribute name="RIGHT_OFFSET_BUFFER" type="number" value="80"/>
  12.       <Attribute name="PANEl_SPACING_X" type="number" value="32"/>
  13.     </Attributes>
  14.     <Scripts>
  15.       <!-- Register here for any events you want to monitor globally -->
  16.       <OnLoad>
  17.         UIParent_OnLoad(self);
  18.         self.firstTimeLoaded = 1;
  19.       </OnLoad>
  20.       <!-- Respond here to any events you want to monitor globally -->
  21.       <OnEvent function="UIParent_OnEvent"/>
  22.       <OnUpdate>
  23.         FCF_OnUpdate(elapsed);
  24.         ButtonPulse_OnUpdate(elapsed);
  25.         UnitPopup_OnUpdate(elapsed);
  26.         AnimatedShine_OnUpdate(elapsed);
  27.         AutoCastShine_OnUpdate(nil, elapsed);
  28.         LFRBrowseFrame_OnUpdateAlways(elapsed);
  29.         HelpOpenWebTicketButton_OnUpdate(HelpOpenWebTicketButton, elapsed);
  30.       </OnUpdate>
  31.       <!-- used to properly hide and show certain frames when the UI is toggled on and off -->
  32.       <OnShow function="UIParent_OnShow"/>
  33.       <OnHide function="UIParent_OnHide"/>
  34.       <OnAttributeChanged function="UpdateUIPanelPositions"/>
  35.     </Scripts>
  36.   </Frame>
  37. </Ui>