режим предателя + UI референсы и DragonUI
This commit is contained in:
@@ -0,0 +1,41 @@
|
||||
<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="UIParent.lua"/>
|
||||
<Frame name="UIParent" setAllPoints="true" protected="true" frameStrata="MEDIUM">
|
||||
<Attributes>
|
||||
<Attribute name="DEFAULT_FRAME_WIDTH" type="number" value="384"/>
|
||||
<Attribute name="TOP_OFFSET" type="number" value="-104"/>
|
||||
<Attribute name="LEFT_OFFSET" type="number" value="0"/>
|
||||
<Attribute name="CENTER_OFFSET" type="number" value="384"/> <!-- Do not modify, updated by UpdateUIPanelPositions() -->
|
||||
<Attribute name="RIGHT_OFFSET" type="number" value="768"/> <!-- Do not modify, updated by UpdateUIPanelPositions() -->
|
||||
<Attribute name="RIGHT_OFFSET_BUFFER" type="number" value="80"/>
|
||||
</Attributes>
|
||||
<Scripts>
|
||||
<!-- Register here for any events you want to monitor globally -->
|
||||
<OnLoad>
|
||||
UIParent_OnLoad(self);
|
||||
self.firstTimeLoaded = 1;
|
||||
</OnLoad>
|
||||
<!-- Respond here to any events you want to monitor globally -->
|
||||
<OnEvent function="UIParent_OnEvent"/>
|
||||
<OnUpdate>
|
||||
FCF_OnUpdate(elapsed);
|
||||
ButtonPulse_OnUpdate(elapsed);
|
||||
UnitPopup_OnUpdate(elapsed);
|
||||
RequestBattlefieldPositions(elapsed);
|
||||
AnimatedShine_OnUpdate(elapsed);
|
||||
AutoCastShine_OnUpdate(nil, elapsed);
|
||||
LFRBrowseFrame_OnUpdateAlways(elapsed);
|
||||
BNToastFrame_OnUpdate();
|
||||
</OnUpdate>
|
||||
<!-- used to properly hide and show certain frames when the UI is toggled on and off -->
|
||||
<OnShow>
|
||||
if ( self.firstTimeLoaded ~= 1 ) then
|
||||
CloseAllWindows();
|
||||
self.firstTimeLoaded = nil;
|
||||
end
|
||||
</OnShow>
|
||||
<OnAttributeChanged function="UpdateUIPanelPositions"/>
|
||||
</Scripts>
|
||||
</Frame>
|
||||
</Ui>
|
||||
Reference in New Issue
Block a user