-
Notifications
You must be signed in to change notification settings - Fork 25
/
Copy pathCarbonite.xml
159 lines (154 loc) · 4.48 KB
/
Carbonite.xml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
<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="NxFrame">
<Scripts>
<OnLoad>
if Nx and not Nx.NXVerOld then
Nx:NXOnLoad (self)
else
this:Hide()
end
</OnLoad>
<OnEvent>
Nx:NXOnEvent (event, ...)
</OnEvent>
<OnUpdate>
Nx:NXOnUpdate (elapsed)
</OnUpdate>
</Scripts>
</Frame>
<UnitPositionFrame name="NXWorldMapUnitPositionFrame" frameLevel="1500" inherits="UnitPositionFrameTemplate">
</UnitPositionFrame>
<Slider name="NxSliderFrame" orientation="HORIZONTAL" virtual="true" inherits="BackdropTemplate">
<!--
<Backdrop bgFile="Interface\Buttons\UI-SliderBar-Background" edgeFile="Interface\Buttons\UI-SliderBar-Border" tile="true">
<EdgeSize>
<AbsValue val="8" />
</EdgeSize>
<TileSize>
<AbsValue val="8" />
</TileSize>
<BackgroundInsets>
<AbsInset left="3" right="3" top="6" bottom="6" />
</BackgroundInsets>
</Backdrop>
-->
<ThumbTexture file="Interface\Buttons\UI-SliderBar-Button-Horizontal">
<Size>
<AbsDimension x="32" y="32" />
</Size>
</ThumbTexture>
</Slider>
<ScrollFrame name="NxQuestDetails" inherits="UIPanelScrollFrameTemplate" virtual="true">
<Size>
<AbsDimension x="298" y="334" />
</Size>
<Anchors>
<Anchor point="TOPLEFT">
<Offset>
<AbsDimension x="19" y="-76" />
</Offset>
</Anchor>
</Anchors>
<ScrollChild>
<Frame name="NXQuestLogDetailScrollChildFrame">
<Size>
<AbsDimension x="298" y="333" />
</Size>
</Frame>
</ScrollChild>
</ScrollFrame>
<Button name="NXMiniMapBut" parent="Minimap" toplevel="true" hidden="false" frameStrata="LOW" enableMouse="true" movable="true">
<NormalTexture file="Interface\AddOns\Carbonite\Gfx\MMBut" />
<PushedTexture alphaMode="ADD" file="Interface\AddOns\Carbonite\Gfx\MMBut" />
<HighlightTexture alphaMode="ADD" file="Interface\Minimap\UI-Minimap-ZoomButton-Highlight" />
<Size>
<AbsDimension x="32" y="32" />
</Size>
<Anchors>
<Anchor point="TOPLEFT" />
</Anchors>
<Scripts>
<OnEnter>
Nx.NXMiniMapBut:NXOnEnter (self)
</OnEnter>
<OnLeave>
GameTooltip:Hide()
</OnLeave>
<OnLoad>
self:RegisterForClicks ("LeftButtonUp", "MiddleButtonUp", "RightButtonUp")
</OnLoad>
<OnClick>
Nx.NXMiniMapBut:NXOnClick (button, down)
</OnClick>
<OnMouseUp>
self:StopMovingOrSizing()
self.NXDrag = false
</OnMouseUp>
<OnDragStart>
if button == "LeftButton" and IsShiftKeyDown() then
self:StartMoving()
self.NXDrag = true
end
</OnDragStart>
<OnDragStop>
self:StopMovingOrSizing()
self.NXDrag = false
</OnDragStop>
<OnUpdate>
if Nx then
Nx.NXMiniMapBut:NXOnUpdate (self)
else
UIErrorsFrame:AddMessage ("Carbonite File Error!\nDownload and unzip it again", 1, .2, .2)
end
</OnUpdate>
</Scripts>
</Button>
<Button name="NxWatchListItem" inherits="SecureActionButtonTemplate" virtual="true">
<Size x="26" y="26" />
<Layers>
<Layer level="ARTWORK">
<FontString parentKey="HotKey" inherits="NumberFontNormalSmallGray" justifyH="LEFT" text="RANGE_INDICATOR">
<Size x="29" y="10" />
<Anchors>
<Anchor point="TOPRIGHT" x="16" y="-2" />
</Anchors>
</FontString>
</Layer>
<Layer level="BORDER">
<Texture parentKey="icon" />
<FontString parentKey="Count" inherits="NumberFontNormal" justifyH="RIGHT" hidden="true">
<Anchors>
<Anchor point="BOTTOMRIGHT" x="-3" y="2" />
</Anchors>
</FontString>
</Layer>
</Layers>
<Frames>
<Cooldown parentKey="Cooldown" inherits="CooldownFrameTemplate" />
</Frames>
<Scripts>
<OnLoad function="QuestObjectiveItem_OnLoad" />
<OnEvent function="QuestObjectiveItem_OnEvent" />
<OnUpdate function="NxWatchListItem_OnUpdate" />
<OnShow function="QuestObjectiveItem_OnShow" />
<OnHide function="QuestObjectiveItem_OnHide" />
<OnEnter>
GameTooltip:SetOwner(self, "ANCHOR_RIGHT");
GameTooltip:SetQuestLogSpecialItem(self.questLogIndex);
</OnEnter>
<OnLeave>
GameTooltip:Hide();
</OnLeave>
<!--OnClick function="QuestObjectiveItem_OnClick"/-->
</Scripts>
<NormalTexture parentKey="NormalTexture" file="Interface\Buttons\UI-Quickslot2">
<Size x="42" y="42" />
<Anchors>
<Anchor point="CENTER" />
</Anchors>
</NormalTexture>
<PushedTexture file="Interface\Buttons\UI-Quickslot-Depress" />
<HighlightTexture file="Interface\Buttons\ButtonHilight-Square" alphaMode="ADD" />
</Button>
</Ui>