режим предателя + UI референсы и DragonUI
This commit is contained in:
@@ -0,0 +1,79 @@
|
||||
<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="GameTime.lua"/>
|
||||
<Button name="GameTimeFrame" parent="Minimap">
|
||||
<Size>
|
||||
<AbsDimension x="40" y="40"/>
|
||||
</Size>
|
||||
<Anchors>
|
||||
<Anchor point="TOPRIGHT">
|
||||
<Offset>
|
||||
<AbsDimension x="20" y="-17"/>
|
||||
</Offset>
|
||||
</Anchor>
|
||||
</Anchors>
|
||||
<HitRectInsets>
|
||||
<AbsInset left="6" right="0" top="5" bottom="10"/>
|
||||
</HitRectInsets>
|
||||
<Layers>
|
||||
<Layer level="ARTWORK">
|
||||
<!--
|
||||
GameTimeTexture is the old day/night icon and is currently ALWAYS hidden, it is still here in case we want it back at some point
|
||||
-->
|
||||
<Texture name="GameTimeTexture" file="Interface\Minimap\UI-TOD-Indicator" hidden="true"/>
|
||||
<Texture name="GameTimeCalendarInvitesTexture" file="Interface\Calendar\EventNotification" hidden="true">
|
||||
<Size x="28" y="32"/>
|
||||
<Anchors>
|
||||
<Anchor point="CENTER">
|
||||
<Offset x="0" y="1"/>
|
||||
</Anchor>
|
||||
</Anchors>
|
||||
<TexCoords left="0.03125" right="0.6484375" top="0.03125" bottom="0.8671875"/>
|
||||
</Texture>
|
||||
<Texture name="GameTimeCalendarInvitesGlow" file="Interface\Calendar\EventNotificationGlow" hidden="true" alphaMode="ADD">
|
||||
<Size>
|
||||
<AbsDimension x="48" y="48"/>
|
||||
</Size>
|
||||
<Anchors>
|
||||
<Anchor point="CENTER">
|
||||
<Offset x="0" y="2"/>
|
||||
</Anchor>
|
||||
</Anchors>
|
||||
</Texture>
|
||||
</Layer>
|
||||
<Layer level="OVERLAY">
|
||||
<Texture name="GameTimeCalendarEventAlarmTexture" file="Interface\Calendar\UI-Calendar-Button-Glow" alphaMode="ADD" hidden="true">
|
||||
<Size x="64" y="64"/>
|
||||
<Anchors>
|
||||
<Anchor point="CENTER"/>
|
||||
</Anchors>
|
||||
</Texture>
|
||||
</Layer>
|
||||
</Layers>
|
||||
<Scripts>
|
||||
<OnLoad function="GameTimeFrame_OnLoad"/>
|
||||
<OnEnter function="GameTimeFrame_OnEnter"/>
|
||||
<OnLeave function="GameTooltip_Hide"/>
|
||||
<OnEvent function="GameTimeFrame_OnEvent"/>
|
||||
<OnUpdate function="GameTimeFrame_OnUpdate"/>
|
||||
<OnClick function="GameTimeFrame_OnClick"/>
|
||||
</Scripts>
|
||||
<ButtonText>
|
||||
<Anchors>
|
||||
<Anchor point="CENTER">
|
||||
<Offset>
|
||||
<AbsDimension x="-1" y="-1"/>
|
||||
</Offset>
|
||||
</Anchor>
|
||||
</Anchors>
|
||||
</ButtonText>
|
||||
<NormalFont style="GameFontBlack"/>
|
||||
<NormalTexture file="Interface\Calendar\UI-Calendar-Button">
|
||||
<TexCoords left="0.0" right="0.390625" top="0.0" bottom="0.78125"/>
|
||||
</NormalTexture>
|
||||
<PushedTexture file="Interface\Calendar\UI-Calendar-Button">
|
||||
<TexCoords left="0.5" right="0.890625" top="0.0" bottom="0.78125"/>
|
||||
</PushedTexture>
|
||||
<HighlightTexture alphaMode="ADD" file="Interface\Minimap\UI-Minimap-ZoomButton-Highlight"/>
|
||||
</Button>
|
||||
</Ui>
|
||||
Reference in New Issue
Block a user